##################################################
# file: VimService_types.py
#
# schema types generated by "pysphere.ZSI.generate.wsdl2python.WriteServiceModule"
#
#
##################################################

import pysphere.ZSI
import pysphere.ZSI.TCcompound
from pysphere.ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED, MetaTypeCodeAndSchemaInstanceType
from pysphere.ZSI.generate.pyclass import pyclass_type
from six import with_metaclass, add_metaclass

##############################
# targetNamespace
# urn:vim25
##############################

class ns0:
    targetNamespace = "urn:vim25"

    class DynamicArray_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DynamicArray")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DynamicArray_Def.schema
            TClist = [pysphere.ZSI.TC.AnyType(pname=(ns,"val"), aname="_val", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._val = []
                    return
            Holder.__name__ = "DynamicArray_Holder"
            self.pyclass = Holder

    class DynamicData_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DynamicData")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DynamicData_Def.schema
            TClist = []
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DynamicData_Holder"
            self.pyclass = Holder

    class DynamicProperty_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DynamicProperty")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DynamicProperty_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.AnyType(pname=(ns,"val"), aname="_val", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._name = None
                    self._val = None
                    return
            Holder.__name__ = "DynamicProperty_Holder"
            self.pyclass = Holder

    class ArrayOfDynamicProperty_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDynamicProperty")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDynamicProperty_Def.schema
            TClist = [GTD("urn:vim25","DynamicProperty",lazy=True)(pname=(ns,"DynamicProperty"), aname="_DynamicProperty", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DynamicProperty = []
                    return
            Holder.__name__ = "ArrayOfDynamicProperty_Holder"
            self.pyclass = Holder

    class KeyAnyValue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "KeyAnyValue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.KeyAnyValue_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.AnyType(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.KeyAnyValue_Def.__bases__:
                bases = list(ns0.KeyAnyValue_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.KeyAnyValue_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfKeyAnyValue_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfKeyAnyValue")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfKeyAnyValue_Def.schema
            TClist = [GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"KeyAnyValue"), aname="_KeyAnyValue", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._KeyAnyValue = []
                    return
            Holder.__name__ = "ArrayOfKeyAnyValue_Holder"
            self.pyclass = Holder

    class LocalizableMessage_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LocalizableMessage")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LocalizableMessage_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"arg"), aname="_arg", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LocalizableMessage_Def.__bases__:
                bases = list(ns0.LocalizableMessage_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LocalizableMessage_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfLocalizableMessage_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfLocalizableMessage")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfLocalizableMessage_Def.schema
            TClist = [GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"LocalizableMessage"), aname="_LocalizableMessage", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._LocalizableMessage = []
                    return
            Holder.__name__ = "ArrayOfLocalizableMessage_Holder"
            self.pyclass = Holder

    class LocalizedMethodFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LocalizedMethodFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LocalizedMethodFault_Def.schema
            TClist = [GTD("urn:vim25","MethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"localizedMessage"), aname="_localizedMessage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LocalizedMethodFault_Def.__bases__:
                bases = list(ns0.LocalizedMethodFault_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LocalizedMethodFault_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MethodFault_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MethodFault")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MethodFault_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"faultCause"), aname="_faultCause", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"faultMessage"), aname="_faultMessage", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._faultCause = None
                    self._faultMessage = []
                    return
            Holder.__name__ = "MethodFault_Holder"
            self.pyclass = Holder

    class ArrayOfMethodFault_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfMethodFault")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfMethodFault_Def.schema
            TClist = [GTD("urn:vim25","MethodFault",lazy=True)(pname=(ns,"MethodFault"), aname="_MethodFault", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._MethodFault = []
                    return
            Holder.__name__ = "ArrayOfMethodFault_Holder"
            self.pyclass = Holder

    class RuntimeFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RuntimeFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RuntimeFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MethodFault_Def not in ns0.RuntimeFault_Def.__bases__:
                bases = list(ns0.RuntimeFault_Def.__bases__)
                bases.insert(0, ns0.MethodFault_Def)
                ns0.RuntimeFault_Def.__bases__ = tuple(bases)

            ns0.MethodFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCommunication_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCommunication")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCommunication_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.HostCommunication_Def.__bases__:
                bases = list(ns0.HostCommunication_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.HostCommunication_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNotConnected_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNotConnected")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNotConnected_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostCommunication_Def not in ns0.HostNotConnected_Def.__bases__:
                bases = list(ns0.HostNotConnected_Def.__bases__)
                bases.insert(0, ns0.HostCommunication_Def)
                ns0.HostNotConnected_Def.__bases__ = tuple(bases)

            ns0.HostCommunication_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNotReachable_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNotReachable")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNotReachable_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostCommunication_Def not in ns0.HostNotReachable_Def.__bases__:
                bases = list(ns0.HostNotReachable_Def.__bases__)
                bases.insert(0, ns0.HostCommunication_Def)
                ns0.HostNotReachable_Def.__bases__ = tuple(bases)

            ns0.HostCommunication_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidArgument_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"invalidProperty"), aname="_invalidProperty", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.InvalidArgument_Def.__bases__:
                bases = list(ns0.InvalidArgument_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.InvalidArgument_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidRequest_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidRequest")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidRequest_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.InvalidRequest_Def.__bases__:
                bases = list(ns0.InvalidRequest_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.InvalidRequest_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidType_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidType")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidType_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"argument"), aname="_argument", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidRequest_Def not in ns0.InvalidType_Def.__bases__:
                bases = list(ns0.InvalidType_Def.__bases__)
                bases.insert(0, ns0.InvalidRequest_Def)
                ns0.InvalidType_Def.__bases__ = tuple(bases)

            ns0.InvalidRequest_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ManagedObjectNotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ManagedObjectNotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ManagedObjectNotFound_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"obj"), aname="_obj", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.ManagedObjectNotFound_Def.__bases__:
                bases = list(ns0.ManagedObjectNotFound_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.ManagedObjectNotFound_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MethodNotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MethodNotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MethodNotFound_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"receiver"), aname="_receiver", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"method"), aname="_method", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidRequest_Def not in ns0.MethodNotFound_Def.__bases__:
                bases = list(ns0.MethodNotFound_Def.__bases__)
                bases.insert(0, ns0.InvalidRequest_Def)
                ns0.MethodNotFound_Def.__bases__ = tuple(bases)

            ns0.InvalidRequest_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotEnoughLicenses_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotEnoughLicenses")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotEnoughLicenses_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.NotEnoughLicenses_Def.__bases__:
                bases = list(ns0.NotEnoughLicenses_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.NotEnoughLicenses_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotImplemented_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotImplemented")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotImplemented_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.NotImplemented_Def.__bases__:
                bases = list(ns0.NotImplemented_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.NotImplemented_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.NotSupported_Def.__bases__:
                bases = list(ns0.NotSupported_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.NotSupported_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RequestCanceled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RequestCanceled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RequestCanceled_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.RequestCanceled_Def.__bases__:
                bases = list(ns0.RequestCanceled_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.RequestCanceled_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SecurityError_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SecurityError")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SecurityError_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.SecurityError_Def.__bases__:
                bases = list(ns0.SecurityError_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.SecurityError_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SystemError_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SystemError")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SystemError_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.SystemError_Def.__bases__:
                bases = list(ns0.SystemError_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.SystemError_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UnexpectedFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UnexpectedFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UnexpectedFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"faultName"), aname="_faultName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.UnexpectedFault_Def.__bases__:
                bases = list(ns0.UnexpectedFault_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.UnexpectedFault_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ManagedObjectReference_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        # ComplexType/SimpleContent derivation of built-in type
        schema = "urn:vim25"
        type = (schema, "ManagedObjectReference")
        def __init__(self, pname, **kw):
            if getattr(self, "attribute_typecode_dict", None) is None: self.attribute_typecode_dict = {}
            # attribute handling code
            self.attribute_typecode_dict["type"] = pysphere.ZSI.TC.String()
            pysphere.ZSI.TC.String.__init__(self, pname, **kw)
            @add_metaclass(pyclass_type)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ArrayOfString_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfString")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfString_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"string"), aname="_string", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._string = []
                    return
            Holder.__name__ = "ArrayOfString_Holder"
            self.pyclass = Holder

    class ArrayOfAnyType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfAnyType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfAnyType_Def.schema
            TClist = [pysphere.ZSI.TC.AnyType(pname=(ns,"anyType"), aname="_anyType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._anyType = []
                    return
            Holder.__name__ = "ArrayOfAnyType_Holder"
            self.pyclass = Holder

    class ArrayOfAnyURI_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfAnyURI")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfAnyURI_Def.schema
            TClist = [pysphere.ZSI.TC.URI(pname=(ns,"anyURI"), aname="_anyURI", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._anyURI = []
                    return
            Holder.__name__ = "ArrayOfAnyURI_Holder"
            self.pyclass = Holder

    class ArrayOfBase64Binary_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfBase64Binary")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfBase64Binary_Def.schema
            TClist = [pysphere.ZSI.TC.Base64String(pname=(ns,"base64Binary"), aname="_base64Binary", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._base64Binary = []
                    return
            Holder.__name__ = "ArrayOfBase64Binary_Holder"
            self.pyclass = Holder

    class ArrayOfManagedObjectReference_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfManagedObjectReference")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfManagedObjectReference_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"ManagedObjectReference"), aname="_ManagedObjectReference", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ManagedObjectReference = []
                    return
            Holder.__name__ = "ArrayOfManagedObjectReference_Holder"
            self.pyclass = Holder

    class ArrayOfBoolean_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfBoolean")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfBoolean_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"boolean"), aname="_boolean", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._boolean = []
                    return
            Holder.__name__ = "ArrayOfBoolean_Holder"
            self.pyclass = Holder

    class ArrayOfByte_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfByte")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfByte_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"byte"), aname="_byte", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._byte = []
                    return
            Holder.__name__ = "ArrayOfByte_Holder"
            self.pyclass = Holder

    class ArrayOfDouble_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDouble")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDouble_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.FPdouble(pname=(ns,"double"), aname="_double", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._double = []
                    return
            Holder.__name__ = "ArrayOfDouble_Holder"
            self.pyclass = Holder

    class ArrayOfInt_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfInt")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfInt_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"int"), aname="_int", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._int = []
                    return
            Holder.__name__ = "ArrayOfInt_Holder"
            self.pyclass = Holder

    class ArrayOfLong_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfLong")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfLong_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"long"), aname="_long", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._long = []
                    return
            Holder.__name__ = "ArrayOfLong_Holder"
            self.pyclass = Holder

    class ArrayOfShort_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfShort")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfShort_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"short"), aname="_short", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._short = []
                    return
            Holder.__name__ = "ArrayOfShort_Holder"
            self.pyclass = Holder

    class InvalidCollectorVersion_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidCollectorVersion")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidCollectorVersion_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MethodFault_Def not in ns0.InvalidCollectorVersion_Def.__bases__:
                bases = list(ns0.InvalidCollectorVersion_Def.__bases__)
                bases.insert(0, ns0.MethodFault_Def)
                ns0.InvalidCollectorVersion_Def.__bases__ = tuple(bases)

            ns0.MethodFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidProperty_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidProperty")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidProperty_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MethodFault_Def not in ns0.InvalidProperty_Def.__bases__:
                bases = list(ns0.InvalidProperty_Def.__bases__)
                bases.insert(0, ns0.MethodFault_Def)
                ns0.InvalidProperty_Def.__bases__ = tuple(bases)

            ns0.MethodFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PropertyFilterSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PropertyFilterSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PropertyFilterSpec_Def.schema
            TClist = [GTD("urn:vim25","PropertySpec",lazy=True)(pname=(ns,"propSet"), aname="_propSet", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ObjectSpec",lazy=True)(pname=(ns,"objectSet"), aname="_objectSet", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"reportMissingObjectsInResults"), aname="_reportMissingObjectsInResults", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PropertyFilterSpec_Def.__bases__:
                bases = list(ns0.PropertyFilterSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PropertyFilterSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPropertyFilterSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPropertyFilterSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPropertyFilterSpec_Def.schema
            TClist = [GTD("urn:vim25","PropertyFilterSpec",lazy=True)(pname=(ns,"PropertyFilterSpec"), aname="_PropertyFilterSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PropertyFilterSpec = []
                    return
            Holder.__name__ = "ArrayOfPropertyFilterSpec_Holder"
            self.pyclass = Holder

    class PropertySpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PropertySpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PropertySpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"all"), aname="_all", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pathSet"), aname="_pathSet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PropertySpec_Def.__bases__:
                bases = list(ns0.PropertySpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PropertySpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPropertySpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPropertySpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPropertySpec_Def.schema
            TClist = [GTD("urn:vim25","PropertySpec",lazy=True)(pname=(ns,"PropertySpec"), aname="_PropertySpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PropertySpec = []
                    return
            Holder.__name__ = "ArrayOfPropertySpec_Holder"
            self.pyclass = Holder

    class ObjectSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ObjectSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ObjectSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"obj"), aname="_obj", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"skip"), aname="_skip", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SelectionSpec",lazy=True)(pname=(ns,"selectSet"), aname="_selectSet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ObjectSpec_Def.__bases__:
                bases = list(ns0.ObjectSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ObjectSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfObjectSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfObjectSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfObjectSpec_Def.schema
            TClist = [GTD("urn:vim25","ObjectSpec",lazy=True)(pname=(ns,"ObjectSpec"), aname="_ObjectSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ObjectSpec = []
                    return
            Holder.__name__ = "ArrayOfObjectSpec_Holder"
            self.pyclass = Holder

    class SelectionSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SelectionSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SelectionSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.SelectionSpec_Def.__bases__:
                bases = list(ns0.SelectionSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.SelectionSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfSelectionSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfSelectionSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfSelectionSpec_Def.schema
            TClist = [GTD("urn:vim25","SelectionSpec",lazy=True)(pname=(ns,"SelectionSpec"), aname="_SelectionSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._SelectionSpec = []
                    return
            Holder.__name__ = "ArrayOfSelectionSpec_Holder"
            self.pyclass = Holder

    class TraversalSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TraversalSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TraversalSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"skip"), aname="_skip", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SelectionSpec",lazy=True)(pname=(ns,"selectSet"), aname="_selectSet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SelectionSpec_Def not in ns0.TraversalSpec_Def.__bases__:
                bases = list(ns0.TraversalSpec_Def.__bases__)
                bases.insert(0, ns0.SelectionSpec_Def)
                ns0.TraversalSpec_Def.__bases__ = tuple(bases)

            ns0.SelectionSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ObjectContent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ObjectContent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ObjectContent_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"obj"), aname="_obj", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DynamicProperty",lazy=True)(pname=(ns,"propSet"), aname="_propSet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","MissingProperty",lazy=True)(pname=(ns,"missingSet"), aname="_missingSet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ObjectContent_Def.__bases__:
                bases = list(ns0.ObjectContent_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ObjectContent_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfObjectContent_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfObjectContent")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfObjectContent_Def.schema
            TClist = [GTD("urn:vim25","ObjectContent",lazy=True)(pname=(ns,"ObjectContent"), aname="_ObjectContent", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ObjectContent = []
                    return
            Holder.__name__ = "ArrayOfObjectContent_Holder"
            self.pyclass = Holder

    class UpdateSet_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UpdateSet")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UpdateSet_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PropertyFilterUpdate",lazy=True)(pname=(ns,"filterSet"), aname="_filterSet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"truncated"), aname="_truncated", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.UpdateSet_Def.__bases__:
                bases = list(ns0.UpdateSet_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.UpdateSet_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PropertyFilterUpdate_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PropertyFilterUpdate")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PropertyFilterUpdate_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"filter"), aname="_filter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ObjectUpdate",lazy=True)(pname=(ns,"objectSet"), aname="_objectSet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","MissingObject",lazy=True)(pname=(ns,"missingSet"), aname="_missingSet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PropertyFilterUpdate_Def.__bases__:
                bases = list(ns0.PropertyFilterUpdate_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PropertyFilterUpdate_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPropertyFilterUpdate_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPropertyFilterUpdate")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPropertyFilterUpdate_Def.schema
            TClist = [GTD("urn:vim25","PropertyFilterUpdate",lazy=True)(pname=(ns,"PropertyFilterUpdate"), aname="_PropertyFilterUpdate", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PropertyFilterUpdate = []
                    return
            Holder.__name__ = "ArrayOfPropertyFilterUpdate_Holder"
            self.pyclass = Holder

    class ObjectUpdateKind_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ObjectUpdateKind")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ObjectUpdate_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ObjectUpdate")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ObjectUpdate_Def.schema
            TClist = [GTD("urn:vim25","ObjectUpdateKind",lazy=True)(pname=(ns,"kind"), aname="_kind", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"obj"), aname="_obj", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PropertyChange",lazy=True)(pname=(ns,"changeSet"), aname="_changeSet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","MissingProperty",lazy=True)(pname=(ns,"missingSet"), aname="_missingSet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ObjectUpdate_Def.__bases__:
                bases = list(ns0.ObjectUpdate_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ObjectUpdate_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfObjectUpdate_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfObjectUpdate")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfObjectUpdate_Def.schema
            TClist = [GTD("urn:vim25","ObjectUpdate",lazy=True)(pname=(ns,"ObjectUpdate"), aname="_ObjectUpdate", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ObjectUpdate = []
                    return
            Holder.__name__ = "ArrayOfObjectUpdate_Holder"
            self.pyclass = Holder

    class PropertyChangeOp_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PropertyChangeOp")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class PropertyChange_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PropertyChange")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PropertyChange_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PropertyChangeOp",lazy=True)(pname=(ns,"op"), aname="_op", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.AnyType(pname=(ns,"val"), aname="_val", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PropertyChange_Def.__bases__:
                bases = list(ns0.PropertyChange_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PropertyChange_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPropertyChange_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPropertyChange")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPropertyChange_Def.schema
            TClist = [GTD("urn:vim25","PropertyChange",lazy=True)(pname=(ns,"PropertyChange"), aname="_PropertyChange", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PropertyChange = []
                    return
            Holder.__name__ = "ArrayOfPropertyChange_Holder"
            self.pyclass = Holder

    class MissingProperty_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MissingProperty")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MissingProperty_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.MissingProperty_Def.__bases__:
                bases = list(ns0.MissingProperty_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.MissingProperty_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfMissingProperty_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfMissingProperty")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfMissingProperty_Def.schema
            TClist = [GTD("urn:vim25","MissingProperty",lazy=True)(pname=(ns,"MissingProperty"), aname="_MissingProperty", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._MissingProperty = []
                    return
            Holder.__name__ = "ArrayOfMissingProperty_Holder"
            self.pyclass = Holder

    class MissingObject_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MissingObject")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MissingObject_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"obj"), aname="_obj", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.MissingObject_Def.__bases__:
                bases = list(ns0.MissingObject_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.MissingObject_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfMissingObject_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfMissingObject")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfMissingObject_Def.schema
            TClist = [GTD("urn:vim25","MissingObject",lazy=True)(pname=(ns,"MissingObject"), aname="_MissingObject", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._MissingObject = []
                    return
            Holder.__name__ = "ArrayOfMissingObject_Holder"
            self.pyclass = Holder

    class WaitOptions_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "WaitOptions")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.WaitOptions_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxWaitSeconds"), aname="_maxWaitSeconds", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxObjectUpdates"), aname="_maxObjectUpdates", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.WaitOptions_Def.__bases__:
                bases = list(ns0.WaitOptions_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.WaitOptions_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RetrieveOptions_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RetrieveOptions")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RetrieveOptions_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxObjects"), aname="_maxObjects", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.RetrieveOptions_Def.__bases__:
                bases = list(ns0.RetrieveOptions_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.RetrieveOptions_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RetrieveResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RetrieveResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RetrieveResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"token"), aname="_token", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ObjectContent",lazy=True)(pname=(ns,"objects"), aname="_objects", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.RetrieveResult_Def.__bases__:
                bases = list(ns0.RetrieveResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.RetrieveResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DestroyPropertyFilterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DestroyPropertyFilterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DestroyPropertyFilterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DestroyPropertyFilterRequestType_Holder"
            self.pyclass = Holder

    class CreateFilterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateFilterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateFilterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PropertyFilterSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"partialUpdates"), aname="_partialUpdates", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    self._partialUpdates = None
                    return
            Holder.__name__ = "CreateFilterRequestType_Holder"
            self.pyclass = Holder

    class RetrievePropertiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrievePropertiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrievePropertiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PropertyFilterSpec",lazy=True)(pname=(ns,"specSet"), aname="_specSet", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._specSet = []
                    return
            Holder.__name__ = "RetrievePropertiesRequestType_Holder"
            self.pyclass = Holder

    class CheckForUpdatesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckForUpdatesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckForUpdatesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._version = None
                    return
            Holder.__name__ = "CheckForUpdatesRequestType_Holder"
            self.pyclass = Holder

    class WaitForUpdatesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "WaitForUpdatesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.WaitForUpdatesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._version = None
                    return
            Holder.__name__ = "WaitForUpdatesRequestType_Holder"
            self.pyclass = Holder

    class CancelWaitForUpdatesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CancelWaitForUpdatesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CancelWaitForUpdatesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "CancelWaitForUpdatesRequestType_Holder"
            self.pyclass = Holder

    class WaitForUpdatesExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "WaitForUpdatesExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.WaitForUpdatesExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","WaitOptions",lazy=True)(pname=(ns,"options"), aname="_options", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._version = None
                    self._options = None
                    return
            Holder.__name__ = "WaitForUpdatesExRequestType_Holder"
            self.pyclass = Holder

    class RetrievePropertiesExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrievePropertiesExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrievePropertiesExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PropertyFilterSpec",lazy=True)(pname=(ns,"specSet"), aname="_specSet", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","RetrieveOptions",lazy=True)(pname=(ns,"options"), aname="_options", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._specSet = []
                    self._options = None
                    return
            Holder.__name__ = "RetrievePropertiesExRequestType_Holder"
            self.pyclass = Holder

    class ContinueRetrievePropertiesExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ContinueRetrievePropertiesExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ContinueRetrievePropertiesExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"token"), aname="_token", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._token = None
                    return
            Holder.__name__ = "ContinueRetrievePropertiesExRequestType_Holder"
            self.pyclass = Holder

    class CancelRetrievePropertiesExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CancelRetrievePropertiesExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CancelRetrievePropertiesExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"token"), aname="_token", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._token = None
                    return
            Holder.__name__ = "CancelRetrievePropertiesExRequestType_Holder"
            self.pyclass = Holder

    class CreatePropertyCollectorRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreatePropertyCollectorRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreatePropertyCollectorRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "CreatePropertyCollectorRequestType_Holder"
            self.pyclass = Holder

    class DestroyPropertyCollectorRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DestroyPropertyCollectorRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DestroyPropertyCollectorRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DestroyPropertyCollectorRequestType_Holder"
            self.pyclass = Holder

    class AboutInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AboutInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AboutInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fullName"), aname="_fullName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendor"), aname="_vendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"build"), aname="_build", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"localeVersion"), aname="_localeVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"localeBuild"), aname="_localeBuild", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"osType"), aname="_osType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"productLineId"), aname="_productLineId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"apiType"), aname="_apiType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"apiVersion"), aname="_apiVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"licenseProductName"), aname="_licenseProductName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"licenseProductVersion"), aname="_licenseProductVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AboutInfo_Def.__bases__:
                bases = list(ns0.AboutInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AboutInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AuthorizationDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AuthorizationDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AuthorizationDescription_Def.schema
            TClist = [GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"privilege"), aname="_privilege", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"privilegeGroup"), aname="_privilegeGroup", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AuthorizationDescription_Def.__bases__:
                bases = list(ns0.AuthorizationDescription_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AuthorizationDescription_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class Permission_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "Permission")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.Permission_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"principal"), aname="_principal", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"group"), aname="_group", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"roleId"), aname="_roleId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"propagate"), aname="_propagate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.Permission_Def.__bases__:
                bases = list(ns0.Permission_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.Permission_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPermission_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPermission")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPermission_Def.schema
            TClist = [GTD("urn:vim25","Permission",lazy=True)(pname=(ns,"Permission"), aname="_Permission", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._Permission = []
                    return
            Holder.__name__ = "ArrayOfPermission_Holder"
            self.pyclass = Holder

    class AuthorizationRole_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AuthorizationRole")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AuthorizationRole_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"roleId"), aname="_roleId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"system"), aname="_system", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Description",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"privilege"), aname="_privilege", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AuthorizationRole_Def.__bases__:
                bases = list(ns0.AuthorizationRole_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AuthorizationRole_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfAuthorizationRole_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfAuthorizationRole")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfAuthorizationRole_Def.schema
            TClist = [GTD("urn:vim25","AuthorizationRole",lazy=True)(pname=(ns,"AuthorizationRole"), aname="_AuthorizationRole", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._AuthorizationRole = []
                    return
            Holder.__name__ = "ArrayOfAuthorizationRole_Holder"
            self.pyclass = Holder

    class AuthorizationPrivilege_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AuthorizationPrivilege")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AuthorizationPrivilege_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"privId"), aname="_privId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"onParent"), aname="_onParent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"privGroupName"), aname="_privGroupName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AuthorizationPrivilege_Def.__bases__:
                bases = list(ns0.AuthorizationPrivilege_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AuthorizationPrivilege_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfAuthorizationPrivilege_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfAuthorizationPrivilege")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfAuthorizationPrivilege_Def.schema
            TClist = [GTD("urn:vim25","AuthorizationPrivilege",lazy=True)(pname=(ns,"AuthorizationPrivilege"), aname="_AuthorizationPrivilege", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._AuthorizationPrivilege = []
                    return
            Holder.__name__ = "ArrayOfAuthorizationPrivilege_Holder"
            self.pyclass = Holder

    class PrivilegeAvailability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PrivilegeAvailability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PrivilegeAvailability_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"privId"), aname="_privId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"isGranted"), aname="_isGranted", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PrivilegeAvailability_Def.__bases__:
                bases = list(ns0.PrivilegeAvailability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PrivilegeAvailability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPrivilegeAvailability_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPrivilegeAvailability")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPrivilegeAvailability_Def.schema
            TClist = [GTD("urn:vim25","PrivilegeAvailability",lazy=True)(pname=(ns,"PrivilegeAvailability"), aname="_PrivilegeAvailability", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PrivilegeAvailability = []
                    return
            Holder.__name__ = "ArrayOfPrivilegeAvailability_Holder"
            self.pyclass = Holder

    class EntityPrivilege_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EntityPrivilege")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EntityPrivilege_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PrivilegeAvailability",lazy=True)(pname=(ns,"privAvailability"), aname="_privAvailability", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.EntityPrivilege_Def.__bases__:
                bases = list(ns0.EntityPrivilege_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.EntityPrivilege_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfEntityPrivilege_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfEntityPrivilege")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfEntityPrivilege_Def.schema
            TClist = [GTD("urn:vim25","EntityPrivilege",lazy=True)(pname=(ns,"EntityPrivilege"), aname="_EntityPrivilege", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._EntityPrivilege = []
                    return
            Holder.__name__ = "ArrayOfEntityPrivilege_Holder"
            self.pyclass = Holder

    class UserPrivilegeResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UserPrivilegeResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UserPrivilegeResult_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"privileges"), aname="_privileges", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.UserPrivilegeResult_Def.__bases__:
                bases = list(ns0.UserPrivilegeResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.UserPrivilegeResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfUserPrivilegeResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfUserPrivilegeResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfUserPrivilegeResult_Def.schema
            TClist = [GTD("urn:vim25","UserPrivilegeResult",lazy=True)(pname=(ns,"UserPrivilegeResult"), aname="_UserPrivilegeResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._UserPrivilegeResult = []
                    return
            Holder.__name__ = "ArrayOfUserPrivilegeResult_Holder"
            self.pyclass = Holder

    class BatchResultResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "BatchResultResult")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class BatchResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "BatchResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.BatchResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"result"), aname="_result", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostKey"), aname="_hostKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"ds"), aname="_ds", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.BatchResult_Def.__bases__:
                bases = list(ns0.BatchResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.BatchResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class BoolPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "BoolPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.BoolPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.BoolPolicy_Def.__bases__:
                bases = list(ns0.BoolPolicy_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.BoolPolicy_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class Capability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "Capability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.Capability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"provisioningSupported"), aname="_provisioningSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"multiHostSupported"), aname="_multiHostSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"userShellAccessSupported"), aname="_userShellAccessSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","EVCMode",lazy=True)(pname=(ns,"supportedEVCMode"), aname="_supportedEVCMode", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"networkBackupAndRestoreSupported"), aname="_networkBackupAndRestoreSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ftDrsWithoutEvcSupported"), aname="_ftDrsWithoutEvcSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.Capability_Def.__bases__:
                bases = list(ns0.Capability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.Capability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterComputeResourceSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterComputeResourceSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterComputeResourceSummary_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"currentFailoverLevel"), aname="_currentFailoverLevel", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDasAdmissionControlInfo",lazy=True)(pname=(ns,"admissionControlInfo"), aname="_admissionControlInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numVmotions"), aname="_numVmotions", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"targetBalance"), aname="_targetBalance", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"currentBalance"), aname="_currentBalance", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterUsageSummary",lazy=True)(pname=(ns,"usageSummary"), aname="_usageSummary", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"currentEVCModeKey"), aname="_currentEVCModeKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDasData",lazy=True)(pname=(ns,"dasData"), aname="_dasData", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ComputeResourceSummary_Def not in ns0.ClusterComputeResourceSummary_Def.__bases__:
                bases = list(ns0.ClusterComputeResourceSummary_Def.__bases__)
                bases.insert(0, ns0.ComputeResourceSummary_Def)
                ns0.ClusterComputeResourceSummary_Def.__bases__ = tuple(bases)

            ns0.ComputeResourceSummary_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ComputeResourceSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ComputeResourceSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ComputeResourceSummary_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"totalCpu"), aname="_totalCpu", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"totalMemory"), aname="_totalMemory", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"numCpuCores"), aname="_numCpuCores", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"numCpuThreads"), aname="_numCpuThreads", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"effectiveCpu"), aname="_effectiveCpu", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"effectiveMemory"), aname="_effectiveMemory", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numHosts"), aname="_numHosts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numEffectiveHosts"), aname="_numEffectiveHosts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"overallStatus"), aname="_overallStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ComputeResourceSummary_Def.__bases__:
                bases = list(ns0.ComputeResourceSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ComputeResourceSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ComputeResourceConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ComputeResourceConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ComputeResourceConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmSwapPlacement"), aname="_vmSwapPlacement", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"spbmEnabled"), aname="_spbmEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"defaultHardwareVersionKey"), aname="_defaultHardwareVersionKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ComputeResourceConfigInfo_Def.__bases__:
                bases = list(ns0.ComputeResourceConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ComputeResourceConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ComputeResourceHostSPBMLicenseInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ComputeResourceHostSPBMLicenseInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ComputeResourceHostSPBMLicenseInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState",lazy=True)(pname=(ns,"licenseState"), aname="_licenseState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ComputeResourceHostSPBMLicenseInfo_Def.__bases__:
                bases = list(ns0.ComputeResourceHostSPBMLicenseInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ComputeResourceHostSPBMLicenseInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfComputeResourceHostSPBMLicenseInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfComputeResourceHostSPBMLicenseInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfComputeResourceHostSPBMLicenseInfo_Def.schema
            TClist = [GTD("urn:vim25","ComputeResourceHostSPBMLicenseInfo",lazy=True)(pname=(ns,"ComputeResourceHostSPBMLicenseInfo"), aname="_ComputeResourceHostSPBMLicenseInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ComputeResourceHostSPBMLicenseInfo = []
                    return
            Holder.__name__ = "ArrayOfComputeResourceHostSPBMLicenseInfo_Holder"
            self.pyclass = Holder

    class ComputeResourceConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ComputeResourceConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ComputeResourceConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmSwapPlacement"), aname="_vmSwapPlacement", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"spbmEnabled"), aname="_spbmEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"defaultHardwareVersionKey"), aname="_defaultHardwareVersionKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ComputeResourceConfigSpec_Def.__bases__:
                bases = list(ns0.ComputeResourceConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ComputeResourceConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ConfigSpecOperation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ConfigSpecOperation")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class CustomFieldDef_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomFieldDef")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomFieldDef_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"managedObjectType"), aname="_managedObjectType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PrivilegePolicyDef",lazy=True)(pname=(ns,"fieldDefPrivileges"), aname="_fieldDefPrivileges", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PrivilegePolicyDef",lazy=True)(pname=(ns,"fieldInstancePrivileges"), aname="_fieldInstancePrivileges", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomFieldDef_Def.__bases__:
                bases = list(ns0.CustomFieldDef_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomFieldDef_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfCustomFieldDef_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfCustomFieldDef")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfCustomFieldDef_Def.schema
            TClist = [GTD("urn:vim25","CustomFieldDef",lazy=True)(pname=(ns,"CustomFieldDef"), aname="_CustomFieldDef", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._CustomFieldDef = []
                    return
            Holder.__name__ = "ArrayOfCustomFieldDef_Holder"
            self.pyclass = Holder

    class CustomFieldValue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomFieldValue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomFieldValue_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomFieldValue_Def.__bases__:
                bases = list(ns0.CustomFieldValue_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomFieldValue_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfCustomFieldValue_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfCustomFieldValue")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfCustomFieldValue_Def.schema
            TClist = [GTD("urn:vim25","CustomFieldValue",lazy=True)(pname=(ns,"CustomFieldValue"), aname="_CustomFieldValue", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._CustomFieldValue = []
                    return
            Holder.__name__ = "ArrayOfCustomFieldValue_Holder"
            self.pyclass = Holder

    class CustomFieldStringValue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomFieldStringValue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomFieldStringValue_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomFieldValue_Def not in ns0.CustomFieldStringValue_Def.__bases__:
                bases = list(ns0.CustomFieldStringValue_Def.__bases__)
                bases.insert(0, ns0.CustomFieldValue_Def)
                ns0.CustomFieldStringValue_Def.__bases__ = tuple(bases)

            ns0.CustomFieldValue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationSpecInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationSpecInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationSpecInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"changeVersion"), aname="_changeVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"lastUpdateTime"), aname="_lastUpdateTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationSpecInfo_Def.__bases__:
                bases = list(ns0.CustomizationSpecInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationSpecInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfCustomizationSpecInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfCustomizationSpecInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfCustomizationSpecInfo_Def.schema
            TClist = [GTD("urn:vim25","CustomizationSpecInfo",lazy=True)(pname=(ns,"CustomizationSpecInfo"), aname="_CustomizationSpecInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._CustomizationSpecInfo = []
                    return
            Holder.__name__ = "ArrayOfCustomizationSpecInfo_Holder"
            self.pyclass = Holder

    class CustomizationSpecItem_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationSpecItem")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationSpecItem_Def.schema
            TClist = [GTD("urn:vim25","CustomizationSpecInfo",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationSpecItem_Def.__bases__:
                bases = list(ns0.CustomizationSpecItem_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationSpecItem_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatacenterConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatacenterConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatacenterConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"defaultHardwareVersionKey"), aname="_defaultHardwareVersionKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DatacenterConfigInfo_Def.__bases__:
                bases = list(ns0.DatacenterConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DatacenterConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatacenterConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatacenterConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatacenterConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"defaultHardwareVersionKey"), aname="_defaultHardwareVersionKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DatacenterConfigSpec_Def.__bases__:
                bases = list(ns0.DatacenterConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DatacenterConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreAccessible_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DatastoreAccessible")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DatastoreSummaryMaintenanceModeState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DatastoreSummaryMaintenanceModeState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DatastoreSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreSummary_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacity"), aname="_capacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"freeSpace"), aname="_freeSpace", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"uncommitted"), aname="_uncommitted", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"accessible"), aname="_accessible", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"multipleHostAccess"), aname="_multipleHostAccess", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"maintenanceMode"), aname="_maintenanceMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DatastoreSummary_Def.__bases__:
                bases = list(ns0.DatastoreSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DatastoreSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"freeSpace"), aname="_freeSpace", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"maxFileSize"), aname="_maxFileSize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"maxVirtualDiskCapacity"), aname="_maxVirtualDiskCapacity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"maxMemoryFileSize"), aname="_maxMemoryFileSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"timestamp"), aname="_timestamp", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"containerId"), aname="_containerId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DatastoreInfo_Def.__bases__:
                bases = list(ns0.DatastoreInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DatastoreInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"directoryHierarchySupported"), aname="_directoryHierarchySupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"rawDiskMappingsSupported"), aname="_rawDiskMappingsSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"perFileThinProvisioningSupported"), aname="_perFileThinProvisioningSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"storageIORMSupported"), aname="_storageIORMSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"nativeSnapshotSupported"), aname="_nativeSnapshotSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"topLevelDirectoryCreateSupported"), aname="_topLevelDirectoryCreateSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"seSparseSupported"), aname="_seSparseSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmfsSparseSupported"), aname="_vmfsSparseSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vsanSparseSupported"), aname="_vsanSparseSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"upitSupported"), aname="_upitSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmdkExpandSupported"), aname="_vmdkExpandSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DatastoreCapability_Def.__bases__:
                bases = list(ns0.DatastoreCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DatastoreCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreHostMount_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreHostMount")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreHostMount_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostMountInfo",lazy=True)(pname=(ns,"mountInfo"), aname="_mountInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DatastoreHostMount_Def.__bases__:
                bases = list(ns0.DatastoreHostMount_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DatastoreHostMount_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDatastoreHostMount_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDatastoreHostMount")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDatastoreHostMount_Def.schema
            TClist = [GTD("urn:vim25","DatastoreHostMount",lazy=True)(pname=(ns,"DatastoreHostMount"), aname="_DatastoreHostMount", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DatastoreHostMount = []
                    return
            Holder.__name__ = "ArrayOfDatastoreHostMount_Holder"
            self.pyclass = Holder

    class DatastoreMountPathDatastorePair_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreMountPathDatastorePair")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreMountPathDatastorePair_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"oldMountPath"), aname="_oldMountPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DatastoreMountPathDatastorePair_Def.__bases__:
                bases = list(ns0.DatastoreMountPathDatastorePair_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DatastoreMountPathDatastorePair_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDatastoreMountPathDatastorePair_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDatastoreMountPathDatastorePair")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDatastoreMountPathDatastorePair_Def.schema
            TClist = [GTD("urn:vim25","DatastoreMountPathDatastorePair",lazy=True)(pname=(ns,"DatastoreMountPathDatastorePair"), aname="_DatastoreMountPathDatastorePair", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DatastoreMountPathDatastorePair = []
                    return
            Holder.__name__ = "ArrayOfDatastoreMountPathDatastorePair_Holder"
            self.pyclass = Holder

    class DatastoreVVolContainerFailoverPair_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreVVolContainerFailoverPair")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreVVolContainerFailoverPair_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"srcContainer"), aname="_srcContainer", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"tgtContainer"), aname="_tgtContainer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"vvolMapping"), aname="_vvolMapping", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DatastoreVVolContainerFailoverPair_Def.__bases__:
                bases = list(ns0.DatastoreVVolContainerFailoverPair_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DatastoreVVolContainerFailoverPair_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDatastoreVVolContainerFailoverPair_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDatastoreVVolContainerFailoverPair")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDatastoreVVolContainerFailoverPair_Def.schema
            TClist = [GTD("urn:vim25","DatastoreVVolContainerFailoverPair",lazy=True)(pname=(ns,"DatastoreVVolContainerFailoverPair"), aname="_DatastoreVVolContainerFailoverPair", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DatastoreVVolContainerFailoverPair = []
                    return
            Holder.__name__ = "ArrayOfDatastoreVVolContainerFailoverPair_Holder"
            self.pyclass = Holder

    class Description_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "Description")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.Description_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"label"), aname="_label", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"summary"), aname="_summary", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.Description_Def.__bases__:
                bases = list(ns0.Description_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.Description_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DiagnosticManagerLogCreator_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DiagnosticManagerLogCreator")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DiagnosticManagerLogFormat_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DiagnosticManagerLogFormat")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DiagnosticManagerLogDescriptor_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DiagnosticManagerLogDescriptor")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DiagnosticManagerLogDescriptor_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fileName"), aname="_fileName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"creator"), aname="_creator", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"format"), aname="_format", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mimeType"), aname="_mimeType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Description",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DiagnosticManagerLogDescriptor_Def.__bases__:
                bases = list(ns0.DiagnosticManagerLogDescriptor_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DiagnosticManagerLogDescriptor_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDiagnosticManagerLogDescriptor_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDiagnosticManagerLogDescriptor")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDiagnosticManagerLogDescriptor_Def.schema
            TClist = [GTD("urn:vim25","DiagnosticManagerLogDescriptor",lazy=True)(pname=(ns,"DiagnosticManagerLogDescriptor"), aname="_DiagnosticManagerLogDescriptor", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DiagnosticManagerLogDescriptor = []
                    return
            Holder.__name__ = "ArrayOfDiagnosticManagerLogDescriptor_Holder"
            self.pyclass = Holder

    class DiagnosticManagerLogHeader_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DiagnosticManagerLogHeader")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DiagnosticManagerLogHeader_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"lineStart"), aname="_lineStart", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"lineEnd"), aname="_lineEnd", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lineText"), aname="_lineText", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DiagnosticManagerLogHeader_Def.__bases__:
                bases = list(ns0.DiagnosticManagerLogHeader_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DiagnosticManagerLogHeader_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DiagnosticManagerBundleInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DiagnosticManagerBundleInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DiagnosticManagerBundleInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"system"), aname="_system", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DiagnosticManagerBundleInfo_Def.__bases__:
                bases = list(ns0.DiagnosticManagerBundleInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DiagnosticManagerBundleInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDiagnosticManagerBundleInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDiagnosticManagerBundleInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDiagnosticManagerBundleInfo_Def.schema
            TClist = [GTD("urn:vim25","DiagnosticManagerBundleInfo",lazy=True)(pname=(ns,"DiagnosticManagerBundleInfo"), aname="_DiagnosticManagerBundleInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DiagnosticManagerBundleInfo = []
                    return
            Holder.__name__ = "ArrayOfDiagnosticManagerBundleInfo_Holder"
            self.pyclass = Holder

    class DistributedVirtualSwitchProductSpecOperationType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchProductSpecOperationType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DVSContactInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSContactInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSContactInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"contact"), aname="_contact", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSContactInfo_Def.__bases__:
                bases = list(ns0.DVSContactInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSContactInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchNicTeamingPolicyMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchNicTeamingPolicyMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DVSNetworkResourceManagementCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSNetworkResourceManagementCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSNetworkResourceManagementCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"networkResourceManagementSupported"), aname="_networkResourceManagementSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"networkResourcePoolHighShareValue"), aname="_networkResourcePoolHighShareValue", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"qosSupported"), aname="_qosSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"userDefinedNetworkResourcePoolsSupported"), aname="_userDefinedNetworkResourcePoolsSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"networkResourceControlVersion3Supported"), aname="_networkResourceControlVersion3Supported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"userDefinedInfraTrafficPoolSupported"), aname="_userDefinedInfraTrafficPoolSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSNetworkResourceManagementCapability_Def.__bases__:
                bases = list(ns0.DVSNetworkResourceManagementCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSNetworkResourceManagementCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSRollbackCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSRollbackCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSRollbackCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"rollbackSupported"), aname="_rollbackSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSRollbackCapability_Def.__bases__:
                bases = list(ns0.DVSRollbackCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSRollbackCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSBackupRestoreCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSBackupRestoreCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSBackupRestoreCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"backupRestoreSupported"), aname="_backupRestoreSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSBackupRestoreCapability_Def.__bases__:
                bases = list(ns0.DVSBackupRestoreCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSBackupRestoreCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSFeatureCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSFeatureCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSFeatureCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"networkResourceManagementSupported"), aname="_networkResourceManagementSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmDirectPathGen2Supported"), aname="_vmDirectPathGen2Supported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nicTeamingPolicy"), aname="_nicTeamingPolicy", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"networkResourcePoolHighShareValue"), aname="_networkResourcePoolHighShareValue", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSNetworkResourceManagementCapability",lazy=True)(pname=(ns,"networkResourceManagementCapability"), aname="_networkResourceManagementCapability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSHealthCheckCapability",lazy=True)(pname=(ns,"healthCheckCapability"), aname="_healthCheckCapability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSRollbackCapability",lazy=True)(pname=(ns,"rollbackCapability"), aname="_rollbackCapability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSBackupRestoreCapability",lazy=True)(pname=(ns,"backupRestoreCapability"), aname="_backupRestoreCapability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"networkFilterSupported"), aname="_networkFilterSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"macLearningSupported"), aname="_macLearningSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSFeatureCapability_Def.__bases__:
                bases = list(ns0.DVSFeatureCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSFeatureCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSHealthCheckCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSHealthCheckCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSHealthCheckCapability_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSHealthCheckCapability_Def.__bases__:
                bases = list(ns0.DVSHealthCheckCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSHealthCheckCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"dvsOperationSupported"), aname="_dvsOperationSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"dvPortGroupOperationSupported"), aname="_dvPortGroupOperationSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"dvPortOperationSupported"), aname="_dvPortOperationSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchHostProductSpec",lazy=True)(pname=(ns,"compatibleHostComponentProductInfo"), aname="_compatibleHostComponentProductInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSFeatureCapability",lazy=True)(pname=(ns,"featuresSupported"), aname="_featuresSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSCapability_Def.__bases__:
                bases = list(ns0.DVSCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSSummary_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numPorts"), aname="_numPorts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"productInfo"), aname="_productInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hostMember"), aname="_hostMember", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupName"), aname="_portgroupName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSContactInfo",lazy=True)(pname=(ns,"contact"), aname="_contact", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numHosts"), aname="_numHosts", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSSummary_Def.__bases__:
                bases = list(ns0.DVSSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"autoPreInstallAllowed"), aname="_autoPreInstallAllowed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"autoUpgradeAllowed"), aname="_autoUpgradeAllowed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"partialUpgradeAllowed"), aname="_partialUpgradeAllowed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSPolicy_Def.__bases__:
                bases = list(ns0.DVSPolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSPolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSUplinkPortPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSUplinkPortPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSUplinkPortPolicy_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSUplinkPortPolicy_Def.__bases__:
                bases = list(ns0.DVSUplinkPortPolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSUplinkPortPolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSNameArrayUplinkPortPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSNameArrayUplinkPortPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSNameArrayUplinkPortPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uplinkPortName"), aname="_uplinkPortName", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DVSUplinkPortPolicy_Def not in ns0.DVSNameArrayUplinkPortPolicy_Def.__bases__:
                bases = list(ns0.DVSNameArrayUplinkPortPolicy_Def.__bases__)
                bases.insert(0, ns0.DVSUplinkPortPolicy_Def)
                ns0.DVSNameArrayUplinkPortPolicy_Def.__bases__ = tuple(bases)

            ns0.DVSUplinkPortPolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"configVersion"), aname="_configVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numStandalonePorts"), aname="_numStandalonePorts", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxPorts"), aname="_maxPorts", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSUplinkPortPolicy",lazy=True)(pname=(ns,"uplinkPortPolicy"), aname="_uplinkPortPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"uplinkPortgroup"), aname="_uplinkPortgroup", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortSetting",lazy=True)(pname=(ns,"defaultPortConfig"), aname="_defaultPortConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchHostMemberConfigSpec",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSPolicy",lazy=True)(pname=(ns,"policy"), aname="_policy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchKeyedOpaqueBlob",lazy=True)(pname=(ns,"vendorSpecificConfig"), aname="_vendorSpecificConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSContactInfo",lazy=True)(pname=(ns,"contact"), aname="_contact", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"switchIpAddress"), aname="_switchIpAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"defaultProxySwitchMaxNumPorts"), aname="_defaultProxySwitchMaxNumPorts", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsHostInfrastructureTrafficResource",lazy=True)(pname=(ns,"infrastructureTrafficResourceConfig"), aname="_infrastructureTrafficResourceConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsHostInfrastructureTrafficResource",lazy=True)(pname=(ns,"netResourcePoolTrafficResourceConfig"), aname="_netResourcePoolTrafficResourceConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"networkResourceControlVersion"), aname="_networkResourceControlVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSConfigSpec_Def.__bases__:
                bases = list(ns0.DVSConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSCreateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSCreateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSCreateSpec_Def.schema
            TClist = [GTD("urn:vim25","DVSConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"productInfo"), aname="_productInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSCapability",lazy=True)(pname=(ns,"capability"), aname="_capability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSCreateSpec_Def.__bases__:
                bases = list(ns0.DVSCreateSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSCreateSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numStandalonePorts"), aname="_numStandalonePorts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numPorts"), aname="_numPorts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxPorts"), aname="_maxPorts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSUplinkPortPolicy",lazy=True)(pname=(ns,"uplinkPortPolicy"), aname="_uplinkPortPolicy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"uplinkPortgroup"), aname="_uplinkPortgroup", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortSetting",lazy=True)(pname=(ns,"defaultPortConfig"), aname="_defaultPortConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchHostMember",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"productInfo"), aname="_productInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"targetInfo"), aname="_targetInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchKeyedOpaqueBlob",lazy=True)(pname=(ns,"vendorSpecificConfig"), aname="_vendorSpecificConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSPolicy",lazy=True)(pname=(ns,"policy"), aname="_policy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configVersion"), aname="_configVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSContactInfo",lazy=True)(pname=(ns,"contact"), aname="_contact", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"switchIpAddress"), aname="_switchIpAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"createTime"), aname="_createTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"networkResourceManagementEnabled"), aname="_networkResourceManagementEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"defaultProxySwitchMaxNumPorts"), aname="_defaultProxySwitchMaxNumPorts", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSHealthCheckConfig",lazy=True)(pname=(ns,"healthCheckConfig"), aname="_healthCheckConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsHostInfrastructureTrafficResource",lazy=True)(pname=(ns,"infrastructureTrafficResourceConfig"), aname="_infrastructureTrafficResourceConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsHostInfrastructureTrafficResource",lazy=True)(pname=(ns,"netResourcePoolTrafficResourceConfig"), aname="_netResourcePoolTrafficResourceConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"networkResourceControlVersion"), aname="_networkResourceControlVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSVmVnicNetworkResourcePool",lazy=True)(pname=(ns,"vmVnicNetworkResourcePool"), aname="_vmVnicNetworkResourcePool", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"pnicCapacityRatioForReservation"), aname="_pnicCapacityRatioForReservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSConfigInfo_Def.__bases__:
                bases = list(ns0.DVSConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchNetworkResourceControlVersion_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchNetworkResourceControlVersion")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DistributedVirtualSwitchHostInfrastructureTrafficClass_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchHostInfrastructureTrafficClass")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DvsHostInfrastructureTrafficResourceAllocation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsHostInfrastructureTrafficResourceAllocation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsHostInfrastructureTrafficResourceAllocation_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"limit"), aname="_limit", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SharesInfo",lazy=True)(pname=(ns,"shares"), aname="_shares", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"reservation"), aname="_reservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsHostInfrastructureTrafficResourceAllocation_Def.__bases__:
                bases = list(ns0.DvsHostInfrastructureTrafficResourceAllocation_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsHostInfrastructureTrafficResourceAllocation_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsHostInfrastructureTrafficResource_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsHostInfrastructureTrafficResource")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsHostInfrastructureTrafficResource_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsHostInfrastructureTrafficResourceAllocation",lazy=True)(pname=(ns,"allocationInfo"), aname="_allocationInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsHostInfrastructureTrafficResource_Def.__bases__:
                bases = list(ns0.DvsHostInfrastructureTrafficResource_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsHostInfrastructureTrafficResource_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDvsHostInfrastructureTrafficResource_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDvsHostInfrastructureTrafficResource")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDvsHostInfrastructureTrafficResource_Def.schema
            TClist = [GTD("urn:vim25","DvsHostInfrastructureTrafficResource",lazy=True)(pname=(ns,"DvsHostInfrastructureTrafficResource"), aname="_DvsHostInfrastructureTrafficResource", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DvsHostInfrastructureTrafficResource = []
                    return
            Holder.__name__ = "ArrayOfDvsHostInfrastructureTrafficResource_Holder"
            self.pyclass = Holder

    class DVSHealthCheckConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSHealthCheckConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSHealthCheckConfig_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enable"), aname="_enable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"interval"), aname="_interval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSHealthCheckConfig_Def.__bases__:
                bases = list(ns0.DVSHealthCheckConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSHealthCheckConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDVSHealthCheckConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDVSHealthCheckConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDVSHealthCheckConfig_Def.schema
            TClist = [GTD("urn:vim25","DVSHealthCheckConfig",lazy=True)(pname=(ns,"DVSHealthCheckConfig"), aname="_DVSHealthCheckConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DVSHealthCheckConfig = []
                    return
            Holder.__name__ = "ArrayOfDVSHealthCheckConfig_Holder"
            self.pyclass = Holder

    class DvsResourceRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsResourceRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsResourceRuntimeInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"capacity"), aname="_capacity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"usage"), aname="_usage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"available"), aname="_available", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsVnicAllocatedResource",lazy=True)(pname=(ns,"allocatedResource"), aname="_allocatedResource", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsVmVnicNetworkResourcePoolRuntimeInfo",lazy=True)(pname=(ns,"vmVnicNetworkResourcePoolRuntime"), aname="_vmVnicNetworkResourcePoolRuntime", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsResourceRuntimeInfo_Def.__bases__:
                bases = list(ns0.DvsResourceRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsResourceRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","HostMemberRuntimeInfo",lazy=True)(pname=(ns,"hostMemberRuntime"), aname="_hostMemberRuntime", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsResourceRuntimeInfo",lazy=True)(pname=(ns,"resourceRuntimeInfo"), aname="_resourceRuntimeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSRuntimeInfo_Def.__bases__:
                bases = list(ns0.DVSRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsInjectorWorkloadCorrelationState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DrsInjectorWorkloadCorrelationState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class EVCMode_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCMode")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCMode_Def.schema
            TClist = [GTD("urn:vim25","HostCpuIdInfo",lazy=True)(pname=(ns,"guaranteedCPUFeatures"), aname="_guaranteedCPUFeatures", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFeatureCapability",lazy=True)(pname=(ns,"featureCapability"), aname="_featureCapability", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFeatureMask",lazy=True)(pname=(ns,"featureMask"), aname="_featureMask", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFeatureRequirement",lazy=True)(pname=(ns,"featureRequirement"), aname="_featureRequirement", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendor"), aname="_vendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"track"), aname="_track", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vendorTier"), aname="_vendorTier", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ElementDescription_Def not in ns0.EVCMode_Def.__bases__:
                bases = list(ns0.EVCMode_Def.__bases__)
                bases.insert(0, ns0.ElementDescription_Def)
                ns0.EVCMode_Def.__bases__ = tuple(bases)

            ns0.ElementDescription_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfEVCMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfEVCMode")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfEVCMode_Def.schema
            TClist = [GTD("urn:vim25","EVCMode",lazy=True)(pname=(ns,"EVCMode"), aname="_EVCMode", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._EVCMode = []
                    return
            Holder.__name__ = "ArrayOfEVCMode_Holder"
            self.pyclass = Holder

    class ElementDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ElementDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ElementDescription_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Description_Def not in ns0.ElementDescription_Def.__bases__:
                bases = list(ns0.ElementDescription_Def.__bases__)
                bases.insert(0, ns0.Description_Def)
                ns0.ElementDescription_Def.__bases__ = tuple(bases)

            ns0.Description_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfElementDescription_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfElementDescription")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfElementDescription_Def.schema
            TClist = [GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"ElementDescription"), aname="_ElementDescription", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ElementDescription = []
                    return
            Holder.__name__ = "ArrayOfElementDescription_Holder"
            self.pyclass = Holder

    class EnumDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EnumDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EnumDescription_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"tags"), aname="_tags", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.EnumDescription_Def.__bases__:
                bases = list(ns0.EnumDescription_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.EnumDescription_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfEnumDescription_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfEnumDescription")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfEnumDescription_Def.schema
            TClist = [GTD("urn:vim25","EnumDescription",lazy=True)(pname=(ns,"EnumDescription"), aname="_EnumDescription", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._EnumDescription = []
                    return
            Holder.__name__ = "ArrayOfEnumDescription_Holder"
            self.pyclass = Holder

    class EnvironmentBrowserConfigOptionQuerySpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EnvironmentBrowserConfigOptionQuerySpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EnvironmentBrowserConfigOptionQuerySpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestId"), aname="_guestId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.EnvironmentBrowserConfigOptionQuerySpec_Def.__bases__:
                bases = list(ns0.EnvironmentBrowserConfigOptionQuerySpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.EnvironmentBrowserConfigOptionQuerySpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExtendedDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtendedDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtendedDescription_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"messageCatalogKeyPrefix"), aname="_messageCatalogKeyPrefix", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"messageArg"), aname="_messageArg", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Description_Def not in ns0.ExtendedDescription_Def.__bases__:
                bases = list(ns0.ExtendedDescription_Def.__bases__)
                bases.insert(0, ns0.Description_Def)
                ns0.ExtendedDescription_Def.__bases__ = tuple(bases)

            ns0.Description_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExtendedElementDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtendedElementDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtendedElementDescription_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"messageCatalogKeyPrefix"), aname="_messageCatalogKeyPrefix", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"messageArg"), aname="_messageArg", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ElementDescription_Def not in ns0.ExtendedElementDescription_Def.__bases__:
                bases = list(ns0.ExtendedElementDescription_Def.__bases__)
                bases.insert(0, ns0.ElementDescription_Def)
                ns0.ExtendedElementDescription_Def.__bases__ = tuple(bases)

            ns0.ElementDescription_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExtensionServerInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtensionServerInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtensionServerInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Description",lazy=True)(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"company"), aname="_company", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"adminEmail"), aname="_adminEmail", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"serverThumbprint"), aname="_serverThumbprint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtensionServerInfo_Def.__bases__:
                bases = list(ns0.ExtensionServerInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtensionServerInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfExtensionServerInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfExtensionServerInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfExtensionServerInfo_Def.schema
            TClist = [GTD("urn:vim25","ExtensionServerInfo",lazy=True)(pname=(ns,"ExtensionServerInfo"), aname="_ExtensionServerInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ExtensionServerInfo = []
                    return
            Holder.__name__ = "ArrayOfExtensionServerInfo_Holder"
            self.pyclass = Holder

    class ExtensionClientInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtensionClientInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtensionClientInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Description",lazy=True)(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"company"), aname="_company", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtensionClientInfo_Def.__bases__:
                bases = list(ns0.ExtensionClientInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtensionClientInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfExtensionClientInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfExtensionClientInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfExtensionClientInfo_Def.schema
            TClist = [GTD("urn:vim25","ExtensionClientInfo",lazy=True)(pname=(ns,"ExtensionClientInfo"), aname="_ExtensionClientInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ExtensionClientInfo = []
                    return
            Holder.__name__ = "ArrayOfExtensionClientInfo_Holder"
            self.pyclass = Holder

    class ExtensionTaskTypeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtensionTaskTypeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtensionTaskTypeInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"taskID"), aname="_taskID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtensionTaskTypeInfo_Def.__bases__:
                bases = list(ns0.ExtensionTaskTypeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtensionTaskTypeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfExtensionTaskTypeInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfExtensionTaskTypeInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfExtensionTaskTypeInfo_Def.schema
            TClist = [GTD("urn:vim25","ExtensionTaskTypeInfo",lazy=True)(pname=(ns,"ExtensionTaskTypeInfo"), aname="_ExtensionTaskTypeInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ExtensionTaskTypeInfo = []
                    return
            Holder.__name__ = "ArrayOfExtensionTaskTypeInfo_Holder"
            self.pyclass = Holder

    class ExtensionEventTypeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtensionEventTypeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtensionEventTypeInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"eventID"), aname="_eventID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"eventTypeSchema"), aname="_eventTypeSchema", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtensionEventTypeInfo_Def.__bases__:
                bases = list(ns0.ExtensionEventTypeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtensionEventTypeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfExtensionEventTypeInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfExtensionEventTypeInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfExtensionEventTypeInfo_Def.schema
            TClist = [GTD("urn:vim25","ExtensionEventTypeInfo",lazy=True)(pname=(ns,"ExtensionEventTypeInfo"), aname="_ExtensionEventTypeInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ExtensionEventTypeInfo = []
                    return
            Holder.__name__ = "ArrayOfExtensionEventTypeInfo_Holder"
            self.pyclass = Holder

    class ExtensionFaultTypeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtensionFaultTypeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtensionFaultTypeInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"faultID"), aname="_faultID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtensionFaultTypeInfo_Def.__bases__:
                bases = list(ns0.ExtensionFaultTypeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtensionFaultTypeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfExtensionFaultTypeInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfExtensionFaultTypeInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfExtensionFaultTypeInfo_Def.schema
            TClist = [GTD("urn:vim25","ExtensionFaultTypeInfo",lazy=True)(pname=(ns,"ExtensionFaultTypeInfo"), aname="_ExtensionFaultTypeInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ExtensionFaultTypeInfo = []
                    return
            Holder.__name__ = "ArrayOfExtensionFaultTypeInfo_Holder"
            self.pyclass = Holder

    class ExtensionPrivilegeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtensionPrivilegeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtensionPrivilegeInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"privID"), aname="_privID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"privGroupName"), aname="_privGroupName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtensionPrivilegeInfo_Def.__bases__:
                bases = list(ns0.ExtensionPrivilegeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtensionPrivilegeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfExtensionPrivilegeInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfExtensionPrivilegeInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfExtensionPrivilegeInfo_Def.schema
            TClist = [GTD("urn:vim25","ExtensionPrivilegeInfo",lazy=True)(pname=(ns,"ExtensionPrivilegeInfo"), aname="_ExtensionPrivilegeInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ExtensionPrivilegeInfo = []
                    return
            Holder.__name__ = "ArrayOfExtensionPrivilegeInfo_Holder"
            self.pyclass = Holder

    class ExtensionResourceInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtensionResourceInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtensionResourceInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"locale"), aname="_locale", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"module"), aname="_module", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"data"), aname="_data", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtensionResourceInfo_Def.__bases__:
                bases = list(ns0.ExtensionResourceInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtensionResourceInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfExtensionResourceInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfExtensionResourceInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfExtensionResourceInfo_Def.schema
            TClist = [GTD("urn:vim25","ExtensionResourceInfo",lazy=True)(pname=(ns,"ExtensionResourceInfo"), aname="_ExtensionResourceInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ExtensionResourceInfo = []
                    return
            Holder.__name__ = "ArrayOfExtensionResourceInfo_Holder"
            self.pyclass = Holder

    class ExtensionHealthInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtensionHealthInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtensionHealthInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtensionHealthInfo_Def.__bases__:
                bases = list(ns0.ExtensionHealthInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtensionHealthInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExtensionOvfConsumerInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtensionOvfConsumerInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtensionOvfConsumerInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"callbackUrl"), aname="_callbackUrl", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sectionType"), aname="_sectionType", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtensionOvfConsumerInfo_Def.__bases__:
                bases = list(ns0.ExtensionOvfConsumerInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtensionOvfConsumerInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class Extension_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "Extension")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.Extension_Def.schema
            TClist = [GTD("urn:vim25","Description",lazy=True)(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"company"), aname="_company", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"subjectName"), aname="_subjectName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ExtensionServerInfo",lazy=True)(pname=(ns,"server"), aname="_server", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ExtensionClientInfo",lazy=True)(pname=(ns,"client"), aname="_client", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ExtensionTaskTypeInfo",lazy=True)(pname=(ns,"taskList"), aname="_taskList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ExtensionEventTypeInfo",lazy=True)(pname=(ns,"eventList"), aname="_eventList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ExtensionFaultTypeInfo",lazy=True)(pname=(ns,"faultList"), aname="_faultList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ExtensionPrivilegeInfo",lazy=True)(pname=(ns,"privilegeList"), aname="_privilegeList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ExtensionResourceInfo",lazy=True)(pname=(ns,"resourceList"), aname="_resourceList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"lastHeartbeatTime"), aname="_lastHeartbeatTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ExtensionHealthInfo",lazy=True)(pname=(ns,"healthInfo"), aname="_healthInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ExtensionOvfConsumerInfo",lazy=True)(pname=(ns,"ovfConsumerInfo"), aname="_ovfConsumerInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ExtExtendedProductInfo",lazy=True)(pname=(ns,"extendedProductInfo"), aname="_extendedProductInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ExtManagedEntityInfo",lazy=True)(pname=(ns,"managedEntityInfo"), aname="_managedEntityInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"shownInSolutionManager"), aname="_shownInSolutionManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ExtSolutionManagerInfo",lazy=True)(pname=(ns,"solutionManagerInfo"), aname="_solutionManagerInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.Extension_Def.__bases__:
                bases = list(ns0.Extension_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.Extension_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfExtension_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfExtension")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfExtension_Def.schema
            TClist = [GTD("urn:vim25","Extension",lazy=True)(pname=(ns,"Extension"), aname="_Extension", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._Extension = []
                    return
            Holder.__name__ = "ArrayOfExtension_Holder"
            self.pyclass = Holder

    class ExtensionManagerIpAllocationUsage_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtensionManagerIpAllocationUsage")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtensionManagerIpAllocationUsage_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numAddresses"), aname="_numAddresses", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtensionManagerIpAllocationUsage_Def.__bases__:
                bases = list(ns0.ExtensionManagerIpAllocationUsage_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtensionManagerIpAllocationUsage_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfExtensionManagerIpAllocationUsage_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfExtensionManagerIpAllocationUsage")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfExtensionManagerIpAllocationUsage_Def.schema
            TClist = [GTD("urn:vim25","ExtensionManagerIpAllocationUsage",lazy=True)(pname=(ns,"ExtensionManagerIpAllocationUsage"), aname="_ExtensionManagerIpAllocationUsage", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ExtensionManagerIpAllocationUsage = []
                    return
            Holder.__name__ = "ArrayOfExtensionManagerIpAllocationUsage_Holder"
            self.pyclass = Holder

    class FaultsByHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultsByHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultsByHost_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"faults"), aname="_faults", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FaultsByHost_Def.__bases__:
                bases = list(ns0.FaultsByHost_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FaultsByHost_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfFaultsByHost_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfFaultsByHost")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfFaultsByHost_Def.schema
            TClist = [GTD("urn:vim25","FaultsByHost",lazy=True)(pname=(ns,"FaultsByHost"), aname="_FaultsByHost", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._FaultsByHost = []
                    return
            Holder.__name__ = "ArrayOfFaultsByHost_Holder"
            self.pyclass = Holder

    class FaultsByVM_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultsByVM")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultsByVM_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"faults"), aname="_faults", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FaultsByVM_Def.__bases__:
                bases = list(ns0.FaultsByVM_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FaultsByVM_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfFaultsByVM_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfFaultsByVM")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfFaultsByVM_Def.schema
            TClist = [GTD("urn:vim25","FaultsByVM",lazy=True)(pname=(ns,"FaultsByVM"), aname="_FaultsByVM", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._FaultsByVM = []
                    return
            Holder.__name__ = "ArrayOfFaultsByVM_Holder"
            self.pyclass = Holder

    class ReplicationVmState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReplicationVmState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ReplicationVmProgressInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReplicationVmProgressInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReplicationVmProgressInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"progress"), aname="_progress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"bytesTransferred"), aname="_bytesTransferred", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"bytesToTransfer"), aname="_bytesToTransfer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"checksumTotalBytes"), aname="_checksumTotalBytes", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"checksumComparedBytes"), aname="_checksumComparedBytes", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ReplicationVmProgressInfo_Def.__bases__:
                bases = list(ns0.ReplicationVmProgressInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ReplicationVmProgressInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HbrManagerReplicationVmInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HbrManagerReplicationVmInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HbrManagerReplicationVmInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ReplicationVmProgressInfo",lazy=True)(pname=(ns,"progressInfo"), aname="_progressInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"imageId"), aname="_imageId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"lastError"), aname="_lastError", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HbrManagerReplicationVmInfo_Def.__bases__:
                bases = list(ns0.HbrManagerReplicationVmInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HbrManagerReplicationVmInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class QuiesceMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QuiesceMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HbrManagerVmReplicationCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HbrManagerVmReplicationCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HbrManagerVmReplicationCapability_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportedQuiesceMode"), aname="_supportedQuiesceMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"compressionSupported"), aname="_compressionSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"maxSupportedSourceDiskCapacity"), aname="_maxSupportedSourceDiskCapacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"minRpo"), aname="_minRpo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HbrManagerVmReplicationCapability_Def.__bases__:
                bases = list(ns0.HbrManagerVmReplicationCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HbrManagerVmReplicationCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHbrManagerVmReplicationCapability_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHbrManagerVmReplicationCapability")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHbrManagerVmReplicationCapability_Def.schema
            TClist = [GTD("urn:vim25","HbrManagerVmReplicationCapability",lazy=True)(pname=(ns,"HbrManagerVmReplicationCapability"), aname="_HbrManagerVmReplicationCapability", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HbrManagerVmReplicationCapability = []
                    return
            Holder.__name__ = "ArrayOfHbrManagerVmReplicationCapability_Holder"
            self.pyclass = Holder

    class HealthUpdateInfoComponentType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HealthUpdateInfoComponentType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HealthUpdateInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HealthUpdateInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HealthUpdateInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"componentType"), aname="_componentType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HealthUpdateInfo_Def.__bases__:
                bases = list(ns0.HealthUpdateInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HealthUpdateInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHealthUpdateInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHealthUpdateInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHealthUpdateInfo_Def.schema
            TClist = [GTD("urn:vim25","HealthUpdateInfo",lazy=True)(pname=(ns,"HealthUpdateInfo"), aname="_HealthUpdateInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HealthUpdateInfo = []
                    return
            Holder.__name__ = "ArrayOfHealthUpdateInfo_Holder"
            self.pyclass = Holder

    class HealthUpdate_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HealthUpdate")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HealthUpdate_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"healthUpdateInfoId"), aname="_healthUpdateInfoId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"remediation"), aname="_remediation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HealthUpdate_Def.__bases__:
                bases = list(ns0.HealthUpdate_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HealthUpdate_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHealthUpdate_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHealthUpdate")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHealthUpdate_Def.schema
            TClist = [GTD("urn:vim25","HealthUpdate",lazy=True)(pname=(ns,"HealthUpdate"), aname="_HealthUpdate", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HealthUpdate = []
                    return
            Holder.__name__ = "ArrayOfHealthUpdate_Holder"
            self.pyclass = Holder

    class HostServiceTicket_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostServiceTicket")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostServiceTicket_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sslThumbprint"), aname="_sslThumbprint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"service"), aname="_service", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"serviceVersion"), aname="_serviceVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sessionId"), aname="_sessionId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostServiceTicket_Def.__bases__:
                bases = list(ns0.HostServiceTicket_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostServiceTicket_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSystemConnectionState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostSystemConnectionState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostSystemPowerState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostSystemPowerState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostStandbyMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostStandbyMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostCryptoState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostCryptoState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostSystemRemediationStateState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostSystemRemediationStateState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostSystemRemediationState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSystemRemediationState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSystemRemediationState_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"operationTime"), aname="_operationTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSystemRemediationState_Def.__bases__:
                bases = list(ns0.HostSystemRemediationState_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSystemRemediationState_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSystemComplianceCheckState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSystemComplianceCheckState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSystemComplianceCheckState_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"checkTime"), aname="_checkTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSystemComplianceCheckState_Def.__bases__:
                bases = list(ns0.HostSystemComplianceCheckState_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSystemComplianceCheckState_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSystemReconnectSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSystemReconnectSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSystemReconnectSpec_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"syncState"), aname="_syncState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSystemReconnectSpec_Def.__bases__:
                bases = list(ns0.HostSystemReconnectSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSystemReconnectSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HttpNfcLeaseState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HttpNfcLeaseMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HttpNfcLeaseDatastoreLeaseInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseDatastoreLeaseInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HttpNfcLeaseDatastoreLeaseInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"datastoreKey"), aname="_datastoreKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HttpNfcLeaseHostInfo",lazy=True)(pname=(ns,"hosts"), aname="_hosts", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HttpNfcLeaseDatastoreLeaseInfo_Def.__bases__:
                bases = list(ns0.HttpNfcLeaseDatastoreLeaseInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HttpNfcLeaseDatastoreLeaseInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHttpNfcLeaseDatastoreLeaseInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHttpNfcLeaseDatastoreLeaseInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHttpNfcLeaseDatastoreLeaseInfo_Def.schema
            TClist = [GTD("urn:vim25","HttpNfcLeaseDatastoreLeaseInfo",lazy=True)(pname=(ns,"HttpNfcLeaseDatastoreLeaseInfo"), aname="_HttpNfcLeaseDatastoreLeaseInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HttpNfcLeaseDatastoreLeaseInfo = []
                    return
            Holder.__name__ = "ArrayOfHttpNfcLeaseDatastoreLeaseInfo_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseHostInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseHostInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HttpNfcLeaseHostInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sslThumbprint"), aname="_sslThumbprint", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HttpNfcLeaseHostInfo_Def.__bases__:
                bases = list(ns0.HttpNfcLeaseHostInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HttpNfcLeaseHostInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHttpNfcLeaseHostInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHttpNfcLeaseHostInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHttpNfcLeaseHostInfo_Def.schema
            TClist = [GTD("urn:vim25","HttpNfcLeaseHostInfo",lazy=True)(pname=(ns,"HttpNfcLeaseHostInfo"), aname="_HttpNfcLeaseHostInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HttpNfcLeaseHostInfo = []
                    return
            Holder.__name__ = "ArrayOfHttpNfcLeaseHostInfo_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HttpNfcLeaseInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"lease"), aname="_lease", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HttpNfcLeaseDeviceUrl",lazy=True)(pname=(ns,"deviceUrl"), aname="_deviceUrl", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"totalDiskCapacityInKB"), aname="_totalDiskCapacityInKB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"leaseTimeout"), aname="_leaseTimeout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HttpNfcLeaseDatastoreLeaseInfo",lazy=True)(pname=(ns,"hostMap"), aname="_hostMap", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HttpNfcLeaseInfo_Def.__bases__:
                bases = list(ns0.HttpNfcLeaseInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HttpNfcLeaseInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HttpNfcLeaseDeviceUrl_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseDeviceUrl")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HttpNfcLeaseDeviceUrl_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"importKey"), aname="_importKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sslThumbprint"), aname="_sslThumbprint", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"disk"), aname="_disk", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"targetId"), aname="_targetId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastoreKey"), aname="_datastoreKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"fileSize"), aname="_fileSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HttpNfcLeaseDeviceUrl_Def.__bases__:
                bases = list(ns0.HttpNfcLeaseDeviceUrl_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HttpNfcLeaseDeviceUrl_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHttpNfcLeaseDeviceUrl_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHttpNfcLeaseDeviceUrl")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHttpNfcLeaseDeviceUrl_Def.schema
            TClist = [GTD("urn:vim25","HttpNfcLeaseDeviceUrl",lazy=True)(pname=(ns,"HttpNfcLeaseDeviceUrl"), aname="_HttpNfcLeaseDeviceUrl", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HttpNfcLeaseDeviceUrl = []
                    return
            Holder.__name__ = "ArrayOfHttpNfcLeaseDeviceUrl_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseManifestEntryChecksumType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseManifestEntryChecksumType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HttpNfcLeaseManifestEntry_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseManifestEntry")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HttpNfcLeaseManifestEntry_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sha1"), aname="_sha1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"checksum"), aname="_checksum", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"checksumType"), aname="_checksumType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"size"), aname="_size", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"disk"), aname="_disk", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacity"), aname="_capacity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"populatedSize"), aname="_populatedSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HttpNfcLeaseManifestEntry_Def.__bases__:
                bases = list(ns0.HttpNfcLeaseManifestEntry_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HttpNfcLeaseManifestEntry_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHttpNfcLeaseManifestEntry_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHttpNfcLeaseManifestEntry")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHttpNfcLeaseManifestEntry_Def.schema
            TClist = [GTD("urn:vim25","HttpNfcLeaseManifestEntry",lazy=True)(pname=(ns,"HttpNfcLeaseManifestEntry"), aname="_HttpNfcLeaseManifestEntry", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HttpNfcLeaseManifestEntry = []
                    return
            Holder.__name__ = "ArrayOfHttpNfcLeaseManifestEntry_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseSourceFile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseSourceFile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HttpNfcLeaseSourceFile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"targetDeviceId"), aname="_targetDeviceId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"memberName"), aname="_memberName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"create"), aname="_create", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sslThumbprint"), aname="_sslThumbprint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"httpHeaders"), aname="_httpHeaders", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"size"), aname="_size", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HttpNfcLeaseSourceFile_Def.__bases__:
                bases = list(ns0.HttpNfcLeaseSourceFile_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HttpNfcLeaseSourceFile_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHttpNfcLeaseSourceFile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHttpNfcLeaseSourceFile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHttpNfcLeaseSourceFile_Def.schema
            TClist = [GTD("urn:vim25","HttpNfcLeaseSourceFile",lazy=True)(pname=(ns,"HttpNfcLeaseSourceFile"), aname="_HttpNfcLeaseSourceFile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HttpNfcLeaseSourceFile = []
                    return
            Holder.__name__ = "ArrayOfHttpNfcLeaseSourceFile_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseCapabilities_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseCapabilities")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HttpNfcLeaseCapabilities_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"pullModeSupported"), aname="_pullModeSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"corsSupported"), aname="_corsSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HttpNfcLeaseCapabilities_Def.__bases__:
                bases = list(ns0.HttpNfcLeaseCapabilities_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HttpNfcLeaseCapabilities_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ImportSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ImportSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ImportSpec_Def.schema
            TClist = [GTD("urn:vim25","VAppEntityConfigInfo",lazy=True)(pname=(ns,"entityConfig"), aname="_entityConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OvfConsumerOstNode",lazy=True)(pname=(ns,"instantiationOst"), aname="_instantiationOst", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ImportSpec_Def.__bases__:
                bases = list(ns0.ImportSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ImportSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfImportSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfImportSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfImportSpec_Def.schema
            TClist = [GTD("urn:vim25","ImportSpec",lazy=True)(pname=(ns,"ImportSpec"), aname="_ImportSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ImportSpec = []
                    return
            Holder.__name__ = "ArrayOfImportSpec_Holder"
            self.pyclass = Holder

    class InheritablePolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InheritablePolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InheritablePolicy_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"inherited"), aname="_inherited", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.InheritablePolicy_Def.__bases__:
                bases = list(ns0.InheritablePolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.InheritablePolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IntExpression_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IntExpression")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IntExpression_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NegatableExpression_Def not in ns0.IntExpression_Def.__bases__:
                bases = list(ns0.IntExpression_Def.__bases__)
                bases.insert(0, ns0.NegatableExpression_Def)
                ns0.IntExpression_Def.__bases__ = tuple(bases)

            ns0.NegatableExpression_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IntPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IntPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IntPolicy_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.IntPolicy_Def.__bases__:
                bases = list(ns0.IntPolicy_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.IntPolicy_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IoFilterInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IoFilterInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IoFilterInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendor"), aname="_vendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"summary"), aname="_summary", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"releaseDate"), aname="_releaseDate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.IoFilterInfo_Def.__bases__:
                bases = list(ns0.IoFilterInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.IoFilterInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostIoFilterInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIoFilterInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIoFilterInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"available"), aname="_available", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IoFilterInfo_Def not in ns0.HostIoFilterInfo_Def.__bases__:
                bases = list(ns0.HostIoFilterInfo_Def.__bases__)
                bases.insert(0, ns0.IoFilterInfo_Def)
                ns0.HostIoFilterInfo_Def.__bases__ = tuple(bases)

            ns0.IoFilterInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostIoFilterInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostIoFilterInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostIoFilterInfo_Def.schema
            TClist = [GTD("urn:vim25","HostIoFilterInfo",lazy=True)(pname=(ns,"HostIoFilterInfo"), aname="_HostIoFilterInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostIoFilterInfo = []
                    return
            Holder.__name__ = "ArrayOfHostIoFilterInfo_Holder"
            self.pyclass = Holder

    class IoFilterOperation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "IoFilterOperation")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterIoFilterInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterIoFilterInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterIoFilterInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"opType"), aname="_opType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vibUrl"), aname="_vibUrl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IoFilterInfo_Def not in ns0.ClusterIoFilterInfo_Def.__bases__:
                bases = list(ns0.ClusterIoFilterInfo_Def.__bases__)
                bases.insert(0, ns0.IoFilterInfo_Def)
                ns0.ClusterIoFilterInfo_Def.__bases__ = tuple(bases)

            ns0.IoFilterInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterIoFilterInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterIoFilterInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterIoFilterInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterIoFilterInfo",lazy=True)(pname=(ns,"ClusterIoFilterInfo"), aname="_ClusterIoFilterInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterIoFilterInfo = []
                    return
            Holder.__name__ = "ArrayOfClusterIoFilterInfo_Holder"
            self.pyclass = Holder

    class IoFilterType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "IoFilterType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class IoFilterHostIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IoFilterHostIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IoFilterHostIssue_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"issue"), aname="_issue", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.IoFilterHostIssue_Def.__bases__:
                bases = list(ns0.IoFilterHostIssue_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.IoFilterHostIssue_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfIoFilterHostIssue_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfIoFilterHostIssue")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfIoFilterHostIssue_Def.schema
            TClist = [GTD("urn:vim25","IoFilterHostIssue",lazy=True)(pname=(ns,"IoFilterHostIssue"), aname="_IoFilterHostIssue", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._IoFilterHostIssue = []
                    return
            Holder.__name__ = "ArrayOfIoFilterHostIssue_Holder"
            self.pyclass = Holder

    class IoFilterQueryIssueResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IoFilterQueryIssueResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IoFilterQueryIssueResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"opType"), aname="_opType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IoFilterHostIssue",lazy=True)(pname=(ns,"hostIssue"), aname="_hostIssue", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.IoFilterQueryIssueResult_Def.__bases__:
                bases = list(ns0.IoFilterQueryIssueResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.IoFilterQueryIssueResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IpAddress_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IpAddress")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IpAddress_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NegatableExpression_Def not in ns0.IpAddress_Def.__bases__:
                bases = list(ns0.IpAddress_Def.__bases__)
                bases.insert(0, ns0.NegatableExpression_Def)
                ns0.IpAddress_Def.__bases__ = tuple(bases)

            ns0.NegatableExpression_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IpPoolManagerIpAllocation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IpPoolManagerIpAllocation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IpPoolManagerIpAllocation_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"allocationId"), aname="_allocationId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.IpPoolManagerIpAllocation_Def.__bases__:
                bases = list(ns0.IpPoolManagerIpAllocation_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.IpPoolManagerIpAllocation_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfIpPoolManagerIpAllocation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfIpPoolManagerIpAllocation")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfIpPoolManagerIpAllocation_Def.schema
            TClist = [GTD("urn:vim25","IpPoolManagerIpAllocation",lazy=True)(pname=(ns,"IpPoolManagerIpAllocation"), aname="_IpPoolManagerIpAllocation", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._IpPoolManagerIpAllocation = []
                    return
            Holder.__name__ = "ArrayOfIpPoolManagerIpAllocation_Holder"
            self.pyclass = Holder

    class IpRange_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IpRange")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IpRange_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"addressPrefix"), aname="_addressPrefix", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"prefixLength"), aname="_prefixLength", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IpAddress_Def not in ns0.IpRange_Def.__bases__:
                bases = list(ns0.IpRange_Def.__bases__)
                bases.insert(0, ns0.IpAddress_Def)
                ns0.IpRange_Def.__bases__ = tuple(bases)

            ns0.IpAddress_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class KeyValue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "KeyValue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.KeyValue_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.KeyValue_Def.__bases__:
                bases = list(ns0.KeyValue_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.KeyValue_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfKeyValue_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfKeyValue")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfKeyValue_Def.schema
            TClist = [GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"KeyValue"), aname="_KeyValue", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._KeyValue = []
                    return
            Holder.__name__ = "ArrayOfKeyValue_Holder"
            self.pyclass = Holder

    class LatencySensitivitySensitivityLevel_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LatencySensitivitySensitivityLevel")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class LatencySensitivity_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LatencySensitivity")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LatencySensitivity_Def.schema
            TClist = [GTD("urn:vim25","LatencySensitivitySensitivityLevel",lazy=True)(pname=(ns,"level"), aname="_level", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"sensitivity"), aname="_sensitivity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LatencySensitivity_Def.__bases__:
                bases = list(ns0.LatencySensitivity_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LatencySensitivity_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseAssignmentManagerLicenseAssignment_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseAssignmentManagerLicenseAssignment")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseAssignmentManagerLicenseAssignment_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"entityId"), aname="_entityId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"scope"), aname="_scope", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"entityDisplayName"), aname="_entityDisplayName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LicenseManagerLicenseInfo",lazy=True)(pname=(ns,"assignedLicense"), aname="_assignedLicense", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"properties"), aname="_properties", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LicenseAssignmentManagerLicenseAssignment_Def.__bases__:
                bases = list(ns0.LicenseAssignmentManagerLicenseAssignment_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LicenseAssignmentManagerLicenseAssignment_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfLicenseAssignmentManagerLicenseAssignment_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfLicenseAssignmentManagerLicenseAssignment")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfLicenseAssignmentManagerLicenseAssignment_Def.schema
            TClist = [GTD("urn:vim25","LicenseAssignmentManagerLicenseAssignment",lazy=True)(pname=(ns,"LicenseAssignmentManagerLicenseAssignment"), aname="_LicenseAssignmentManagerLicenseAssignment", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._LicenseAssignmentManagerLicenseAssignment = []
                    return
            Holder.__name__ = "ArrayOfLicenseAssignmentManagerLicenseAssignment_Holder"
            self.pyclass = Holder

    class LicenseManagerState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LicenseManagerState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class LicenseManagerLicenseKey_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LicenseManagerLicenseKey")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class LicenseSource_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseSource")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseSource_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LicenseSource_Def.__bases__:
                bases = list(ns0.LicenseSource_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LicenseSource_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseServerSource_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseServerSource")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseServerSource_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"licenseServer"), aname="_licenseServer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseSource_Def not in ns0.LicenseServerSource_Def.__bases__:
                bases = list(ns0.LicenseServerSource_Def.__bases__)
                bases.insert(0, ns0.LicenseSource_Def)
                ns0.LicenseServerSource_Def.__bases__ = tuple(bases)

            ns0.LicenseSource_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LocalLicenseSource_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LocalLicenseSource")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LocalLicenseSource_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"licenseKeys"), aname="_licenseKeys", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseSource_Def not in ns0.LocalLicenseSource_Def.__bases__:
                bases = list(ns0.LocalLicenseSource_Def.__bases__)
                bases.insert(0, ns0.LicenseSource_Def)
                ns0.LocalLicenseSource_Def.__bases__ = tuple(bases)

            ns0.LicenseSource_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EvaluationLicenseSource_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EvaluationLicenseSource")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EvaluationLicenseSource_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"remainingHours"), aname="_remainingHours", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseSource_Def not in ns0.EvaluationLicenseSource_Def.__bases__:
                bases = list(ns0.EvaluationLicenseSource_Def.__bases__)
                bases.insert(0, ns0.LicenseSource_Def)
                ns0.EvaluationLicenseSource_Def.__bases__ = tuple(bases)

            ns0.LicenseSource_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseFeatureInfoUnit_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LicenseFeatureInfoUnit")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class LicenseFeatureInfoState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LicenseFeatureInfoState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class LicenseFeatureInfoSourceRestriction_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LicenseFeatureInfoSourceRestriction")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class LicenseFeatureInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseFeatureInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseFeatureInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"featureName"), aname="_featureName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"featureDescription"), aname="_featureDescription", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LicenseFeatureInfoState",lazy=True)(pname=(ns,"state"), aname="_state", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"costUnit"), aname="_costUnit", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sourceRestriction"), aname="_sourceRestriction", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dependentKey"), aname="_dependentKey", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"edition"), aname="_edition", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"expiresOn"), aname="_expiresOn", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LicenseFeatureInfo_Def.__bases__:
                bases = list(ns0.LicenseFeatureInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LicenseFeatureInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfLicenseFeatureInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfLicenseFeatureInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfLicenseFeatureInfo_Def.schema
            TClist = [GTD("urn:vim25","LicenseFeatureInfo",lazy=True)(pname=(ns,"LicenseFeatureInfo"), aname="_LicenseFeatureInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._LicenseFeatureInfo = []
                    return
            Holder.__name__ = "ArrayOfLicenseFeatureInfo_Holder"
            self.pyclass = Holder

    class LicenseReservationInfoState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LicenseReservationInfoState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class LicenseReservationInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseReservationInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseReservationInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LicenseReservationInfoState",lazy=True)(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"required"), aname="_required", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LicenseReservationInfo_Def.__bases__:
                bases = list(ns0.LicenseReservationInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LicenseReservationInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfLicenseReservationInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfLicenseReservationInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfLicenseReservationInfo_Def.schema
            TClist = [GTD("urn:vim25","LicenseReservationInfo",lazy=True)(pname=(ns,"LicenseReservationInfo"), aname="_LicenseReservationInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._LicenseReservationInfo = []
                    return
            Holder.__name__ = "ArrayOfLicenseReservationInfo_Holder"
            self.pyclass = Holder

    class LicenseAvailabilityInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseAvailabilityInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseAvailabilityInfo_Def.schema
            TClist = [GTD("urn:vim25","LicenseFeatureInfo",lazy=True)(pname=(ns,"feature"), aname="_feature", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"total"), aname="_total", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"available"), aname="_available", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LicenseAvailabilityInfo_Def.__bases__:
                bases = list(ns0.LicenseAvailabilityInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LicenseAvailabilityInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfLicenseAvailabilityInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfLicenseAvailabilityInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfLicenseAvailabilityInfo_Def.schema
            TClist = [GTD("urn:vim25","LicenseAvailabilityInfo",lazy=True)(pname=(ns,"LicenseAvailabilityInfo"), aname="_LicenseAvailabilityInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._LicenseAvailabilityInfo = []
                    return
            Holder.__name__ = "ArrayOfLicenseAvailabilityInfo_Holder"
            self.pyclass = Holder

    class LicenseDiagnostics_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseDiagnostics")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseDiagnostics_Def.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"sourceLastChanged"), aname="_sourceLastChanged", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sourceLost"), aname="_sourceLost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"sourceLatency"), aname="_sourceLatency", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"licenseRequests"), aname="_licenseRequests", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"licenseRequestFailures"), aname="_licenseRequestFailures", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"licenseFeatureUnknowns"), aname="_licenseFeatureUnknowns", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LicenseManagerState",lazy=True)(pname=(ns,"opState"), aname="_opState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"lastStatusUpdate"), aname="_lastStatusUpdate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"opFailureMessage"), aname="_opFailureMessage", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LicenseDiagnostics_Def.__bases__:
                bases = list(ns0.LicenseDiagnostics_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LicenseDiagnostics_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseUsageInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseUsageInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseUsageInfo_Def.schema
            TClist = [GTD("urn:vim25","LicenseSource",lazy=True)(pname=(ns,"source"), aname="_source", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"sourceAvailable"), aname="_sourceAvailable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LicenseReservationInfo",lazy=True)(pname=(ns,"reservationInfo"), aname="_reservationInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LicenseFeatureInfo",lazy=True)(pname=(ns,"featureInfo"), aname="_featureInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LicenseUsageInfo_Def.__bases__:
                bases = list(ns0.LicenseUsageInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LicenseUsageInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseManagerEvaluationInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseManagerEvaluationInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseManagerEvaluationInfo_Def.schema
            TClist = [GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"properties"), aname="_properties", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LicenseManagerEvaluationInfo_Def.__bases__:
                bases = list(ns0.LicenseManagerEvaluationInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LicenseManagerEvaluationInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostLicensableResourceKey_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostLicensableResourceKey")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostLicensableResourceInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLicensableResourceInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLicensableResourceInfo_Def.schema
            TClist = [GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"resource"), aname="_resource", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostLicensableResourceInfo_Def.__bases__:
                bases = list(ns0.HostLicensableResourceInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostLicensableResourceInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseManagerLicenseInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseManagerLicenseInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseManagerLicenseInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"licenseKey"), aname="_licenseKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"editionKey"), aname="_editionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"total"), aname="_total", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"used"), aname="_used", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"costUnit"), aname="_costUnit", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"properties"), aname="_properties", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"labels"), aname="_labels", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LicenseManagerLicenseInfo_Def.__bases__:
                bases = list(ns0.LicenseManagerLicenseInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LicenseManagerLicenseInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfLicenseManagerLicenseInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfLicenseManagerLicenseInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfLicenseManagerLicenseInfo_Def.schema
            TClist = [GTD("urn:vim25","LicenseManagerLicenseInfo",lazy=True)(pname=(ns,"LicenseManagerLicenseInfo"), aname="_LicenseManagerLicenseInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._LicenseManagerLicenseInfo = []
                    return
            Holder.__name__ = "ArrayOfLicenseManagerLicenseInfo_Holder"
            self.pyclass = Holder

    class LocalizationManagerMessageCatalog_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LocalizationManagerMessageCatalog")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LocalizationManagerMessageCatalog_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"moduleName"), aname="_moduleName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"catalogName"), aname="_catalogName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"locale"), aname="_locale", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"catalogUri"), aname="_catalogUri", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"lastModified"), aname="_lastModified", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"md5sum"), aname="_md5sum", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LocalizationManagerMessageCatalog_Def.__bases__:
                bases = list(ns0.LocalizationManagerMessageCatalog_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LocalizationManagerMessageCatalog_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfLocalizationManagerMessageCatalog_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfLocalizationManagerMessageCatalog")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfLocalizationManagerMessageCatalog_Def.schema
            TClist = [GTD("urn:vim25","LocalizationManagerMessageCatalog",lazy=True)(pname=(ns,"LocalizationManagerMessageCatalog"), aname="_LocalizationManagerMessageCatalog", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._LocalizationManagerMessageCatalog = []
                    return
            Holder.__name__ = "ArrayOfLocalizationManagerMessageCatalog_Holder"
            self.pyclass = Holder

    class LongPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LongPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LongPolicy_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.LongPolicy_Def.__bases__:
                bases = list(ns0.LongPolicy_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.LongPolicy_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MacAddress_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MacAddress")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MacAddress_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NegatableExpression_Def not in ns0.MacAddress_Def.__bases__:
                bases = list(ns0.MacAddress_Def.__bases__)
                bases.insert(0, ns0.NegatableExpression_Def)
                ns0.MacAddress_Def.__bases__ = tuple(bases)

            ns0.NegatableExpression_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MacRange_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MacRange")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MacRange_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"address"), aname="_address", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mask"), aname="_mask", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MacAddress_Def not in ns0.MacRange_Def.__bases__:
                bases = list(ns0.MacRange_Def.__bases__)
                bases.insert(0, ns0.MacAddress_Def)
                ns0.MacRange_Def.__bases__ = tuple(bases)

            ns0.MacAddress_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ManagedEntityStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ManagedEntityStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ArrayOfManagedEntityStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfManagedEntityStatus")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfManagedEntityStatus_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"ManagedEntityStatus"), aname="_ManagedEntityStatus", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ManagedEntityStatus = []
                    return
            Holder.__name__ = "ArrayOfManagedEntityStatus_Holder"
            self.pyclass = Holder

    class MethodDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MethodDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MethodDescription_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Description_Def not in ns0.MethodDescription_Def.__bases__:
                bases = list(ns0.MethodDescription_Def.__bases__)
                bases.insert(0, ns0.Description_Def)
                ns0.MethodDescription_Def.__bases__ = tuple(bases)

            ns0.Description_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NegatableExpression_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NegatableExpression")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NegatableExpression_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"negate"), aname="_negate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NegatableExpression_Def.__bases__:
                bases = list(ns0.NegatableExpression_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NegatableExpression_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetworkSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetworkSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetworkSummary_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"accessible"), aname="_accessible", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipPoolName"), aname="_ipPoolName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"ipPoolId"), aname="_ipPoolId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetworkSummary_Def.__bases__:
                bases = list(ns0.NetworkSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetworkSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NumericRange_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NumericRange")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NumericRange_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"start"), aname="_start", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"end"), aname="_end", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NumericRange_Def.__bases__:
                bases = list(ns0.NumericRange_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NumericRange_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNumericRange_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNumericRange")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNumericRange_Def.schema
            TClist = [GTD("urn:vim25","NumericRange",lazy=True)(pname=(ns,"NumericRange"), aname="_NumericRange", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NumericRange = []
                    return
            Holder.__name__ = "ArrayOfNumericRange_Holder"
            self.pyclass = Holder

    class OpaqueNetworkSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OpaqueNetworkSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OpaqueNetworkSummary_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"opaqueNetworkId"), aname="_opaqueNetworkId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"opaqueNetworkType"), aname="_opaqueNetworkType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NetworkSummary_Def not in ns0.OpaqueNetworkSummary_Def.__bases__:
                bases = list(ns0.OpaqueNetworkSummary_Def.__bases__)
                bases.insert(0, ns0.NetworkSummary_Def)
                ns0.OpaqueNetworkSummary_Def.__bases__ = tuple(bases)

            ns0.NetworkSummary_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OpaqueNetworkCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OpaqueNetworkCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OpaqueNetworkCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"networkReservationSupported"), aname="_networkReservationSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OpaqueNetworkCapability_Def.__bases__:
                bases = list(ns0.OpaqueNetworkCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OpaqueNetworkCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfConsumerOvfSection_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfConsumerOvfSection")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfConsumerOvfSection_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"lineNumber"), aname="_lineNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"xml"), aname="_xml", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfConsumerOvfSection_Def.__bases__:
                bases = list(ns0.OvfConsumerOvfSection_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfConsumerOvfSection_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfOvfConsumerOvfSection_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfOvfConsumerOvfSection")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfOvfConsumerOvfSection_Def.schema
            TClist = [GTD("urn:vim25","OvfConsumerOvfSection",lazy=True)(pname=(ns,"OvfConsumerOvfSection"), aname="_OvfConsumerOvfSection", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._OvfConsumerOvfSection = []
                    return
            Holder.__name__ = "ArrayOfOvfConsumerOvfSection_Holder"
            self.pyclass = Holder

    class OvfConsumerOstNodeType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "OvfConsumerOstNodeType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class OvfConsumerOstNode_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfConsumerOstNode")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfConsumerOstNode_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OvfConsumerOvfSection",lazy=True)(pname=(ns,"section"), aname="_section", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OvfConsumerOstNode",lazy=True)(pname=(ns,"child"), aname="_child", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfConsumerOstNode_Def.__bases__:
                bases = list(ns0.OvfConsumerOstNode_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfConsumerOstNode_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfOvfConsumerOstNode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfOvfConsumerOstNode")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfOvfConsumerOstNode_Def.schema
            TClist = [GTD("urn:vim25","OvfConsumerOstNode",lazy=True)(pname=(ns,"OvfConsumerOstNode"), aname="_OvfConsumerOstNode", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._OvfConsumerOstNode = []
                    return
            Holder.__name__ = "ArrayOfOvfConsumerOstNode_Holder"
            self.pyclass = Holder

    class OvfOptionInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfOptionInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfOptionInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"option"), aname="_option", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfOptionInfo_Def.__bases__:
                bases = list(ns0.OvfOptionInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfOptionInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfOvfOptionInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfOvfOptionInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfOvfOptionInfo_Def.schema
            TClist = [GTD("urn:vim25","OvfOptionInfo",lazy=True)(pname=(ns,"OvfOptionInfo"), aname="_OvfOptionInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._OvfOptionInfo = []
                    return
            Holder.__name__ = "ArrayOfOvfOptionInfo_Holder"
            self.pyclass = Holder

    class OvfDeploymentOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfDeploymentOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfDeploymentOption_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"label"), aname="_label", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfDeploymentOption_Def.__bases__:
                bases = list(ns0.OvfDeploymentOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfDeploymentOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfOvfDeploymentOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfOvfDeploymentOption")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfOvfDeploymentOption_Def.schema
            TClist = [GTD("urn:vim25","OvfDeploymentOption",lazy=True)(pname=(ns,"OvfDeploymentOption"), aname="_OvfDeploymentOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._OvfDeploymentOption = []
                    return
            Holder.__name__ = "ArrayOfOvfDeploymentOption_Holder"
            self.pyclass = Holder

    class OvfManagerCommonParams_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfManagerCommonParams")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfManagerCommonParams_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"locale"), aname="_locale", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deploymentOption"), aname="_deploymentOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"msgBundle"), aname="_msgBundle", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"importOption"), aname="_importOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfManagerCommonParams_Def.__bases__:
                bases = list(ns0.OvfManagerCommonParams_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfManagerCommonParams_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfValidateHostParams_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfValidateHostParams")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfValidateHostParams_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfManagerCommonParams_Def not in ns0.OvfValidateHostParams_Def.__bases__:
                bases = list(ns0.OvfValidateHostParams_Def.__bases__)
                bases.insert(0, ns0.OvfManagerCommonParams_Def)
                ns0.OvfValidateHostParams_Def.__bases__ = tuple(bases)

            ns0.OvfManagerCommonParams_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfValidateHostResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfValidateHostResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfValidateHostResult_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"downloadSize"), aname="_downloadSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"flatDeploymentSize"), aname="_flatDeploymentSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"sparseDeploymentSize"), aname="_sparseDeploymentSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"warning"), aname="_warning", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportedDiskProvisioning"), aname="_supportedDiskProvisioning", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfValidateHostResult_Def.__bases__:
                bases = list(ns0.OvfValidateHostResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfValidateHostResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfParseDescriptorParams_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfParseDescriptorParams")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfParseDescriptorParams_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfManagerCommonParams_Def not in ns0.OvfParseDescriptorParams_Def.__bases__:
                bases = list(ns0.OvfParseDescriptorParams_Def.__bases__)
                bases.insert(0, ns0.OvfManagerCommonParams_Def)
                ns0.OvfParseDescriptorParams_Def.__bases__ = tuple(bases)

            ns0.OvfManagerCommonParams_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfParseDescriptorResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfParseDescriptorResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfParseDescriptorResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"eula"), aname="_eula", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OvfNetworkInfo",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipAllocationScheme"), aname="_ipAllocationScheme", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipProtocols"), aname="_ipProtocols", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppPropertyInfo",lazy=True)(pname=(ns,"property"), aname="_property", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppProductInfo",lazy=True)(pname=(ns,"productInfo"), aname="_productInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"annotation"), aname="_annotation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"approximateDownloadSize"), aname="_approximateDownloadSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"approximateFlatDeploymentSize"), aname="_approximateFlatDeploymentSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"approximateSparseDeploymentSize"), aname="_approximateSparseDeploymentSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"defaultEntityName"), aname="_defaultEntityName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"virtualApp"), aname="_virtualApp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OvfDeploymentOption",lazy=True)(pname=(ns,"deploymentOption"), aname="_deploymentOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"defaultDeploymentOption"), aname="_defaultDeploymentOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"entityName"), aname="_entityName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OvfConsumerOstNode",lazy=True)(pname=(ns,"annotatedOst"), aname="_annotatedOst", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"warning"), aname="_warning", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfParseDescriptorResult_Def.__bases__:
                bases = list(ns0.OvfParseDescriptorResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfParseDescriptorResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfNetworkInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfNetworkInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfNetworkInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfNetworkInfo_Def.__bases__:
                bases = list(ns0.OvfNetworkInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfNetworkInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfOvfNetworkInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfOvfNetworkInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfOvfNetworkInfo_Def.schema
            TClist = [GTD("urn:vim25","OvfNetworkInfo",lazy=True)(pname=(ns,"OvfNetworkInfo"), aname="_OvfNetworkInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._OvfNetworkInfo = []
                    return
            Holder.__name__ = "ArrayOfOvfNetworkInfo_Holder"
            self.pyclass = Holder

    class OvfCreateImportSpecParamsDiskProvisioningType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "OvfCreateImportSpecParamsDiskProvisioningType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class OvfCreateImportSpecParams_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfCreateImportSpecParams")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfCreateImportSpecParams_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"entityName"), aname="_entityName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hostSystem"), aname="_hostSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OvfNetworkMapping",lazy=True)(pname=(ns,"networkMapping"), aname="_networkMapping", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipAllocationPolicy"), aname="_ipAllocationPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipProtocol"), aname="_ipProtocol", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"propertyMapping"), aname="_propertyMapping", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OvfResourceMap",lazy=True)(pname=(ns,"resourceMapping"), aname="_resourceMapping", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diskProvisioning"), aname="_diskProvisioning", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OvfConsumerOstNode",lazy=True)(pname=(ns,"instantiationOst"), aname="_instantiationOst", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfManagerCommonParams_Def not in ns0.OvfCreateImportSpecParams_Def.__bases__:
                bases = list(ns0.OvfCreateImportSpecParams_Def.__bases__)
                bases.insert(0, ns0.OvfManagerCommonParams_Def)
                ns0.OvfCreateImportSpecParams_Def.__bases__ = tuple(bases)

            ns0.OvfManagerCommonParams_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfResourceMap_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfResourceMap")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfResourceMap_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"source"), aname="_source", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceConfigSpec",lazy=True)(pname=(ns,"resourceSpec"), aname="_resourceSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfResourceMap_Def.__bases__:
                bases = list(ns0.OvfResourceMap_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfResourceMap_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfOvfResourceMap_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfOvfResourceMap")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfOvfResourceMap_Def.schema
            TClist = [GTD("urn:vim25","OvfResourceMap",lazy=True)(pname=(ns,"OvfResourceMap"), aname="_OvfResourceMap", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._OvfResourceMap = []
                    return
            Holder.__name__ = "ArrayOfOvfResourceMap_Holder"
            self.pyclass = Holder

    class OvfNetworkMapping_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfNetworkMapping")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfNetworkMapping_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfNetworkMapping_Def.__bases__:
                bases = list(ns0.OvfNetworkMapping_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfNetworkMapping_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfOvfNetworkMapping_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfOvfNetworkMapping")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfOvfNetworkMapping_Def.schema
            TClist = [GTD("urn:vim25","OvfNetworkMapping",lazy=True)(pname=(ns,"OvfNetworkMapping"), aname="_OvfNetworkMapping", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._OvfNetworkMapping = []
                    return
            Holder.__name__ = "ArrayOfOvfNetworkMapping_Holder"
            self.pyclass = Holder

    class OvfCreateImportSpecResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfCreateImportSpecResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfCreateImportSpecResult_Def.schema
            TClist = [GTD("urn:vim25","ImportSpec",lazy=True)(pname=(ns,"importSpec"), aname="_importSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OvfFileItem",lazy=True)(pname=(ns,"fileItem"), aname="_fileItem", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"warning"), aname="_warning", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfCreateImportSpecResult_Def.__bases__:
                bases = list(ns0.OvfCreateImportSpecResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfCreateImportSpecResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfFileItem_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfFileItem")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfFileItem_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"deviceId"), aname="_deviceId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"compressionMethod"), aname="_compressionMethod", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"chunkSize"), aname="_chunkSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"size"), aname="_size", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"cimType"), aname="_cimType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"create"), aname="_create", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfFileItem_Def.__bases__:
                bases = list(ns0.OvfFileItem_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfFileItem_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfOvfFileItem_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfOvfFileItem")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfOvfFileItem_Def.schema
            TClist = [GTD("urn:vim25","OvfFileItem",lazy=True)(pname=(ns,"OvfFileItem"), aname="_OvfFileItem", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._OvfFileItem = []
                    return
            Holder.__name__ = "ArrayOfOvfFileItem_Holder"
            self.pyclass = Holder

    class OvfCreateDescriptorParams_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfCreateDescriptorParams")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfCreateDescriptorParams_Def.schema
            TClist = [GTD("urn:vim25","OvfFile",lazy=True)(pname=(ns,"ovfFiles"), aname="_ovfFiles", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"includeImageFiles"), aname="_includeImageFiles", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"exportOption"), aname="_exportOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"snapshot"), aname="_snapshot", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfCreateDescriptorParams_Def.__bases__:
                bases = list(ns0.OvfCreateDescriptorParams_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfCreateDescriptorParams_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfCreateDescriptorResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfCreateDescriptorResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfCreateDescriptorResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ovfDescriptor"), aname="_ovfDescriptor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"warning"), aname="_warning", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"includeImageFiles"), aname="_includeImageFiles", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfCreateDescriptorResult_Def.__bases__:
                bases = list(ns0.OvfCreateDescriptorResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfCreateDescriptorResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfFile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfFile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfFile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"deviceId"), aname="_deviceId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"compressionMethod"), aname="_compressionMethod", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"chunkSize"), aname="_chunkSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"size"), aname="_size", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacity"), aname="_capacity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"populatedSize"), aname="_populatedSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OvfFile_Def.__bases__:
                bases = list(ns0.OvfFile_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OvfFile_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfOvfFile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfOvfFile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfOvfFile_Def.schema
            TClist = [GTD("urn:vim25","OvfFile",lazy=True)(pname=(ns,"OvfFile"), aname="_OvfFile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._OvfFile = []
                    return
            Holder.__name__ = "ArrayOfOvfFile_Holder"
            self.pyclass = Holder

    class PasswordField_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PasswordField")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PasswordField_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PasswordField_Def.__bases__:
                bases = list(ns0.PasswordField_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PasswordField_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PerformanceDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerformanceDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerformanceDescription_Def.schema
            TClist = [GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"counterType"), aname="_counterType", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"statsType"), aname="_statsType", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PerformanceDescription_Def.__bases__:
                bases = list(ns0.PerformanceDescription_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PerformanceDescription_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PerfFormat_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PerfFormat")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class PerfProviderSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerfProviderSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerfProviderSummary_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"currentSupported"), aname="_currentSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"summarySupported"), aname="_summarySupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"refreshRate"), aname="_refreshRate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PerfProviderSummary_Def.__bases__:
                bases = list(ns0.PerfProviderSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PerfProviderSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PerfSummaryType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PerfSummaryType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class PerfStatsType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PerfStatsType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class PerformanceManagerUnit_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PerformanceManagerUnit")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class PerfCounterInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerfCounterInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerfCounterInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"nameInfo"), aname="_nameInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"groupInfo"), aname="_groupInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"unitInfo"), aname="_unitInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PerfSummaryType",lazy=True)(pname=(ns,"rollupType"), aname="_rollupType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PerfStatsType",lazy=True)(pname=(ns,"statsType"), aname="_statsType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"level"), aname="_level", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"perDeviceLevel"), aname="_perDeviceLevel", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"associatedCounterId"), aname="_associatedCounterId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PerfCounterInfo_Def.__bases__:
                bases = list(ns0.PerfCounterInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PerfCounterInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPerfCounterInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPerfCounterInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPerfCounterInfo_Def.schema
            TClist = [GTD("urn:vim25","PerfCounterInfo",lazy=True)(pname=(ns,"PerfCounterInfo"), aname="_PerfCounterInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PerfCounterInfo = []
                    return
            Holder.__name__ = "ArrayOfPerfCounterInfo_Holder"
            self.pyclass = Holder

    class PerfMetricId_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerfMetricId")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerfMetricId_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"counterId"), aname="_counterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instance"), aname="_instance", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PerfMetricId_Def.__bases__:
                bases = list(ns0.PerfMetricId_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PerfMetricId_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPerfMetricId_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPerfMetricId")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPerfMetricId_Def.schema
            TClist = [GTD("urn:vim25","PerfMetricId",lazy=True)(pname=(ns,"PerfMetricId"), aname="_PerfMetricId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PerfMetricId = []
                    return
            Holder.__name__ = "ArrayOfPerfMetricId_Holder"
            self.pyclass = Holder

    class PerfQuerySpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerfQuerySpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerfQuerySpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"startTime"), aname="_startTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"endTime"), aname="_endTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxSample"), aname="_maxSample", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PerfMetricId",lazy=True)(pname=(ns,"metricId"), aname="_metricId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"intervalId"), aname="_intervalId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"format"), aname="_format", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PerfQuerySpec_Def.__bases__:
                bases = list(ns0.PerfQuerySpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PerfQuerySpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPerfQuerySpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPerfQuerySpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPerfQuerySpec_Def.schema
            TClist = [GTD("urn:vim25","PerfQuerySpec",lazy=True)(pname=(ns,"PerfQuerySpec"), aname="_PerfQuerySpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PerfQuerySpec = []
                    return
            Holder.__name__ = "ArrayOfPerfQuerySpec_Holder"
            self.pyclass = Holder

    class PerfSampleInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerfSampleInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerfSampleInfo_Def.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"timestamp"), aname="_timestamp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"interval"), aname="_interval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PerfSampleInfo_Def.__bases__:
                bases = list(ns0.PerfSampleInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PerfSampleInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPerfSampleInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPerfSampleInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPerfSampleInfo_Def.schema
            TClist = [GTD("urn:vim25","PerfSampleInfo",lazy=True)(pname=(ns,"PerfSampleInfo"), aname="_PerfSampleInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PerfSampleInfo = []
                    return
            Holder.__name__ = "ArrayOfPerfSampleInfo_Holder"
            self.pyclass = Holder

    class PerfMetricSeries_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerfMetricSeries")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerfMetricSeries_Def.schema
            TClist = [GTD("urn:vim25","PerfMetricId",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PerfMetricSeries_Def.__bases__:
                bases = list(ns0.PerfMetricSeries_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PerfMetricSeries_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPerfMetricSeries_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPerfMetricSeries")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPerfMetricSeries_Def.schema
            TClist = [GTD("urn:vim25","PerfMetricSeries",lazy=True)(pname=(ns,"PerfMetricSeries"), aname="_PerfMetricSeries", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PerfMetricSeries = []
                    return
            Holder.__name__ = "ArrayOfPerfMetricSeries_Holder"
            self.pyclass = Holder

    class PerfMetricIntSeries_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerfMetricIntSeries")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerfMetricIntSeries_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PerfMetricSeries_Def not in ns0.PerfMetricIntSeries_Def.__bases__:
                bases = list(ns0.PerfMetricIntSeries_Def.__bases__)
                bases.insert(0, ns0.PerfMetricSeries_Def)
                ns0.PerfMetricIntSeries_Def.__bases__ = tuple(bases)

            ns0.PerfMetricSeries_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PerfMetricSeriesCSV_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerfMetricSeriesCSV")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerfMetricSeriesCSV_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PerfMetricSeries_Def not in ns0.PerfMetricSeriesCSV_Def.__bases__:
                bases = list(ns0.PerfMetricSeriesCSV_Def.__bases__)
                bases.insert(0, ns0.PerfMetricSeries_Def)
                ns0.PerfMetricSeriesCSV_Def.__bases__ = tuple(bases)

            ns0.PerfMetricSeries_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPerfMetricSeriesCSV_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPerfMetricSeriesCSV")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPerfMetricSeriesCSV_Def.schema
            TClist = [GTD("urn:vim25","PerfMetricSeriesCSV",lazy=True)(pname=(ns,"PerfMetricSeriesCSV"), aname="_PerfMetricSeriesCSV", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PerfMetricSeriesCSV = []
                    return
            Holder.__name__ = "ArrayOfPerfMetricSeriesCSV_Holder"
            self.pyclass = Holder

    class PerfEntityMetricBase_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerfEntityMetricBase")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerfEntityMetricBase_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PerfEntityMetricBase_Def.__bases__:
                bases = list(ns0.PerfEntityMetricBase_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PerfEntityMetricBase_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPerfEntityMetricBase_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPerfEntityMetricBase")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPerfEntityMetricBase_Def.schema
            TClist = [GTD("urn:vim25","PerfEntityMetricBase",lazy=True)(pname=(ns,"PerfEntityMetricBase"), aname="_PerfEntityMetricBase", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PerfEntityMetricBase = []
                    return
            Holder.__name__ = "ArrayOfPerfEntityMetricBase_Holder"
            self.pyclass = Holder

    class PerfEntityMetric_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerfEntityMetric")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerfEntityMetric_Def.schema
            TClist = [GTD("urn:vim25","PerfSampleInfo",lazy=True)(pname=(ns,"sampleInfo"), aname="_sampleInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PerfMetricSeries",lazy=True)(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PerfEntityMetricBase_Def not in ns0.PerfEntityMetric_Def.__bases__:
                bases = list(ns0.PerfEntityMetric_Def.__bases__)
                bases.insert(0, ns0.PerfEntityMetricBase_Def)
                ns0.PerfEntityMetric_Def.__bases__ = tuple(bases)

            ns0.PerfEntityMetricBase_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PerfEntityMetricCSV_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerfEntityMetricCSV")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerfEntityMetricCSV_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"sampleInfoCSV"), aname="_sampleInfoCSV", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PerfMetricSeriesCSV",lazy=True)(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PerfEntityMetricBase_Def not in ns0.PerfEntityMetricCSV_Def.__bases__:
                bases = list(ns0.PerfEntityMetricCSV_Def.__bases__)
                bases.insert(0, ns0.PerfEntityMetricBase_Def)
                ns0.PerfEntityMetricCSV_Def.__bases__ = tuple(bases)

            ns0.PerfEntityMetricBase_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PerfCompositeMetric_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerfCompositeMetric")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerfCompositeMetric_Def.schema
            TClist = [GTD("urn:vim25","PerfEntityMetricBase",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PerfEntityMetricBase",lazy=True)(pname=(ns,"childEntity"), aname="_childEntity", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PerfCompositeMetric_Def.__bases__:
                bases = list(ns0.PerfCompositeMetric_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PerfCompositeMetric_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PerformanceManagerCounterLevelMapping_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerformanceManagerCounterLevelMapping")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerformanceManagerCounterLevelMapping_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"counterId"), aname="_counterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"aggregateLevel"), aname="_aggregateLevel", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"perDeviceLevel"), aname="_perDeviceLevel", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PerformanceManagerCounterLevelMapping_Def.__bases__:
                bases = list(ns0.PerformanceManagerCounterLevelMapping_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PerformanceManagerCounterLevelMapping_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPerformanceManagerCounterLevelMapping_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPerformanceManagerCounterLevelMapping")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPerformanceManagerCounterLevelMapping_Def.schema
            TClist = [GTD("urn:vim25","PerformanceManagerCounterLevelMapping",lazy=True)(pname=(ns,"PerformanceManagerCounterLevelMapping"), aname="_PerformanceManagerCounterLevelMapping", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PerformanceManagerCounterLevelMapping = []
                    return
            Holder.__name__ = "ArrayOfPerformanceManagerCounterLevelMapping_Holder"
            self.pyclass = Holder

    class PerfInterval_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerfInterval")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerfInterval_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"samplingPeriod"), aname="_samplingPeriod", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"length"), aname="_length", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"level"), aname="_level", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PerfInterval_Def.__bases__:
                bases = list(ns0.PerfInterval_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PerfInterval_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPerfInterval_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPerfInterval")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPerfInterval_Def.schema
            TClist = [GTD("urn:vim25","PerfInterval",lazy=True)(pname=(ns,"PerfInterval"), aname="_PerfInterval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PerfInterval = []
                    return
            Holder.__name__ = "ArrayOfPerfInterval_Holder"
            self.pyclass = Holder

    class PosixUserSearchResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PosixUserSearchResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PosixUserSearchResult_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"shellAccess"), aname="_shellAccess", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.UserSearchResult_Def not in ns0.PosixUserSearchResult_Def.__bases__:
                bases = list(ns0.PosixUserSearchResult_Def.__bases__)
                bases.insert(0, ns0.UserSearchResult_Def)
                ns0.PosixUserSearchResult_Def.__bases__ = tuple(bases)

            ns0.UserSearchResult_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PrivilegePolicyDef_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PrivilegePolicyDef")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PrivilegePolicyDef_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"createPrivilege"), aname="_createPrivilege", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"readPrivilege"), aname="_readPrivilege", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"updatePrivilege"), aname="_updatePrivilege", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deletePrivilege"), aname="_deletePrivilege", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PrivilegePolicyDef_Def.__bases__:
                bases = list(ns0.PrivilegePolicyDef_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PrivilegePolicyDef_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourceAllocationInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourceAllocationInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourceAllocationInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"reservation"), aname="_reservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"expandableReservation"), aname="_expandableReservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"limit"), aname="_limit", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SharesInfo",lazy=True)(pname=(ns,"shares"), aname="_shares", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"overheadLimit"), aname="_overheadLimit", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ResourceAllocationInfo_Def.__bases__:
                bases = list(ns0.ResourceAllocationInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ResourceAllocationInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourceAllocationOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourceAllocationOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourceAllocationOption_Def.schema
            TClist = [GTD("urn:vim25","SharesOption",lazy=True)(pname=(ns,"sharesOption"), aname="_sharesOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ResourceAllocationOption_Def.__bases__:
                bases = list(ns0.ResourceAllocationOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ResourceAllocationOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourceConfigOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourceConfigOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourceConfigOption_Def.schema
            TClist = [GTD("urn:vim25","ResourceAllocationOption",lazy=True)(pname=(ns,"cpuAllocationOption"), aname="_cpuAllocationOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceAllocationOption",lazy=True)(pname=(ns,"memoryAllocationOption"), aname="_memoryAllocationOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ResourceConfigOption_Def.__bases__:
                bases = list(ns0.ResourceConfigOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ResourceConfigOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourceConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourceConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourceConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"changeVersion"), aname="_changeVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"lastModified"), aname="_lastModified", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceAllocationInfo",lazy=True)(pname=(ns,"cpuAllocation"), aname="_cpuAllocation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceAllocationInfo",lazy=True)(pname=(ns,"memoryAllocation"), aname="_memoryAllocation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ResourceConfigSpec_Def.__bases__:
                bases = list(ns0.ResourceConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ResourceConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfResourceConfigSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfResourceConfigSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfResourceConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","ResourceConfigSpec",lazy=True)(pname=(ns,"ResourceConfigSpec"), aname="_ResourceConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ResourceConfigSpec = []
                    return
            Holder.__name__ = "ArrayOfResourceConfigSpec_Holder"
            self.pyclass = Holder

    class DatabaseSizeParam_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatabaseSizeParam")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatabaseSizeParam_Def.schema
            TClist = [GTD("urn:vim25","InventoryDescription",lazy=True)(pname=(ns,"inventoryDesc"), aname="_inventoryDesc", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PerformanceStatisticsDescription",lazy=True)(pname=(ns,"perfStatsDesc"), aname="_perfStatsDesc", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DatabaseSizeParam_Def.__bases__:
                bases = list(ns0.DatabaseSizeParam_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DatabaseSizeParam_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InventoryDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InventoryDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InventoryDescription_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numHosts"), aname="_numHosts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numVirtualMachines"), aname="_numVirtualMachines", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numResourcePools"), aname="_numResourcePools", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numClusters"), aname="_numClusters", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numCpuDev"), aname="_numCpuDev", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numNetDev"), aname="_numNetDev", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numDiskDev"), aname="_numDiskDev", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numvCpuDev"), aname="_numvCpuDev", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numvNetDev"), aname="_numvNetDev", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numvDiskDev"), aname="_numvDiskDev", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.InventoryDescription_Def.__bases__:
                bases = list(ns0.InventoryDescription_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.InventoryDescription_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PerformanceStatisticsDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PerformanceStatisticsDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PerformanceStatisticsDescription_Def.schema
            TClist = [GTD("urn:vim25","PerfInterval",lazy=True)(pname=(ns,"intervals"), aname="_intervals", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PerformanceStatisticsDescription_Def.__bases__:
                bases = list(ns0.PerformanceStatisticsDescription_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PerformanceStatisticsDescription_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatabaseSizeEstimate_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatabaseSizeEstimate")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatabaseSizeEstimate_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"size"), aname="_size", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DatabaseSizeEstimate_Def.__bases__:
                bases = list(ns0.DatabaseSizeEstimate_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DatabaseSizeEstimate_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourcePoolResourceUsage_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourcePoolResourceUsage")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourcePoolResourceUsage_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"reservationUsed"), aname="_reservationUsed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"reservationUsedForVm"), aname="_reservationUsedForVm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"unreservedForPool"), aname="_unreservedForPool", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"unreservedForVm"), aname="_unreservedForVm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"overallUsage"), aname="_overallUsage", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"maxUsage"), aname="_maxUsage", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ResourcePoolResourceUsage_Def.__bases__:
                bases = list(ns0.ResourcePoolResourceUsage_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ResourcePoolResourceUsage_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourcePoolRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourcePoolRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourcePoolRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","ResourcePoolResourceUsage",lazy=True)(pname=(ns,"memory"), aname="_memory", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourcePoolResourceUsage",lazy=True)(pname=(ns,"cpu"), aname="_cpu", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"overallStatus"), aname="_overallStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ResourcePoolRuntimeInfo_Def.__bases__:
                bases = list(ns0.ResourcePoolRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ResourcePoolRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourcePoolQuickStats_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourcePoolQuickStats")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourcePoolQuickStats_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"overallCpuUsage"), aname="_overallCpuUsage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"overallCpuDemand"), aname="_overallCpuDemand", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"guestMemoryUsage"), aname="_guestMemoryUsage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"hostMemoryUsage"), aname="_hostMemoryUsage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"distributedCpuEntitlement"), aname="_distributedCpuEntitlement", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"distributedMemoryEntitlement"), aname="_distributedMemoryEntitlement", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"staticCpuEntitlement"), aname="_staticCpuEntitlement", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"staticMemoryEntitlement"), aname="_staticMemoryEntitlement", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"privateMemory"), aname="_privateMemory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"sharedMemory"), aname="_sharedMemory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"swappedMemory"), aname="_swappedMemory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"balloonedMemory"), aname="_balloonedMemory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"overheadMemory"), aname="_overheadMemory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"consumedOverheadMemory"), aname="_consumedOverheadMemory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"compressedMemory"), aname="_compressedMemory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ResourcePoolQuickStats_Def.__bases__:
                bases = list(ns0.ResourcePoolQuickStats_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ResourcePoolQuickStats_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourcePoolSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourcePoolSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourcePoolSummary_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceConfigSpec",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourcePoolRuntimeInfo",lazy=True)(pname=(ns,"runtime"), aname="_runtime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourcePoolQuickStats",lazy=True)(pname=(ns,"quickStats"), aname="_quickStats", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"configuredMemoryMB"), aname="_configuredMemoryMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ResourcePoolSummary_Def.__bases__:
                bases = list(ns0.ResourcePoolSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ResourcePoolSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SDDCBase_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SDDCBase")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SDDCBase_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.SDDCBase_Def.__bases__:
                bases = list(ns0.SDDCBase_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.SDDCBase_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SelectionSet_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SelectionSet")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SelectionSet_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.SelectionSet_Def.__bases__:
                bases = list(ns0.SelectionSet_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.SelectionSet_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfSelectionSet_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfSelectionSet")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfSelectionSet_Def.schema
            TClist = [GTD("urn:vim25","SelectionSet",lazy=True)(pname=(ns,"SelectionSet"), aname="_SelectionSet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._SelectionSet = []
                    return
            Holder.__name__ = "ArrayOfSelectionSet_Holder"
            self.pyclass = Holder

    class ValidateMigrationTestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ValidateMigrationTestType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VMotionCompatibilityType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VMotionCompatibilityType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostVMotionCompatibility_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVMotionCompatibility")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVMotionCompatibility_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"compatibility"), aname="_compatibility", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVMotionCompatibility_Def.__bases__:
                bases = list(ns0.HostVMotionCompatibility_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVMotionCompatibility_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostVMotionCompatibility_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostVMotionCompatibility")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostVMotionCompatibility_Def.schema
            TClist = [GTD("urn:vim25","HostVMotionCompatibility",lazy=True)(pname=(ns,"HostVMotionCompatibility"), aname="_HostVMotionCompatibility", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostVMotionCompatibility = []
                    return
            Holder.__name__ = "ArrayOfHostVMotionCompatibility_Holder"
            self.pyclass = Holder

    class ProductComponentInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProductComponentInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProductComponentInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"release"), aname="_release", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProductComponentInfo_Def.__bases__:
                bases = list(ns0.ProductComponentInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProductComponentInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProductComponentInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProductComponentInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProductComponentInfo_Def.schema
            TClist = [GTD("urn:vim25","ProductComponentInfo",lazy=True)(pname=(ns,"ProductComponentInfo"), aname="_ProductComponentInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProductComponentInfo = []
                    return
            Holder.__name__ = "ArrayOfProductComponentInfo_Holder"
            self.pyclass = Holder

    class ServiceContent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ServiceContent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ServiceContent_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"rootFolder"), aname="_rootFolder", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"propertyCollector"), aname="_propertyCollector", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"viewManager"), aname="_viewManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AboutInfo",lazy=True)(pname=(ns,"about"), aname="_about", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"setting"), aname="_setting", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"userDirectory"), aname="_userDirectory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"sessionManager"), aname="_sessionManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"authorizationManager"), aname="_authorizationManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"serviceManager"), aname="_serviceManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"perfManager"), aname="_perfManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"scheduledTaskManager"), aname="_scheduledTaskManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"alarmManager"), aname="_alarmManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"eventManager"), aname="_eventManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"taskManager"), aname="_taskManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"extensionManager"), aname="_extensionManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"customizationSpecManager"), aname="_customizationSpecManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"customFieldsManager"), aname="_customFieldsManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"accountManager"), aname="_accountManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"diagnosticManager"), aname="_diagnosticManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"licenseManager"), aname="_licenseManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"searchIndex"), aname="_searchIndex", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"fileManager"), aname="_fileManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastoreNamespaceManager"), aname="_datastoreNamespaceManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"virtualDiskManager"), aname="_virtualDiskManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"virtualizationManager"), aname="_virtualizationManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"snmpSystem"), aname="_snmpSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vmProvisioningChecker"), aname="_vmProvisioningChecker", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vmCompatibilityChecker"), aname="_vmCompatibilityChecker", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"ovfManager"), aname="_ovfManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"ipPoolManager"), aname="_ipPoolManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"dvSwitchManager"), aname="_dvSwitchManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hostProfileManager"), aname="_hostProfileManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"clusterProfileManager"), aname="_clusterProfileManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"complianceManager"), aname="_complianceManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"localizationManager"), aname="_localizationManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"storageResourceManager"), aname="_storageResourceManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"guestOperationsManager"), aname="_guestOperationsManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"overheadMemoryManager"), aname="_overheadMemoryManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"certificateManager"), aname="_certificateManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"ioFilterManager"), aname="_ioFilterManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vStorageObjectManager"), aname="_vStorageObjectManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hostSpecManager"), aname="_hostSpecManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"cryptoManager"), aname="_cryptoManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"healthUpdateManager"), aname="_healthUpdateManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"failoverClusterConfigurator"), aname="_failoverClusterConfigurator", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"failoverClusterManager"), aname="_failoverClusterManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ServiceContent_Def.__bases__:
                bases = list(ns0.ServiceContent_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ServiceContent_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ServiceLocatorCredential_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ServiceLocatorCredential")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ServiceLocatorCredential_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ServiceLocatorCredential_Def.__bases__:
                bases = list(ns0.ServiceLocatorCredential_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ServiceLocatorCredential_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ServiceLocatorNamePassword_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ServiceLocatorNamePassword")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ServiceLocatorNamePassword_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"username"), aname="_username", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ServiceLocatorCredential_Def not in ns0.ServiceLocatorNamePassword_Def.__bases__:
                bases = list(ns0.ServiceLocatorNamePassword_Def.__bases__)
                bases.insert(0, ns0.ServiceLocatorCredential_Def)
                ns0.ServiceLocatorNamePassword_Def.__bases__ = tuple(bases)

            ns0.ServiceLocatorCredential_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ServiceLocatorSAMLCredential_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ServiceLocatorSAMLCredential")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ServiceLocatorSAMLCredential_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"token"), aname="_token", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ServiceLocatorCredential_Def not in ns0.ServiceLocatorSAMLCredential_Def.__bases__:
                bases = list(ns0.ServiceLocatorSAMLCredential_Def.__bases__)
                bases.insert(0, ns0.ServiceLocatorCredential_Def)
                ns0.ServiceLocatorSAMLCredential_Def.__bases__ = tuple(bases)

            ns0.ServiceLocatorCredential_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ServiceLocator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ServiceLocator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ServiceLocator_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ServiceLocatorCredential",lazy=True)(pname=(ns,"credential"), aname="_credential", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sslThumbprint"), aname="_sslThumbprint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ServiceLocator_Def.__bases__:
                bases = list(ns0.ServiceLocator_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ServiceLocator_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfServiceLocator_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfServiceLocator")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfServiceLocator_Def.schema
            TClist = [GTD("urn:vim25","ServiceLocator",lazy=True)(pname=(ns,"ServiceLocator"), aname="_ServiceLocator", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ServiceLocator = []
                    return
            Holder.__name__ = "ArrayOfServiceLocator_Holder"
            self.pyclass = Holder

    class ServiceManagerServiceInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ServiceManagerServiceInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ServiceManagerServiceInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"serviceName"), aname="_serviceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"location"), aname="_location", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"service"), aname="_service", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ServiceManagerServiceInfo_Def.__bases__:
                bases = list(ns0.ServiceManagerServiceInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ServiceManagerServiceInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfServiceManagerServiceInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfServiceManagerServiceInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfServiceManagerServiceInfo_Def.schema
            TClist = [GTD("urn:vim25","ServiceManagerServiceInfo",lazy=True)(pname=(ns,"ServiceManagerServiceInfo"), aname="_ServiceManagerServiceInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ServiceManagerServiceInfo = []
                    return
            Holder.__name__ = "ArrayOfServiceManagerServiceInfo_Holder"
            self.pyclass = Holder

    class SessionManagerLocalTicket_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SessionManagerLocalTicket")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SessionManagerLocalTicket_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"passwordFilePath"), aname="_passwordFilePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.SessionManagerLocalTicket_Def.__bases__:
                bases = list(ns0.SessionManagerLocalTicket_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.SessionManagerLocalTicket_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SessionManagerGenericServiceTicket_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SessionManagerGenericServiceTicket")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SessionManagerGenericServiceTicket_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sslThumbprint"), aname="_sslThumbprint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.SessionManagerGenericServiceTicket_Def.__bases__:
                bases = list(ns0.SessionManagerGenericServiceTicket_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.SessionManagerGenericServiceTicket_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SessionManagerServiceRequestSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SessionManagerServiceRequestSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SessionManagerServiceRequestSpec_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.SessionManagerServiceRequestSpec_Def.__bases__:
                bases = list(ns0.SessionManagerServiceRequestSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.SessionManagerServiceRequestSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SessionManagerVmomiServiceRequestSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SessionManagerVmomiServiceRequestSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SessionManagerVmomiServiceRequestSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"method"), aname="_method", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SessionManagerServiceRequestSpec_Def not in ns0.SessionManagerVmomiServiceRequestSpec_Def.__bases__:
                bases = list(ns0.SessionManagerVmomiServiceRequestSpec_Def.__bases__)
                bases.insert(0, ns0.SessionManagerServiceRequestSpec_Def)
                ns0.SessionManagerVmomiServiceRequestSpec_Def.__bases__ = tuple(bases)

            ns0.SessionManagerServiceRequestSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SessionManagerHttpServiceRequestSpecMethod_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SessionManagerHttpServiceRequestSpecMethod")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class SessionManagerHttpServiceRequestSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SessionManagerHttpServiceRequestSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SessionManagerHttpServiceRequestSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"method"), aname="_method", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SessionManagerServiceRequestSpec_Def not in ns0.SessionManagerHttpServiceRequestSpec_Def.__bases__:
                bases = list(ns0.SessionManagerHttpServiceRequestSpec_Def.__bases__)
                bases.insert(0, ns0.SessionManagerServiceRequestSpec_Def)
                ns0.SessionManagerHttpServiceRequestSpec_Def.__bases__ = tuple(bases)

            ns0.SessionManagerServiceRequestSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SharesLevel_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SharesLevel")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class SharesInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SharesInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SharesInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"shares"), aname="_shares", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SharesLevel",lazy=True)(pname=(ns,"level"), aname="_level", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.SharesInfo_Def.__bases__:
                bases = list(ns0.SharesInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.SharesInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SharesOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SharesOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SharesOption_Def.schema
            TClist = [GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"sharesOption"), aname="_sharesOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SharesLevel",lazy=True)(pname=(ns,"defaultLevel"), aname="_defaultLevel", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.SharesOption_Def.__bases__:
                bases = list(ns0.SharesOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.SharesOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SimpleCommandEncoding_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SimpleCommandEncoding")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class SingleIp_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SingleIp")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SingleIp_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"address"), aname="_address", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IpAddress_Def not in ns0.SingleIp_Def.__bases__:
                bases = list(ns0.SingleIp_Def.__bases__)
                bases.insert(0, ns0.IpAddress_Def)
                ns0.SingleIp_Def.__bases__ = tuple(bases)

            ns0.IpAddress_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SingleMac_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SingleMac")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SingleMac_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"address"), aname="_address", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MacAddress_Def not in ns0.SingleMac_Def.__bases__:
                bases = list(ns0.SingleMac_Def.__bases__)
                bases.insert(0, ns0.MacAddress_Def)
                ns0.SingleMac_Def.__bases__ = tuple(bases)

            ns0.MacAddress_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StoragePodSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StoragePodSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StoragePodSummary_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacity"), aname="_capacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"freeSpace"), aname="_freeSpace", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StoragePodSummary_Def.__bases__:
                bases = list(ns0.StoragePodSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StoragePodSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageIOAllocationInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageIOAllocationInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageIOAllocationInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"limit"), aname="_limit", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SharesInfo",lazy=True)(pname=(ns,"shares"), aname="_shares", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"reservation"), aname="_reservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageIOAllocationInfo_Def.__bases__:
                bases = list(ns0.StorageIOAllocationInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageIOAllocationInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageIOAllocationOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageIOAllocationOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageIOAllocationOption_Def.schema
            TClist = [GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"limitOption"), aname="_limitOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SharesOption",lazy=True)(pname=(ns,"sharesOption"), aname="_sharesOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageIOAllocationOption_Def.__bases__:
                bases = list(ns0.StorageIOAllocationOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageIOAllocationOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageIORMThresholdMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StorageIORMThresholdMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class StorageIORMInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageIORMInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageIORMInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"congestionThresholdMode"), aname="_congestionThresholdMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"congestionThreshold"), aname="_congestionThreshold", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"percentOfPeakThroughput"), aname="_percentOfPeakThroughput", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"statsCollectionEnabled"), aname="_statsCollectionEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"reservationEnabled"), aname="_reservationEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"statsAggregationDisabled"), aname="_statsAggregationDisabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"reservableIopsThreshold"), aname="_reservableIopsThreshold", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageIORMInfo_Def.__bases__:
                bases = list(ns0.StorageIORMInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageIORMInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageIORMConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageIORMConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageIORMConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"congestionThresholdMode"), aname="_congestionThresholdMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"congestionThreshold"), aname="_congestionThreshold", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"percentOfPeakThroughput"), aname="_percentOfPeakThroughput", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"statsCollectionEnabled"), aname="_statsCollectionEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"reservationEnabled"), aname="_reservationEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"statsAggregationDisabled"), aname="_statsAggregationDisabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"reservableIopsThreshold"), aname="_reservableIopsThreshold", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageIORMConfigSpec_Def.__bases__:
                bases = list(ns0.StorageIORMConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageIORMConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageIORMConfigOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageIORMConfigOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageIORMConfigOption_Def.schema
            TClist = [GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"enabledOption"), aname="_enabledOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"congestionThresholdOption"), aname="_congestionThresholdOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"statsCollectionEnabledOption"), aname="_statsCollectionEnabledOption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"reservationEnabledOption"), aname="_reservationEnabledOption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageIORMConfigOption_Def.__bases__:
                bases = list(ns0.StorageIORMConfigOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageIORMConfigOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StoragePerformanceSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StoragePerformanceSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StoragePerformanceSummary_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"interval"), aname="_interval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"percentile"), aname="_percentile", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPdouble(pname=(ns,"datastoreReadLatency"), aname="_datastoreReadLatency", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPdouble(pname=(ns,"datastoreWriteLatency"), aname="_datastoreWriteLatency", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPdouble(pname=(ns,"datastoreVmLatency"), aname="_datastoreVmLatency", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPdouble(pname=(ns,"datastoreReadIops"), aname="_datastoreReadIops", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPdouble(pname=(ns,"datastoreWriteIops"), aname="_datastoreWriteIops", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"siocActivityDuration"), aname="_siocActivityDuration", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StoragePerformanceSummary_Def.__bases__:
                bases = list(ns0.StoragePerformanceSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StoragePerformanceSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfStoragePerformanceSummary_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfStoragePerformanceSummary")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfStoragePerformanceSummary_Def.schema
            TClist = [GTD("urn:vim25","StoragePerformanceSummary",lazy=True)(pname=(ns,"StoragePerformanceSummary"), aname="_StoragePerformanceSummary", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._StoragePerformanceSummary = []
                    return
            Holder.__name__ = "ArrayOfStoragePerformanceSummary_Holder"
            self.pyclass = Holder

    class PodStorageDrsEntry_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PodStorageDrsEntry")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PodStorageDrsEntry_Def.schema
            TClist = [GTD("urn:vim25","StorageDrsConfigInfo",lazy=True)(pname=(ns,"storageDrsConfig"), aname="_storageDrsConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterRecommendation",lazy=True)(pname=(ns,"recommendation"), aname="_recommendation", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDrsFaults",lazy=True)(pname=(ns,"drsFault"), aname="_drsFault", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterActionHistory",lazy=True)(pname=(ns,"actionHistory"), aname="_actionHistory", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PodStorageDrsEntry_Def.__bases__:
                bases = list(ns0.PodStorageDrsEntry_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PodStorageDrsEntry_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageResourceManagerStorageProfileStatistics_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageResourceManagerStorageProfileStatistics")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageResourceManagerStorageProfileStatistics_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"profileId"), aname="_profileId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"totalSpaceMB"), aname="_totalSpaceMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"usedSpaceMB"), aname="_usedSpaceMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageResourceManagerStorageProfileStatistics_Def.__bases__:
                bases = list(ns0.StorageResourceManagerStorageProfileStatistics_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageResourceManagerStorageProfileStatistics_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StringExpression_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StringExpression")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StringExpression_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NegatableExpression_Def not in ns0.StringExpression_Def.__bases__:
                bases = list(ns0.StringExpression_Def.__bases__)
                bases.insert(0, ns0.NegatableExpression_Def)
                ns0.StringExpression_Def.__bases__ = tuple(bases)

            ns0.NegatableExpression_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StringPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StringPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StringPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.StringPolicy_Def.__bases__:
                bases = list(ns0.StringPolicy_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.StringPolicy_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class Tag_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "Tag")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.Tag_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.Tag_Def.__bases__:
                bases = list(ns0.Tag_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.Tag_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfTag_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfTag")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfTag_Def.schema
            TClist = [GTD("urn:vim25","Tag",lazy=True)(pname=(ns,"Tag"), aname="_Tag", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._Tag = []
                    return
            Holder.__name__ = "ArrayOfTag_Holder"
            self.pyclass = Holder

    class TaskDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskDescription_Def.schema
            TClist = [GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"methodInfo"), aname="_methodInfo", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","TypeDescription",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.TaskDescription_Def.__bases__:
                bases = list(ns0.TaskDescription_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.TaskDescription_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TaskFilterSpecRecursionOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "TaskFilterSpecRecursionOption")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class TaskFilterSpecTimeOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "TaskFilterSpecTimeOption")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class TaskFilterSpecByEntity_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskFilterSpecByEntity")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskFilterSpecByEntity_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","TaskFilterSpecRecursionOption",lazy=True)(pname=(ns,"recursion"), aname="_recursion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.TaskFilterSpecByEntity_Def.__bases__:
                bases = list(ns0.TaskFilterSpecByEntity_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.TaskFilterSpecByEntity_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TaskFilterSpecByTime_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskFilterSpecByTime")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskFilterSpecByTime_Def.schema
            TClist = [GTD("urn:vim25","TaskFilterSpecTimeOption",lazy=True)(pname=(ns,"timeType"), aname="_timeType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"beginTime"), aname="_beginTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"endTime"), aname="_endTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.TaskFilterSpecByTime_Def.__bases__:
                bases = list(ns0.TaskFilterSpecByTime_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.TaskFilterSpecByTime_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TaskFilterSpecByUsername_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskFilterSpecByUsername")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskFilterSpecByUsername_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"systemUser"), aname="_systemUser", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userList"), aname="_userList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.TaskFilterSpecByUsername_Def.__bases__:
                bases = list(ns0.TaskFilterSpecByUsername_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.TaskFilterSpecByUsername_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TaskFilterSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskFilterSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskFilterSpec_Def.schema
            TClist = [GTD("urn:vim25","TaskFilterSpecByEntity",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","TaskFilterSpecByTime",lazy=True)(pname=(ns,"time"), aname="_time", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","TaskFilterSpecByUsername",lazy=True)(pname=(ns,"userName"), aname="_userName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"activationId"), aname="_activationId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","TaskInfoState",lazy=True)(pname=(ns,"state"), aname="_state", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"alarm"), aname="_alarm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"scheduledTask"), aname="_scheduledTask", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"eventChainId"), aname="_eventChainId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"tag"), aname="_tag", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"parentTaskKey"), aname="_parentTaskKey", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"rootTaskKey"), aname="_rootTaskKey", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.TaskFilterSpec_Def.__bases__:
                bases = list(ns0.TaskFilterSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.TaskFilterSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TaskInfoState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "TaskInfoState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ArrayOfTaskInfoState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfTaskInfoState")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfTaskInfoState_Def.schema
            TClist = [GTD("urn:vim25","TaskInfoState",lazy=True)(pname=(ns,"TaskInfoState"), aname="_TaskInfoState", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._TaskInfoState = []
                    return
            Holder.__name__ = "ArrayOfTaskInfoState_Holder"
            self.pyclass = Holder

    class TaskInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"task"), aname="_task", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"descriptionId"), aname="_descriptionId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"entityName"), aname="_entityName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"locked"), aname="_locked", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","TaskInfoState",lazy=True)(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cancelled"), aname="_cancelled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cancelable"), aname="_cancelable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.AnyType(pname=(ns,"result"), aname="_result", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"progress"), aname="_progress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","TaskReason",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"queueTime"), aname="_queueTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"startTime"), aname="_startTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"completeTime"), aname="_completeTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"eventChainId"), aname="_eventChainId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"changeTag"), aname="_changeTag", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"parentTaskKey"), aname="_parentTaskKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"rootTaskKey"), aname="_rootTaskKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"activationId"), aname="_activationId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.TaskInfo_Def.__bases__:
                bases = list(ns0.TaskInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.TaskInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfTaskInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfTaskInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfTaskInfo_Def.schema
            TClist = [GTD("urn:vim25","TaskInfo",lazy=True)(pname=(ns,"TaskInfo"), aname="_TaskInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._TaskInfo = []
                    return
            Holder.__name__ = "ArrayOfTaskInfo_Holder"
            self.pyclass = Holder

    class TaskReason_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskReason")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskReason_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.TaskReason_Def.__bases__:
                bases = list(ns0.TaskReason_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.TaskReason_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TaskReasonSystem_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskReasonSystem")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskReasonSystem_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.TaskReason_Def not in ns0.TaskReasonSystem_Def.__bases__:
                bases = list(ns0.TaskReasonSystem_Def.__bases__)
                bases.insert(0, ns0.TaskReason_Def)
                ns0.TaskReasonSystem_Def.__bases__ = tuple(bases)

            ns0.TaskReason_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TaskReasonUser_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskReasonUser")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskReasonUser_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.TaskReason_Def not in ns0.TaskReasonUser_Def.__bases__:
                bases = list(ns0.TaskReasonUser_Def.__bases__)
                bases.insert(0, ns0.TaskReason_Def)
                ns0.TaskReasonUser_Def.__bases__ = tuple(bases)

            ns0.TaskReason_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TaskReasonAlarm_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskReasonAlarm")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskReasonAlarm_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"alarmName"), aname="_alarmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"alarm"), aname="_alarm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"entityName"), aname="_entityName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.TaskReason_Def not in ns0.TaskReasonAlarm_Def.__bases__:
                bases = list(ns0.TaskReasonAlarm_Def.__bases__)
                bases.insert(0, ns0.TaskReason_Def)
                ns0.TaskReasonAlarm_Def.__bases__ = tuple(bases)

            ns0.TaskReason_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TaskReasonSchedule_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskReasonSchedule")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskReasonSchedule_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"scheduledTask"), aname="_scheduledTask", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.TaskReason_Def not in ns0.TaskReasonSchedule_Def.__bases__:
                bases = list(ns0.TaskReasonSchedule_Def.__bases__)
                bases.insert(0, ns0.TaskReason_Def)
                ns0.TaskReasonSchedule_Def.__bases__ = tuple(bases)

            ns0.TaskReason_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TypeDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TypeDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TypeDescription_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Description_Def not in ns0.TypeDescription_Def.__bases__:
                bases = list(ns0.TypeDescription_Def.__bases__)
                bases.insert(0, ns0.Description_Def)
                ns0.TypeDescription_Def.__bases__ = tuple(bases)

            ns0.Description_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfTypeDescription_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfTypeDescription")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfTypeDescription_Def.schema
            TClist = [GTD("urn:vim25","TypeDescription",lazy=True)(pname=(ns,"TypeDescription"), aname="_TypeDescription", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._TypeDescription = []
                    return
            Holder.__name__ = "ArrayOfTypeDescription_Holder"
            self.pyclass = Holder

    class UpdateVirtualMachineFilesResultFailedVmFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UpdateVirtualMachineFilesResultFailedVmFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UpdateVirtualMachineFilesResultFailedVmFileInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmFile"), aname="_vmFile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.UpdateVirtualMachineFilesResultFailedVmFileInfo_Def.__bases__:
                bases = list(ns0.UpdateVirtualMachineFilesResultFailedVmFileInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.UpdateVirtualMachineFilesResultFailedVmFileInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfUpdateVirtualMachineFilesResultFailedVmFileInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfUpdateVirtualMachineFilesResultFailedVmFileInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfUpdateVirtualMachineFilesResultFailedVmFileInfo_Def.schema
            TClist = [GTD("urn:vim25","UpdateVirtualMachineFilesResultFailedVmFileInfo",lazy=True)(pname=(ns,"UpdateVirtualMachineFilesResultFailedVmFileInfo"), aname="_UpdateVirtualMachineFilesResultFailedVmFileInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._UpdateVirtualMachineFilesResultFailedVmFileInfo = []
                    return
            Holder.__name__ = "ArrayOfUpdateVirtualMachineFilesResultFailedVmFileInfo_Holder"
            self.pyclass = Holder

    class UpdateVirtualMachineFilesResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UpdateVirtualMachineFilesResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UpdateVirtualMachineFilesResult_Def.schema
            TClist = [GTD("urn:vim25","UpdateVirtualMachineFilesResultFailedVmFileInfo",lazy=True)(pname=(ns,"failedVmFile"), aname="_failedVmFile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.UpdateVirtualMachineFilesResult_Def.__bases__:
                bases = list(ns0.UpdateVirtualMachineFilesResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.UpdateVirtualMachineFilesResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UserSearchResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UserSearchResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UserSearchResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"principal"), aname="_principal", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fullName"), aname="_fullName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"group"), aname="_group", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.UserSearchResult_Def.__bases__:
                bases = list(ns0.UserSearchResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.UserSearchResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfUserSearchResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfUserSearchResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfUserSearchResult_Def.schema
            TClist = [GTD("urn:vim25","UserSearchResult",lazy=True)(pname=(ns,"UserSearchResult"), aname="_UserSearchResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._UserSearchResult = []
                    return
            Holder.__name__ = "ArrayOfUserSearchResult_Holder"
            self.pyclass = Holder

    class UserSession_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UserSession")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UserSession_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fullName"), aname="_fullName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"loginTime"), aname="_loginTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"lastActiveTime"), aname="_lastActiveTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"locale"), aname="_locale", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"messageLocale"), aname="_messageLocale", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"extensionSession"), aname="_extensionSession", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userAgent"), aname="_userAgent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"callCount"), aname="_callCount", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.UserSession_Def.__bases__:
                bases = list(ns0.UserSession_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.UserSession_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfUserSession_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfUserSession")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfUserSession_Def.schema
            TClist = [GTD("urn:vim25","UserSession",lazy=True)(pname=(ns,"UserSession"), aname="_UserSession", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._UserSession = []
                    return
            Holder.__name__ = "ArrayOfUserSession_Holder"
            self.pyclass = Holder

    class VVolVmConfigFileUpdateResultFailedVmConfigFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VVolVmConfigFileUpdateResultFailedVmConfigFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VVolVmConfigFileUpdateResultFailedVmConfigFileInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"targetConfigVVolId"), aname="_targetConfigVVolId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VVolVmConfigFileUpdateResultFailedVmConfigFileInfo_Def.__bases__:
                bases = list(ns0.VVolVmConfigFileUpdateResultFailedVmConfigFileInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VVolVmConfigFileUpdateResultFailedVmConfigFileInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVVolVmConfigFileUpdateResultFailedVmConfigFileInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVVolVmConfigFileUpdateResultFailedVmConfigFileInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVVolVmConfigFileUpdateResultFailedVmConfigFileInfo_Def.schema
            TClist = [GTD("urn:vim25","VVolVmConfigFileUpdateResultFailedVmConfigFileInfo",lazy=True)(pname=(ns,"VVolVmConfigFileUpdateResultFailedVmConfigFileInfo"), aname="_VVolVmConfigFileUpdateResultFailedVmConfigFileInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VVolVmConfigFileUpdateResultFailedVmConfigFileInfo = []
                    return
            Holder.__name__ = "ArrayOfVVolVmConfigFileUpdateResultFailedVmConfigFileInfo_Holder"
            self.pyclass = Holder

    class VVolVmConfigFileUpdateResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VVolVmConfigFileUpdateResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VVolVmConfigFileUpdateResult_Def.schema
            TClist = [GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"succeededVmConfigFile"), aname="_succeededVmConfigFile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VVolVmConfigFileUpdateResultFailedVmConfigFileInfo",lazy=True)(pname=(ns,"failedVmConfigFile"), aname="_failedVmConfigFile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VVolVmConfigFileUpdateResult_Def.__bases__:
                bases = list(ns0.VVolVmConfigFileUpdateResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VVolVmConfigFileUpdateResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VASAStorageArray_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VASAStorageArray")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VASAStorageArray_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendorId"), aname="_vendorId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"modelId"), aname="_modelId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VASAStorageArray_Def.__bases__:
                bases = list(ns0.VASAStorageArray_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VASAStorageArray_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVASAStorageArray_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVASAStorageArray")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVASAStorageArray_Def.schema
            TClist = [GTD("urn:vim25","VASAStorageArray",lazy=True)(pname=(ns,"VASAStorageArray"), aname="_VASAStorageArray", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VASAStorageArray = []
                    return
            Holder.__name__ = "ArrayOfVASAStorageArray_Holder"
            self.pyclass = Holder

    class VasaProviderContainerSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VasaProviderContainerSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VasaProviderContainerSpec_Def.schema
            TClist = [GTD("urn:vim25","VimVasaProviderInfo",lazy=True)(pname=(ns,"vasaProviderInfo"), aname="_vasaProviderInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"scId"), aname="_scId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"deleted"), aname="_deleted", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VasaProviderContainerSpec_Def.__bases__:
                bases = list(ns0.VasaProviderContainerSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VasaProviderContainerSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VimVasaProviderStatePerArray_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VimVasaProviderStatePerArray")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VimVasaProviderStatePerArray_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"priority"), aname="_priority", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"arrayId"), aname="_arrayId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"active"), aname="_active", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VimVasaProviderStatePerArray_Def.__bases__:
                bases = list(ns0.VimVasaProviderStatePerArray_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VimVasaProviderStatePerArray_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVimVasaProviderStatePerArray_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVimVasaProviderStatePerArray")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVimVasaProviderStatePerArray_Def.schema
            TClist = [GTD("urn:vim25","VimVasaProviderStatePerArray",lazy=True)(pname=(ns,"VimVasaProviderStatePerArray"), aname="_VimVasaProviderStatePerArray", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VimVasaProviderStatePerArray = []
                    return
            Holder.__name__ = "ArrayOfVimVasaProviderStatePerArray_Holder"
            self.pyclass = Holder

    class VimVasaProvider_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VimVasaProvider")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VimVasaProvider_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uid"), aname="_uid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"selfSignedCertificate"), aname="_selfSignedCertificate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VimVasaProvider_Def.__bases__:
                bases = list(ns0.VimVasaProvider_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VimVasaProvider_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VimVasaProviderInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VimVasaProviderInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VimVasaProviderInfo_Def.schema
            TClist = [GTD("urn:vim25","VimVasaProvider",lazy=True)(pname=(ns,"provider"), aname="_provider", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VimVasaProviderStatePerArray",lazy=True)(pname=(ns,"arrayState"), aname="_arrayState", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VimVasaProviderInfo_Def.__bases__:
                bases = list(ns0.VimVasaProviderInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VimVasaProviderInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVimVasaProviderInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVimVasaProviderInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVimVasaProviderInfo_Def.schema
            TClist = [GTD("urn:vim25","VimVasaProviderInfo",lazy=True)(pname=(ns,"VimVasaProviderInfo"), aname="_VimVasaProviderInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VimVasaProviderInfo = []
                    return
            Holder.__name__ = "ArrayOfVimVasaProviderInfo_Holder"
            self.pyclass = Holder

    class VirtualAppVAppState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualAppVAppState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualAppSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualAppSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualAppSummary_Def.schema
            TClist = [GTD("urn:vim25","VAppProductInfo",lazy=True)(pname=(ns,"product"), aname="_product", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualAppVAppState",lazy=True)(pname=(ns,"vAppState"), aname="_vAppState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"suspended"), aname="_suspended", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"installBootRequired"), aname="_installBootRequired", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ResourcePoolSummary_Def not in ns0.VirtualAppSummary_Def.__bases__:
                bases = list(ns0.VirtualAppSummary_Def.__bases__)
                bases.insert(0, ns0.ResourcePoolSummary_Def)
                ns0.VirtualAppSummary_Def.__bases__ = tuple(bases)

            ns0.ResourcePoolSummary_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualAppLinkInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualAppLinkInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualAppLinkInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"destroyWithParent"), aname="_destroyWithParent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualAppLinkInfo_Def.__bases__:
                bases = list(ns0.VirtualAppLinkInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualAppLinkInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualAppLinkInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualAppLinkInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualAppLinkInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualAppLinkInfo",lazy=True)(pname=(ns,"VirtualAppLinkInfo"), aname="_VirtualAppLinkInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualAppLinkInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualAppLinkInfo_Holder"
            self.pyclass = Holder

    class VirtualDiskType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDiskType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDiskAdapterType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDiskAdapterType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDiskSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskType"), aname="_diskType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"adapterType"), aname="_adapterType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDiskSpec_Def.__bases__:
                bases = list(ns0.VirtualDiskSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDiskSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FileBackedVirtualDiskSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FileBackedVirtualDiskSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FileBackedVirtualDiskSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacityKb"), aname="_capacityKb", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoSpec",lazy=True)(pname=(ns,"crypto"), aname="_crypto", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDiskSpec_Def not in ns0.FileBackedVirtualDiskSpec_Def.__bases__:
                bases = list(ns0.FileBackedVirtualDiskSpec_Def.__bases__)
                bases.insert(0, ns0.VirtualDiskSpec_Def)
                ns0.FileBackedVirtualDiskSpec_Def.__bases__ = tuple(bases)

            ns0.VirtualDiskSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SeSparseVirtualDiskSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SeSparseVirtualDiskSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SeSparseVirtualDiskSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"grainSizeKb"), aname="_grainSizeKb", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileBackedVirtualDiskSpec_Def not in ns0.SeSparseVirtualDiskSpec_Def.__bases__:
                bases = list(ns0.SeSparseVirtualDiskSpec_Def.__bases__)
                bases.insert(0, ns0.FileBackedVirtualDiskSpec_Def)
                ns0.SeSparseVirtualDiskSpec_Def.__bases__ = tuple(bases)

            ns0.FileBackedVirtualDiskSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DeviceBackedVirtualDiskSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DeviceBackedVirtualDiskSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DeviceBackedVirtualDiskSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDiskSpec_Def not in ns0.DeviceBackedVirtualDiskSpec_Def.__bases__:
                bases = list(ns0.DeviceBackedVirtualDiskSpec_Def.__bases__)
                bases.insert(0, ns0.VirtualDiskSpec_Def)
                ns0.DeviceBackedVirtualDiskSpec_Def.__bases__ = tuple(bases)

            ns0.VirtualDiskSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageRequirement_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageRequirement")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageRequirement_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"freeSpaceRequiredInKb"), aname="_freeSpaceRequiredInKb", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageRequirement_Def.__bases__:
                bases = list(ns0.StorageRequirement_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageRequirement_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfStorageRequirement_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfStorageRequirement")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfStorageRequirement_Def.schema
            TClist = [GTD("urn:vim25","StorageRequirement",lazy=True)(pname=(ns,"StorageRequirement"), aname="_StorageRequirement", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._StorageRequirement = []
                    return
            Holder.__name__ = "ArrayOfStorageRequirement_Holder"
            self.pyclass = Holder

    class VirtualMachinePowerState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachinePowerState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineAppHeartbeatStatusType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineAppHeartbeatStatusType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineConnectionState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineConnectionState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineCryptoState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineCryptoState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineMovePriority_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineMovePriority")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineTicket_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineTicket")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineTicket_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ticket"), aname="_ticket", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"cfgFile"), aname="_cfgFile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sslThumbprint"), aname="_sslThumbprint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineTicket_Def.__bases__:
                bases = list(ns0.VirtualMachineTicket_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineTicket_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineMksTicket_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineMksTicket")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineMksTicket_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ticket"), aname="_ticket", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"cfgFile"), aname="_cfgFile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sslThumbprint"), aname="_sslThumbprint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineMksTicket_Def.__bases__:
                bases = list(ns0.VirtualMachineMksTicket_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineMksTicket_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineFaultToleranceState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFaultToleranceState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineRecordReplayState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineRecordReplayState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineNeedSecondaryReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineNeedSecondaryReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineFaultToleranceType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFaultToleranceType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineTicketType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineTicketType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineDisplayTopology_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineDisplayTopology")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineDisplayTopology_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"x"), aname="_x", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"y"), aname="_y", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"width"), aname="_width", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"height"), aname="_height", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineDisplayTopology_Def.__bases__:
                bases = list(ns0.VirtualMachineDisplayTopology_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineDisplayTopology_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineDisplayTopology_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineDisplayTopology")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineDisplayTopology_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineDisplayTopology",lazy=True)(pname=(ns,"VirtualMachineDisplayTopology"), aname="_VirtualMachineDisplayTopology", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineDisplayTopology = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineDisplayTopology_Holder"
            self.pyclass = Holder

    class DiskChangeExtent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DiskChangeExtent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DiskChangeExtent_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"start"), aname="_start", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"length"), aname="_length", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DiskChangeExtent_Def.__bases__:
                bases = list(ns0.DiskChangeExtent_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DiskChangeExtent_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDiskChangeExtent_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDiskChangeExtent")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDiskChangeExtent_Def.schema
            TClist = [GTD("urn:vim25","DiskChangeExtent",lazy=True)(pname=(ns,"DiskChangeExtent"), aname="_DiskChangeExtent", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DiskChangeExtent = []
                    return
            Holder.__name__ = "ArrayOfDiskChangeExtent_Holder"
            self.pyclass = Holder

    class DiskChangeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DiskChangeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DiskChangeInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"startOffset"), aname="_startOffset", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"length"), aname="_length", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DiskChangeExtent",lazy=True)(pname=(ns,"changedArea"), aname="_changedArea", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DiskChangeInfo_Def.__bases__:
                bases = list(ns0.DiskChangeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DiskChangeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineWipeResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineWipeResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineWipeResult_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"diskId"), aname="_diskId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"shrinkableDiskSpace"), aname="_shrinkableDiskSpace", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineWipeResult_Def.__bases__:
                bases = list(ns0.VirtualMachineWipeResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineWipeResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanUpgradeSystemPreflightCheckIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemPreflightCheckIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemPreflightCheckIssue_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"msg"), aname="_msg", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanUpgradeSystemPreflightCheckIssue_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemPreflightCheckIssue_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanUpgradeSystemPreflightCheckIssue_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVsanUpgradeSystemPreflightCheckIssue_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVsanUpgradeSystemPreflightCheckIssue")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVsanUpgradeSystemPreflightCheckIssue_Def.schema
            TClist = [GTD("urn:vim25","VsanUpgradeSystemPreflightCheckIssue",lazy=True)(pname=(ns,"VsanUpgradeSystemPreflightCheckIssue"), aname="_VsanUpgradeSystemPreflightCheckIssue", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VsanUpgradeSystemPreflightCheckIssue = []
                    return
            Holder.__name__ = "ArrayOfVsanUpgradeSystemPreflightCheckIssue_Holder"
            self.pyclass = Holder

    class VsanUpgradeSystemHostsDisconnectedIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemHostsDisconnectedIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemHostsDisconnectedIssue_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hosts"), aname="_hosts", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanUpgradeSystemPreflightCheckIssue_Def not in ns0.VsanUpgradeSystemHostsDisconnectedIssue_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemHostsDisconnectedIssue_Def.__bases__)
                bases.insert(0, ns0.VsanUpgradeSystemPreflightCheckIssue_Def)
                ns0.VsanUpgradeSystemHostsDisconnectedIssue_Def.__bases__ = tuple(bases)

            ns0.VsanUpgradeSystemPreflightCheckIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanUpgradeSystemMissingHostsInClusterIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemMissingHostsInClusterIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemMissingHostsInClusterIssue_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hosts"), aname="_hosts", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanUpgradeSystemPreflightCheckIssue_Def not in ns0.VsanUpgradeSystemMissingHostsInClusterIssue_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemMissingHostsInClusterIssue_Def.__bases__)
                bases.insert(0, ns0.VsanUpgradeSystemPreflightCheckIssue_Def)
                ns0.VsanUpgradeSystemMissingHostsInClusterIssue_Def.__bases__ = tuple(bases)

            ns0.VsanUpgradeSystemPreflightCheckIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanUpgradeSystemRogueHostsInClusterIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemRogueHostsInClusterIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemRogueHostsInClusterIssue_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuids"), aname="_uuids", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanUpgradeSystemPreflightCheckIssue_Def not in ns0.VsanUpgradeSystemRogueHostsInClusterIssue_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemRogueHostsInClusterIssue_Def.__bases__)
                bases.insert(0, ns0.VsanUpgradeSystemPreflightCheckIssue_Def)
                ns0.VsanUpgradeSystemRogueHostsInClusterIssue_Def.__bases__ = tuple(bases)

            ns0.VsanUpgradeSystemPreflightCheckIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanUpgradeSystemWrongEsxVersionIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemWrongEsxVersionIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemWrongEsxVersionIssue_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hosts"), aname="_hosts", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanUpgradeSystemPreflightCheckIssue_Def not in ns0.VsanUpgradeSystemWrongEsxVersionIssue_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemWrongEsxVersionIssue_Def.__bases__)
                bases.insert(0, ns0.VsanUpgradeSystemPreflightCheckIssue_Def)
                ns0.VsanUpgradeSystemWrongEsxVersionIssue_Def.__bases__ = tuple(bases)

            ns0.VsanUpgradeSystemPreflightCheckIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanUpgradeSystemAutoClaimEnabledOnHostsIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemAutoClaimEnabledOnHostsIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemAutoClaimEnabledOnHostsIssue_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hosts"), aname="_hosts", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanUpgradeSystemPreflightCheckIssue_Def not in ns0.VsanUpgradeSystemAutoClaimEnabledOnHostsIssue_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemAutoClaimEnabledOnHostsIssue_Def.__bases__)
                bases.insert(0, ns0.VsanUpgradeSystemPreflightCheckIssue_Def)
                ns0.VsanUpgradeSystemAutoClaimEnabledOnHostsIssue_Def.__bases__ = tuple(bases)

            ns0.VsanUpgradeSystemPreflightCheckIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanUpgradeSystemAPIBrokenIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemAPIBrokenIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemAPIBrokenIssue_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hosts"), aname="_hosts", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanUpgradeSystemPreflightCheckIssue_Def not in ns0.VsanUpgradeSystemAPIBrokenIssue_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemAPIBrokenIssue_Def.__bases__)
                bases.insert(0, ns0.VsanUpgradeSystemPreflightCheckIssue_Def)
                ns0.VsanUpgradeSystemAPIBrokenIssue_Def.__bases__ = tuple(bases)

            ns0.VsanUpgradeSystemPreflightCheckIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuids"), aname="_uuids", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanUpgradeSystemPreflightCheckIssue_Def not in ns0.VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue_Def.__bases__)
                bases.insert(0, ns0.VsanUpgradeSystemPreflightCheckIssue_Def)
                ns0.VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue_Def.__bases__ = tuple(bases)

            ns0.VsanUpgradeSystemPreflightCheckIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanUpgradeSystemNotEnoughFreeCapacityIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemNotEnoughFreeCapacityIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemNotEnoughFreeCapacityIssue_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"reducedRedundancyUpgradePossible"), aname="_reducedRedundancyUpgradePossible", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanUpgradeSystemPreflightCheckIssue_Def not in ns0.VsanUpgradeSystemNotEnoughFreeCapacityIssue_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemNotEnoughFreeCapacityIssue_Def.__bases__)
                bases.insert(0, ns0.VsanUpgradeSystemPreflightCheckIssue_Def)
                ns0.VsanUpgradeSystemNotEnoughFreeCapacityIssue_Def.__bases__ = tuple(bases)

            ns0.VsanUpgradeSystemPreflightCheckIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanUpgradeSystemNetworkPartitionInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemNetworkPartitionInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemNetworkPartitionInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hosts"), aname="_hosts", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanUpgradeSystemNetworkPartitionInfo_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemNetworkPartitionInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanUpgradeSystemNetworkPartitionInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVsanUpgradeSystemNetworkPartitionInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVsanUpgradeSystemNetworkPartitionInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVsanUpgradeSystemNetworkPartitionInfo_Def.schema
            TClist = [GTD("urn:vim25","VsanUpgradeSystemNetworkPartitionInfo",lazy=True)(pname=(ns,"VsanUpgradeSystemNetworkPartitionInfo"), aname="_VsanUpgradeSystemNetworkPartitionInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VsanUpgradeSystemNetworkPartitionInfo = []
                    return
            Holder.__name__ = "ArrayOfVsanUpgradeSystemNetworkPartitionInfo_Holder"
            self.pyclass = Holder

    class VsanUpgradeSystemNetworkPartitionIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemNetworkPartitionIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemNetworkPartitionIssue_Def.schema
            TClist = [GTD("urn:vim25","VsanUpgradeSystemNetworkPartitionInfo",lazy=True)(pname=(ns,"partitions"), aname="_partitions", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanUpgradeSystemPreflightCheckIssue_Def not in ns0.VsanUpgradeSystemNetworkPartitionIssue_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemNetworkPartitionIssue_Def.__bases__)
                bases.insert(0, ns0.VsanUpgradeSystemPreflightCheckIssue_Def)
                ns0.VsanUpgradeSystemNetworkPartitionIssue_Def.__bases__ = tuple(bases)

            ns0.VsanUpgradeSystemPreflightCheckIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanUpgradeSystemPreflightCheckResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemPreflightCheckResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemPreflightCheckResult_Def.schema
            TClist = [GTD("urn:vim25","VsanUpgradeSystemPreflightCheckIssue",lazy=True)(pname=(ns,"issues"), aname="_issues", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostDiskMapping",lazy=True)(pname=(ns,"diskMappingToRestore"), aname="_diskMappingToRestore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanUpgradeSystemPreflightCheckResult_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemPreflightCheckResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanUpgradeSystemPreflightCheckResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanUpgradeSystemUpgradeHistoryItem_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemUpgradeHistoryItem")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemUpgradeHistoryItem_Def.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"timestamp"), aname="_timestamp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"task"), aname="_task", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanUpgradeSystemUpgradeHistoryItem_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemUpgradeHistoryItem_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanUpgradeSystemUpgradeHistoryItem_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVsanUpgradeSystemUpgradeHistoryItem_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVsanUpgradeSystemUpgradeHistoryItem")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVsanUpgradeSystemUpgradeHistoryItem_Def.schema
            TClist = [GTD("urn:vim25","VsanUpgradeSystemUpgradeHistoryItem",lazy=True)(pname=(ns,"VsanUpgradeSystemUpgradeHistoryItem"), aname="_VsanUpgradeSystemUpgradeHistoryItem", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VsanUpgradeSystemUpgradeHistoryItem = []
                    return
            Holder.__name__ = "ArrayOfVsanUpgradeSystemUpgradeHistoryItem_Holder"
            self.pyclass = Holder

    class VsanUpgradeSystemUpgradeHistoryDiskGroupOpType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemUpgradeHistoryDiskGroupOpType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VsanUpgradeSystemUpgradeHistoryDiskGroupOp_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemUpgradeHistoryDiskGroupOp")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemUpgradeHistoryDiskGroupOp_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostDiskMapping",lazy=True)(pname=(ns,"diskMapping"), aname="_diskMapping", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanUpgradeSystemUpgradeHistoryItem_Def not in ns0.VsanUpgradeSystemUpgradeHistoryDiskGroupOp_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemUpgradeHistoryDiskGroupOp_Def.__bases__)
                bases.insert(0, ns0.VsanUpgradeSystemUpgradeHistoryItem_Def)
                ns0.VsanUpgradeSystemUpgradeHistoryDiskGroupOp_Def.__bases__ = tuple(bases)

            ns0.VsanUpgradeSystemUpgradeHistoryItem_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanUpgradeSystemUpgradeHistoryPreflightFail_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemUpgradeHistoryPreflightFail")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemUpgradeHistoryPreflightFail_Def.schema
            TClist = [GTD("urn:vim25","VsanUpgradeSystemPreflightCheckResult",lazy=True)(pname=(ns,"preflightResult"), aname="_preflightResult", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanUpgradeSystemUpgradeHistoryItem_Def not in ns0.VsanUpgradeSystemUpgradeHistoryPreflightFail_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemUpgradeHistoryPreflightFail_Def.__bases__)
                bases.insert(0, ns0.VsanUpgradeSystemUpgradeHistoryItem_Def)
                ns0.VsanUpgradeSystemUpgradeHistoryPreflightFail_Def.__bases__ = tuple(bases)

            ns0.VsanUpgradeSystemUpgradeHistoryItem_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanUpgradeSystemUpgradeStatus_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanUpgradeSystemUpgradeStatus")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanUpgradeSystemUpgradeStatus_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"inProgress"), aname="_inProgress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanUpgradeSystemUpgradeHistoryItem",lazy=True)(pname=(ns,"history"), aname="_history", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"aborted"), aname="_aborted", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"completed"), aname="_completed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"progress"), aname="_progress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanUpgradeSystemUpgradeStatus_Def.__bases__:
                bases = list(ns0.VsanUpgradeSystemUpgradeStatus_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanUpgradeSystemUpgradeStatus_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ActionParameter_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ActionParameter")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class Action_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "Action")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.Action_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.Action_Def.__bases__:
                bases = list(ns0.Action_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.Action_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MethodActionArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MethodActionArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MethodActionArgument_Def.schema
            TClist = [pysphere.ZSI.TC.AnyType(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.MethodActionArgument_Def.__bases__:
                bases = list(ns0.MethodActionArgument_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.MethodActionArgument_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfMethodActionArgument_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfMethodActionArgument")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfMethodActionArgument_Def.schema
            TClist = [GTD("urn:vim25","MethodActionArgument",lazy=True)(pname=(ns,"MethodActionArgument"), aname="_MethodActionArgument", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._MethodActionArgument = []
                    return
            Holder.__name__ = "ArrayOfMethodActionArgument_Holder"
            self.pyclass = Holder

    class MethodAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MethodAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MethodAction_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","MethodActionArgument",lazy=True)(pname=(ns,"argument"), aname="_argument", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Action_Def not in ns0.MethodAction_Def.__bases__:
                bases = list(ns0.MethodAction_Def.__bases__)
                bases.insert(0, ns0.Action_Def)
                ns0.MethodAction_Def.__bases__ = tuple(bases)

            ns0.Action_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SendEmailAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SendEmailAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SendEmailAction_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"toList"), aname="_toList", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ccList"), aname="_ccList", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"subject"), aname="_subject", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"body"), aname="_body", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Action_Def not in ns0.SendEmailAction_Def.__bases__:
                bases = list(ns0.SendEmailAction_Def.__bases__)
                bases.insert(0, ns0.Action_Def)
                ns0.SendEmailAction_Def.__bases__ = tuple(bases)

            ns0.Action_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SendSNMPAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SendSNMPAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SendSNMPAction_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Action_Def not in ns0.SendSNMPAction_Def.__bases__:
                bases = list(ns0.SendSNMPAction_Def.__bases__)
                bases.insert(0, ns0.Action_Def)
                ns0.SendSNMPAction_Def.__bases__ = tuple(bases)

            ns0.Action_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RunScriptAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RunScriptAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RunScriptAction_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"script"), aname="_script", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Action_Def not in ns0.RunScriptAction_Def.__bases__:
                bases = list(ns0.RunScriptAction_Def.__bases__)
                bases.insert(0, ns0.Action_Def)
                ns0.RunScriptAction_Def.__bases__ = tuple(bases)

            ns0.Action_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CreateTaskAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CreateTaskAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CreateTaskAction_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"taskTypeId"), aname="_taskTypeId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cancelable"), aname="_cancelable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Action_Def not in ns0.CreateTaskAction_Def.__bases__:
                bases = list(ns0.CreateTaskAction_Def.__bases__)
                bases.insert(0, ns0.Action_Def)
                ns0.CreateTaskAction_Def.__bases__ = tuple(bases)

            ns0.Action_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmAction_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AlarmAction_Def.__bases__:
                bases = list(ns0.AlarmAction_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AlarmAction_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfAlarmAction_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfAlarmAction")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfAlarmAction_Def.schema
            TClist = [GTD("urn:vim25","AlarmAction",lazy=True)(pname=(ns,"AlarmAction"), aname="_AlarmAction", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._AlarmAction = []
                    return
            Holder.__name__ = "ArrayOfAlarmAction_Holder"
            self.pyclass = Holder

    class AlarmTriggeringActionTransitionSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmTriggeringActionTransitionSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmTriggeringActionTransitionSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"startState"), aname="_startState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"finalState"), aname="_finalState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"repeats"), aname="_repeats", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AlarmTriggeringActionTransitionSpec_Def.__bases__:
                bases = list(ns0.AlarmTriggeringActionTransitionSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AlarmTriggeringActionTransitionSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfAlarmTriggeringActionTransitionSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfAlarmTriggeringActionTransitionSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfAlarmTriggeringActionTransitionSpec_Def.schema
            TClist = [GTD("urn:vim25","AlarmTriggeringActionTransitionSpec",lazy=True)(pname=(ns,"AlarmTriggeringActionTransitionSpec"), aname="_AlarmTriggeringActionTransitionSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._AlarmTriggeringActionTransitionSpec = []
                    return
            Holder.__name__ = "ArrayOfAlarmTriggeringActionTransitionSpec_Holder"
            self.pyclass = Holder

    class AlarmTriggeringAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmTriggeringAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmTriggeringAction_Def.schema
            TClist = [GTD("urn:vim25","Action",lazy=True)(pname=(ns,"action"), aname="_action", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AlarmTriggeringActionTransitionSpec",lazy=True)(pname=(ns,"transitionSpecs"), aname="_transitionSpecs", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"green2yellow"), aname="_green2yellow", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"yellow2red"), aname="_yellow2red", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"red2yellow"), aname="_red2yellow", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"yellow2green"), aname="_yellow2green", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmAction_Def not in ns0.AlarmTriggeringAction_Def.__bases__:
                bases = list(ns0.AlarmTriggeringAction_Def.__bases__)
                bases.insert(0, ns0.AlarmAction_Def)
                ns0.AlarmTriggeringAction_Def.__bases__ = tuple(bases)

            ns0.AlarmAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GroupAlarmAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GroupAlarmAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GroupAlarmAction_Def.schema
            TClist = [GTD("urn:vim25","AlarmAction",lazy=True)(pname=(ns,"action"), aname="_action", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmAction_Def not in ns0.GroupAlarmAction_Def.__bases__:
                bases = list(ns0.GroupAlarmAction_Def.__bases__)
                bases.insert(0, ns0.AlarmAction_Def)
                ns0.GroupAlarmAction_Def.__bases__ = tuple(bases)

            ns0.AlarmAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmDescription_Def.schema
            TClist = [GTD("urn:vim25","TypeDescription",lazy=True)(pname=(ns,"expr"), aname="_expr", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"stateOperator"), aname="_stateOperator", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"metricOperator"), aname="_metricOperator", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"hostSystemConnectionState"), aname="_hostSystemConnectionState", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"virtualMachinePowerState"), aname="_virtualMachinePowerState", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"datastoreConnectionState"), aname="_datastoreConnectionState", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"hostSystemPowerState"), aname="_hostSystemPowerState", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"virtualMachineGuestHeartbeatStatus"), aname="_virtualMachineGuestHeartbeatStatus", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"entityStatus"), aname="_entityStatus", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","TypeDescription",lazy=True)(pname=(ns,"action"), aname="_action", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AlarmDescription_Def.__bases__:
                bases = list(ns0.AlarmDescription_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AlarmDescription_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmExpression_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmExpression")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmExpression_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AlarmExpression_Def.__bases__:
                bases = list(ns0.AlarmExpression_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AlarmExpression_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfAlarmExpression_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfAlarmExpression")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfAlarmExpression_Def.schema
            TClist = [GTD("urn:vim25","AlarmExpression",lazy=True)(pname=(ns,"AlarmExpression"), aname="_AlarmExpression", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._AlarmExpression = []
                    return
            Holder.__name__ = "ArrayOfAlarmExpression_Holder"
            self.pyclass = Holder

    class AndAlarmExpression_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AndAlarmExpression")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AndAlarmExpression_Def.schema
            TClist = [GTD("urn:vim25","AlarmExpression",lazy=True)(pname=(ns,"expression"), aname="_expression", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmExpression_Def not in ns0.AndAlarmExpression_Def.__bases__:
                bases = list(ns0.AndAlarmExpression_Def.__bases__)
                bases.insert(0, ns0.AlarmExpression_Def)
                ns0.AndAlarmExpression_Def.__bases__ = tuple(bases)

            ns0.AlarmExpression_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OrAlarmExpression_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OrAlarmExpression")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OrAlarmExpression_Def.schema
            TClist = [GTD("urn:vim25","AlarmExpression",lazy=True)(pname=(ns,"expression"), aname="_expression", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmExpression_Def not in ns0.OrAlarmExpression_Def.__bases__:
                bases = list(ns0.OrAlarmExpression_Def.__bases__)
                bases.insert(0, ns0.AlarmExpression_Def)
                ns0.OrAlarmExpression_Def.__bases__ = tuple(bases)

            ns0.AlarmExpression_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StateAlarmOperator_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StateAlarmOperator")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class StateAlarmExpression_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StateAlarmExpression")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StateAlarmExpression_Def.schema
            TClist = [GTD("urn:vim25","StateAlarmOperator",lazy=True)(pname=(ns,"operator"), aname="_operator", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"statePath"), aname="_statePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"yellow"), aname="_yellow", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"red"), aname="_red", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmExpression_Def not in ns0.StateAlarmExpression_Def.__bases__:
                bases = list(ns0.StateAlarmExpression_Def.__bases__)
                bases.insert(0, ns0.AlarmExpression_Def)
                ns0.StateAlarmExpression_Def.__bases__ = tuple(bases)

            ns0.AlarmExpression_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EventAlarmExpressionComparisonOperator_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EventAlarmExpressionComparisonOperator")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class EventAlarmExpressionComparison_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EventAlarmExpressionComparison")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EventAlarmExpressionComparison_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"attributeName"), aname="_attributeName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"operator"), aname="_operator", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.EventAlarmExpressionComparison_Def.__bases__:
                bases = list(ns0.EventAlarmExpressionComparison_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.EventAlarmExpressionComparison_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfEventAlarmExpressionComparison_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfEventAlarmExpressionComparison")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfEventAlarmExpressionComparison_Def.schema
            TClist = [GTD("urn:vim25","EventAlarmExpressionComparison",lazy=True)(pname=(ns,"EventAlarmExpressionComparison"), aname="_EventAlarmExpressionComparison", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._EventAlarmExpressionComparison = []
                    return
            Holder.__name__ = "ArrayOfEventAlarmExpressionComparison_Holder"
            self.pyclass = Holder

    class EventAlarmExpression_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EventAlarmExpression")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EventAlarmExpression_Def.schema
            TClist = [GTD("urn:vim25","EventAlarmExpressionComparison",lazy=True)(pname=(ns,"comparisons"), aname="_comparisons", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"eventType"), aname="_eventType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"eventTypeId"), aname="_eventTypeId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"objectType"), aname="_objectType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"status"), aname="_status", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmExpression_Def not in ns0.EventAlarmExpression_Def.__bases__:
                bases = list(ns0.EventAlarmExpression_Def.__bases__)
                bases.insert(0, ns0.AlarmExpression_Def)
                ns0.EventAlarmExpression_Def.__bases__ = tuple(bases)

            ns0.AlarmExpression_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MetricAlarmOperator_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MetricAlarmOperator")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class MetricAlarmExpression_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MetricAlarmExpression")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MetricAlarmExpression_Def.schema
            TClist = [GTD("urn:vim25","MetricAlarmOperator",lazy=True)(pname=(ns,"operator"), aname="_operator", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PerfMetricId",lazy=True)(pname=(ns,"metric"), aname="_metric", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"yellow"), aname="_yellow", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"yellowInterval"), aname="_yellowInterval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"red"), aname="_red", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"redInterval"), aname="_redInterval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmExpression_Def not in ns0.MetricAlarmExpression_Def.__bases__:
                bases = list(ns0.MetricAlarmExpression_Def.__bases__)
                bases.insert(0, ns0.AlarmExpression_Def)
                ns0.MetricAlarmExpression_Def.__bases__ = tuple(bases)

            ns0.AlarmExpression_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmFilterSpecAlarmTypeByEntity_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AlarmFilterSpecAlarmTypeByEntity")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class AlarmFilterSpecAlarmTypeByTrigger_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AlarmFilterSpecAlarmTypeByTrigger")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class AlarmFilterSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmFilterSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmFilterSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"status"), aname="_status", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"typeEntity"), aname="_typeEntity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"typeTrigger"), aname="_typeTrigger", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AlarmFilterSpec_Def.__bases__:
                bases = list(ns0.AlarmFilterSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AlarmFilterSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"alarm"), aname="_alarm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"lastModifiedTime"), aname="_lastModifiedTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lastModifiedUser"), aname="_lastModifiedUser", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"creationEventId"), aname="_creationEventId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmSpec_Def not in ns0.AlarmInfo_Def.__bases__:
                bases = list(ns0.AlarmInfo_Def.__bases__)
                bases.insert(0, ns0.AlarmSpec_Def)
                ns0.AlarmInfo_Def.__bases__ = tuple(bases)

            ns0.AlarmSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmSetting_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmSetting")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmSetting_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"toleranceRange"), aname="_toleranceRange", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"reportingFrequency"), aname="_reportingFrequency", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AlarmSetting_Def.__bases__:
                bases = list(ns0.AlarmSetting_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AlarmSetting_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"systemName"), aname="_systemName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AlarmExpression",lazy=True)(pname=(ns,"expression"), aname="_expression", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AlarmAction",lazy=True)(pname=(ns,"action"), aname="_action", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"actionFrequency"), aname="_actionFrequency", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AlarmSetting",lazy=True)(pname=(ns,"setting"), aname="_setting", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AlarmSpec_Def.__bases__:
                bases = list(ns0.AlarmSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AlarmSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmState_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"alarm"), aname="_alarm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"overallStatus"), aname="_overallStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"time"), aname="_time", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"acknowledged"), aname="_acknowledged", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"acknowledgedByUser"), aname="_acknowledgedByUser", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"acknowledgedTime"), aname="_acknowledgedTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"eventKey"), aname="_eventKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AlarmState_Def.__bases__:
                bases = list(ns0.AlarmState_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AlarmState_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfAlarmState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfAlarmState")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfAlarmState_Def.schema
            TClist = [GTD("urn:vim25","AlarmState",lazy=True)(pname=(ns,"AlarmState"), aname="_AlarmState", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._AlarmState = []
                    return
            Holder.__name__ = "ArrayOfAlarmState_Holder"
            self.pyclass = Holder

    class ActionType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ActionType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterAction_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"target"), aname="_target", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterAction_Def.__bases__:
                bases = list(ns0.ClusterAction_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterAction_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterAction_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterAction")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterAction_Def.schema
            TClist = [GTD("urn:vim25","ClusterAction",lazy=True)(pname=(ns,"ClusterAction"), aname="_ClusterAction", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterAction = []
                    return
            Holder.__name__ = "ArrayOfClusterAction_Holder"
            self.pyclass = Holder

    class ClusterActionHistory_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterActionHistory")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterActionHistory_Def.schema
            TClist = [GTD("urn:vim25","ClusterAction",lazy=True)(pname=(ns,"action"), aname="_action", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"time"), aname="_time", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterActionHistory_Def.__bases__:
                bases = list(ns0.ClusterActionHistory_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterActionHistory_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterActionHistory_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterActionHistory")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterActionHistory_Def.schema
            TClist = [GTD("urn:vim25","ClusterActionHistory",lazy=True)(pname=(ns,"ClusterActionHistory"), aname="_ClusterActionHistory", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterActionHistory = []
                    return
            Holder.__name__ = "ArrayOfClusterActionHistory_Holder"
            self.pyclass = Holder

    class ClusterAffinityRuleSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterAffinityRuleSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterAffinityRuleSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterRuleInfo_Def not in ns0.ClusterAffinityRuleSpec_Def.__bases__:
                bases = list(ns0.ClusterAffinityRuleSpec_Def.__bases__)
                bases.insert(0, ns0.ClusterRuleInfo_Def)
                ns0.ClusterAffinityRuleSpec_Def.__bases__ = tuple(bases)

            ns0.ClusterRuleInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterAntiAffinityRuleSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterAntiAffinityRuleSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterAntiAffinityRuleSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterRuleInfo_Def not in ns0.ClusterAntiAffinityRuleSpec_Def.__bases__:
                bases = list(ns0.ClusterAntiAffinityRuleSpec_Def.__bases__)
                bases.insert(0, ns0.ClusterRuleInfo_Def)
                ns0.ClusterAntiAffinityRuleSpec_Def.__bases__ = tuple(bases)

            ns0.ClusterRuleInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterAttemptedVmInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterAttemptedVmInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterAttemptedVmInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"task"), aname="_task", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterAttemptedVmInfo_Def.__bases__:
                bases = list(ns0.ClusterAttemptedVmInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterAttemptedVmInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterAttemptedVmInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterAttemptedVmInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterAttemptedVmInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterAttemptedVmInfo",lazy=True)(pname=(ns,"ClusterAttemptedVmInfo"), aname="_ClusterAttemptedVmInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterAttemptedVmInfo = []
                    return
            Holder.__name__ = "ArrayOfClusterAttemptedVmInfo_Holder"
            self.pyclass = Holder

    class ClusterConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterDasConfigInfo",lazy=True)(pname=(ns,"dasConfig"), aname="_dasConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDasVmConfigInfo",lazy=True)(pname=(ns,"dasVmConfig"), aname="_dasVmConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDrsConfigInfo",lazy=True)(pname=(ns,"drsConfig"), aname="_drsConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDrsVmConfigInfo",lazy=True)(pname=(ns,"drsVmConfig"), aname="_drsVmConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterRuleInfo",lazy=True)(pname=(ns,"rule"), aname="_rule", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterConfigInfo_Def.__bases__:
                bases = list(ns0.ClusterConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsBehavior_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DrsBehavior")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterDrsConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDrsConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDrsConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enableVmBehaviorOverrides"), aname="_enableVmBehaviorOverrides", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DrsBehavior",lazy=True)(pname=(ns,"defaultVmBehavior"), aname="_defaultVmBehavior", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vmotionRate"), aname="_vmotionRate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"option"), aname="_option", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDrsConfigInfo_Def.__bases__:
                bases = list(ns0.ClusterDrsConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDrsConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDrsVmConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDrsVmConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDrsVmConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DrsBehavior",lazy=True)(pname=(ns,"behavior"), aname="_behavior", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDrsVmConfigInfo_Def.__bases__:
                bases = list(ns0.ClusterDrsVmConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDrsVmConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterDrsVmConfigInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterDrsVmConfigInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterDrsVmConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterDrsVmConfigInfo",lazy=True)(pname=(ns,"ClusterDrsVmConfigInfo"), aname="_ClusterDrsVmConfigInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterDrsVmConfigInfo = []
                    return
            Holder.__name__ = "ArrayOfClusterDrsVmConfigInfo_Holder"
            self.pyclass = Holder

    class ClusterConfigInfoEx_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterConfigInfoEx")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterConfigInfoEx_Def.schema
            TClist = [GTD("urn:vim25","ClusterDasConfigInfo",lazy=True)(pname=(ns,"dasConfig"), aname="_dasConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDasVmConfigInfo",lazy=True)(pname=(ns,"dasVmConfig"), aname="_dasVmConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDrsConfigInfo",lazy=True)(pname=(ns,"drsConfig"), aname="_drsConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDrsVmConfigInfo",lazy=True)(pname=(ns,"drsVmConfig"), aname="_drsVmConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterRuleInfo",lazy=True)(pname=(ns,"rule"), aname="_rule", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterOrchestrationInfo",lazy=True)(pname=(ns,"orchestration"), aname="_orchestration", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterVmOrchestrationInfo",lazy=True)(pname=(ns,"vmOrchestration"), aname="_vmOrchestration", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDpmConfigInfo",lazy=True)(pname=(ns,"dpmConfigInfo"), aname="_dpmConfigInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDpmHostConfigInfo",lazy=True)(pname=(ns,"dpmHostConfig"), aname="_dpmHostConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanClusterConfigInfo",lazy=True)(pname=(ns,"vsanConfigInfo"), aname="_vsanConfigInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostConfigInfo",lazy=True)(pname=(ns,"vsanHostConfig"), aname="_vsanHostConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterGroupInfo",lazy=True)(pname=(ns,"group"), aname="_group", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterInfraUpdateHaConfigInfo",lazy=True)(pname=(ns,"infraUpdateHaConfig"), aname="_infraUpdateHaConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterProactiveDrsConfigInfo",lazy=True)(pname=(ns,"proactiveDrsConfig"), aname="_proactiveDrsConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ComputeResourceConfigInfo_Def not in ns0.ClusterConfigInfoEx_Def.__bases__:
                bases = list(ns0.ClusterConfigInfoEx_Def.__bases__)
                bases.insert(0, ns0.ComputeResourceConfigInfo_Def)
                ns0.ClusterConfigInfoEx_Def.__bases__ = tuple(bases)

            ns0.ComputeResourceConfigInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DpmBehavior_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DpmBehavior")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterDpmConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDpmConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDpmConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DpmBehavior",lazy=True)(pname=(ns,"defaultDpmBehavior"), aname="_defaultDpmBehavior", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"hostPowerActionRate"), aname="_hostPowerActionRate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"option"), aname="_option", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDpmConfigInfo_Def.__bases__:
                bases = list(ns0.ClusterDpmConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDpmConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDpmHostConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDpmHostConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDpmHostConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DpmBehavior",lazy=True)(pname=(ns,"behavior"), aname="_behavior", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDpmHostConfigInfo_Def.__bases__:
                bases = list(ns0.ClusterDpmHostConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDpmHostConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterDpmHostConfigInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterDpmHostConfigInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterDpmHostConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterDpmHostConfigInfo",lazy=True)(pname=(ns,"ClusterDpmHostConfigInfo"), aname="_ClusterDpmHostConfigInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterDpmHostConfigInfo = []
                    return
            Holder.__name__ = "ArrayOfClusterDpmHostConfigInfo_Holder"
            self.pyclass = Holder

    class ClusterInfraUpdateHaConfigInfoBehaviorType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterInfraUpdateHaConfigInfoBehaviorType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterInfraUpdateHaConfigInfoRemediationType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterInfraUpdateHaConfigInfoRemediationType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterInfraUpdateHaConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterInfraUpdateHaConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterInfraUpdateHaConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"behavior"), aname="_behavior", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"moderateRemediation"), aname="_moderateRemediation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"severeRemediation"), aname="_severeRemediation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"providers"), aname="_providers", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterInfraUpdateHaConfigInfo_Def.__bases__:
                bases = list(ns0.ClusterInfraUpdateHaConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterInfraUpdateHaConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterProactiveDrsConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterProactiveDrsConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterProactiveDrsConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterProactiveDrsConfigInfo_Def.__bases__:
                bases = list(ns0.ClusterProactiveDrsConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterProactiveDrsConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","ClusterDasConfigInfo",lazy=True)(pname=(ns,"dasConfig"), aname="_dasConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDasVmConfigSpec",lazy=True)(pname=(ns,"dasVmConfigSpec"), aname="_dasVmConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDrsConfigInfo",lazy=True)(pname=(ns,"drsConfig"), aname="_drsConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDrsVmConfigSpec",lazy=True)(pname=(ns,"drsVmConfigSpec"), aname="_drsVmConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterRuleSpec",lazy=True)(pname=(ns,"rulesSpec"), aname="_rulesSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterConfigSpec_Def.__bases__:
                bases = list(ns0.ClusterConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDasVmConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasVmConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasVmConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","ClusterDasVmConfigInfo",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ArrayUpdateSpec_Def not in ns0.ClusterDasVmConfigSpec_Def.__bases__:
                bases = list(ns0.ClusterDasVmConfigSpec_Def.__bases__)
                bases.insert(0, ns0.ArrayUpdateSpec_Def)
                ns0.ClusterDasVmConfigSpec_Def.__bases__ = tuple(bases)

            ns0.ArrayUpdateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterDasVmConfigSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterDasVmConfigSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterDasVmConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","ClusterDasVmConfigSpec",lazy=True)(pname=(ns,"ClusterDasVmConfigSpec"), aname="_ClusterDasVmConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterDasVmConfigSpec = []
                    return
            Holder.__name__ = "ArrayOfClusterDasVmConfigSpec_Holder"
            self.pyclass = Holder

    class ClusterDrsVmConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDrsVmConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDrsVmConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","ClusterDrsVmConfigInfo",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ArrayUpdateSpec_Def not in ns0.ClusterDrsVmConfigSpec_Def.__bases__:
                bases = list(ns0.ClusterDrsVmConfigSpec_Def.__bases__)
                bases.insert(0, ns0.ArrayUpdateSpec_Def)
                ns0.ClusterDrsVmConfigSpec_Def.__bases__ = tuple(bases)

            ns0.ArrayUpdateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterDrsVmConfigSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterDrsVmConfigSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterDrsVmConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","ClusterDrsVmConfigSpec",lazy=True)(pname=(ns,"ClusterDrsVmConfigSpec"), aname="_ClusterDrsVmConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterDrsVmConfigSpec = []
                    return
            Holder.__name__ = "ArrayOfClusterDrsVmConfigSpec_Holder"
            self.pyclass = Holder

    class ClusterConfigSpecEx_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterConfigSpecEx")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterConfigSpecEx_Def.schema
            TClist = [GTD("urn:vim25","ClusterDasConfigInfo",lazy=True)(pname=(ns,"dasConfig"), aname="_dasConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDasVmConfigSpec",lazy=True)(pname=(ns,"dasVmConfigSpec"), aname="_dasVmConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDrsConfigInfo",lazy=True)(pname=(ns,"drsConfig"), aname="_drsConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDrsVmConfigSpec",lazy=True)(pname=(ns,"drsVmConfigSpec"), aname="_drsVmConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterRuleSpec",lazy=True)(pname=(ns,"rulesSpec"), aname="_rulesSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterOrchestrationInfo",lazy=True)(pname=(ns,"orchestration"), aname="_orchestration", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterVmOrchestrationSpec",lazy=True)(pname=(ns,"vmOrchestrationSpec"), aname="_vmOrchestrationSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDpmConfigInfo",lazy=True)(pname=(ns,"dpmConfig"), aname="_dpmConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDpmHostConfigSpec",lazy=True)(pname=(ns,"dpmHostConfigSpec"), aname="_dpmHostConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanClusterConfigInfo",lazy=True)(pname=(ns,"vsanConfig"), aname="_vsanConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostConfigInfo",lazy=True)(pname=(ns,"vsanHostConfigSpec"), aname="_vsanHostConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterGroupSpec",lazy=True)(pname=(ns,"groupSpec"), aname="_groupSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterInfraUpdateHaConfigInfo",lazy=True)(pname=(ns,"infraUpdateHaConfig"), aname="_infraUpdateHaConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterProactiveDrsConfigInfo",lazy=True)(pname=(ns,"proactiveDrsConfig"), aname="_proactiveDrsConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ComputeResourceConfigSpec_Def not in ns0.ClusterConfigSpecEx_Def.__bases__:
                bases = list(ns0.ClusterConfigSpecEx_Def.__bases__)
                bases.insert(0, ns0.ComputeResourceConfigSpec_Def)
                ns0.ClusterConfigSpecEx_Def.__bases__ = tuple(bases)

            ns0.ComputeResourceConfigSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDpmHostConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDpmHostConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDpmHostConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","ClusterDpmHostConfigInfo",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ArrayUpdateSpec_Def not in ns0.ClusterDpmHostConfigSpec_Def.__bases__:
                bases = list(ns0.ClusterDpmHostConfigSpec_Def.__bases__)
                bases.insert(0, ns0.ArrayUpdateSpec_Def)
                ns0.ClusterDpmHostConfigSpec_Def.__bases__ = tuple(bases)

            ns0.ArrayUpdateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterDpmHostConfigSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterDpmHostConfigSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterDpmHostConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","ClusterDpmHostConfigSpec",lazy=True)(pname=(ns,"ClusterDpmHostConfigSpec"), aname="_ClusterDpmHostConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterDpmHostConfigSpec = []
                    return
            Holder.__name__ = "ArrayOfClusterDpmHostConfigSpec_Holder"
            self.pyclass = Holder

    class ClusterGroupSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterGroupSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterGroupSpec_Def.schema
            TClist = [GTD("urn:vim25","ClusterGroupInfo",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ArrayUpdateSpec_Def not in ns0.ClusterGroupSpec_Def.__bases__:
                bases = list(ns0.ClusterGroupSpec_Def.__bases__)
                bases.insert(0, ns0.ArrayUpdateSpec_Def)
                ns0.ClusterGroupSpec_Def.__bases__ = tuple(bases)

            ns0.ArrayUpdateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterGroupSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterGroupSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterGroupSpec_Def.schema
            TClist = [GTD("urn:vim25","ClusterGroupSpec",lazy=True)(pname=(ns,"ClusterGroupSpec"), aname="_ClusterGroupSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterGroupSpec = []
                    return
            Holder.__name__ = "ArrayOfClusterGroupSpec_Holder"
            self.pyclass = Holder

    class ClusterVmOrchestrationSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterVmOrchestrationSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterVmOrchestrationSpec_Def.schema
            TClist = [GTD("urn:vim25","ClusterVmOrchestrationInfo",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ArrayUpdateSpec_Def not in ns0.ClusterVmOrchestrationSpec_Def.__bases__:
                bases = list(ns0.ClusterVmOrchestrationSpec_Def.__bases__)
                bases.insert(0, ns0.ArrayUpdateSpec_Def)
                ns0.ClusterVmOrchestrationSpec_Def.__bases__ = tuple(bases)

            ns0.ArrayUpdateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterVmOrchestrationSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterVmOrchestrationSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterVmOrchestrationSpec_Def.schema
            TClist = [GTD("urn:vim25","ClusterVmOrchestrationSpec",lazy=True)(pname=(ns,"ClusterVmOrchestrationSpec"), aname="_ClusterVmOrchestrationSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterVmOrchestrationSpec = []
                    return
            Holder.__name__ = "ArrayOfClusterVmOrchestrationSpec_Holder"
            self.pyclass = Holder

    class ClusterDasAamHostInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasAamHostInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasAamHostInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterDasAamNodeState",lazy=True)(pname=(ns,"hostDasState"), aname="_hostDasState", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"primaryHosts"), aname="_primaryHosts", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterDasHostInfo_Def not in ns0.ClusterDasAamHostInfo_Def.__bases__:
                bases = list(ns0.ClusterDasAamHostInfo_Def.__bases__)
                bases.insert(0, ns0.ClusterDasHostInfo_Def)
                ns0.ClusterDasAamHostInfo_Def.__bases__ = tuple(bases)

            ns0.ClusterDasHostInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDasAamNodeStateDasState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterDasAamNodeStateDasState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterDasAamNodeState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasAamNodeState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasAamNodeState_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configState"), aname="_configState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"runtimeState"), aname="_runtimeState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasAamNodeState_Def.__bases__:
                bases = list(ns0.ClusterDasAamNodeState_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasAamNodeState_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterDasAamNodeState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterDasAamNodeState")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterDasAamNodeState_Def.schema
            TClist = [GTD("urn:vim25","ClusterDasAamNodeState",lazy=True)(pname=(ns,"ClusterDasAamNodeState"), aname="_ClusterDasAamNodeState", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterDasAamNodeState = []
                    return
            Holder.__name__ = "ArrayOfClusterDasAamNodeState_Holder"
            self.pyclass = Holder

    class ClusterDasAdmissionControlInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasAdmissionControlInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasAdmissionControlInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasAdmissionControlInfo_Def.__bases__:
                bases = list(ns0.ClusterDasAdmissionControlInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasAdmissionControlInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDasAdmissionControlPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasAdmissionControlPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasAdmissionControlPolicy_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"resourceReductionToToleratePercent"), aname="_resourceReductionToToleratePercent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasAdmissionControlPolicy_Def.__bases__:
                bases = list(ns0.ClusterDasAdmissionControlPolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasAdmissionControlPolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"storageAPDSupported"), aname="_storageAPDSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"storagePDLSupported"), aname="_storagePDLSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo_Def.__bases__:
                bases = list(ns0.ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DasHeartbeatDatastoreInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DasHeartbeatDatastoreInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DasHeartbeatDatastoreInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hosts"), aname="_hosts", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DasHeartbeatDatastoreInfo_Def.__bases__:
                bases = list(ns0.DasHeartbeatDatastoreInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DasHeartbeatDatastoreInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDasHeartbeatDatastoreInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDasHeartbeatDatastoreInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDasHeartbeatDatastoreInfo_Def.schema
            TClist = [GTD("urn:vim25","DasHeartbeatDatastoreInfo",lazy=True)(pname=(ns,"DasHeartbeatDatastoreInfo"), aname="_DasHeartbeatDatastoreInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DasHeartbeatDatastoreInfo = []
                    return
            Holder.__name__ = "ArrayOfDasHeartbeatDatastoreInfo_Holder"
            self.pyclass = Holder

    class ClusterDasAdvancedRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasAdvancedRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasAdvancedRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterDasHostInfo",lazy=True)(pname=(ns,"dasHostInfo"), aname="_dasHostInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo",lazy=True)(pname=(ns,"vmcpSupported"), aname="_vmcpSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DasHeartbeatDatastoreInfo",lazy=True)(pname=(ns,"heartbeatDatastoreInfo"), aname="_heartbeatDatastoreInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasAdvancedRuntimeInfo_Def.__bases__:
                bases = list(ns0.ClusterDasAdvancedRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasAdvancedRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDasConfigInfoServiceState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterDasConfigInfoServiceState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterDasConfigInfoVmMonitoringState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterDasConfigInfoVmMonitoringState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterDasConfigInfoHBDatastoreCandidate_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterDasConfigInfoHBDatastoreCandidate")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterDasConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmMonitoring"), aname="_vmMonitoring", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostMonitoring"), aname="_hostMonitoring", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmComponentProtecting"), aname="_vmComponentProtecting", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"failoverLevel"), aname="_failoverLevel", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDasAdmissionControlPolicy",lazy=True)(pname=(ns,"admissionControlPolicy"), aname="_admissionControlPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"admissionControlEnabled"), aname="_admissionControlEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDasVmSettings",lazy=True)(pname=(ns,"defaultVmSettings"), aname="_defaultVmSettings", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"option"), aname="_option", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"heartbeatDatastore"), aname="_heartbeatDatastore", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hBDatastoreCandidatePolicy"), aname="_hBDatastoreCandidatePolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasConfigInfo_Def.__bases__:
                bases = list(ns0.ClusterDasConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDasData_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasData")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasData_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasData_Def.__bases__:
                bases = list(ns0.ClusterDasData_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasData_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDasDataSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasDataSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasDataSummary_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"hostListVersion"), aname="_hostListVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"clusterConfigVersion"), aname="_clusterConfigVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"compatListVersion"), aname="_compatListVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterDasData_Def not in ns0.ClusterDasDataSummary_Def.__bases__:
                bases = list(ns0.ClusterDasDataSummary_Def.__bases__)
                bases.insert(0, ns0.ClusterDasData_Def)
                ns0.ClusterDasDataSummary_Def.__bases__ = tuple(bases)

            ns0.ClusterDasData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numVcpus"), aname="_numVcpus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"cpuMHz"), aname="_cpuMHz", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memoryMB"), aname="_memoryMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo_Def.__bases__:
                bases = list(ns0.ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"slots"), aname="_slots", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots_Def.__bases__:
                bases = list(ns0.ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots_Def.schema
            TClist = [GTD("urn:vim25","ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots",lazy=True)(pname=(ns,"ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots"), aname="_ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots = []
                    return
            Holder.__name__ = "ArrayOfClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots_Holder"
            self.pyclass = Holder

    class ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"slots"), aname="_slots", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots_Def.__bases__:
                bases = list(ns0.ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots_Def.schema
            TClist = [GTD("urn:vim25","ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots",lazy=True)(pname=(ns,"ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots"), aname="_ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots = []
                    return
            Holder.__name__ = "ArrayOfClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots_Holder"
            self.pyclass = Holder

    class ClusterDasFailoverLevelAdvancedRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasFailoverLevelAdvancedRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasFailoverLevelAdvancedRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo",lazy=True)(pname=(ns,"slotInfo"), aname="_slotInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"totalSlots"), aname="_totalSlots", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"usedSlots"), aname="_usedSlots", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"unreservedSlots"), aname="_unreservedSlots", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"totalVms"), aname="_totalVms", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"totalHosts"), aname="_totalHosts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"totalGoodHosts"), aname="_totalGoodHosts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots",lazy=True)(pname=(ns,"hostSlots"), aname="_hostSlots", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots",lazy=True)(pname=(ns,"vmsRequiringMultipleSlots"), aname="_vmsRequiringMultipleSlots", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterDasAdvancedRuntimeInfo_Def not in ns0.ClusterDasFailoverLevelAdvancedRuntimeInfo_Def.__bases__:
                bases = list(ns0.ClusterDasFailoverLevelAdvancedRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.ClusterDasAdvancedRuntimeInfo_Def)
                ns0.ClusterDasFailoverLevelAdvancedRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.ClusterDasAdvancedRuntimeInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDasFdmAvailabilityState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterDasFdmAvailabilityState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterDasFdmHostState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasFdmHostState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasFdmHostState_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"stateReporter"), aname="_stateReporter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasFdmHostState_Def.__bases__:
                bases = list(ns0.ClusterDasFdmHostState_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasFdmHostState_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDasHostInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasHostInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasHostInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasHostInfo_Def.__bases__:
                bases = list(ns0.ClusterDasHostInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasHostInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDasHostRecommendation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasHostRecommendation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasHostRecommendation_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"drsRating"), aname="_drsRating", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasHostRecommendation_Def.__bases__:
                bases = list(ns0.ClusterDasHostRecommendation_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasHostRecommendation_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DasVmPriority_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DasVmPriority")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterDasVmConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasVmConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasVmConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DasVmPriority",lazy=True)(pname=(ns,"restartPriority"), aname="_restartPriority", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"powerOffOnIsolation"), aname="_powerOffOnIsolation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDasVmSettings",lazy=True)(pname=(ns,"dasSettings"), aname="_dasSettings", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasVmConfigInfo_Def.__bases__:
                bases = list(ns0.ClusterDasVmConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasVmConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterDasVmConfigInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterDasVmConfigInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterDasVmConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterDasVmConfigInfo",lazy=True)(pname=(ns,"ClusterDasVmConfigInfo"), aname="_ClusterDasVmConfigInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterDasVmConfigInfo = []
                    return
            Holder.__name__ = "ArrayOfClusterDasVmConfigInfo_Holder"
            self.pyclass = Holder

    class ClusterDasVmSettingsRestartPriority_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterDasVmSettingsRestartPriority")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterDasVmSettingsIsolationResponse_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterDasVmSettingsIsolationResponse")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterDasVmSettings_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDasVmSettings")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDasVmSettings_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"restartPriority"), aname="_restartPriority", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"restartPriorityTimeout"), aname="_restartPriorityTimeout", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"isolationResponse"), aname="_isolationResponse", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterVmToolsMonitoringSettings",lazy=True)(pname=(ns,"vmToolsMonitoringSettings"), aname="_vmToolsMonitoringSettings", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterVmComponentProtectionSettings",lazy=True)(pname=(ns,"vmComponentProtectionSettings"), aname="_vmComponentProtectionSettings", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDasVmSettings_Def.__bases__:
                bases = list(ns0.ClusterDasVmSettings_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDasVmSettings_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDependencyRuleInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDependencyRuleInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDependencyRuleInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmGroup"), aname="_vmGroup", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dependsOnVmGroup"), aname="_dependsOnVmGroup", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterRuleInfo_Def not in ns0.ClusterDependencyRuleInfo_Def.__bases__:
                bases = list(ns0.ClusterDependencyRuleInfo_Def.__bases__)
                bases.insert(0, ns0.ClusterRuleInfo_Def)
                ns0.ClusterDependencyRuleInfo_Def.__bases__ = tuple(bases)

            ns0.ClusterRuleInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDrsFaultsFaultsByVm_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDrsFaultsFaultsByVm")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDrsFaultsFaultsByVm_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDrsFaultsFaultsByVm_Def.__bases__:
                bases = list(ns0.ClusterDrsFaultsFaultsByVm_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDrsFaultsFaultsByVm_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterDrsFaultsFaultsByVm_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterDrsFaultsFaultsByVm")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterDrsFaultsFaultsByVm_Def.schema
            TClist = [GTD("urn:vim25","ClusterDrsFaultsFaultsByVm",lazy=True)(pname=(ns,"ClusterDrsFaultsFaultsByVm"), aname="_ClusterDrsFaultsFaultsByVm", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterDrsFaultsFaultsByVm = []
                    return
            Holder.__name__ = "ArrayOfClusterDrsFaultsFaultsByVm_Holder"
            self.pyclass = Holder

    class ClusterDrsFaultsFaultsByVirtualDisk_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDrsFaultsFaultsByVirtualDisk")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDrsFaultsFaultsByVirtualDisk_Def.schema
            TClist = [GTD("urn:vim25","VirtualDiskId",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterDrsFaultsFaultsByVm_Def not in ns0.ClusterDrsFaultsFaultsByVirtualDisk_Def.__bases__:
                bases = list(ns0.ClusterDrsFaultsFaultsByVirtualDisk_Def.__bases__)
                bases.insert(0, ns0.ClusterDrsFaultsFaultsByVm_Def)
                ns0.ClusterDrsFaultsFaultsByVirtualDisk_Def.__bases__ = tuple(bases)

            ns0.ClusterDrsFaultsFaultsByVm_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDrsFaults_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDrsFaults")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDrsFaults_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDrsFaultsFaultsByVm",lazy=True)(pname=(ns,"faultsByVm"), aname="_faultsByVm", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDrsFaults_Def.__bases__:
                bases = list(ns0.ClusterDrsFaults_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDrsFaults_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterDrsFaults_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterDrsFaults")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterDrsFaults_Def.schema
            TClist = [GTD("urn:vim25","ClusterDrsFaults",lazy=True)(pname=(ns,"ClusterDrsFaults"), aname="_ClusterDrsFaults", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterDrsFaults = []
                    return
            Holder.__name__ = "ArrayOfClusterDrsFaults_Holder"
            self.pyclass = Holder

    class ClusterDrsMigration_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDrsMigration")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDrsMigration_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"time"), aname="_time", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"cpuLoad"), aname="_cpuLoad", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"memoryLoad"), aname="_memoryLoad", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"source"), aname="_source", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"sourceCpuLoad"), aname="_sourceCpuLoad", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"sourceMemoryLoad"), aname="_sourceMemoryLoad", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"destination"), aname="_destination", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"destinationCpuLoad"), aname="_destinationCpuLoad", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"destinationMemoryLoad"), aname="_destinationMemoryLoad", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDrsMigration_Def.__bases__:
                bases = list(ns0.ClusterDrsMigration_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDrsMigration_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterDrsMigration_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterDrsMigration")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterDrsMigration_Def.schema
            TClist = [GTD("urn:vim25","ClusterDrsMigration",lazy=True)(pname=(ns,"ClusterDrsMigration"), aname="_ClusterDrsMigration", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterDrsMigration = []
                    return
            Holder.__name__ = "ArrayOfClusterDrsMigration_Holder"
            self.pyclass = Holder

    class DrsRecommendationReasonCode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DrsRecommendationReasonCode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterDrsRecommendation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDrsRecommendation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDrsRecommendation_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"rating"), aname="_rating", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reasonText"), aname="_reasonText", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDrsMigration",lazy=True)(pname=(ns,"migrationList"), aname="_migrationList", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterDrsRecommendation_Def.__bases__:
                bases = list(ns0.ClusterDrsRecommendation_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterDrsRecommendation_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterDrsRecommendation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterDrsRecommendation")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterDrsRecommendation_Def.schema
            TClist = [GTD("urn:vim25","ClusterDrsRecommendation",lazy=True)(pname=(ns,"ClusterDrsRecommendation"), aname="_ClusterDrsRecommendation", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterDrsRecommendation = []
                    return
            Holder.__name__ = "ArrayOfClusterDrsRecommendation_Holder"
            self.pyclass = Holder

    class ClusterEVCManagerEVCState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterEVCManagerEVCState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterEVCManagerEVCState_Def.schema
            TClist = [GTD("urn:vim25","EVCMode",lazy=True)(pname=(ns,"supportedEVCMode"), aname="_supportedEVCMode", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"currentEVCModeKey"), aname="_currentEVCModeKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostCpuIdInfo",lazy=True)(pname=(ns,"guaranteedCPUFeatures"), aname="_guaranteedCPUFeatures", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFeatureCapability",lazy=True)(pname=(ns,"featureCapability"), aname="_featureCapability", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFeatureMask",lazy=True)(pname=(ns,"featureMask"), aname="_featureMask", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFeatureRequirement",lazy=True)(pname=(ns,"featureRequirement"), aname="_featureRequirement", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterEVCManagerEVCState_Def.__bases__:
                bases = list(ns0.ClusterEVCManagerEVCState_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterEVCManagerEVCState_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterEVCManagerCheckResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterEVCManagerCheckResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterEVCManagerCheckResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"evcModeKey"), aname="_evcModeKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterEVCManagerCheckResult_Def.__bases__:
                bases = list(ns0.ClusterEVCManagerCheckResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterEVCManagerCheckResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterEVCManagerCheckResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterEVCManagerCheckResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterEVCManagerCheckResult_Def.schema
            TClist = [GTD("urn:vim25","ClusterEVCManagerCheckResult",lazy=True)(pname=(ns,"ClusterEVCManagerCheckResult"), aname="_ClusterEVCManagerCheckResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterEVCManagerCheckResult = []
                    return
            Holder.__name__ = "ArrayOfClusterEVCManagerCheckResult_Holder"
            self.pyclass = Holder

    class ClusterEnterMaintenanceResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterEnterMaintenanceResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterEnterMaintenanceResult_Def.schema
            TClist = [GTD("urn:vim25","ClusterRecommendation",lazy=True)(pname=(ns,"recommendations"), aname="_recommendations", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDrsFaults",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterEnterMaintenanceResult_Def.__bases__:
                bases = list(ns0.ClusterEnterMaintenanceResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterEnterMaintenanceResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterFailoverHostAdmissionControlInfoHostStatus_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterFailoverHostAdmissionControlInfoHostStatus")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterFailoverHostAdmissionControlInfoHostStatus_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterFailoverHostAdmissionControlInfoHostStatus_Def.__bases__:
                bases = list(ns0.ClusterFailoverHostAdmissionControlInfoHostStatus_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterFailoverHostAdmissionControlInfoHostStatus_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterFailoverHostAdmissionControlInfoHostStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterFailoverHostAdmissionControlInfoHostStatus")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterFailoverHostAdmissionControlInfoHostStatus_Def.schema
            TClist = [GTD("urn:vim25","ClusterFailoverHostAdmissionControlInfoHostStatus",lazy=True)(pname=(ns,"ClusterFailoverHostAdmissionControlInfoHostStatus"), aname="_ClusterFailoverHostAdmissionControlInfoHostStatus", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterFailoverHostAdmissionControlInfoHostStatus = []
                    return
            Holder.__name__ = "ArrayOfClusterFailoverHostAdmissionControlInfoHostStatus_Holder"
            self.pyclass = Holder

    class ClusterFailoverHostAdmissionControlInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterFailoverHostAdmissionControlInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterFailoverHostAdmissionControlInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterFailoverHostAdmissionControlInfoHostStatus",lazy=True)(pname=(ns,"hostStatus"), aname="_hostStatus", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterDasAdmissionControlInfo_Def not in ns0.ClusterFailoverHostAdmissionControlInfo_Def.__bases__:
                bases = list(ns0.ClusterFailoverHostAdmissionControlInfo_Def.__bases__)
                bases.insert(0, ns0.ClusterDasAdmissionControlInfo_Def)
                ns0.ClusterFailoverHostAdmissionControlInfo_Def.__bases__ = tuple(bases)

            ns0.ClusterDasAdmissionControlInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterFailoverHostAdmissionControlPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterFailoverHostAdmissionControlPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterFailoverHostAdmissionControlPolicy_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"failoverHosts"), aname="_failoverHosts", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"failoverLevel"), aname="_failoverLevel", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterDasAdmissionControlPolicy_Def not in ns0.ClusterFailoverHostAdmissionControlPolicy_Def.__bases__:
                bases = list(ns0.ClusterFailoverHostAdmissionControlPolicy_Def.__bases__)
                bases.insert(0, ns0.ClusterDasAdmissionControlPolicy_Def)
                ns0.ClusterFailoverHostAdmissionControlPolicy_Def.__bases__ = tuple(bases)

            ns0.ClusterDasAdmissionControlPolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterFailoverLevelAdmissionControlInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterFailoverLevelAdmissionControlInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterFailoverLevelAdmissionControlInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"currentFailoverLevel"), aname="_currentFailoverLevel", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterDasAdmissionControlInfo_Def not in ns0.ClusterFailoverLevelAdmissionControlInfo_Def.__bases__:
                bases = list(ns0.ClusterFailoverLevelAdmissionControlInfo_Def.__bases__)
                bases.insert(0, ns0.ClusterDasAdmissionControlInfo_Def)
                ns0.ClusterFailoverLevelAdmissionControlInfo_Def.__bases__ = tuple(bases)

            ns0.ClusterDasAdmissionControlInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterFailoverLevelAdmissionControlPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterFailoverLevelAdmissionControlPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterFailoverLevelAdmissionControlPolicy_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"failoverLevel"), aname="_failoverLevel", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterSlotPolicy",lazy=True)(pname=(ns,"slotPolicy"), aname="_slotPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterDasAdmissionControlPolicy_Def not in ns0.ClusterFailoverLevelAdmissionControlPolicy_Def.__bases__:
                bases = list(ns0.ClusterFailoverLevelAdmissionControlPolicy_Def.__bases__)
                bases.insert(0, ns0.ClusterDasAdmissionControlPolicy_Def)
                ns0.ClusterFailoverLevelAdmissionControlPolicy_Def.__bases__ = tuple(bases)

            ns0.ClusterDasAdmissionControlPolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterFailoverResourcesAdmissionControlInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterFailoverResourcesAdmissionControlInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterFailoverResourcesAdmissionControlInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"currentCpuFailoverResourcesPercent"), aname="_currentCpuFailoverResourcesPercent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"currentMemoryFailoverResourcesPercent"), aname="_currentMemoryFailoverResourcesPercent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterDasAdmissionControlInfo_Def not in ns0.ClusterFailoverResourcesAdmissionControlInfo_Def.__bases__:
                bases = list(ns0.ClusterFailoverResourcesAdmissionControlInfo_Def.__bases__)
                bases.insert(0, ns0.ClusterDasAdmissionControlInfo_Def)
                ns0.ClusterFailoverResourcesAdmissionControlInfo_Def.__bases__ = tuple(bases)

            ns0.ClusterDasAdmissionControlInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterFailoverResourcesAdmissionControlPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterFailoverResourcesAdmissionControlPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterFailoverResourcesAdmissionControlPolicy_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"cpuFailoverResourcesPercent"), aname="_cpuFailoverResourcesPercent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memoryFailoverResourcesPercent"), aname="_memoryFailoverResourcesPercent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"failoverLevel"), aname="_failoverLevel", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"autoComputePercentages"), aname="_autoComputePercentages", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterDasAdmissionControlPolicy_Def not in ns0.ClusterFailoverResourcesAdmissionControlPolicy_Def.__bases__:
                bases = list(ns0.ClusterFailoverResourcesAdmissionControlPolicy_Def.__bases__)
                bases.insert(0, ns0.ClusterDasAdmissionControlPolicy_Def)
                ns0.ClusterFailoverResourcesAdmissionControlPolicy_Def.__bases__ = tuple(bases)

            ns0.ClusterDasAdmissionControlPolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterGroupInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterGroupInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterGroupInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"userCreated"), aname="_userCreated", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uniqueID"), aname="_uniqueID", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterGroupInfo_Def.__bases__:
                bases = list(ns0.ClusterGroupInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterGroupInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterGroupInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterGroupInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterGroupInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterGroupInfo",lazy=True)(pname=(ns,"ClusterGroupInfo"), aname="_ClusterGroupInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterGroupInfo = []
                    return
            Holder.__name__ = "ArrayOfClusterGroupInfo_Holder"
            self.pyclass = Holder

    class ClusterHostGroup_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterHostGroup")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterHostGroup_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterGroupInfo_Def not in ns0.ClusterHostGroup_Def.__bases__:
                bases = list(ns0.ClusterHostGroup_Def.__bases__)
                bases.insert(0, ns0.ClusterGroupInfo_Def)
                ns0.ClusterHostGroup_Def.__bases__ = tuple(bases)

            ns0.ClusterGroupInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterHostInfraUpdateHaModeActionOperationType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterHostInfraUpdateHaModeActionOperationType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterHostInfraUpdateHaModeAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterHostInfraUpdateHaModeAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterHostInfraUpdateHaModeAction_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"operationType"), aname="_operationType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterAction_Def not in ns0.ClusterHostInfraUpdateHaModeAction_Def.__bases__:
                bases = list(ns0.ClusterHostInfraUpdateHaModeAction_Def.__bases__)
                bases.insert(0, ns0.ClusterAction_Def)
                ns0.ClusterHostInfraUpdateHaModeAction_Def.__bases__ = tuple(bases)

            ns0.ClusterAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostPowerOperationType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostPowerOperationType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterHostPowerAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterHostPowerAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterHostPowerAction_Def.schema
            TClist = [GTD("urn:vim25","HostPowerOperationType",lazy=True)(pname=(ns,"operationType"), aname="_operationType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"powerConsumptionWatt"), aname="_powerConsumptionWatt", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"cpuCapacityMHz"), aname="_cpuCapacityMHz", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memCapacityMB"), aname="_memCapacityMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterAction_Def not in ns0.ClusterHostPowerAction_Def.__bases__:
                bases = list(ns0.ClusterHostPowerAction_Def.__bases__)
                bases.insert(0, ns0.ClusterAction_Def)
                ns0.ClusterHostPowerAction_Def.__bases__ = tuple(bases)

            ns0.ClusterAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterHostRecommendation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterHostRecommendation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterHostRecommendation_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"rating"), aname="_rating", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterHostRecommendation_Def.__bases__:
                bases = list(ns0.ClusterHostRecommendation_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterHostRecommendation_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterHostRecommendation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterHostRecommendation")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterHostRecommendation_Def.schema
            TClist = [GTD("urn:vim25","ClusterHostRecommendation",lazy=True)(pname=(ns,"ClusterHostRecommendation"), aname="_ClusterHostRecommendation", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterHostRecommendation = []
                    return
            Holder.__name__ = "ArrayOfClusterHostRecommendation_Holder"
            self.pyclass = Holder

    class ClusterInitialPlacementAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterInitialPlacementAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterInitialPlacementAction_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"targetHost"), aname="_targetHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pool"), aname="_pool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterAction_Def not in ns0.ClusterInitialPlacementAction_Def.__bases__:
                bases = list(ns0.ClusterInitialPlacementAction_Def.__bases__)
                bases.insert(0, ns0.ClusterAction_Def)
                ns0.ClusterInitialPlacementAction_Def.__bases__ = tuple(bases)

            ns0.ClusterAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterMigrationAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterMigrationAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterMigrationAction_Def.schema
            TClist = [GTD("urn:vim25","ClusterDrsMigration",lazy=True)(pname=(ns,"drsMigration"), aname="_drsMigration", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterAction_Def not in ns0.ClusterMigrationAction_Def.__bases__:
                bases = list(ns0.ClusterMigrationAction_Def.__bases__)
                bases.insert(0, ns0.ClusterAction_Def)
                ns0.ClusterMigrationAction_Def.__bases__ = tuple(bases)

            ns0.ClusterAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterNotAttemptedVmInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterNotAttemptedVmInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterNotAttemptedVmInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterNotAttemptedVmInfo_Def.__bases__:
                bases = list(ns0.ClusterNotAttemptedVmInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterNotAttemptedVmInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterNotAttemptedVmInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterNotAttemptedVmInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterNotAttemptedVmInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterNotAttemptedVmInfo",lazy=True)(pname=(ns,"ClusterNotAttemptedVmInfo"), aname="_ClusterNotAttemptedVmInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterNotAttemptedVmInfo = []
                    return
            Holder.__name__ = "ArrayOfClusterNotAttemptedVmInfo_Holder"
            self.pyclass = Holder

    class ClusterOrchestrationInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterOrchestrationInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterOrchestrationInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterVmReadiness",lazy=True)(pname=(ns,"defaultVmReadiness"), aname="_defaultVmReadiness", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterOrchestrationInfo_Def.__bases__:
                bases = list(ns0.ClusterOrchestrationInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterOrchestrationInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PlacementAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PlacementAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PlacementAction_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"targetHost"), aname="_targetHost", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineRelocateSpec",lazy=True)(pname=(ns,"relocateSpec"), aname="_relocateSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterAction_Def not in ns0.PlacementAction_Def.__bases__:
                bases = list(ns0.PlacementAction_Def.__bases__)
                bases.insert(0, ns0.ClusterAction_Def)
                ns0.PlacementAction_Def.__bases__ = tuple(bases)

            ns0.ClusterAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PlacementResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PlacementResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PlacementResult_Def.schema
            TClist = [GTD("urn:vim25","ClusterRecommendation",lazy=True)(pname=(ns,"recommendations"), aname="_recommendations", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDrsFaults",lazy=True)(pname=(ns,"drsFault"), aname="_drsFault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PlacementResult_Def.__bases__:
                bases = list(ns0.PlacementResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PlacementResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PlacementSpecPlacementType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PlacementSpecPlacementType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class PlacementSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PlacementSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PlacementSpec_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineMovePriority",lazy=True)(pname=(ns,"priority"), aname="_priority", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineRelocateSpec",lazy=True)(pname=(ns,"relocateSpec"), aname="_relocateSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hosts"), aname="_hosts", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastores"), aname="_datastores", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"storagePods"), aname="_storagePods", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"disallowPrerequisiteMoves"), aname="_disallowPrerequisiteMoves", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterRuleInfo",lazy=True)(pname=(ns,"rules"), aname="_rules", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"placementType"), aname="_placementType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineCloneSpec",lazy=True)(pname=(ns,"cloneSpec"), aname="_cloneSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"cloneName"), aname="_cloneName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PlacementSpec_Def.__bases__:
                bases = list(ns0.PlacementSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PlacementSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPlacementSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPlacementSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPlacementSpec_Def.schema
            TClist = [GTD("urn:vim25","PlacementSpec",lazy=True)(pname=(ns,"PlacementSpec"), aname="_PlacementSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PlacementSpec = []
                    return
            Holder.__name__ = "ArrayOfPlacementSpec_Holder"
            self.pyclass = Holder

    class ClusterPowerOnVmOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterPowerOnVmOption")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterPowerOnVmResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterPowerOnVmResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterPowerOnVmResult_Def.schema
            TClist = [GTD("urn:vim25","ClusterAttemptedVmInfo",lazy=True)(pname=(ns,"attempted"), aname="_attempted", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterNotAttemptedVmInfo",lazy=True)(pname=(ns,"notAttempted"), aname="_notAttempted", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterRecommendation",lazy=True)(pname=(ns,"recommendations"), aname="_recommendations", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterPowerOnVmResult_Def.__bases__:
                bases = list(ns0.ClusterPowerOnVmResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterPowerOnVmResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RecommendationType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RecommendationType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class RecommendationReasonCode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RecommendationReasonCode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterRecommendation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterRecommendation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterRecommendation_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"time"), aname="_time", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"rating"), aname="_rating", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reasonText"), aname="_reasonText", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"warningText"), aname="_warningText", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"warningDetails"), aname="_warningDetails", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"prerequisite"), aname="_prerequisite", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterAction",lazy=True)(pname=(ns,"action"), aname="_action", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"target"), aname="_target", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterRecommendation_Def.__bases__:
                bases = list(ns0.ClusterRecommendation_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterRecommendation_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterRecommendation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterRecommendation")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterRecommendation_Def.schema
            TClist = [GTD("urn:vim25","ClusterRecommendation",lazy=True)(pname=(ns,"ClusterRecommendation"), aname="_ClusterRecommendation", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterRecommendation = []
                    return
            Holder.__name__ = "ArrayOfClusterRecommendation_Holder"
            self.pyclass = Holder

    class ClusterResourceUsageSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterResourceUsageSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterResourceUsageSummary_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"cpuUsedMHz"), aname="_cpuUsedMHz", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"cpuCapacityMHz"), aname="_cpuCapacityMHz", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memUsedMB"), aname="_memUsedMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memCapacityMB"), aname="_memCapacityMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"pMemAvailableMB"), aname="_pMemAvailableMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"pMemCapacityMB"), aname="_pMemCapacityMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"storageUsedMB"), aname="_storageUsedMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"storageCapacityMB"), aname="_storageCapacityMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterResourceUsageSummary_Def.__bases__:
                bases = list(ns0.ClusterResourceUsageSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterResourceUsageSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterRuleInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterRuleInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterRuleInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"status"), aname="_status", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"mandatory"), aname="_mandatory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"userCreated"), aname="_userCreated", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"inCompliance"), aname="_inCompliance", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ruleUuid"), aname="_ruleUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterRuleInfo_Def.__bases__:
                bases = list(ns0.ClusterRuleInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterRuleInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterRuleInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterRuleInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterRuleInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterRuleInfo",lazy=True)(pname=(ns,"ClusterRuleInfo"), aname="_ClusterRuleInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterRuleInfo = []
                    return
            Holder.__name__ = "ArrayOfClusterRuleInfo_Holder"
            self.pyclass = Holder

    class ClusterRuleSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterRuleSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterRuleSpec_Def.schema
            TClist = [GTD("urn:vim25","ClusterRuleInfo",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ArrayUpdateSpec_Def not in ns0.ClusterRuleSpec_Def.__bases__:
                bases = list(ns0.ClusterRuleSpec_Def.__bases__)
                bases.insert(0, ns0.ArrayUpdateSpec_Def)
                ns0.ClusterRuleSpec_Def.__bases__ = tuple(bases)

            ns0.ArrayUpdateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterRuleSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterRuleSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterRuleSpec_Def.schema
            TClist = [GTD("urn:vim25","ClusterRuleSpec",lazy=True)(pname=(ns,"ClusterRuleSpec"), aname="_ClusterRuleSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterRuleSpec = []
                    return
            Holder.__name__ = "ArrayOfClusterRuleSpec_Holder"
            self.pyclass = Holder

    class ClusterSlotPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterSlotPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterSlotPolicy_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterSlotPolicy_Def.__bases__:
                bases = list(ns0.ClusterSlotPolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterSlotPolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterFixedSizeSlotPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterFixedSizeSlotPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterFixedSizeSlotPolicy_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"cpu"), aname="_cpu", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memory"), aname="_memory", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterSlotPolicy_Def not in ns0.ClusterFixedSizeSlotPolicy_Def.__bases__:
                bases = list(ns0.ClusterFixedSizeSlotPolicy_Def.__bases__)
                bases.insert(0, ns0.ClusterSlotPolicy_Def)
                ns0.ClusterFixedSizeSlotPolicy_Def.__bases__ = tuple(bases)

            ns0.ClusterSlotPolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterUsageSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterUsageSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterUsageSummary_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"totalCpuCapacityMhz"), aname="_totalCpuCapacityMhz", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"totalMemCapacityMB"), aname="_totalMemCapacityMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"cpuReservationMhz"), aname="_cpuReservationMhz", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memReservationMB"), aname="_memReservationMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"poweredOffCpuReservationMhz"), aname="_poweredOffCpuReservationMhz", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"poweredOffMemReservationMB"), aname="_poweredOffMemReservationMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"cpuDemandMhz"), aname="_cpuDemandMhz", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memDemandMB"), aname="_memDemandMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"statsGenNumber"), aname="_statsGenNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"cpuEntitledMhz"), aname="_cpuEntitledMhz", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memEntitledMB"), aname="_memEntitledMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"poweredOffVmCount"), aname="_poweredOffVmCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"totalVmCount"), aname="_totalVmCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterUsageSummary_Def.__bases__:
                bases = list(ns0.ClusterUsageSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterUsageSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterVmComponentProtectionSettingsStorageVmReaction_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterVmComponentProtectionSettingsStorageVmReaction")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterVmComponentProtectionSettings_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterVmComponentProtectionSettings")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterVmComponentProtectionSettings_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmStorageProtectionForAPD"), aname="_vmStorageProtectionForAPD", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enableAPDTimeoutForHosts"), aname="_enableAPDTimeoutForHosts", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vmTerminateDelayForAPDSec"), aname="_vmTerminateDelayForAPDSec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmReactionOnAPDCleared"), aname="_vmReactionOnAPDCleared", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmStorageProtectionForPDL"), aname="_vmStorageProtectionForPDL", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterVmComponentProtectionSettings_Def.__bases__:
                bases = list(ns0.ClusterVmComponentProtectionSettings_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterVmComponentProtectionSettings_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterVmGroup_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterVmGroup")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterVmGroup_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterGroupInfo_Def not in ns0.ClusterVmGroup_Def.__bases__:
                bases = list(ns0.ClusterVmGroup_Def.__bases__)
                bases.insert(0, ns0.ClusterGroupInfo_Def)
                ns0.ClusterVmGroup_Def.__bases__ = tuple(bases)

            ns0.ClusterGroupInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterVmHostRuleInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterVmHostRuleInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterVmHostRuleInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmGroupName"), aname="_vmGroupName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"affineHostGroupName"), aname="_affineHostGroupName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"antiAffineHostGroupName"), aname="_antiAffineHostGroupName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterRuleInfo_Def not in ns0.ClusterVmHostRuleInfo_Def.__bases__:
                bases = list(ns0.ClusterVmHostRuleInfo_Def.__bases__)
                bases.insert(0, ns0.ClusterRuleInfo_Def)
                ns0.ClusterVmHostRuleInfo_Def.__bases__ = tuple(bases)

            ns0.ClusterRuleInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterVmOrchestrationInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterVmOrchestrationInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterVmOrchestrationInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterVmReadiness",lazy=True)(pname=(ns,"vmReadiness"), aname="_vmReadiness", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterVmOrchestrationInfo_Def.__bases__:
                bases = list(ns0.ClusterVmOrchestrationInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterVmOrchestrationInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfClusterVmOrchestrationInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfClusterVmOrchestrationInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfClusterVmOrchestrationInfo_Def.schema
            TClist = [GTD("urn:vim25","ClusterVmOrchestrationInfo",lazy=True)(pname=(ns,"ClusterVmOrchestrationInfo"), aname="_ClusterVmOrchestrationInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ClusterVmOrchestrationInfo = []
                    return
            Holder.__name__ = "ArrayOfClusterVmOrchestrationInfo_Holder"
            self.pyclass = Holder

    class ClusterVmReadinessReadyCondition_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterVmReadinessReadyCondition")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterVmReadiness_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterVmReadiness")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterVmReadiness_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"readyCondition"), aname="_readyCondition", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"postReadyDelay"), aname="_postReadyDelay", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterVmReadiness_Def.__bases__:
                bases = list(ns0.ClusterVmReadiness_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterVmReadiness_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterVmToolsMonitoringSettings_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterVmToolsMonitoringSettings")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterVmToolsMonitoringSettings_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmMonitoring"), aname="_vmMonitoring", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"clusterSettings"), aname="_clusterSettings", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"failureInterval"), aname="_failureInterval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"minUpTime"), aname="_minUpTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxFailures"), aname="_maxFailures", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxFailureWindow"), aname="_maxFailureWindow", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterVmToolsMonitoringSettings_Def.__bases__:
                bases = list(ns0.ClusterVmToolsMonitoringSettings_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterVmToolsMonitoringSettings_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVPortConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"scope"), aname="_scope", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortSetting",lazy=True)(pname=(ns,"setting"), aname="_setting", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configVersion"), aname="_configVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVPortConfigSpec_Def.__bases__:
                bases = list(ns0.DVPortConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVPortConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDVPortConfigSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDVPortConfigSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDVPortConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","DVPortConfigSpec",lazy=True)(pname=(ns,"DVPortConfigSpec"), aname="_DVPortConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DVPortConfigSpec = []
                    return
            Holder.__name__ = "ArrayOfDVPortConfigSpec_Holder"
            self.pyclass = Holder

    class DVPortConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"scope"), aname="_scope", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortSetting",lazy=True)(pname=(ns,"setting"), aname="_setting", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configVersion"), aname="_configVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVPortConfigInfo_Def.__bases__:
                bases = list(ns0.DVPortConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVPortConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSTrafficShapingPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSTrafficShapingPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSTrafficShapingPolicy_Def.schema
            TClist = [GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LongPolicy",lazy=True)(pname=(ns,"averageBandwidth"), aname="_averageBandwidth", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LongPolicy",lazy=True)(pname=(ns,"peakBandwidth"), aname="_peakBandwidth", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LongPolicy",lazy=True)(pname=(ns,"burstSize"), aname="_burstSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.DVSTrafficShapingPolicy_Def.__bases__:
                bases = list(ns0.DVSTrafficShapingPolicy_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.DVSTrafficShapingPolicy_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSHostLocalPortInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSHostLocalPortInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSHostLocalPortInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"switchUuid"), aname="_switchUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortSetting",lazy=True)(pname=(ns,"setting"), aname="_setting", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vnic"), aname="_vnic", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSHostLocalPortInfo_Def.__bases__:
                bases = list(ns0.DVSHostLocalPortInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSHostLocalPortInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSVendorSpecificConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSVendorSpecificConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSVendorSpecificConfig_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchKeyedOpaqueBlob",lazy=True)(pname=(ns,"keyValue"), aname="_keyValue", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.DVSVendorSpecificConfig_Def.__bases__:
                bases = list(ns0.DVSVendorSpecificConfig_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.DVSVendorSpecificConfig_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsFilterParameter_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsFilterParameter")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsFilterParameter_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"parameters"), aname="_parameters", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsFilterParameter_Def.__bases__:
                bases = list(ns0.DvsFilterParameter_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsFilterParameter_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsFilterOnFailure_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DvsFilterOnFailure")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DvsFilterConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsFilterConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsFilterConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"agentName"), aname="_agentName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"slotNumber"), aname="_slotNumber", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsFilterParameter",lazy=True)(pname=(ns,"parameters"), aname="_parameters", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"onFailure"), aname="_onFailure", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.DvsFilterConfig_Def.__bases__:
                bases = list(ns0.DvsFilterConfig_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.DvsFilterConfig_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDvsFilterConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDvsFilterConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDvsFilterConfig_Def.schema
            TClist = [GTD("urn:vim25","DvsFilterConfig",lazy=True)(pname=(ns,"DvsFilterConfig"), aname="_DvsFilterConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DvsFilterConfig = []
                    return
            Holder.__name__ = "ArrayOfDvsFilterConfig_Holder"
            self.pyclass = Holder

    class DvsTrafficFilterConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsTrafficFilterConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsTrafficFilterConfig_Def.schema
            TClist = [GTD("urn:vim25","DvsTrafficRuleset",lazy=True)(pname=(ns,"trafficRuleset"), aname="_trafficRuleset", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFilterConfig_Def not in ns0.DvsTrafficFilterConfig_Def.__bases__:
                bases = list(ns0.DvsTrafficFilterConfig_Def.__bases__)
                bases.insert(0, ns0.DvsFilterConfig_Def)
                ns0.DvsTrafficFilterConfig_Def.__bases__ = tuple(bases)

            ns0.DvsFilterConfig_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsFilterConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsFilterConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsFilterConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFilterConfig_Def not in ns0.DvsFilterConfigSpec_Def.__bases__:
                bases = list(ns0.DvsFilterConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DvsFilterConfig_Def)
                ns0.DvsFilterConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DvsFilterConfig_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsTrafficFilterConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsTrafficFilterConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsTrafficFilterConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsTrafficFilterConfig_Def not in ns0.DvsTrafficFilterConfigSpec_Def.__bases__:
                bases = list(ns0.DvsTrafficFilterConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DvsTrafficFilterConfig_Def)
                ns0.DvsTrafficFilterConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DvsTrafficFilterConfig_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsFilterPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsFilterPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsFilterPolicy_Def.schema
            TClist = [GTD("urn:vim25","DvsFilterConfig",lazy=True)(pname=(ns,"filterConfig"), aname="_filterConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.DvsFilterPolicy_Def.__bases__:
                bases = list(ns0.DvsFilterPolicy_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.DvsFilterPolicy_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVPortSetting_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortSetting")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortSetting_Def.schema
            TClist = [GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"blocked"), aname="_blocked", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"vmDirectPathGen2Allowed"), aname="_vmDirectPathGen2Allowed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSTrafficShapingPolicy",lazy=True)(pname=(ns,"inShapingPolicy"), aname="_inShapingPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSTrafficShapingPolicy",lazy=True)(pname=(ns,"outShapingPolicy"), aname="_outShapingPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSVendorSpecificConfig",lazy=True)(pname=(ns,"vendorSpecificConfig"), aname="_vendorSpecificConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StringPolicy",lazy=True)(pname=(ns,"networkResourcePoolKey"), aname="_networkResourcePoolKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsFilterPolicy",lazy=True)(pname=(ns,"filterPolicy"), aname="_filterPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVPortSetting_Def.__bases__:
                bases = list(ns0.DVPortSetting_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVPortSetting_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVPortStatusVmDirectPathGen2InactiveReasonNetwork_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DVPortStatusVmDirectPathGen2InactiveReasonNetwork")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DVPortStatusVmDirectPathGen2InactiveReasonOther_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DVPortStatusVmDirectPathGen2InactiveReasonOther")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DVPortStatus_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortStatus")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortStatus_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"linkUp"), aname="_linkUp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"blocked"), aname="_blocked", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NumericRange",lazy=True)(pname=(ns,"vlanIds"), aname="_vlanIds", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"trunkingMode"), aname="_trunkingMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"mtu"), aname="_mtu", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"linkPeer"), aname="_linkPeer", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"macAddress"), aname="_macAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"statusDetail"), aname="_statusDetail", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmDirectPathGen2Active"), aname="_vmDirectPathGen2Active", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmDirectPathGen2InactiveReasonNetwork"), aname="_vmDirectPathGen2InactiveReasonNetwork", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmDirectPathGen2InactiveReasonOther"), aname="_vmDirectPathGen2InactiveReasonOther", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmDirectPathGen2InactiveReasonExtended"), aname="_vmDirectPathGen2InactiveReasonExtended", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVPortStatus_Def.__bases__:
                bases = list(ns0.DVPortStatus_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVPortStatus_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVPortState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortState_Def.schema
            TClist = [GTD("urn:vim25","DVPortStatus",lazy=True)(pname=(ns,"runtimeInfo"), aname="_runtimeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchPortStatistics",lazy=True)(pname=(ns,"stats"), aname="_stats", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchKeyedOpaqueBlob",lazy=True)(pname=(ns,"vendorSpecificState"), aname="_vendorSpecificState", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVPortState_Def.__bases__:
                bases = list(ns0.DVPortState_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVPortState_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualPort_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualPort")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualPort_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortConfigInfo",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dvsUuid"), aname="_dvsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupKey"), aname="_portgroupKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"proxyHost"), aname="_proxyHost", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchPortConnectee",lazy=True)(pname=(ns,"connectee"), aname="_connectee", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"conflict"), aname="_conflict", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"conflictPortKey"), aname="_conflictPortKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortState",lazy=True)(pname=(ns,"state"), aname="_state", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"connectionCookie"), aname="_connectionCookie", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"lastStatusChange"), aname="_lastStatusChange", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hostLocalPort"), aname="_hostLocalPort", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualPort_Def.__bases__:
                bases = list(ns0.DistributedVirtualPort_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualPort_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDistributedVirtualPort_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDistributedVirtualPort")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDistributedVirtualPort_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualPort",lazy=True)(pname=(ns,"DistributedVirtualPort"), aname="_DistributedVirtualPort", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DistributedVirtualPort = []
                    return
            Holder.__name__ = "ArrayOfDistributedVirtualPort_Holder"
            self.pyclass = Holder

    class DistributedVirtualPortgroupPortgroupType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualPortgroupPortgroupType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DVPortgroupPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortgroupPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortgroupPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"blockOverrideAllowed"), aname="_blockOverrideAllowed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"shapingOverrideAllowed"), aname="_shapingOverrideAllowed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vendorConfigOverrideAllowed"), aname="_vendorConfigOverrideAllowed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"livePortMovingAllowed"), aname="_livePortMovingAllowed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"portConfigResetAtDisconnect"), aname="_portConfigResetAtDisconnect", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"networkResourcePoolOverrideAllowed"), aname="_networkResourcePoolOverrideAllowed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"trafficFilterOverrideAllowed"), aname="_trafficFilterOverrideAllowed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVPortgroupPolicy_Def.__bases__:
                bases = list(ns0.DVPortgroupPolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVPortgroupPolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualPortgroupMetaTagName_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualPortgroupMetaTagName")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DVPortgroupConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortgroupConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortgroupConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"configVersion"), aname="_configVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numPorts"), aname="_numPorts", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portNameFormat"), aname="_portNameFormat", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortSetting",lazy=True)(pname=(ns,"defaultPortConfig"), aname="_defaultPortConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"scope"), aname="_scope", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortgroupPolicy",lazy=True)(pname=(ns,"policy"), aname="_policy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchKeyedOpaqueBlob",lazy=True)(pname=(ns,"vendorSpecificConfig"), aname="_vendorSpecificConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"autoExpand"), aname="_autoExpand", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmVnicNetworkResourcePoolKey"), aname="_vmVnicNetworkResourcePoolKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVPortgroupConfigSpec_Def.__bases__:
                bases = list(ns0.DVPortgroupConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVPortgroupConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDVPortgroupConfigSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDVPortgroupConfigSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDVPortgroupConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","DVPortgroupConfigSpec",lazy=True)(pname=(ns,"DVPortgroupConfigSpec"), aname="_DVPortgroupConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DVPortgroupConfigSpec = []
                    return
            Holder.__name__ = "ArrayOfDVPortgroupConfigSpec_Holder"
            self.pyclass = Holder

    class DVPortgroupConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortgroupConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortgroupConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numPorts"), aname="_numPorts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"distributedVirtualSwitch"), aname="_distributedVirtualSwitch", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortSetting",lazy=True)(pname=(ns,"defaultPortConfig"), aname="_defaultPortConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortgroupPolicy",lazy=True)(pname=(ns,"policy"), aname="_policy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portNameFormat"), aname="_portNameFormat", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"scope"), aname="_scope", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchKeyedOpaqueBlob",lazy=True)(pname=(ns,"vendorSpecificConfig"), aname="_vendorSpecificConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configVersion"), aname="_configVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"autoExpand"), aname="_autoExpand", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmVnicNetworkResourcePoolKey"), aname="_vmVnicNetworkResourcePoolKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"uplink"), aname="_uplink", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVPortgroupConfigInfo_Def.__bases__:
                bases = list(ns0.DVPortgroupConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVPortgroupConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualPortgroupInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualPortgroupInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualPortgroupInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"switchName"), aname="_switchName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"switchUuid"), aname="_switchUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupName"), aname="_portgroupName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupKey"), aname="_portgroupKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupType"), aname="_portgroupType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"uplinkPortgroup"), aname="_uplinkPortgroup", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"portgroup"), aname="_portgroup", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"networkReservationSupported"), aname="_networkReservationSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualPortgroupInfo_Def.__bases__:
                bases = list(ns0.DistributedVirtualPortgroupInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualPortgroupInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDistributedVirtualPortgroupInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDistributedVirtualPortgroupInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDistributedVirtualPortgroupInfo_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualPortgroupInfo",lazy=True)(pname=(ns,"DistributedVirtualPortgroupInfo"), aname="_DistributedVirtualPortgroupInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DistributedVirtualPortgroupInfo = []
                    return
            Holder.__name__ = "ArrayOfDistributedVirtualPortgroupInfo_Holder"
            self.pyclass = Holder

    class DVPortgroupSelection_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortgroupSelection")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortgroupSelection_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"dvsUuid"), aname="_dvsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupKey"), aname="_portgroupKey", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SelectionSet_Def not in ns0.DVPortgroupSelection_Def.__bases__:
                bases = list(ns0.DVPortgroupSelection_Def.__bases__)
                bases.insert(0, ns0.SelectionSet_Def)
                ns0.DVPortgroupSelection_Def.__bases__ = tuple(bases)

            ns0.SelectionSet_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"switchName"), aname="_switchName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"switchUuid"), aname="_switchUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"distributedVirtualSwitch"), aname="_distributedVirtualSwitch", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"networkReservationSupported"), aname="_networkReservationSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchInfo_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDistributedVirtualSwitchInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDistributedVirtualSwitchInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDistributedVirtualSwitchInfo_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchInfo",lazy=True)(pname=(ns,"DistributedVirtualSwitchInfo"), aname="_DistributedVirtualSwitchInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DistributedVirtualSwitchInfo = []
                    return
            Holder.__name__ = "ArrayOfDistributedVirtualSwitchInfo_Holder"
            self.pyclass = Holder

    class DVSManagerDvsConfigTarget_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSManagerDvsConfigTarget")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSManagerDvsConfigTarget_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualPortgroupInfo",lazy=True)(pname=(ns,"distributedVirtualPortgroup"), aname="_distributedVirtualPortgroup", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchInfo",lazy=True)(pname=(ns,"distributedVirtualSwitch"), aname="_distributedVirtualSwitch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSManagerDvsConfigTarget_Def.__bases__:
                bases = list(ns0.DVSManagerDvsConfigTarget_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSManagerDvsConfigTarget_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchManagerCompatibilityResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchManagerCompatibilityResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchManagerCompatibilityResult_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchManagerCompatibilityResult_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchManagerCompatibilityResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchManagerCompatibilityResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDistributedVirtualSwitchManagerCompatibilityResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDistributedVirtualSwitchManagerCompatibilityResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDistributedVirtualSwitchManagerCompatibilityResult_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchManagerCompatibilityResult",lazy=True)(pname=(ns,"DistributedVirtualSwitchManagerCompatibilityResult"), aname="_DistributedVirtualSwitchManagerCompatibilityResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DistributedVirtualSwitchManagerCompatibilityResult = []
                    return
            Holder.__name__ = "ArrayOfDistributedVirtualSwitchManagerCompatibilityResult_Holder"
            self.pyclass = Holder

    class DistributedVirtualSwitchManagerHostContainer_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchManagerHostContainer")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchManagerHostContainer_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"container"), aname="_container", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"recursive"), aname="_recursive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchManagerHostContainer_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchManagerHostContainer_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchManagerHostContainer_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchManagerHostDvsFilterSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchManagerHostDvsFilterSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchManagerHostDvsFilterSpec_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"inclusive"), aname="_inclusive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchManagerHostDvsFilterSpec_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchManagerHostDvsFilterSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchManagerHostDvsFilterSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDistributedVirtualSwitchManagerHostDvsFilterSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDistributedVirtualSwitchManagerHostDvsFilterSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDistributedVirtualSwitchManagerHostDvsFilterSpec_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchManagerHostDvsFilterSpec",lazy=True)(pname=(ns,"DistributedVirtualSwitchManagerHostDvsFilterSpec"), aname="_DistributedVirtualSwitchManagerHostDvsFilterSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DistributedVirtualSwitchManagerHostDvsFilterSpec = []
                    return
            Holder.__name__ = "ArrayOfDistributedVirtualSwitchManagerHostDvsFilterSpec_Holder"
            self.pyclass = Holder

    class DistributedVirtualSwitchManagerHostArrayFilter_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchManagerHostArrayFilter")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchManagerHostArrayFilter_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DistributedVirtualSwitchManagerHostDvsFilterSpec_Def not in ns0.DistributedVirtualSwitchManagerHostArrayFilter_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchManagerHostArrayFilter_Def.__bases__)
                bases.insert(0, ns0.DistributedVirtualSwitchManagerHostDvsFilterSpec_Def)
                ns0.DistributedVirtualSwitchManagerHostArrayFilter_Def.__bases__ = tuple(bases)

            ns0.DistributedVirtualSwitchManagerHostDvsFilterSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchManagerHostContainerFilter_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchManagerHostContainerFilter")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchManagerHostContainerFilter_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchManagerHostContainer",lazy=True)(pname=(ns,"hostContainer"), aname="_hostContainer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DistributedVirtualSwitchManagerHostDvsFilterSpec_Def not in ns0.DistributedVirtualSwitchManagerHostContainerFilter_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchManagerHostContainerFilter_Def.__bases__)
                bases.insert(0, ns0.DistributedVirtualSwitchManagerHostDvsFilterSpec_Def)
                ns0.DistributedVirtualSwitchManagerHostContainerFilter_Def.__bases__ = tuple(bases)

            ns0.DistributedVirtualSwitchManagerHostDvsFilterSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchManagerHostDvsMembershipFilter_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchManagerHostDvsMembershipFilter")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchManagerHostDvsMembershipFilter_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"distributedVirtualSwitch"), aname="_distributedVirtualSwitch", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DistributedVirtualSwitchManagerHostDvsFilterSpec_Def not in ns0.DistributedVirtualSwitchManagerHostDvsMembershipFilter_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchManagerHostDvsMembershipFilter_Def.__bases__)
                bases.insert(0, ns0.DistributedVirtualSwitchManagerHostDvsFilterSpec_Def)
                ns0.DistributedVirtualSwitchManagerHostDvsMembershipFilter_Def.__bases__ = tuple(bases)

            ns0.DistributedVirtualSwitchManagerHostDvsFilterSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchManagerDvsProductSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchManagerDvsProductSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchManagerDvsProductSpec_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"newSwitchProductSpec"), aname="_newSwitchProductSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"distributedVirtualSwitch"), aname="_distributedVirtualSwitch", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchManagerDvsProductSpec_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchManagerDvsProductSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchManagerDvsProductSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchManagerImportResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchManagerImportResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchManagerImportResult_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"distributedVirtualSwitch"), aname="_distributedVirtualSwitch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"distributedVirtualPortgroup"), aname="_distributedVirtualPortgroup", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ImportOperationBulkFaultFaultOnImport",lazy=True)(pname=(ns,"importFault"), aname="_importFault", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchManagerImportResult_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchManagerImportResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchManagerImportResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSSelection_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSSelection")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSSelection_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"dvsUuid"), aname="_dvsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SelectionSet_Def not in ns0.DVSSelection_Def.__bases__:
                bases = list(ns0.DVSSelection_Def.__bases__)
                bases.insert(0, ns0.SelectionSet_Def)
                ns0.DVSSelection_Def.__bases__ = tuple(bases)

            ns0.SelectionSet_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EntityBackupConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EntityBackupConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EntityBackupConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"entityType"), aname="_entityType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Base64String(pname=(ns,"configBlob"), aname="_configBlob", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"container"), aname="_container", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configVersion"), aname="_configVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.EntityBackupConfig_Def.__bases__:
                bases = list(ns0.EntityBackupConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.EntityBackupConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfEntityBackupConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfEntityBackupConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfEntityBackupConfig_Def.schema
            TClist = [GTD("urn:vim25","EntityBackupConfig",lazy=True)(pname=(ns,"EntityBackupConfig"), aname="_EntityBackupConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._EntityBackupConfig = []
                    return
            Holder.__name__ = "ArrayOfEntityBackupConfig_Holder"
            self.pyclass = Holder

    class EntityType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EntityType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class EntityImportType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EntityImportType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class EntityBackup_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EntityBackup")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EntityBackup_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.EntityBackup_Def.__bases__:
                bases = list(ns0.EntityBackup_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.EntityBackup_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchHostMemberHostComponentState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchHostMemberHostComponentState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DistributedVirtualSwitchHostMemberConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchHostMemberConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchHostMemberConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchHostMemberBacking",lazy=True)(pname=(ns,"backing"), aname="_backing", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxProxySwitchPorts"), aname="_maxProxySwitchPorts", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchKeyedOpaqueBlob",lazy=True)(pname=(ns,"vendorSpecificConfig"), aname="_vendorSpecificConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchHostMemberConfigSpec_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchHostMemberConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchHostMemberConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDistributedVirtualSwitchHostMemberConfigSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDistributedVirtualSwitchHostMemberConfigSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDistributedVirtualSwitchHostMemberConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchHostMemberConfigSpec",lazy=True)(pname=(ns,"DistributedVirtualSwitchHostMemberConfigSpec"), aname="_DistributedVirtualSwitchHostMemberConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DistributedVirtualSwitchHostMemberConfigSpec = []
                    return
            Holder.__name__ = "ArrayOfDistributedVirtualSwitchHostMemberConfigSpec_Holder"
            self.pyclass = Holder

    class DistributedVirtualSwitchHostMemberPnicSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchHostMemberPnicSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchHostMemberPnicSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"pnicDevice"), aname="_pnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uplinkPortKey"), aname="_uplinkPortKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uplinkPortgroupKey"), aname="_uplinkPortgroupKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"connectionCookie"), aname="_connectionCookie", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchHostMemberPnicSpec_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchHostMemberPnicSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchHostMemberPnicSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDistributedVirtualSwitchHostMemberPnicSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDistributedVirtualSwitchHostMemberPnicSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDistributedVirtualSwitchHostMemberPnicSpec_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchHostMemberPnicSpec",lazy=True)(pname=(ns,"DistributedVirtualSwitchHostMemberPnicSpec"), aname="_DistributedVirtualSwitchHostMemberPnicSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DistributedVirtualSwitchHostMemberPnicSpec = []
                    return
            Holder.__name__ = "ArrayOfDistributedVirtualSwitchHostMemberPnicSpec_Holder"
            self.pyclass = Holder

    class DistributedVirtualSwitchHostMemberBacking_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchHostMemberBacking")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchHostMemberBacking_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchHostMemberBacking_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchHostMemberBacking_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchHostMemberBacking_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchHostMemberPnicBacking_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchHostMemberPnicBacking")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchHostMemberPnicBacking_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchHostMemberPnicSpec",lazy=True)(pname=(ns,"pnicSpec"), aname="_pnicSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DistributedVirtualSwitchHostMemberBacking_Def not in ns0.DistributedVirtualSwitchHostMemberPnicBacking_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchHostMemberPnicBacking_Def.__bases__)
                bases.insert(0, ns0.DistributedVirtualSwitchHostMemberBacking_Def)
                ns0.DistributedVirtualSwitchHostMemberPnicBacking_Def.__bases__ = tuple(bases)

            ns0.DistributedVirtualSwitchHostMemberBacking_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchHostMemberRuntimeState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchHostMemberRuntimeState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchHostMemberRuntimeState_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"currentMaxProxySwitchPorts"), aname="_currentMaxProxySwitchPorts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchHostMemberRuntimeState_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchHostMemberRuntimeState_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchHostMemberRuntimeState_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchHostMemberConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchHostMemberConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchHostMemberConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxProxySwitchPorts"), aname="_maxProxySwitchPorts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchKeyedOpaqueBlob",lazy=True)(pname=(ns,"vendorSpecificConfig"), aname="_vendorSpecificConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchHostMemberBacking",lazy=True)(pname=(ns,"backing"), aname="_backing", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchHostMemberConfigInfo_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchHostMemberConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchHostMemberConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostMemberRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMemberRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMemberRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"status"), aname="_status", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"statusDetail"), aname="_statusDetail", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostMemberHealthCheckResult",lazy=True)(pname=(ns,"healthCheckResult"), aname="_healthCheckResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostMemberRuntimeInfo_Def.__bases__:
                bases = list(ns0.HostMemberRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostMemberRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostMemberRuntimeInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostMemberRuntimeInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostMemberRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","HostMemberRuntimeInfo",lazy=True)(pname=(ns,"HostMemberRuntimeInfo"), aname="_HostMemberRuntimeInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostMemberRuntimeInfo = []
                    return
            Holder.__name__ = "ArrayOfHostMemberRuntimeInfo_Holder"
            self.pyclass = Holder

    class HostMemberHealthCheckResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMemberHealthCheckResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMemberHealthCheckResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"summary"), aname="_summary", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostMemberHealthCheckResult_Def.__bases__:
                bases = list(ns0.HostMemberHealthCheckResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostMemberHealthCheckResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostMemberHealthCheckResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostMemberHealthCheckResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostMemberHealthCheckResult_Def.schema
            TClist = [GTD("urn:vim25","HostMemberHealthCheckResult",lazy=True)(pname=(ns,"HostMemberHealthCheckResult"), aname="_HostMemberHealthCheckResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostMemberHealthCheckResult = []
                    return
            Holder.__name__ = "ArrayOfHostMemberHealthCheckResult_Holder"
            self.pyclass = Holder

    class HostMemberUplinkHealthCheckResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMemberUplinkHealthCheckResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMemberUplinkHealthCheckResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uplinkPortKey"), aname="_uplinkPortKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostMemberHealthCheckResult_Def not in ns0.HostMemberUplinkHealthCheckResult_Def.__bases__:
                bases = list(ns0.HostMemberUplinkHealthCheckResult_Def.__bases__)
                bases.insert(0, ns0.HostMemberHealthCheckResult_Def)
                ns0.HostMemberUplinkHealthCheckResult_Def.__bases__ = tuple(bases)

            ns0.HostMemberHealthCheckResult_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchHostMember_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchHostMember")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchHostMember_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchHostMemberRuntimeState",lazy=True)(pname=(ns,"runtimeState"), aname="_runtimeState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchHostMemberConfigInfo",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"productInfo"), aname="_productInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uplinkPortKey"), aname="_uplinkPortKey", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"statusDetail"), aname="_statusDetail", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchHostMember_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchHostMember_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchHostMember_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDistributedVirtualSwitchHostMember_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDistributedVirtualSwitchHostMember")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDistributedVirtualSwitchHostMember_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchHostMember",lazy=True)(pname=(ns,"DistributedVirtualSwitchHostMember"), aname="_DistributedVirtualSwitchHostMember", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DistributedVirtualSwitchHostMember = []
                    return
            Holder.__name__ = "ArrayOfDistributedVirtualSwitchHostMember_Holder"
            self.pyclass = Holder

    class DistributedVirtualSwitchHostProductSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchHostProductSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchHostProductSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"productLineId"), aname="_productLineId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchHostProductSpec_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchHostProductSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchHostProductSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDistributedVirtualSwitchHostProductSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDistributedVirtualSwitchHostProductSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDistributedVirtualSwitchHostProductSpec_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchHostProductSpec",lazy=True)(pname=(ns,"DistributedVirtualSwitchHostProductSpec"), aname="_DistributedVirtualSwitchHostProductSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DistributedVirtualSwitchHostProductSpec = []
                    return
            Holder.__name__ = "ArrayOfDistributedVirtualSwitchHostProductSpec_Holder"
            self.pyclass = Holder

    class DistributedVirtualSwitchKeyedOpaqueBlob_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchKeyedOpaqueBlob")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchKeyedOpaqueBlob_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"opaqueData"), aname="_opaqueData", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchKeyedOpaqueBlob_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchKeyedOpaqueBlob_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchKeyedOpaqueBlob_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDistributedVirtualSwitchKeyedOpaqueBlob_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDistributedVirtualSwitchKeyedOpaqueBlob")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDistributedVirtualSwitchKeyedOpaqueBlob_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchKeyedOpaqueBlob",lazy=True)(pname=(ns,"DistributedVirtualSwitchKeyedOpaqueBlob"), aname="_DistributedVirtualSwitchKeyedOpaqueBlob", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DistributedVirtualSwitchKeyedOpaqueBlob = []
                    return
            Holder.__name__ = "ArrayOfDistributedVirtualSwitchKeyedOpaqueBlob_Holder"
            self.pyclass = Holder

    class DVSNetworkResourcePoolAllocationInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSNetworkResourcePoolAllocationInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSNetworkResourcePoolAllocationInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"limit"), aname="_limit", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SharesInfo",lazy=True)(pname=(ns,"shares"), aname="_shares", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"priorityTag"), aname="_priorityTag", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSNetworkResourcePoolAllocationInfo_Def.__bases__:
                bases = list(ns0.DVSNetworkResourcePoolAllocationInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSNetworkResourcePoolAllocationInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSNetworkResourcePoolConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSNetworkResourcePoolConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSNetworkResourcePoolConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configVersion"), aname="_configVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSNetworkResourcePoolAllocationInfo",lazy=True)(pname=(ns,"allocationInfo"), aname="_allocationInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSNetworkResourcePoolConfigSpec_Def.__bases__:
                bases = list(ns0.DVSNetworkResourcePoolConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSNetworkResourcePoolConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDVSNetworkResourcePoolConfigSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDVSNetworkResourcePoolConfigSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDVSNetworkResourcePoolConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","DVSNetworkResourcePoolConfigSpec",lazy=True)(pname=(ns,"DVSNetworkResourcePoolConfigSpec"), aname="_DVSNetworkResourcePoolConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DVSNetworkResourcePoolConfigSpec = []
                    return
            Holder.__name__ = "ArrayOfDVSNetworkResourcePoolConfigSpec_Holder"
            self.pyclass = Holder

    class DVSNetworkResourcePool_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSNetworkResourcePool")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSNetworkResourcePool_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configVersion"), aname="_configVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSNetworkResourcePoolAllocationInfo",lazy=True)(pname=(ns,"allocationInfo"), aname="_allocationInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSNetworkResourcePool_Def.__bases__:
                bases = list(ns0.DVSNetworkResourcePool_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSNetworkResourcePool_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDVSNetworkResourcePool_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDVSNetworkResourcePool")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDVSNetworkResourcePool_Def.schema
            TClist = [GTD("urn:vim25","DVSNetworkResourcePool",lazy=True)(pname=(ns,"DVSNetworkResourcePool"), aname="_DVSNetworkResourcePool", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DVSNetworkResourcePool = []
                    return
            Holder.__name__ = "ArrayOfDVSNetworkResourcePool_Holder"
            self.pyclass = Holder

    class DistributedVirtualSwitchPortConnecteeConnecteeType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchPortConnecteeConnecteeType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DistributedVirtualSwitchPortConnectee_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchPortConnectee")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchPortConnectee_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"connectedEntity"), aname="_connectedEntity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nicKey"), aname="_nicKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"addressHint"), aname="_addressHint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchPortConnectee_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchPortConnectee_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchPortConnectee_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchPortConnection_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchPortConnection")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchPortConnection_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"switchUuid"), aname="_switchUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupKey"), aname="_portgroupKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"connectionCookie"), aname="_connectionCookie", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchPortConnection_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchPortConnection_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchPortConnection_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchPortCriteria_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchPortCriteria")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchPortCriteria_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"connected"), aname="_connected", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"active"), aname="_active", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"uplinkPort"), aname="_uplinkPort", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"scope"), aname="_scope", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupKey"), aname="_portgroupKey", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"inside"), aname="_inside", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchPortCriteria_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchPortCriteria_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchPortCriteria_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchPortStatistics_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchPortStatistics")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchPortStatistics_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"packetsInMulticast"), aname="_packetsInMulticast", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"packetsOutMulticast"), aname="_packetsOutMulticast", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"bytesInMulticast"), aname="_bytesInMulticast", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"bytesOutMulticast"), aname="_bytesOutMulticast", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"packetsInUnicast"), aname="_packetsInUnicast", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"packetsOutUnicast"), aname="_packetsOutUnicast", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"bytesInUnicast"), aname="_bytesInUnicast", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"bytesOutUnicast"), aname="_bytesOutUnicast", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"packetsInBroadcast"), aname="_packetsInBroadcast", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"packetsOutBroadcast"), aname="_packetsOutBroadcast", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"bytesInBroadcast"), aname="_bytesInBroadcast", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"bytesOutBroadcast"), aname="_bytesOutBroadcast", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"packetsInDropped"), aname="_packetsInDropped", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"packetsOutDropped"), aname="_packetsOutDropped", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"packetsInException"), aname="_packetsInException", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"packetsOutException"), aname="_packetsOutException", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"bytesInFromPnic"), aname="_bytesInFromPnic", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"bytesOutToPnic"), aname="_bytesOutToPnic", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchPortStatistics_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchPortStatistics_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchPortStatistics_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DistributedVirtualSwitchProductSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DistributedVirtualSwitchProductSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DistributedVirtualSwitchProductSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendor"), aname="_vendor", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"build"), aname="_build", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"forwardingClass"), aname="_forwardingClass", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"bundleId"), aname="_bundleId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"bundleUrl"), aname="_bundleUrl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DistributedVirtualSwitchProductSpec_Def.__bases__:
                bases = list(ns0.DistributedVirtualSwitchProductSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DistributedVirtualSwitchProductSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDistributedVirtualSwitchProductSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDistributedVirtualSwitchProductSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDistributedVirtualSwitchProductSpec_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"DistributedVirtualSwitchProductSpec"), aname="_DistributedVirtualSwitchProductSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DistributedVirtualSwitchProductSpec = []
                    return
            Holder.__name__ = "ArrayOfDistributedVirtualSwitchProductSpec_Holder"
            self.pyclass = Holder

    class DvsNetworkRuleQualifier_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsNetworkRuleQualifier")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsNetworkRuleQualifier_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsNetworkRuleQualifier_Def.__bases__:
                bases = list(ns0.DvsNetworkRuleQualifier_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsNetworkRuleQualifier_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDvsNetworkRuleQualifier_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDvsNetworkRuleQualifier")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDvsNetworkRuleQualifier_Def.schema
            TClist = [GTD("urn:vim25","DvsNetworkRuleQualifier",lazy=True)(pname=(ns,"DvsNetworkRuleQualifier"), aname="_DvsNetworkRuleQualifier", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DvsNetworkRuleQualifier = []
                    return
            Holder.__name__ = "ArrayOfDvsNetworkRuleQualifier_Holder"
            self.pyclass = Holder

    class DvsNetworkRuleAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsNetworkRuleAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsNetworkRuleAction_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsNetworkRuleAction_Def.__bases__:
                bases = list(ns0.DvsNetworkRuleAction_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsNetworkRuleAction_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsNetworkRuleDirectionType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DvsNetworkRuleDirectionType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DvsIpNetworkRuleQualifier_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsIpNetworkRuleQualifier")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsIpNetworkRuleQualifier_Def.schema
            TClist = [GTD("urn:vim25","IpAddress",lazy=True)(pname=(ns,"sourceAddress"), aname="_sourceAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IpAddress",lazy=True)(pname=(ns,"destinationAddress"), aname="_destinationAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntExpression",lazy=True)(pname=(ns,"protocol"), aname="_protocol", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsIpPort",lazy=True)(pname=(ns,"sourceIpPort"), aname="_sourceIpPort", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsIpPort",lazy=True)(pname=(ns,"destinationIpPort"), aname="_destinationIpPort", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntExpression",lazy=True)(pname=(ns,"tcpFlags"), aname="_tcpFlags", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsNetworkRuleQualifier_Def not in ns0.DvsIpNetworkRuleQualifier_Def.__bases__:
                bases = list(ns0.DvsIpNetworkRuleQualifier_Def.__bases__)
                bases.insert(0, ns0.DvsNetworkRuleQualifier_Def)
                ns0.DvsIpNetworkRuleQualifier_Def.__bases__ = tuple(bases)

            ns0.DvsNetworkRuleQualifier_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsIpPort_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsIpPort")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsIpPort_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NegatableExpression_Def not in ns0.DvsIpPort_Def.__bases__:
                bases = list(ns0.DvsIpPort_Def.__bases__)
                bases.insert(0, ns0.NegatableExpression_Def)
                ns0.DvsIpPort_Def.__bases__ = tuple(bases)

            ns0.NegatableExpression_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsSingleIpPort_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsSingleIpPort")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsSingleIpPort_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"portNumber"), aname="_portNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsIpPort_Def not in ns0.DvsSingleIpPort_Def.__bases__:
                bases = list(ns0.DvsSingleIpPort_Def.__bases__)
                bases.insert(0, ns0.DvsIpPort_Def)
                ns0.DvsSingleIpPort_Def.__bases__ = tuple(bases)

            ns0.DvsIpPort_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsIpPortRange_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsIpPortRange")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsIpPortRange_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"startPortNumber"), aname="_startPortNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"endPortNumber"), aname="_endPortNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsIpPort_Def not in ns0.DvsIpPortRange_Def.__bases__:
                bases = list(ns0.DvsIpPortRange_Def.__bases__)
                bases.insert(0, ns0.DvsIpPort_Def)
                ns0.DvsIpPortRange_Def.__bases__ = tuple(bases)

            ns0.DvsIpPort_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsMacNetworkRuleQualifier_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsMacNetworkRuleQualifier")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsMacNetworkRuleQualifier_Def.schema
            TClist = [GTD("urn:vim25","MacAddress",lazy=True)(pname=(ns,"sourceAddress"), aname="_sourceAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","MacAddress",lazy=True)(pname=(ns,"destinationAddress"), aname="_destinationAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntExpression",lazy=True)(pname=(ns,"protocol"), aname="_protocol", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntExpression",lazy=True)(pname=(ns,"vlanId"), aname="_vlanId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsNetworkRuleQualifier_Def not in ns0.DvsMacNetworkRuleQualifier_Def.__bases__:
                bases = list(ns0.DvsMacNetworkRuleQualifier_Def.__bases__)
                bases.insert(0, ns0.DvsNetworkRuleQualifier_Def)
                ns0.DvsMacNetworkRuleQualifier_Def.__bases__ = tuple(bases)

            ns0.DvsNetworkRuleQualifier_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsSystemTrafficNetworkRuleQualifier_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsSystemTrafficNetworkRuleQualifier")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsSystemTrafficNetworkRuleQualifier_Def.schema
            TClist = [GTD("urn:vim25","StringExpression",lazy=True)(pname=(ns,"typeOfSystemTraffic"), aname="_typeOfSystemTraffic", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsNetworkRuleQualifier_Def not in ns0.DvsSystemTrafficNetworkRuleQualifier_Def.__bases__:
                bases = list(ns0.DvsSystemTrafficNetworkRuleQualifier_Def.__bases__)
                bases.insert(0, ns0.DvsNetworkRuleQualifier_Def)
                ns0.DvsSystemTrafficNetworkRuleQualifier_Def.__bases__ = tuple(bases)

            ns0.DvsNetworkRuleQualifier_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsDropNetworkRuleAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsDropNetworkRuleAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsDropNetworkRuleAction_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsNetworkRuleAction_Def not in ns0.DvsDropNetworkRuleAction_Def.__bases__:
                bases = list(ns0.DvsDropNetworkRuleAction_Def.__bases__)
                bases.insert(0, ns0.DvsNetworkRuleAction_Def)
                ns0.DvsDropNetworkRuleAction_Def.__bases__ = tuple(bases)

            ns0.DvsNetworkRuleAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsAcceptNetworkRuleAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsAcceptNetworkRuleAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsAcceptNetworkRuleAction_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsNetworkRuleAction_Def not in ns0.DvsAcceptNetworkRuleAction_Def.__bases__:
                bases = list(ns0.DvsAcceptNetworkRuleAction_Def.__bases__)
                bases.insert(0, ns0.DvsNetworkRuleAction_Def)
                ns0.DvsAcceptNetworkRuleAction_Def.__bases__ = tuple(bases)

            ns0.DvsNetworkRuleAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsUpdateTagNetworkRuleAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsUpdateTagNetworkRuleAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsUpdateTagNetworkRuleAction_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"qosTag"), aname="_qosTag", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"dscpTag"), aname="_dscpTag", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsNetworkRuleAction_Def not in ns0.DvsUpdateTagNetworkRuleAction_Def.__bases__:
                bases = list(ns0.DvsUpdateTagNetworkRuleAction_Def.__bases__)
                bases.insert(0, ns0.DvsNetworkRuleAction_Def)
                ns0.DvsUpdateTagNetworkRuleAction_Def.__bases__ = tuple(bases)

            ns0.DvsNetworkRuleAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsRateLimitNetworkRuleAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsRateLimitNetworkRuleAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsRateLimitNetworkRuleAction_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"packetsPerSecond"), aname="_packetsPerSecond", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsNetworkRuleAction_Def not in ns0.DvsRateLimitNetworkRuleAction_Def.__bases__:
                bases = list(ns0.DvsRateLimitNetworkRuleAction_Def.__bases__)
                bases.insert(0, ns0.DvsNetworkRuleAction_Def)
                ns0.DvsRateLimitNetworkRuleAction_Def.__bases__ = tuple(bases)

            ns0.DvsNetworkRuleAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsLogNetworkRuleAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsLogNetworkRuleAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsLogNetworkRuleAction_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsNetworkRuleAction_Def not in ns0.DvsLogNetworkRuleAction_Def.__bases__:
                bases = list(ns0.DvsLogNetworkRuleAction_Def.__bases__)
                bases.insert(0, ns0.DvsNetworkRuleAction_Def)
                ns0.DvsLogNetworkRuleAction_Def.__bases__ = tuple(bases)

            ns0.DvsNetworkRuleAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsGreEncapNetworkRuleAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsGreEncapNetworkRuleAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsGreEncapNetworkRuleAction_Def.schema
            TClist = [GTD("urn:vim25","SingleIp",lazy=True)(pname=(ns,"encapsulationIp"), aname="_encapsulationIp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsNetworkRuleAction_Def not in ns0.DvsGreEncapNetworkRuleAction_Def.__bases__:
                bases = list(ns0.DvsGreEncapNetworkRuleAction_Def.__bases__)
                bases.insert(0, ns0.DvsNetworkRuleAction_Def)
                ns0.DvsGreEncapNetworkRuleAction_Def.__bases__ = tuple(bases)

            ns0.DvsNetworkRuleAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsMacRewriteNetworkRuleAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsMacRewriteNetworkRuleAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsMacRewriteNetworkRuleAction_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"rewriteMac"), aname="_rewriteMac", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsNetworkRuleAction_Def not in ns0.DvsMacRewriteNetworkRuleAction_Def.__bases__:
                bases = list(ns0.DvsMacRewriteNetworkRuleAction_Def.__bases__)
                bases.insert(0, ns0.DvsNetworkRuleAction_Def)
                ns0.DvsMacRewriteNetworkRuleAction_Def.__bases__ = tuple(bases)

            ns0.DvsNetworkRuleAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPuntNetworkRuleAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPuntNetworkRuleAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPuntNetworkRuleAction_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsNetworkRuleAction_Def not in ns0.DvsPuntNetworkRuleAction_Def.__bases__:
                bases = list(ns0.DvsPuntNetworkRuleAction_Def.__bases__)
                bases.insert(0, ns0.DvsNetworkRuleAction_Def)
                ns0.DvsPuntNetworkRuleAction_Def.__bases__ = tuple(bases)

            ns0.DvsNetworkRuleAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsCopyNetworkRuleAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsCopyNetworkRuleAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsCopyNetworkRuleAction_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsNetworkRuleAction_Def not in ns0.DvsCopyNetworkRuleAction_Def.__bases__:
                bases = list(ns0.DvsCopyNetworkRuleAction_Def.__bases__)
                bases.insert(0, ns0.DvsNetworkRuleAction_Def)
                ns0.DvsCopyNetworkRuleAction_Def.__bases__ = tuple(bases)

            ns0.DvsNetworkRuleAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsTrafficRule_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsTrafficRule")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsTrafficRule_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"sequence"), aname="_sequence", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsNetworkRuleQualifier",lazy=True)(pname=(ns,"qualifier"), aname="_qualifier", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsNetworkRuleAction",lazy=True)(pname=(ns,"action"), aname="_action", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"direction"), aname="_direction", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsTrafficRule_Def.__bases__:
                bases = list(ns0.DvsTrafficRule_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsTrafficRule_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDvsTrafficRule_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDvsTrafficRule")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDvsTrafficRule_Def.schema
            TClist = [GTD("urn:vim25","DvsTrafficRule",lazy=True)(pname=(ns,"DvsTrafficRule"), aname="_DvsTrafficRule", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DvsTrafficRule = []
                    return
            Holder.__name__ = "ArrayOfDvsTrafficRule_Holder"
            self.pyclass = Holder

    class DvsTrafficRuleset_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsTrafficRuleset")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsTrafficRuleset_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"precedence"), aname="_precedence", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsTrafficRule",lazy=True)(pname=(ns,"rules"), aname="_rules", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsTrafficRuleset_Def.__bases__:
                bases = list(ns0.DvsTrafficRuleset_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsTrafficRuleset_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsVmVnicResourceAllocation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsVmVnicResourceAllocation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsVmVnicResourceAllocation_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"reservationQuota"), aname="_reservationQuota", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsVmVnicResourceAllocation_Def.__bases__:
                bases = list(ns0.DvsVmVnicResourceAllocation_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsVmVnicResourceAllocation_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsVmVnicResourcePoolConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsVmVnicResourcePoolConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsVmVnicResourcePoolConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configVersion"), aname="_configVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsVmVnicResourceAllocation",lazy=True)(pname=(ns,"allocationInfo"), aname="_allocationInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsVmVnicResourcePoolConfigSpec_Def.__bases__:
                bases = list(ns0.DvsVmVnicResourcePoolConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsVmVnicResourcePoolConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDvsVmVnicResourcePoolConfigSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDvsVmVnicResourcePoolConfigSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDvsVmVnicResourcePoolConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","DvsVmVnicResourcePoolConfigSpec",lazy=True)(pname=(ns,"DvsVmVnicResourcePoolConfigSpec"), aname="_DvsVmVnicResourcePoolConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DvsVmVnicResourcePoolConfigSpec = []
                    return
            Holder.__name__ = "ArrayOfDvsVmVnicResourcePoolConfigSpec_Holder"
            self.pyclass = Holder

    class DvsVnicAllocatedResource_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsVnicAllocatedResource")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsVnicAllocatedResource_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vnicKey"), aname="_vnicKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"reservation"), aname="_reservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsVnicAllocatedResource_Def.__bases__:
                bases = list(ns0.DvsVnicAllocatedResource_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsVnicAllocatedResource_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDvsVnicAllocatedResource_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDvsVnicAllocatedResource")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDvsVnicAllocatedResource_Def.schema
            TClist = [GTD("urn:vim25","DvsVnicAllocatedResource",lazy=True)(pname=(ns,"DvsVnicAllocatedResource"), aname="_DvsVnicAllocatedResource", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DvsVnicAllocatedResource = []
                    return
            Holder.__name__ = "ArrayOfDvsVnicAllocatedResource_Holder"
            self.pyclass = Holder

    class DvsVmVnicNetworkResourcePoolRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsVmVnicNetworkResourcePoolRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsVmVnicNetworkResourcePoolRuntimeInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"capacity"), aname="_capacity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"usage"), aname="_usage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"available"), aname="_available", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsVnicAllocatedResource",lazy=True)(pname=(ns,"allocatedResource"), aname="_allocatedResource", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsVmVnicNetworkResourcePoolRuntimeInfo_Def.__bases__:
                bases = list(ns0.DvsVmVnicNetworkResourcePoolRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsVmVnicNetworkResourcePoolRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDvsVmVnicNetworkResourcePoolRuntimeInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDvsVmVnicNetworkResourcePoolRuntimeInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDvsVmVnicNetworkResourcePoolRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","DvsVmVnicNetworkResourcePoolRuntimeInfo",lazy=True)(pname=(ns,"DvsVmVnicNetworkResourcePoolRuntimeInfo"), aname="_DvsVmVnicNetworkResourcePoolRuntimeInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DvsVmVnicNetworkResourcePoolRuntimeInfo = []
                    return
            Holder.__name__ = "ArrayOfDvsVmVnicNetworkResourcePoolRuntimeInfo_Holder"
            self.pyclass = Holder

    class DVSVmVnicNetworkResourcePool_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSVmVnicNetworkResourcePool")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSVmVnicNetworkResourcePool_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configVersion"), aname="_configVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsVmVnicResourceAllocation",lazy=True)(pname=(ns,"allocationInfo"), aname="_allocationInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DVSVmVnicNetworkResourcePool_Def.__bases__:
                bases = list(ns0.DVSVmVnicNetworkResourcePool_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DVSVmVnicNetworkResourcePool_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDVSVmVnicNetworkResourcePool_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDVSVmVnicNetworkResourcePool")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDVSVmVnicNetworkResourcePool_Def.schema
            TClist = [GTD("urn:vim25","DVSVmVnicNetworkResourcePool",lazy=True)(pname=(ns,"DVSVmVnicNetworkResourcePool"), aname="_DVSVmVnicNetworkResourcePool", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DVSVmVnicNetworkResourcePool = []
                    return
            Holder.__name__ = "ArrayOfDVSVmVnicNetworkResourcePool_Holder"
            self.pyclass = Holder

    class VMwareDVSFeatureCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSFeatureCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSFeatureCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"vspanSupported"), aname="_vspanSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"lldpSupported"), aname="_lldpSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipfixSupported"), aname="_ipfixSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareDvsIpfixCapability",lazy=True)(pname=(ns,"ipfixCapability"), aname="_ipfixCapability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"multicastSnoopingSupported"), aname="_multicastSnoopingSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareDVSVspanCapability",lazy=True)(pname=(ns,"vspanCapability"), aname="_vspanCapability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareDvsLacpCapability",lazy=True)(pname=(ns,"lacpCapability"), aname="_lacpCapability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DVSFeatureCapability_Def not in ns0.VMwareDVSFeatureCapability_Def.__bases__:
                bases = list(ns0.VMwareDVSFeatureCapability_Def.__bases__)
                bases.insert(0, ns0.DVSFeatureCapability_Def)
                ns0.VMwareDVSFeatureCapability_Def.__bases__ = tuple(bases)

            ns0.DVSFeatureCapability_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDvsIpfixCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDvsIpfixCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDvsIpfixCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"ipfixSupported"), aname="_ipfixSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipv6ForIpfixSupported"), aname="_ipv6ForIpfixSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"observationDomainIdSupported"), aname="_observationDomainIdSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VMwareDvsIpfixCapability_Def.__bases__:
                bases = list(ns0.VMwareDvsIpfixCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VMwareDvsIpfixCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDvsLacpCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDvsLacpCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDvsLacpCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"lacpSupported"), aname="_lacpSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"multiLacpGroupSupported"), aname="_multiLacpGroupSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VMwareDvsLacpCapability_Def.__bases__:
                bases = list(ns0.VMwareDvsLacpCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VMwareDvsLacpCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDVSHealthCheckCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSHealthCheckCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSHealthCheckCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"vlanMtuSupported"), aname="_vlanMtuSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"teamingSupported"), aname="_teamingSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DVSHealthCheckCapability_Def not in ns0.VMwareDVSHealthCheckCapability_Def.__bases__:
                bases = list(ns0.VMwareDVSHealthCheckCapability_Def.__bases__)
                bases.insert(0, ns0.DVSHealthCheckCapability_Def)
                ns0.VMwareDVSHealthCheckCapability_Def.__bases__ = tuple(bases)

            ns0.DVSHealthCheckCapability_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDVSVspanCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSVspanCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSVspanCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"mixedDestSupported"), aname="_mixedDestSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"dvportSupported"), aname="_dvportSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"remoteSourceSupported"), aname="_remoteSourceSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"remoteDestSupported"), aname="_remoteDestSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encapRemoteSourceSupported"), aname="_encapRemoteSourceSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"erspanProtocolSupported"), aname="_erspanProtocolSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"mirrorNetstackSupported"), aname="_mirrorNetstackSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VMwareDVSVspanCapability_Def.__bases__:
                bases = list(ns0.VMwareDVSVspanCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VMwareDVSVspanCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareVspanPort_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareVspanPort")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareVspanPort_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uplinkPortName"), aname="_uplinkPortName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"wildcardPortConnecteeType"), aname="_wildcardPortConnecteeType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vlans"), aname="_vlans", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VMwareVspanPort_Def.__bases__:
                bases = list(ns0.VMwareVspanPort_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VMwareVspanPort_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareVspanSession_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareVspanSession")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareVspanSession_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareVspanPort",lazy=True)(pname=(ns,"sourcePortTransmitted"), aname="_sourcePortTransmitted", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareVspanPort",lazy=True)(pname=(ns,"sourcePortReceived"), aname="_sourcePortReceived", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareVspanPort",lazy=True)(pname=(ns,"destinationPort"), aname="_destinationPort", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"encapsulationVlanId"), aname="_encapsulationVlanId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"stripOriginalVlan"), aname="_stripOriginalVlan", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"mirroredPacketLength"), aname="_mirroredPacketLength", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"normalTrafficAllowed"), aname="_normalTrafficAllowed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sessionType"), aname="_sessionType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"samplingRate"), aname="_samplingRate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"encapType"), aname="_encapType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"erspanId"), aname="_erspanId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"erspanCOS"), aname="_erspanCOS", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"erspanGraNanosec"), aname="_erspanGraNanosec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"netstack"), aname="_netstack", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VMwareVspanSession_Def.__bases__:
                bases = list(ns0.VMwareVspanSession_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VMwareVspanSession_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVMwareVspanSession_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVMwareVspanSession")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVMwareVspanSession_Def.schema
            TClist = [GTD("urn:vim25","VMwareVspanSession",lazy=True)(pname=(ns,"VMwareVspanSession"), aname="_VMwareVspanSession", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VMwareVspanSession = []
                    return
            Holder.__name__ = "ArrayOfVMwareVspanSession_Holder"
            self.pyclass = Holder

    class VMwareIpfixConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareIpfixConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareIpfixConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"collectorIpAddress"), aname="_collectorIpAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"collectorPort"), aname="_collectorPort", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"observationDomainId"), aname="_observationDomainId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"activeFlowTimeout"), aname="_activeFlowTimeout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"idleFlowTimeout"), aname="_idleFlowTimeout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"samplingRate"), aname="_samplingRate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"internalFlowsOnly"), aname="_internalFlowsOnly", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VMwareIpfixConfig_Def.__bases__:
                bases = list(ns0.VMwareIpfixConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VMwareIpfixConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDVSConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","VMwareVspanSession",lazy=True)(pname=(ns,"vspanSession"), aname="_vspanSession", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareDVSPvlanMapEntry",lazy=True)(pname=(ns,"pvlanConfig"), aname="_pvlanConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxMtu"), aname="_maxMtu", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LinkDiscoveryProtocolConfig",lazy=True)(pname=(ns,"linkDiscoveryProtocolConfig"), aname="_linkDiscoveryProtocolConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareIpfixConfig",lazy=True)(pname=(ns,"ipfixConfig"), aname="_ipfixConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareDvsLacpGroupConfig",lazy=True)(pname=(ns,"lacpGroupConfig"), aname="_lacpGroupConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lacpApiVersion"), aname="_lacpApiVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"multicastFilteringMode"), aname="_multicastFilteringMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DVSConfigInfo_Def not in ns0.VMwareDVSConfigInfo_Def.__bases__:
                bases = list(ns0.VMwareDVSConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DVSConfigInfo_Def)
                ns0.VMwareDVSConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DVSConfigInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDVSConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","VMwareDVSPvlanConfigSpec",lazy=True)(pname=(ns,"pvlanConfigSpec"), aname="_pvlanConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareDVSVspanConfigSpec",lazy=True)(pname=(ns,"vspanConfigSpec"), aname="_vspanConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxMtu"), aname="_maxMtu", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LinkDiscoveryProtocolConfig",lazy=True)(pname=(ns,"linkDiscoveryProtocolConfig"), aname="_linkDiscoveryProtocolConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareIpfixConfig",lazy=True)(pname=(ns,"ipfixConfig"), aname="_ipfixConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lacpApiVersion"), aname="_lacpApiVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"multicastFilteringMode"), aname="_multicastFilteringMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DVSConfigSpec_Def not in ns0.VMwareDVSConfigSpec_Def.__bases__:
                bases = list(ns0.VMwareDVSConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DVSConfigSpec_Def)
                ns0.VMwareDVSConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DVSConfigSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareUplinkPortOrderPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareUplinkPortOrderPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareUplinkPortOrderPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"activeUplinkPort"), aname="_activeUplinkPort", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"standbyUplinkPort"), aname="_standbyUplinkPort", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.VMwareUplinkPortOrderPolicy_Def.__bases__:
                bases = list(ns0.VMwareUplinkPortOrderPolicy_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.VMwareUplinkPortOrderPolicy_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSFailureCriteria_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSFailureCriteria")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSFailureCriteria_Def.schema
            TClist = [GTD("urn:vim25","StringPolicy",lazy=True)(pname=(ns,"checkSpeed"), aname="_checkSpeed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntPolicy",lazy=True)(pname=(ns,"speed"), aname="_speed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"checkDuplex"), aname="_checkDuplex", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"fullDuplex"), aname="_fullDuplex", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"checkErrorPercent"), aname="_checkErrorPercent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntPolicy",lazy=True)(pname=(ns,"percentage"), aname="_percentage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"checkBeacon"), aname="_checkBeacon", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.DVSFailureCriteria_Def.__bases__:
                bases = list(ns0.DVSFailureCriteria_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.DVSFailureCriteria_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmwareUplinkPortTeamingPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmwareUplinkPortTeamingPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmwareUplinkPortTeamingPolicy_Def.schema
            TClist = [GTD("urn:vim25","StringPolicy",lazy=True)(pname=(ns,"policy"), aname="_policy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"reversePolicy"), aname="_reversePolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"notifySwitches"), aname="_notifySwitches", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"rollingOrder"), aname="_rollingOrder", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSFailureCriteria",lazy=True)(pname=(ns,"failureCriteria"), aname="_failureCriteria", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareUplinkPortOrderPolicy",lazy=True)(pname=(ns,"uplinkPortOrder"), aname="_uplinkPortOrder", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.VmwareUplinkPortTeamingPolicy_Def.__bases__:
                bases = list(ns0.VmwareUplinkPortTeamingPolicy_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.VmwareUplinkPortTeamingPolicy_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmwareDistributedVirtualSwitchVlanSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmwareDistributedVirtualSwitchVlanSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmwareDistributedVirtualSwitchVlanSpec_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.VmwareDistributedVirtualSwitchVlanSpec_Def.__bases__:
                bases = list(ns0.VmwareDistributedVirtualSwitchVlanSpec_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.VmwareDistributedVirtualSwitchVlanSpec_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmwareDistributedVirtualSwitchPvlanSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmwareDistributedVirtualSwitchPvlanSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmwareDistributedVirtualSwitchPvlanSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"pvlanId"), aname="_pvlanId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmwareDistributedVirtualSwitchVlanSpec_Def not in ns0.VmwareDistributedVirtualSwitchPvlanSpec_Def.__bases__:
                bases = list(ns0.VmwareDistributedVirtualSwitchPvlanSpec_Def.__bases__)
                bases.insert(0, ns0.VmwareDistributedVirtualSwitchVlanSpec_Def)
                ns0.VmwareDistributedVirtualSwitchPvlanSpec_Def.__bases__ = tuple(bases)

            ns0.VmwareDistributedVirtualSwitchVlanSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmwareDistributedVirtualSwitchVlanIdSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmwareDistributedVirtualSwitchVlanIdSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmwareDistributedVirtualSwitchVlanIdSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vlanId"), aname="_vlanId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmwareDistributedVirtualSwitchVlanSpec_Def not in ns0.VmwareDistributedVirtualSwitchVlanIdSpec_Def.__bases__:
                bases = list(ns0.VmwareDistributedVirtualSwitchVlanIdSpec_Def.__bases__)
                bases.insert(0, ns0.VmwareDistributedVirtualSwitchVlanSpec_Def)
                ns0.VmwareDistributedVirtualSwitchVlanIdSpec_Def.__bases__ = tuple(bases)

            ns0.VmwareDistributedVirtualSwitchVlanSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmwareDistributedVirtualSwitchTrunkVlanSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmwareDistributedVirtualSwitchTrunkVlanSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmwareDistributedVirtualSwitchTrunkVlanSpec_Def.schema
            TClist = [GTD("urn:vim25","NumericRange",lazy=True)(pname=(ns,"vlanId"), aname="_vlanId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmwareDistributedVirtualSwitchVlanSpec_Def not in ns0.VmwareDistributedVirtualSwitchTrunkVlanSpec_Def.__bases__:
                bases = list(ns0.VmwareDistributedVirtualSwitchTrunkVlanSpec_Def.__bases__)
                bases.insert(0, ns0.VmwareDistributedVirtualSwitchVlanSpec_Def)
                ns0.VmwareDistributedVirtualSwitchTrunkVlanSpec_Def.__bases__ = tuple(bases)

            ns0.VmwareDistributedVirtualSwitchVlanSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSSecurityPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSSecurityPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSSecurityPolicy_Def.schema
            TClist = [GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"allowPromiscuous"), aname="_allowPromiscuous", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"macChanges"), aname="_macChanges", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"forgedTransmits"), aname="_forgedTransmits", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.DVSSecurityPolicy_Def.__bases__:
                bases = list(ns0.DVSSecurityPolicy_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.DVSSecurityPolicy_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSMacLimitPolicyType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DVSMacLimitPolicyType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DVSMacLearningPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSMacLearningPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSMacLearningPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"allowUnicastFlooding"), aname="_allowUnicastFlooding", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"limit"), aname="_limit", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"limitPolicy"), aname="_limitPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.DVSMacLearningPolicy_Def.__bases__:
                bases = list(ns0.DVSMacLearningPolicy_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.DVSMacLearningPolicy_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVSMacManagementPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVSMacManagementPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVSMacManagementPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"allowPromiscuous"), aname="_allowPromiscuous", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"macChanges"), aname="_macChanges", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"forgedTransmits"), aname="_forgedTransmits", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSMacLearningPolicy",lazy=True)(pname=(ns,"macLearningPolicy"), aname="_macLearningPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.DVSMacManagementPolicy_Def.__bases__:
                bases = list(ns0.DVSMacManagementPolicy_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.DVSMacManagementPolicy_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDVSPortSetting_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSPortSetting")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSPortSetting_Def.schema
            TClist = [GTD("urn:vim25","VmwareDistributedVirtualSwitchVlanSpec",lazy=True)(pname=(ns,"vlan"), aname="_vlan", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntPolicy",lazy=True)(pname=(ns,"qosTag"), aname="_qosTag", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmwareUplinkPortTeamingPolicy",lazy=True)(pname=(ns,"uplinkTeamingPolicy"), aname="_uplinkTeamingPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSSecurityPolicy",lazy=True)(pname=(ns,"securityPolicy"), aname="_securityPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"ipfixEnabled"), aname="_ipfixEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"txUplink"), aname="_txUplink", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareUplinkLacpPolicy",lazy=True)(pname=(ns,"lacpPolicy"), aname="_lacpPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSMacManagementPolicy",lazy=True)(pname=(ns,"macManagementPolicy"), aname="_macManagementPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DVPortSetting_Def not in ns0.VMwareDVSPortSetting_Def.__bases__:
                bases = list(ns0.VMwareDVSPortSetting_Def.__bases__)
                bases.insert(0, ns0.DVPortSetting_Def)
                ns0.VMwareDVSPortSetting_Def.__bases__ = tuple(bases)

            ns0.DVPortSetting_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDVSPortgroupPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSPortgroupPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSPortgroupPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"vlanOverrideAllowed"), aname="_vlanOverrideAllowed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"uplinkTeamingOverrideAllowed"), aname="_uplinkTeamingOverrideAllowed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"securityPolicyOverrideAllowed"), aname="_securityPolicyOverrideAllowed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipfixOverrideAllowed"), aname="_ipfixOverrideAllowed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DVPortgroupPolicy_Def not in ns0.VMwareDVSPortgroupPolicy_Def.__bases__:
                bases = list(ns0.VMwareDVSPortgroupPolicy_Def.__bases__)
                bases.insert(0, ns0.DVPortgroupPolicy_Def)
                ns0.VMwareDVSPortgroupPolicy_Def.__bases__ = tuple(bases)

            ns0.DVPortgroupPolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmwareDistributedVirtualSwitchPvlanPortType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VmwareDistributedVirtualSwitchPvlanPortType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VMwareDVSPvlanConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSPvlanConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSPvlanConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","VMwareDVSPvlanMapEntry",lazy=True)(pname=(ns,"pvlanEntry"), aname="_pvlanEntry", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VMwareDVSPvlanConfigSpec_Def.__bases__:
                bases = list(ns0.VMwareDVSPvlanConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VMwareDVSPvlanConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVMwareDVSPvlanConfigSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVMwareDVSPvlanConfigSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVMwareDVSPvlanConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","VMwareDVSPvlanConfigSpec",lazy=True)(pname=(ns,"VMwareDVSPvlanConfigSpec"), aname="_VMwareDVSPvlanConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VMwareDVSPvlanConfigSpec = []
                    return
            Holder.__name__ = "ArrayOfVMwareDVSPvlanConfigSpec_Holder"
            self.pyclass = Holder

    class VMwareDVSPvlanMapEntry_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSPvlanMapEntry")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSPvlanMapEntry_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"primaryVlanId"), aname="_primaryVlanId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"secondaryVlanId"), aname="_secondaryVlanId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pvlanType"), aname="_pvlanType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VMwareDVSPvlanMapEntry_Def.__bases__:
                bases = list(ns0.VMwareDVSPvlanMapEntry_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VMwareDVSPvlanMapEntry_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVMwareDVSPvlanMapEntry_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVMwareDVSPvlanMapEntry")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVMwareDVSPvlanMapEntry_Def.schema
            TClist = [GTD("urn:vim25","VMwareDVSPvlanMapEntry",lazy=True)(pname=(ns,"VMwareDVSPvlanMapEntry"), aname="_VMwareDVSPvlanMapEntry", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VMwareDVSPvlanMapEntry = []
                    return
            Holder.__name__ = "ArrayOfVMwareDVSPvlanMapEntry_Holder"
            self.pyclass = Holder

    class VMwareDVSVspanConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSVspanConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSVspanConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","VMwareVspanSession",lazy=True)(pname=(ns,"vspanSession"), aname="_vspanSession", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VMwareDVSVspanConfigSpec_Def.__bases__:
                bases = list(ns0.VMwareDVSVspanConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VMwareDVSVspanConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVMwareDVSVspanConfigSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVMwareDVSVspanConfigSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVMwareDVSVspanConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","VMwareDVSVspanConfigSpec",lazy=True)(pname=(ns,"VMwareDVSVspanConfigSpec"), aname="_VMwareDVSVspanConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VMwareDVSVspanConfigSpec = []
                    return
            Holder.__name__ = "ArrayOfVMwareDVSVspanConfigSpec_Holder"
            self.pyclass = Holder

    class VMwareDVSVspanSessionEncapType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VMwareDVSVspanSessionEncapType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VMwareDVSVspanSessionType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VMwareDVSVspanSessionType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VMwareDVSHealthCheckConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSHealthCheckConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSHealthCheckConfig_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DVSHealthCheckConfig_Def not in ns0.VMwareDVSHealthCheckConfig_Def.__bases__:
                bases = list(ns0.VMwareDVSHealthCheckConfig_Def.__bases__)
                bases.insert(0, ns0.DVSHealthCheckConfig_Def)
                ns0.VMwareDVSHealthCheckConfig_Def.__bases__ = tuple(bases)

            ns0.DVSHealthCheckConfig_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDVSVlanMtuHealthCheckConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSVlanMtuHealthCheckConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSVlanMtuHealthCheckConfig_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VMwareDVSHealthCheckConfig_Def not in ns0.VMwareDVSVlanMtuHealthCheckConfig_Def.__bases__:
                bases = list(ns0.VMwareDVSVlanMtuHealthCheckConfig_Def.__bases__)
                bases.insert(0, ns0.VMwareDVSHealthCheckConfig_Def)
                ns0.VMwareDVSVlanMtuHealthCheckConfig_Def.__bases__ = tuple(bases)

            ns0.VMwareDVSHealthCheckConfig_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDVSTeamingHealthCheckConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSTeamingHealthCheckConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSTeamingHealthCheckConfig_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VMwareDVSHealthCheckConfig_Def not in ns0.VMwareDVSTeamingHealthCheckConfig_Def.__bases__:
                bases = list(ns0.VMwareDVSTeamingHealthCheckConfig_Def.__bases__)
                bases.insert(0, ns0.VMwareDVSHealthCheckConfig_Def)
                ns0.VMwareDVSTeamingHealthCheckConfig_Def.__bases__ = tuple(bases)

            ns0.VMwareDVSHealthCheckConfig_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDVSVlanHealthCheckResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSVlanHealthCheckResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSVlanHealthCheckResult_Def.schema
            TClist = [GTD("urn:vim25","NumericRange",lazy=True)(pname=(ns,"trunkedVlan"), aname="_trunkedVlan", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NumericRange",lazy=True)(pname=(ns,"untrunkedVlan"), aname="_untrunkedVlan", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostMemberUplinkHealthCheckResult_Def not in ns0.VMwareDVSVlanHealthCheckResult_Def.__bases__:
                bases = list(ns0.VMwareDVSVlanHealthCheckResult_Def.__bases__)
                bases.insert(0, ns0.HostMemberUplinkHealthCheckResult_Def)
                ns0.VMwareDVSVlanHealthCheckResult_Def.__bases__ = tuple(bases)

            ns0.HostMemberUplinkHealthCheckResult_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDVSMtuHealthCheckResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSMtuHealthCheckResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSMtuHealthCheckResult_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"mtuMismatch"), aname="_mtuMismatch", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NumericRange",lazy=True)(pname=(ns,"vlanSupportSwitchMtu"), aname="_vlanSupportSwitchMtu", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NumericRange",lazy=True)(pname=(ns,"vlanNotSupportSwitchMtu"), aname="_vlanNotSupportSwitchMtu", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostMemberUplinkHealthCheckResult_Def not in ns0.VMwareDVSMtuHealthCheckResult_Def.__bases__:
                bases = list(ns0.VMwareDVSMtuHealthCheckResult_Def.__bases__)
                bases.insert(0, ns0.HostMemberUplinkHealthCheckResult_Def)
                ns0.VMwareDVSMtuHealthCheckResult_Def.__bases__ = tuple(bases)

            ns0.HostMemberUplinkHealthCheckResult_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDVSTeamingMatchStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VMwareDVSTeamingMatchStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VMwareDVSTeamingHealthCheckResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDVSTeamingHealthCheckResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDVSTeamingHealthCheckResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"teamingStatus"), aname="_teamingStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostMemberHealthCheckResult_Def not in ns0.VMwareDVSTeamingHealthCheckResult_Def.__bases__:
                bases = list(ns0.VMwareDVSTeamingHealthCheckResult_Def.__bases__)
                bases.insert(0, ns0.HostMemberHealthCheckResult_Def)
                ns0.VMwareDVSTeamingHealthCheckResult_Def.__bases__ = tuple(bases)

            ns0.HostMemberHealthCheckResult_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareUplinkLacpPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareUplinkLacpPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareUplinkLacpPolicy_Def.schema
            TClist = [GTD("urn:vim25","BoolPolicy",lazy=True)(pname=(ns,"enable"), aname="_enable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StringPolicy",lazy=True)(pname=(ns,"mode"), aname="_mode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InheritablePolicy_Def not in ns0.VMwareUplinkLacpPolicy_Def.__bases__:
                bases = list(ns0.VMwareUplinkLacpPolicy_Def.__bases__)
                bases.insert(0, ns0.InheritablePolicy_Def)
                ns0.VMwareUplinkLacpPolicy_Def.__bases__ = tuple(bases)

            ns0.InheritablePolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDvsLacpGroupConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDvsLacpGroupConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDvsLacpGroupConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mode"), aname="_mode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"uplinkNum"), aname="_uplinkNum", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"loadbalanceAlgorithm"), aname="_loadbalanceAlgorithm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareDvsLagVlanConfig",lazy=True)(pname=(ns,"vlan"), aname="_vlan", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareDvsLagIpfixConfig",lazy=True)(pname=(ns,"ipfix"), aname="_ipfix", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uplinkName"), aname="_uplinkName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uplinkPortKey"), aname="_uplinkPortKey", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VMwareDvsLacpGroupConfig_Def.__bases__:
                bases = list(ns0.VMwareDvsLacpGroupConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VMwareDvsLacpGroupConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVMwareDvsLacpGroupConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVMwareDvsLacpGroupConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVMwareDvsLacpGroupConfig_Def.schema
            TClist = [GTD("urn:vim25","VMwareDvsLacpGroupConfig",lazy=True)(pname=(ns,"VMwareDvsLacpGroupConfig"), aname="_VMwareDvsLacpGroupConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VMwareDvsLacpGroupConfig = []
                    return
            Holder.__name__ = "ArrayOfVMwareDvsLacpGroupConfig_Holder"
            self.pyclass = Holder

    class VMwareDvsLagVlanConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDvsLagVlanConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDvsLagVlanConfig_Def.schema
            TClist = [GTD("urn:vim25","NumericRange",lazy=True)(pname=(ns,"vlanId"), aname="_vlanId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VMwareDvsLagVlanConfig_Def.__bases__:
                bases = list(ns0.VMwareDvsLagVlanConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VMwareDvsLagVlanConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareDvsLagIpfixConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDvsLagIpfixConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDvsLagIpfixConfig_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"ipfixEnabled"), aname="_ipfixEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VMwareDvsLagIpfixConfig_Def.__bases__:
                bases = list(ns0.VMwareDvsLagIpfixConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VMwareDvsLagIpfixConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMwareUplinkLacpMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VMwareUplinkLacpMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VMwareDvsLacpGroupSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMwareDvsLacpGroupSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMwareDvsLacpGroupSpec_Def.schema
            TClist = [GTD("urn:vim25","VMwareDvsLacpGroupConfig",lazy=True)(pname=(ns,"lacpGroupConfig"), aname="_lacpGroupConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VMwareDvsLacpGroupSpec_Def.__bases__:
                bases = list(ns0.VMwareDvsLacpGroupSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VMwareDvsLacpGroupSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVMwareDvsLacpGroupSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVMwareDvsLacpGroupSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVMwareDvsLacpGroupSpec_Def.schema
            TClist = [GTD("urn:vim25","VMwareDvsLacpGroupSpec",lazy=True)(pname=(ns,"VMwareDvsLacpGroupSpec"), aname="_VMwareDvsLacpGroupSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VMwareDvsLacpGroupSpec = []
                    return
            Holder.__name__ = "ArrayOfVMwareDvsLacpGroupSpec_Holder"
            self.pyclass = Holder

    class VMwareDvsLacpLoadBalanceAlgorithm_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VMwareDvsLacpLoadBalanceAlgorithm")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VMwareDvsLacpApiVersion_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VMwareDvsLacpApiVersion")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VMwareDvsMulticastFilteringMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VMwareDvsMulticastFilteringMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class CryptoKeyId_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CryptoKeyId")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CryptoKeyId_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"keyId"), aname="_keyId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"providerId"), aname="_providerId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CryptoKeyId_Def.__bases__:
                bases = list(ns0.CryptoKeyId_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CryptoKeyId_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfCryptoKeyId_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfCryptoKeyId")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfCryptoKeyId_Def.schema
            TClist = [GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"CryptoKeyId"), aname="_CryptoKeyId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._CryptoKeyId = []
                    return
            Holder.__name__ = "ArrayOfCryptoKeyId_Holder"
            self.pyclass = Holder

    class CryptoKeyPlain_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CryptoKeyPlain")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CryptoKeyPlain_Def.schema
            TClist = [GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"keyId"), aname="_keyId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"algorithm"), aname="_algorithm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"keyData"), aname="_keyData", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CryptoKeyPlain_Def.__bases__:
                bases = list(ns0.CryptoKeyPlain_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CryptoKeyPlain_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfCryptoKeyPlain_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfCryptoKeyPlain")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfCryptoKeyPlain_Def.schema
            TClist = [GTD("urn:vim25","CryptoKeyPlain",lazy=True)(pname=(ns,"CryptoKeyPlain"), aname="_CryptoKeyPlain", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._CryptoKeyPlain = []
                    return
            Holder.__name__ = "ArrayOfCryptoKeyPlain_Holder"
            self.pyclass = Holder

    class CryptoKeyResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CryptoKeyResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CryptoKeyResult_Def.schema
            TClist = [GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"keyId"), aname="_keyId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"success"), aname="_success", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CryptoKeyResult_Def.__bases__:
                bases = list(ns0.CryptoKeyResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CryptoKeyResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfCryptoKeyResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfCryptoKeyResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfCryptoKeyResult_Def.schema
            TClist = [GTD("urn:vim25","CryptoKeyResult",lazy=True)(pname=(ns,"CryptoKeyResult"), aname="_CryptoKeyResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._CryptoKeyResult = []
                    return
            Holder.__name__ = "ArrayOfCryptoKeyResult_Holder"
            self.pyclass = Holder

    class CryptoManagerKmipCertificateInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CryptoManagerKmipCertificateInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CryptoManagerKmipCertificateInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"subject"), aname="_subject", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"issuer"), aname="_issuer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"serialNumber"), aname="_serialNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"notBefore"), aname="_notBefore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"notAfter"), aname="_notAfter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fingerprint"), aname="_fingerprint", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"checkTime"), aname="_checkTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"secondsSinceValid"), aname="_secondsSinceValid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"secondsBeforeExpire"), aname="_secondsBeforeExpire", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CryptoManagerKmipCertificateInfo_Def.__bases__:
                bases = list(ns0.CryptoManagerKmipCertificateInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CryptoManagerKmipCertificateInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CryptoManagerKmipServerStatus_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CryptoManagerKmipServerStatus")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CryptoManagerKmipServerStatus_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"connectionStatus"), aname="_connectionStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoManagerKmipCertificateInfo",lazy=True)(pname=(ns,"certInfo"), aname="_certInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"clientTrustServer"), aname="_clientTrustServer", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"serverTrustClient"), aname="_serverTrustClient", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CryptoManagerKmipServerStatus_Def.__bases__:
                bases = list(ns0.CryptoManagerKmipServerStatus_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CryptoManagerKmipServerStatus_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfCryptoManagerKmipServerStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfCryptoManagerKmipServerStatus")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfCryptoManagerKmipServerStatus_Def.schema
            TClist = [GTD("urn:vim25","CryptoManagerKmipServerStatus",lazy=True)(pname=(ns,"CryptoManagerKmipServerStatus"), aname="_CryptoManagerKmipServerStatus", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._CryptoManagerKmipServerStatus = []
                    return
            Holder.__name__ = "ArrayOfCryptoManagerKmipServerStatus_Holder"
            self.pyclass = Holder

    class CryptoManagerKmipClusterStatus_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CryptoManagerKmipClusterStatus")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CryptoManagerKmipClusterStatus_Def.schema
            TClist = [GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"clusterId"), aname="_clusterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoManagerKmipServerStatus",lazy=True)(pname=(ns,"servers"), aname="_servers", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoManagerKmipCertificateInfo",lazy=True)(pname=(ns,"clientCertInfo"), aname="_clientCertInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CryptoManagerKmipClusterStatus_Def.__bases__:
                bases = list(ns0.CryptoManagerKmipClusterStatus_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CryptoManagerKmipClusterStatus_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfCryptoManagerKmipClusterStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfCryptoManagerKmipClusterStatus")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfCryptoManagerKmipClusterStatus_Def.schema
            TClist = [GTD("urn:vim25","CryptoManagerKmipClusterStatus",lazy=True)(pname=(ns,"CryptoManagerKmipClusterStatus"), aname="_CryptoManagerKmipClusterStatus", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._CryptoManagerKmipClusterStatus = []
                    return
            Holder.__name__ = "ArrayOfCryptoManagerKmipClusterStatus_Holder"
            self.pyclass = Holder

    class CryptoManagerKmipServerCertInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CryptoManagerKmipServerCertInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CryptoManagerKmipServerCertInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"certificate"), aname="_certificate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoManagerKmipCertificateInfo",lazy=True)(pname=(ns,"certInfo"), aname="_certInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"clientTrustServer"), aname="_clientTrustServer", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CryptoManagerKmipServerCertInfo_Def.__bases__:
                bases = list(ns0.CryptoManagerKmipServerCertInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CryptoManagerKmipServerCertInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CryptoSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CryptoSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CryptoSpec_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CryptoSpec_Def.__bases__:
                bases = list(ns0.CryptoSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CryptoSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CryptoSpecDecrypt_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CryptoSpecDecrypt")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CryptoSpecDecrypt_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CryptoSpec_Def not in ns0.CryptoSpecDecrypt_Def.__bases__:
                bases = list(ns0.CryptoSpecDecrypt_Def.__bases__)
                bases.insert(0, ns0.CryptoSpec_Def)
                ns0.CryptoSpecDecrypt_Def.__bases__ = tuple(bases)

            ns0.CryptoSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CryptoSpecDeepRecrypt_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CryptoSpecDeepRecrypt")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CryptoSpecDeepRecrypt_Def.schema
            TClist = [GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"newKeyId"), aname="_newKeyId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CryptoSpec_Def not in ns0.CryptoSpecDeepRecrypt_Def.__bases__:
                bases = list(ns0.CryptoSpecDeepRecrypt_Def.__bases__)
                bases.insert(0, ns0.CryptoSpec_Def)
                ns0.CryptoSpecDeepRecrypt_Def.__bases__ = tuple(bases)

            ns0.CryptoSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CryptoSpecEncrypt_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CryptoSpecEncrypt")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CryptoSpecEncrypt_Def.schema
            TClist = [GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"cryptoKeyId"), aname="_cryptoKeyId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CryptoSpec_Def not in ns0.CryptoSpecEncrypt_Def.__bases__:
                bases = list(ns0.CryptoSpecEncrypt_Def.__bases__)
                bases.insert(0, ns0.CryptoSpec_Def)
                ns0.CryptoSpecEncrypt_Def.__bases__ = tuple(bases)

            ns0.CryptoSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CryptoSpecNoOp_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CryptoSpecNoOp")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CryptoSpecNoOp_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CryptoSpec_Def not in ns0.CryptoSpecNoOp_Def.__bases__:
                bases = list(ns0.CryptoSpecNoOp_Def.__bases__)
                bases.insert(0, ns0.CryptoSpec_Def)
                ns0.CryptoSpecNoOp_Def.__bases__ = tuple(bases)

            ns0.CryptoSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CryptoSpecRegister_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CryptoSpecRegister")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CryptoSpecRegister_Def.schema
            TClist = [GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"cryptoKeyId"), aname="_cryptoKeyId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CryptoSpecNoOp_Def not in ns0.CryptoSpecRegister_Def.__bases__:
                bases = list(ns0.CryptoSpecRegister_Def.__bases__)
                bases.insert(0, ns0.CryptoSpecNoOp_Def)
                ns0.CryptoSpecRegister_Def.__bases__ = tuple(bases)

            ns0.CryptoSpecNoOp_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CryptoSpecShallowRecrypt_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CryptoSpecShallowRecrypt")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CryptoSpecShallowRecrypt_Def.schema
            TClist = [GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"newKeyId"), aname="_newKeyId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CryptoSpec_Def not in ns0.CryptoSpecShallowRecrypt_Def.__bases__:
                bases = list(ns0.CryptoSpecShallowRecrypt_Def.__bases__)
                bases.insert(0, ns0.CryptoSpec_Def)
                ns0.CryptoSpecShallowRecrypt_Def.__bases__ = tuple(bases)

            ns0.CryptoSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class KeyProviderId_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "KeyProviderId")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.KeyProviderId_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.KeyProviderId_Def.__bases__:
                bases = list(ns0.KeyProviderId_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.KeyProviderId_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class KmipClusterInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "KmipClusterInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.KmipClusterInfo_Def.schema
            TClist = [GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"clusterId"), aname="_clusterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KmipServerInfo",lazy=True)(pname=(ns,"servers"), aname="_servers", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"useAsDefault"), aname="_useAsDefault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.KmipClusterInfo_Def.__bases__:
                bases = list(ns0.KmipClusterInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.KmipClusterInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfKmipClusterInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfKmipClusterInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfKmipClusterInfo_Def.schema
            TClist = [GTD("urn:vim25","KmipClusterInfo",lazy=True)(pname=(ns,"KmipClusterInfo"), aname="_KmipClusterInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._KmipClusterInfo = []
                    return
            Holder.__name__ = "ArrayOfKmipClusterInfo_Holder"
            self.pyclass = Holder

    class KmipServerInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "KmipServerInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.KmipServerInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"address"), aname="_address", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"proxyAddress"), aname="_proxyAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"proxyPort"), aname="_proxyPort", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"reconnect"), aname="_reconnect", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"protocol"), aname="_protocol", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"nbio"), aname="_nbio", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"timeout"), aname="_timeout", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.KmipServerInfo_Def.__bases__:
                bases = list(ns0.KmipServerInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.KmipServerInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfKmipServerInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfKmipServerInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfKmipServerInfo_Def.schema
            TClist = [GTD("urn:vim25","KmipServerInfo",lazy=True)(pname=(ns,"KmipServerInfo"), aname="_KmipServerInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._KmipServerInfo = []
                    return
            Holder.__name__ = "ArrayOfKmipServerInfo_Holder"
            self.pyclass = Holder

    class KmipServerSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "KmipServerSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.KmipServerSpec_Def.schema
            TClist = [GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"clusterId"), aname="_clusterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KmipServerInfo",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.KmipServerSpec_Def.__bases__:
                bases = list(ns0.KmipServerSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.KmipServerSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class KmipServerStatus_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "KmipServerStatus")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.KmipServerStatus_Def.schema
            TClist = [GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"clusterId"), aname="_clusterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.KmipServerStatus_Def.__bases__:
                bases = list(ns0.KmipServerStatus_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.KmipServerStatus_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EventEventSeverity_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EventEventSeverity")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class Event_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "Event")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.Event_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"chainId"), aname="_chainId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"createdTime"), aname="_createdTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatacenterEventArgument",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ComputeResourceEventArgument",lazy=True)(pname=(ns,"computeResource"), aname="_computeResource", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmEventArgument",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"ds"), aname="_ds", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetworkEventArgument",lazy=True)(pname=(ns,"net"), aname="_net", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsEventArgument",lazy=True)(pname=(ns,"dvs"), aname="_dvs", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fullFormattedMessage"), aname="_fullFormattedMessage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"changeTag"), aname="_changeTag", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.Event_Def.__bases__:
                bases = list(ns0.Event_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.Event_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfEvent_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfEvent")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfEvent_Def.schema
            TClist = [GTD("urn:vim25","Event",lazy=True)(pname=(ns,"Event"), aname="_Event", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._Event = []
                    return
            Holder.__name__ = "ArrayOfEvent_Holder"
            self.pyclass = Holder

    class GeneralEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GeneralEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GeneralEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.GeneralEvent_Def.__bases__:
                bases = list(ns0.GeneralEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.GeneralEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GeneralHostInfoEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GeneralHostInfoEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GeneralHostInfoEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GeneralEvent_Def not in ns0.GeneralHostInfoEvent_Def.__bases__:
                bases = list(ns0.GeneralHostInfoEvent_Def.__bases__)
                bases.insert(0, ns0.GeneralEvent_Def)
                ns0.GeneralHostInfoEvent_Def.__bases__ = tuple(bases)

            ns0.GeneralEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GeneralHostWarningEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GeneralHostWarningEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GeneralHostWarningEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GeneralEvent_Def not in ns0.GeneralHostWarningEvent_Def.__bases__:
                bases = list(ns0.GeneralHostWarningEvent_Def.__bases__)
                bases.insert(0, ns0.GeneralEvent_Def)
                ns0.GeneralHostWarningEvent_Def.__bases__ = tuple(bases)

            ns0.GeneralEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GeneralHostErrorEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GeneralHostErrorEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GeneralHostErrorEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GeneralEvent_Def not in ns0.GeneralHostErrorEvent_Def.__bases__:
                bases = list(ns0.GeneralHostErrorEvent_Def.__bases__)
                bases.insert(0, ns0.GeneralEvent_Def)
                ns0.GeneralHostErrorEvent_Def.__bases__ = tuple(bases)

            ns0.GeneralEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GeneralVmInfoEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GeneralVmInfoEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GeneralVmInfoEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GeneralEvent_Def not in ns0.GeneralVmInfoEvent_Def.__bases__:
                bases = list(ns0.GeneralVmInfoEvent_Def.__bases__)
                bases.insert(0, ns0.GeneralEvent_Def)
                ns0.GeneralVmInfoEvent_Def.__bases__ = tuple(bases)

            ns0.GeneralEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GeneralVmWarningEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GeneralVmWarningEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GeneralVmWarningEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GeneralEvent_Def not in ns0.GeneralVmWarningEvent_Def.__bases__:
                bases = list(ns0.GeneralVmWarningEvent_Def.__bases__)
                bases.insert(0, ns0.GeneralEvent_Def)
                ns0.GeneralVmWarningEvent_Def.__bases__ = tuple(bases)

            ns0.GeneralEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GeneralVmErrorEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GeneralVmErrorEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GeneralVmErrorEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GeneralEvent_Def not in ns0.GeneralVmErrorEvent_Def.__bases__:
                bases = list(ns0.GeneralVmErrorEvent_Def.__bases__)
                bases.insert(0, ns0.GeneralEvent_Def)
                ns0.GeneralVmErrorEvent_Def.__bases__ = tuple(bases)

            ns0.GeneralEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GeneralUserEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GeneralUserEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GeneralUserEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GeneralEvent_Def not in ns0.GeneralUserEvent_Def.__bases__:
                bases = list(ns0.GeneralUserEvent_Def.__bases__)
                bases.insert(0, ns0.GeneralEvent_Def)
                ns0.GeneralUserEvent_Def.__bases__ = tuple(bases)

            ns0.GeneralEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExtendedEventPair_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtendedEventPair")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtendedEventPair_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtendedEventPair_Def.__bases__:
                bases = list(ns0.ExtendedEventPair_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtendedEventPair_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfExtendedEventPair_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfExtendedEventPair")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfExtendedEventPair_Def.schema
            TClist = [GTD("urn:vim25","ExtendedEventPair",lazy=True)(pname=(ns,"ExtendedEventPair"), aname="_ExtendedEventPair", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ExtendedEventPair = []
                    return
            Holder.__name__ = "ArrayOfExtendedEventPair_Holder"
            self.pyclass = Holder

    class ExtendedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtendedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtendedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"eventTypeId"), aname="_eventTypeId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"managedObject"), aname="_managedObject", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ExtendedEventPair",lazy=True)(pname=(ns,"data"), aname="_data", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GeneralEvent_Def not in ns0.ExtendedEvent_Def.__bases__:
                bases = list(ns0.ExtendedEvent_Def.__bases__)
                bases.insert(0, ns0.GeneralEvent_Def)
                ns0.ExtendedEvent_Def.__bases__ = tuple(bases)

            ns0.GeneralEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HealthStatusChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HealthStatusChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HealthStatusChangedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"componentId"), aname="_componentId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"oldStatus"), aname="_oldStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newStatus"), aname="_newStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"componentName"), aname="_componentName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"serviceId"), aname="_serviceId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.HealthStatusChangedEvent_Def.__bases__:
                bases = list(ns0.HealthStatusChangedEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.HealthStatusChangedEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInventoryUnreadableEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInventoryUnreadableEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInventoryUnreadableEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.HostInventoryUnreadableEvent_Def.__bases__:
                bases = list(ns0.HostInventoryUnreadableEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.HostInventoryUnreadableEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatacenterEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatacenterEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatacenterEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.DatacenterEvent_Def.__bases__:
                bases = list(ns0.DatacenterEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.DatacenterEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatacenterCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatacenterCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatacenterCreatedEvent_Def.schema
            TClist = [GTD("urn:vim25","FolderEventArgument",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatacenterEvent_Def not in ns0.DatacenterCreatedEvent_Def.__bases__:
                bases = list(ns0.DatacenterCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.DatacenterEvent_Def)
                ns0.DatacenterCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.DatacenterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatacenterRenamedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatacenterRenamedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatacenterRenamedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"oldName"), aname="_oldName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newName"), aname="_newName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatacenterEvent_Def not in ns0.DatacenterRenamedEvent_Def.__bases__:
                bases = list(ns0.DatacenterRenamedEvent_Def.__bases__)
                bases.insert(0, ns0.DatacenterEvent_Def)
                ns0.DatacenterRenamedEvent_Def.__bases__ = tuple(bases)

            ns0.DatacenterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SessionEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SessionEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SessionEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.SessionEvent_Def.__bases__:
                bases = list(ns0.SessionEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.SessionEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ServerStartedSessionEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ServerStartedSessionEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ServerStartedSessionEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SessionEvent_Def not in ns0.ServerStartedSessionEvent_Def.__bases__:
                bases = list(ns0.ServerStartedSessionEvent_Def.__bases__)
                bases.insert(0, ns0.SessionEvent_Def)
                ns0.ServerStartedSessionEvent_Def.__bases__ = tuple(bases)

            ns0.SessionEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UserLoginSessionEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UserLoginSessionEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UserLoginSessionEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userAgent"), aname="_userAgent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"locale"), aname="_locale", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sessionId"), aname="_sessionId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SessionEvent_Def not in ns0.UserLoginSessionEvent_Def.__bases__:
                bases = list(ns0.UserLoginSessionEvent_Def.__bases__)
                bases.insert(0, ns0.SessionEvent_Def)
                ns0.UserLoginSessionEvent_Def.__bases__ = tuple(bases)

            ns0.SessionEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UserLogoutSessionEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UserLogoutSessionEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UserLogoutSessionEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userAgent"), aname="_userAgent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"callCount"), aname="_callCount", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sessionId"), aname="_sessionId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"loginTime"), aname="_loginTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SessionEvent_Def not in ns0.UserLogoutSessionEvent_Def.__bases__:
                bases = list(ns0.UserLogoutSessionEvent_Def.__bases__)
                bases.insert(0, ns0.SessionEvent_Def)
                ns0.UserLogoutSessionEvent_Def.__bases__ = tuple(bases)

            ns0.SessionEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class BadUsernameSessionEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "BadUsernameSessionEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.BadUsernameSessionEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SessionEvent_Def not in ns0.BadUsernameSessionEvent_Def.__bases__:
                bases = list(ns0.BadUsernameSessionEvent_Def.__bases__)
                bases.insert(0, ns0.SessionEvent_Def)
                ns0.BadUsernameSessionEvent_Def.__bases__ = tuple(bases)

            ns0.SessionEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlreadyAuthenticatedSessionEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlreadyAuthenticatedSessionEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlreadyAuthenticatedSessionEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SessionEvent_Def not in ns0.AlreadyAuthenticatedSessionEvent_Def.__bases__:
                bases = list(ns0.AlreadyAuthenticatedSessionEvent_Def.__bases__)
                bases.insert(0, ns0.SessionEvent_Def)
                ns0.AlreadyAuthenticatedSessionEvent_Def.__bases__ = tuple(bases)

            ns0.SessionEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoAccessUserEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoAccessUserEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoAccessUserEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SessionEvent_Def not in ns0.NoAccessUserEvent_Def.__bases__:
                bases = list(ns0.NoAccessUserEvent_Def.__bases__)
                bases.insert(0, ns0.SessionEvent_Def)
                ns0.NoAccessUserEvent_Def.__bases__ = tuple(bases)

            ns0.SessionEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SessionTerminatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SessionTerminatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SessionTerminatedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"sessionId"), aname="_sessionId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"terminatedUsername"), aname="_terminatedUsername", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SessionEvent_Def not in ns0.SessionTerminatedEvent_Def.__bases__:
                bases = list(ns0.SessionTerminatedEvent_Def.__bases__)
                bases.insert(0, ns0.SessionEvent_Def)
                ns0.SessionTerminatedEvent_Def.__bases__ = tuple(bases)

            ns0.SessionEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GlobalMessageChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GlobalMessageChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GlobalMessageChangedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"prevMessage"), aname="_prevMessage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SessionEvent_Def not in ns0.GlobalMessageChangedEvent_Def.__bases__:
                bases = list(ns0.GlobalMessageChangedEvent_Def.__bases__)
                bases.insert(0, ns0.SessionEvent_Def)
                ns0.GlobalMessageChangedEvent_Def.__bases__ = tuple(bases)

            ns0.SessionEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UpgradeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UpgradeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UpgradeEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.UpgradeEvent_Def.__bases__:
                bases = list(ns0.UpgradeEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.UpgradeEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InfoUpgradeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InfoUpgradeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InfoUpgradeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.UpgradeEvent_Def not in ns0.InfoUpgradeEvent_Def.__bases__:
                bases = list(ns0.InfoUpgradeEvent_Def.__bases__)
                bases.insert(0, ns0.UpgradeEvent_Def)
                ns0.InfoUpgradeEvent_Def.__bases__ = tuple(bases)

            ns0.UpgradeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class WarningUpgradeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "WarningUpgradeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.WarningUpgradeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.UpgradeEvent_Def not in ns0.WarningUpgradeEvent_Def.__bases__:
                bases = list(ns0.WarningUpgradeEvent_Def.__bases__)
                bases.insert(0, ns0.UpgradeEvent_Def)
                ns0.WarningUpgradeEvent_Def.__bases__ = tuple(bases)

            ns0.UpgradeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ErrorUpgradeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ErrorUpgradeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ErrorUpgradeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.UpgradeEvent_Def not in ns0.ErrorUpgradeEvent_Def.__bases__:
                bases = list(ns0.ErrorUpgradeEvent_Def.__bases__)
                bases.insert(0, ns0.UpgradeEvent_Def)
                ns0.ErrorUpgradeEvent_Def.__bases__ = tuple(bases)

            ns0.UpgradeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UserUpgradeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UserUpgradeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UserUpgradeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.UpgradeEvent_Def not in ns0.UserUpgradeEvent_Def.__bases__:
                bases = list(ns0.UserUpgradeEvent_Def.__bases__)
                bases.insert(0, ns0.UpgradeEvent_Def)
                ns0.UserUpgradeEvent_Def.__bases__ = tuple(bases)

            ns0.UpgradeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.HostEvent_Def.__bases__:
                bases = list(ns0.HostEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.HostEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDasEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDasEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDasEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostDasEvent_Def.__bases__:
                bases = list(ns0.HostDasEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostDasEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostConnectedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostConnectedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostConnectedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostConnectedEvent_Def.__bases__:
                bases = list(ns0.HostConnectedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostConnectedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDisconnectedEventReasonCode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostDisconnectedEventReasonCode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostDisconnectedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDisconnectedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDisconnectedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostDisconnectedEvent_Def.__bases__:
                bases = list(ns0.HostDisconnectedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostDisconnectedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSyncFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSyncFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSyncFailedEvent_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostSyncFailedEvent_Def.__bases__:
                bases = list(ns0.HostSyncFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostSyncFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostConnectionLostEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostConnectionLostEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostConnectionLostEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostConnectionLostEvent_Def.__bases__:
                bases = list(ns0.HostConnectionLostEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostConnectionLostEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostReconnectionFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostReconnectionFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostReconnectionFailedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostReconnectionFailedEvent_Def.__bases__:
                bases = list(ns0.HostReconnectionFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostReconnectionFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCnxFailedNoConnectionEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCnxFailedNoConnectionEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCnxFailedNoConnectionEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostCnxFailedNoConnectionEvent_Def.__bases__:
                bases = list(ns0.HostCnxFailedNoConnectionEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostCnxFailedNoConnectionEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCnxFailedBadUsernameEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCnxFailedBadUsernameEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCnxFailedBadUsernameEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostCnxFailedBadUsernameEvent_Def.__bases__:
                bases = list(ns0.HostCnxFailedBadUsernameEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostCnxFailedBadUsernameEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCnxFailedBadVersionEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCnxFailedBadVersionEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCnxFailedBadVersionEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostCnxFailedBadVersionEvent_Def.__bases__:
                bases = list(ns0.HostCnxFailedBadVersionEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostCnxFailedBadVersionEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCnxFailedAlreadyManagedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCnxFailedAlreadyManagedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCnxFailedAlreadyManagedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"serverName"), aname="_serverName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostCnxFailedAlreadyManagedEvent_Def.__bases__:
                bases = list(ns0.HostCnxFailedAlreadyManagedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostCnxFailedAlreadyManagedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCnxFailedNoLicenseEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCnxFailedNoLicenseEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCnxFailedNoLicenseEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostCnxFailedNoLicenseEvent_Def.__bases__:
                bases = list(ns0.HostCnxFailedNoLicenseEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostCnxFailedNoLicenseEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCnxFailedNetworkErrorEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCnxFailedNetworkErrorEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCnxFailedNetworkErrorEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostCnxFailedNetworkErrorEvent_Def.__bases__:
                bases = list(ns0.HostCnxFailedNetworkErrorEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostCnxFailedNetworkErrorEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostRemovedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostRemovedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostRemovedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostRemovedEvent_Def.__bases__:
                bases = list(ns0.HostRemovedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostRemovedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCnxFailedCcagentUpgradeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCnxFailedCcagentUpgradeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCnxFailedCcagentUpgradeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostCnxFailedCcagentUpgradeEvent_Def.__bases__:
                bases = list(ns0.HostCnxFailedCcagentUpgradeEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostCnxFailedCcagentUpgradeEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCnxFailedBadCcagentEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCnxFailedBadCcagentEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCnxFailedBadCcagentEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostCnxFailedBadCcagentEvent_Def.__bases__:
                bases = list(ns0.HostCnxFailedBadCcagentEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostCnxFailedBadCcagentEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCnxFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCnxFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCnxFailedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostCnxFailedEvent_Def.__bases__:
                bases = list(ns0.HostCnxFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostCnxFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCnxFailedAccountFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCnxFailedAccountFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCnxFailedAccountFailedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostCnxFailedAccountFailedEvent_Def.__bases__:
                bases = list(ns0.HostCnxFailedAccountFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostCnxFailedAccountFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCnxFailedNoAccessEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCnxFailedNoAccessEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCnxFailedNoAccessEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostCnxFailedNoAccessEvent_Def.__bases__:
                bases = list(ns0.HostCnxFailedNoAccessEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostCnxFailedNoAccessEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostShutdownEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostShutdownEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostShutdownEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostShutdownEvent_Def.__bases__:
                bases = list(ns0.HostShutdownEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostShutdownEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCnxFailedNotFoundEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCnxFailedNotFoundEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCnxFailedNotFoundEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostCnxFailedNotFoundEvent_Def.__bases__:
                bases = list(ns0.HostCnxFailedNotFoundEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostCnxFailedNotFoundEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCnxFailedTimeoutEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCnxFailedTimeoutEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCnxFailedTimeoutEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostCnxFailedTimeoutEvent_Def.__bases__:
                bases = list(ns0.HostCnxFailedTimeoutEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostCnxFailedTimeoutEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostUpgradeFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostUpgradeFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostUpgradeFailedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostUpgradeFailedEvent_Def.__bases__:
                bases = list(ns0.HostUpgradeFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostUpgradeFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EnteringMaintenanceModeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EnteringMaintenanceModeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EnteringMaintenanceModeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.EnteringMaintenanceModeEvent_Def.__bases__:
                bases = list(ns0.EnteringMaintenanceModeEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.EnteringMaintenanceModeEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EnteredMaintenanceModeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EnteredMaintenanceModeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EnteredMaintenanceModeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.EnteredMaintenanceModeEvent_Def.__bases__:
                bases = list(ns0.EnteredMaintenanceModeEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.EnteredMaintenanceModeEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExitMaintenanceModeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExitMaintenanceModeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExitMaintenanceModeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.ExitMaintenanceModeEvent_Def.__bases__:
                bases = list(ns0.ExitMaintenanceModeEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.ExitMaintenanceModeEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CanceledHostOperationEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CanceledHostOperationEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CanceledHostOperationEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.CanceledHostOperationEvent_Def.__bases__:
                bases = list(ns0.CanceledHostOperationEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.CanceledHostOperationEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TimedOutHostOperationEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TimedOutHostOperationEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TimedOutHostOperationEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.TimedOutHostOperationEvent_Def.__bases__:
                bases = list(ns0.TimedOutHostOperationEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.TimedOutHostOperationEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDasEnabledEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDasEnabledEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDasEnabledEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostDasEnabledEvent_Def.__bases__:
                bases = list(ns0.HostDasEnabledEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostDasEnabledEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDasDisabledEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDasDisabledEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDasDisabledEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostDasDisabledEvent_Def.__bases__:
                bases = list(ns0.HostDasDisabledEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostDasDisabledEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDasEnablingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDasEnablingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDasEnablingEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostDasEnablingEvent_Def.__bases__:
                bases = list(ns0.HostDasEnablingEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostDasEnablingEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDasDisablingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDasDisablingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDasDisablingEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostDasDisablingEvent_Def.__bases__:
                bases = list(ns0.HostDasDisablingEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostDasDisablingEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDasErrorEventHostDasErrorReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostDasErrorEventHostDasErrorReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostDasErrorEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDasErrorEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDasErrorEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostDasErrorEvent_Def.__bases__:
                bases = list(ns0.HostDasErrorEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostDasErrorEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDasOkEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDasOkEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDasOkEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostDasOkEvent_Def.__bases__:
                bases = list(ns0.HostDasOkEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostDasOkEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VcAgentUpgradedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VcAgentUpgradedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VcAgentUpgradedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.VcAgentUpgradedEvent_Def.__bases__:
                bases = list(ns0.VcAgentUpgradedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.VcAgentUpgradedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VcAgentUninstalledEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VcAgentUninstalledEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VcAgentUninstalledEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.VcAgentUninstalledEvent_Def.__bases__:
                bases = list(ns0.VcAgentUninstalledEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.VcAgentUninstalledEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VcAgentUpgradeFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VcAgentUpgradeFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VcAgentUpgradeFailedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.VcAgentUpgradeFailedEvent_Def.__bases__:
                bases = list(ns0.VcAgentUpgradeFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.VcAgentUpgradeFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VcAgentUninstallFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VcAgentUninstallFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VcAgentUninstallFailedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.VcAgentUninstallFailedEvent_Def.__bases__:
                bases = list(ns0.VcAgentUninstallFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.VcAgentUninstallFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostAddedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostAddedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostAddedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostAddedEvent_Def.__bases__:
                bases = list(ns0.HostAddedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostAddedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostAddFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostAddFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostAddFailedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostname"), aname="_hostname", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostAddFailedEvent_Def.__bases__:
                bases = list(ns0.HostAddFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostAddFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostIpChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIpChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIpChangedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"oldIP"), aname="_oldIP", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newIP"), aname="_newIP", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostIpChangedEvent_Def.__bases__:
                bases = list(ns0.HostIpChangedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostIpChangedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EnteringStandbyModeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EnteringStandbyModeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EnteringStandbyModeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.EnteringStandbyModeEvent_Def.__bases__:
                bases = list(ns0.EnteringStandbyModeEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.EnteringStandbyModeEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsEnteringStandbyModeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsEnteringStandbyModeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsEnteringStandbyModeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EnteringStandbyModeEvent_Def not in ns0.DrsEnteringStandbyModeEvent_Def.__bases__:
                bases = list(ns0.DrsEnteringStandbyModeEvent_Def.__bases__)
                bases.insert(0, ns0.EnteringStandbyModeEvent_Def)
                ns0.DrsEnteringStandbyModeEvent_Def.__bases__ = tuple(bases)

            ns0.EnteringStandbyModeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EnteredStandbyModeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EnteredStandbyModeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EnteredStandbyModeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.EnteredStandbyModeEvent_Def.__bases__:
                bases = list(ns0.EnteredStandbyModeEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.EnteredStandbyModeEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsEnteredStandbyModeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsEnteredStandbyModeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsEnteredStandbyModeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EnteredStandbyModeEvent_Def not in ns0.DrsEnteredStandbyModeEvent_Def.__bases__:
                bases = list(ns0.DrsEnteredStandbyModeEvent_Def.__bases__)
                bases.insert(0, ns0.EnteredStandbyModeEvent_Def)
                ns0.DrsEnteredStandbyModeEvent_Def.__bases__ = tuple(bases)

            ns0.EnteredStandbyModeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExitingStandbyModeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExitingStandbyModeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExitingStandbyModeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.ExitingStandbyModeEvent_Def.__bases__:
                bases = list(ns0.ExitingStandbyModeEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.ExitingStandbyModeEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsExitingStandbyModeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsExitingStandbyModeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsExitingStandbyModeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ExitingStandbyModeEvent_Def not in ns0.DrsExitingStandbyModeEvent_Def.__bases__:
                bases = list(ns0.DrsExitingStandbyModeEvent_Def.__bases__)
                bases.insert(0, ns0.ExitingStandbyModeEvent_Def)
                ns0.DrsExitingStandbyModeEvent_Def.__bases__ = tuple(bases)

            ns0.ExitingStandbyModeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExitedStandbyModeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExitedStandbyModeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExitedStandbyModeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.ExitedStandbyModeEvent_Def.__bases__:
                bases = list(ns0.ExitedStandbyModeEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.ExitedStandbyModeEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsExitedStandbyModeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsExitedStandbyModeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsExitedStandbyModeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ExitedStandbyModeEvent_Def not in ns0.DrsExitedStandbyModeEvent_Def.__bases__:
                bases = list(ns0.DrsExitedStandbyModeEvent_Def.__bases__)
                bases.insert(0, ns0.ExitedStandbyModeEvent_Def)
                ns0.DrsExitedStandbyModeEvent_Def.__bases__ = tuple(bases)

            ns0.ExitedStandbyModeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExitStandbyModeFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExitStandbyModeFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExitStandbyModeFailedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.ExitStandbyModeFailedEvent_Def.__bases__:
                bases = list(ns0.ExitStandbyModeFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.ExitStandbyModeFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsExitStandbyModeFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsExitStandbyModeFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsExitStandbyModeFailedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ExitStandbyModeFailedEvent_Def not in ns0.DrsExitStandbyModeFailedEvent_Def.__bases__:
                bases = list(ns0.DrsExitStandbyModeFailedEvent_Def.__bases__)
                bases.insert(0, ns0.ExitStandbyModeFailedEvent_Def)
                ns0.DrsExitStandbyModeFailedEvent_Def.__bases__ = tuple(bases)

            ns0.ExitStandbyModeFailedEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UpdatedAgentBeingRestartedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UpdatedAgentBeingRestartedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UpdatedAgentBeingRestartedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.UpdatedAgentBeingRestartedEvent_Def.__bases__:
                bases = list(ns0.UpdatedAgentBeingRestartedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.UpdatedAgentBeingRestartedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AccountCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AccountCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AccountCreatedEvent_Def.schema
            TClist = [GTD("urn:vim25","HostAccountSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"group"), aname="_group", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.AccountCreatedEvent_Def.__bases__:
                bases = list(ns0.AccountCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.AccountCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AccountRemovedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AccountRemovedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AccountRemovedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"account"), aname="_account", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"group"), aname="_group", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.AccountRemovedEvent_Def.__bases__:
                bases = list(ns0.AccountRemovedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.AccountRemovedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UserPasswordChanged_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UserPasswordChanged")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UserPasswordChanged_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"userLogin"), aname="_userLogin", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.UserPasswordChanged_Def.__bases__:
                bases = list(ns0.UserPasswordChanged_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.UserPasswordChanged_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AccountUpdatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AccountUpdatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AccountUpdatedEvent_Def.schema
            TClist = [GTD("urn:vim25","HostAccountSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"group"), aname="_group", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"prevDescription"), aname="_prevDescription", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.AccountUpdatedEvent_Def.__bases__:
                bases = list(ns0.AccountUpdatedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.AccountUpdatedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UserAssignedToGroup_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UserAssignedToGroup")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UserAssignedToGroup_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"userLogin"), aname="_userLogin", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"group"), aname="_group", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.UserAssignedToGroup_Def.__bases__:
                bases = list(ns0.UserAssignedToGroup_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.UserAssignedToGroup_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UserUnassignedFromGroup_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UserUnassignedFromGroup")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UserUnassignedFromGroup_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"userLogin"), aname="_userLogin", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"group"), aname="_group", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.UserUnassignedFromGroup_Def.__bases__:
                bases = list(ns0.UserUnassignedFromGroup_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.UserUnassignedFromGroup_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastorePrincipalConfigured_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastorePrincipalConfigured")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastorePrincipalConfigured_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"datastorePrincipal"), aname="_datastorePrincipal", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.DatastorePrincipalConfigured_Def.__bases__:
                bases = list(ns0.DatastorePrincipalConfigured_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.DatastorePrincipalConfigured_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMFSDatastoreCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMFSDatastoreCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMFSDatastoreCreatedEvent_Def.schema
            TClist = [GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastoreUrl"), aname="_datastoreUrl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.VMFSDatastoreCreatedEvent_Def.__bases__:
                bases = list(ns0.VMFSDatastoreCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.VMFSDatastoreCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NASDatastoreCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NASDatastoreCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NASDatastoreCreatedEvent_Def.schema
            TClist = [GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastoreUrl"), aname="_datastoreUrl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.NASDatastoreCreatedEvent_Def.__bases__:
                bases = list(ns0.NASDatastoreCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.NASDatastoreCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LocalDatastoreCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LocalDatastoreCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LocalDatastoreCreatedEvent_Def.schema
            TClist = [GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastoreUrl"), aname="_datastoreUrl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.LocalDatastoreCreatedEvent_Def.__bases__:
                bases = list(ns0.LocalDatastoreCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.LocalDatastoreCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMFSDatastoreExtendedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMFSDatastoreExtendedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMFSDatastoreExtendedEvent_Def.schema
            TClist = [GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.VMFSDatastoreExtendedEvent_Def.__bases__:
                bases = list(ns0.VMFSDatastoreExtendedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.VMFSDatastoreExtendedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMFSDatastoreExpandedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMFSDatastoreExpandedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMFSDatastoreExpandedEvent_Def.schema
            TClist = [GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.VMFSDatastoreExpandedEvent_Def.__bases__:
                bases = list(ns0.VMFSDatastoreExpandedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.VMFSDatastoreExpandedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreRemovedOnHostEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreRemovedOnHostEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreRemovedOnHostEvent_Def.schema
            TClist = [GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.DatastoreRemovedOnHostEvent_Def.__bases__:
                bases = list(ns0.DatastoreRemovedOnHostEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.DatastoreRemovedOnHostEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreRenamedOnHostEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreRenamedOnHostEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreRenamedOnHostEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"oldName"), aname="_oldName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newName"), aname="_newName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.DatastoreRenamedOnHostEvent_Def.__bases__:
                bases = list(ns0.DatastoreRenamedOnHostEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.DatastoreRenamedOnHostEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DuplicateIpDetectedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DuplicateIpDetectedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DuplicateIpDetectedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"duplicateIP"), aname="_duplicateIP", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"macAddress"), aname="_macAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.DuplicateIpDetectedEvent_Def.__bases__:
                bases = list(ns0.DuplicateIpDetectedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.DuplicateIpDetectedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreDiscoveredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreDiscoveredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreDiscoveredEvent_Def.schema
            TClist = [GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.DatastoreDiscoveredEvent_Def.__bases__:
                bases = list(ns0.DatastoreDiscoveredEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.DatastoreDiscoveredEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsResourceConfigureFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsResourceConfigureFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsResourceConfigureFailedEvent_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.DrsResourceConfigureFailedEvent_Def.__bases__:
                bases = list(ns0.DrsResourceConfigureFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.DrsResourceConfigureFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsResourceConfigureSyncedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsResourceConfigureSyncedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsResourceConfigureSyncedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.DrsResourceConfigureSyncedEvent_Def.__bases__:
                bases = list(ns0.DrsResourceConfigureSyncedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.DrsResourceConfigureSyncedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostGetShortNameFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostGetShortNameFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostGetShortNameFailedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostGetShortNameFailedEvent_Def.__bases__:
                bases = list(ns0.HostGetShortNameFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostGetShortNameFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostShortNameToIpFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostShortNameToIpFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostShortNameToIpFailedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"shortName"), aname="_shortName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostShortNameToIpFailedEvent_Def.__bases__:
                bases = list(ns0.HostShortNameToIpFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostShortNameToIpFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostIpToShortNameFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIpToShortNameFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIpToShortNameFailedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostIpToShortNameFailedEvent_Def.__bases__:
                bases = list(ns0.HostIpToShortNameFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostIpToShortNameFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostPrimaryAgentNotShortNameEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPrimaryAgentNotShortNameEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPrimaryAgentNotShortNameEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"primaryAgent"), aname="_primaryAgent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDasEvent_Def not in ns0.HostPrimaryAgentNotShortNameEvent_Def.__bases__:
                bases = list(ns0.HostPrimaryAgentNotShortNameEvent_Def.__bases__)
                bases.insert(0, ns0.HostDasEvent_Def)
                ns0.HostPrimaryAgentNotShortNameEvent_Def.__bases__ = tuple(bases)

            ns0.HostDasEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNotInClusterEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNotInClusterEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNotInClusterEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDasEvent_Def not in ns0.HostNotInClusterEvent_Def.__bases__:
                bases = list(ns0.HostNotInClusterEvent_Def.__bases__)
                bases.insert(0, ns0.HostDasEvent_Def)
                ns0.HostNotInClusterEvent_Def.__bases__ = tuple(bases)

            ns0.HostDasEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostIsolationIpPingFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIsolationIpPingFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIsolationIpPingFailedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"isolationIp"), aname="_isolationIp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDasEvent_Def not in ns0.HostIsolationIpPingFailedEvent_Def.__bases__:
                bases = list(ns0.HostIsolationIpPingFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostDasEvent_Def)
                ns0.HostIsolationIpPingFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostDasEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostIpInconsistentEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIpInconsistentEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIpInconsistentEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipAddress2"), aname="_ipAddress2", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostIpInconsistentEvent_Def.__bases__:
                bases = list(ns0.HostIpInconsistentEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostIpInconsistentEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostUserWorldSwapNotEnabledEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostUserWorldSwapNotEnabledEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostUserWorldSwapNotEnabledEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostUserWorldSwapNotEnabledEvent_Def.__bases__:
                bases = list(ns0.HostUserWorldSwapNotEnabledEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostUserWorldSwapNotEnabledEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNonCompliantEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNonCompliantEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNonCompliantEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostNonCompliantEvent_Def.__bases__:
                bases = list(ns0.HostNonCompliantEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostNonCompliantEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCompliantEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCompliantEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCompliantEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostCompliantEvent_Def.__bases__:
                bases = list(ns0.HostCompliantEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostCompliantEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostComplianceCheckedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostComplianceCheckedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostComplianceCheckedEvent_Def.schema
            TClist = [GTD("urn:vim25","ProfileEventArgument",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostComplianceCheckedEvent_Def.__bases__:
                bases = list(ns0.HostComplianceCheckedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostComplianceCheckedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterComplianceCheckedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterComplianceCheckedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterComplianceCheckedEvent_Def.schema
            TClist = [GTD("urn:vim25","ProfileEventArgument",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.ClusterComplianceCheckedEvent_Def.__bases__:
                bases = list(ns0.ClusterComplianceCheckedEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.ClusterComplianceCheckedEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileEvent_Def.schema
            TClist = [GTD("urn:vim25","ProfileEventArgument",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.ProfileEvent_Def.__bases__:
                bases = list(ns0.ProfileEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.ProfileEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileCreatedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileEvent_Def not in ns0.ProfileCreatedEvent_Def.__bases__:
                bases = list(ns0.ProfileCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.ProfileEvent_Def)
                ns0.ProfileCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.ProfileEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileRemovedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileRemovedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileRemovedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileEvent_Def not in ns0.ProfileRemovedEvent_Def.__bases__:
                bases = list(ns0.ProfileRemovedEvent_Def.__bases__)
                bases.insert(0, ns0.ProfileEvent_Def)
                ns0.ProfileRemovedEvent_Def.__bases__ = tuple(bases)

            ns0.ProfileEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileAssociatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileAssociatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileAssociatedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileEvent_Def not in ns0.ProfileAssociatedEvent_Def.__bases__:
                bases = list(ns0.ProfileAssociatedEvent_Def.__bases__)
                bases.insert(0, ns0.ProfileEvent_Def)
                ns0.ProfileAssociatedEvent_Def.__bases__ = tuple(bases)

            ns0.ProfileEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileDissociatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileDissociatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileDissociatedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileEvent_Def not in ns0.ProfileDissociatedEvent_Def.__bases__:
                bases = list(ns0.ProfileDissociatedEvent_Def.__bases__)
                bases.insert(0, ns0.ProfileEvent_Def)
                ns0.ProfileDissociatedEvent_Def.__bases__ = tuple(bases)

            ns0.ProfileEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostConfigAppliedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostConfigAppliedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostConfigAppliedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostConfigAppliedEvent_Def.__bases__:
                bases = list(ns0.HostConfigAppliedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostConfigAppliedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileReferenceHostChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileReferenceHostChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileReferenceHostChangedEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"referenceHost"), aname="_referenceHost", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"referenceHostName"), aname="_referenceHostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"prevReferenceHostName"), aname="_prevReferenceHostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileEvent_Def not in ns0.ProfileReferenceHostChangedEvent_Def.__bases__:
                bases = list(ns0.ProfileReferenceHostChangedEvent_Def.__bases__)
                bases.insert(0, ns0.ProfileEvent_Def)
                ns0.ProfileReferenceHostChangedEvent_Def.__bases__ = tuple(bases)

            ns0.ProfileEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileChangedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileEvent_Def not in ns0.ProfileChangedEvent_Def.__bases__:
                bases = list(ns0.ProfileChangedEvent_Def.__bases__)
                bases.insert(0, ns0.ProfileEvent_Def)
                ns0.ProfileChangedEvent_Def.__bases__ = tuple(bases)

            ns0.ProfileEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostProfileAppliedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProfileAppliedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProfileAppliedEvent_Def.schema
            TClist = [GTD("urn:vim25","ProfileEventArgument",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostProfileAppliedEvent_Def.__bases__:
                bases = list(ns0.HostProfileAppliedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostProfileAppliedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostShortNameInconsistentEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostShortNameInconsistentEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostShortNameInconsistentEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"shortName"), aname="_shortName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"shortName2"), aname="_shortName2", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDasEvent_Def not in ns0.HostShortNameInconsistentEvent_Def.__bases__:
                bases = list(ns0.HostShortNameInconsistentEvent_Def.__bases__)
                bases.insert(0, ns0.HostDasEvent_Def)
                ns0.HostShortNameInconsistentEvent_Def.__bases__ = tuple(bases)

            ns0.HostDasEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNoRedundantManagementNetworkEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNoRedundantManagementNetworkEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNoRedundantManagementNetworkEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDasEvent_Def not in ns0.HostNoRedundantManagementNetworkEvent_Def.__bases__:
                bases = list(ns0.HostNoRedundantManagementNetworkEvent_Def.__bases__)
                bases.insert(0, ns0.HostDasEvent_Def)
                ns0.HostNoRedundantManagementNetworkEvent_Def.__bases__ = tuple(bases)

            ns0.HostDasEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNoAvailableNetworksEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNoAvailableNetworksEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNoAvailableNetworksEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ips"), aname="_ips", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDasEvent_Def not in ns0.HostNoAvailableNetworksEvent_Def.__bases__:
                bases = list(ns0.HostNoAvailableNetworksEvent_Def.__bases__)
                bases.insert(0, ns0.HostDasEvent_Def)
                ns0.HostNoAvailableNetworksEvent_Def.__bases__ = tuple(bases)

            ns0.HostDasEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostExtraNetworksEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostExtraNetworksEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostExtraNetworksEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ips"), aname="_ips", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDasEvent_Def not in ns0.HostExtraNetworksEvent_Def.__bases__:
                bases = list(ns0.HostExtraNetworksEvent_Def.__bases__)
                bases.insert(0, ns0.HostDasEvent_Def)
                ns0.HostExtraNetworksEvent_Def.__bases__ = tuple(bases)

            ns0.HostDasEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNoHAEnabledPortGroupsEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNoHAEnabledPortGroupsEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNoHAEnabledPortGroupsEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDasEvent_Def not in ns0.HostNoHAEnabledPortGroupsEvent_Def.__bases__:
                bases = list(ns0.HostNoHAEnabledPortGroupsEvent_Def.__bases__)
                bases.insert(0, ns0.HostDasEvent_Def)
                ns0.HostNoHAEnabledPortGroupsEvent_Def.__bases__ = tuple(bases)

            ns0.HostDasEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostMissingNetworksEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMissingNetworksEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMissingNetworksEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ips"), aname="_ips", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDasEvent_Def not in ns0.HostMissingNetworksEvent_Def.__bases__:
                bases = list(ns0.HostMissingNetworksEvent_Def.__bases__)
                bases.insert(0, ns0.HostDasEvent_Def)
                ns0.HostMissingNetworksEvent_Def.__bases__ = tuple(bases)

            ns0.HostDasEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VnicPortArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VnicPortArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VnicPortArgument_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnic"), aname="_vnic", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchPortConnection",lazy=True)(pname=(ns,"port"), aname="_port", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VnicPortArgument_Def.__bases__:
                bases = list(ns0.VnicPortArgument_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VnicPortArgument_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVnicPortArgument_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVnicPortArgument")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVnicPortArgument_Def.schema
            TClist = [GTD("urn:vim25","VnicPortArgument",lazy=True)(pname=(ns,"VnicPortArgument"), aname="_VnicPortArgument", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VnicPortArgument = []
                    return
            Holder.__name__ = "ArrayOfVnicPortArgument_Holder"
            self.pyclass = Holder

    class HostVnicConnectedToCustomizedDVPortEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVnicConnectedToCustomizedDVPortEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVnicConnectedToCustomizedDVPortEvent_Def.schema
            TClist = [GTD("urn:vim25","VnicPortArgument",lazy=True)(pname=(ns,"vnic"), aname="_vnic", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"prevPortKey"), aname="_prevPortKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostVnicConnectedToCustomizedDVPortEvent_Def.__bases__:
                bases = list(ns0.HostVnicConnectedToCustomizedDVPortEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostVnicConnectedToCustomizedDVPortEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GhostDvsProxySwitchDetectedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GhostDvsProxySwitchDetectedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GhostDvsProxySwitchDetectedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"switchUuid"), aname="_switchUuid", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.GhostDvsProxySwitchDetectedEvent_Def.__bases__:
                bases = list(ns0.GhostDvsProxySwitchDetectedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.GhostDvsProxySwitchDetectedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GhostDvsProxySwitchRemovedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GhostDvsProxySwitchRemovedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GhostDvsProxySwitchRemovedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"switchUuid"), aname="_switchUuid", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.GhostDvsProxySwitchRemovedEvent_Def.__bases__:
                bases = list(ns0.GhostDvsProxySwitchRemovedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.GhostDvsProxySwitchRemovedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmEvent_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"template"), aname="_template", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.VmEvent_Def.__bases__:
                bases = list(ns0.VmEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.VmEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmPoweredOffEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmPoweredOffEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmPoweredOffEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmPoweredOffEvent_Def.__bases__:
                bases = list(ns0.VmPoweredOffEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmPoweredOffEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmPoweredOnEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmPoweredOnEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmPoweredOnEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmPoweredOnEvent_Def.__bases__:
                bases = list(ns0.VmPoweredOnEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmPoweredOnEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmSuspendedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmSuspendedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmSuspendedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmSuspendedEvent_Def.__bases__:
                bases = list(ns0.VmSuspendedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmSuspendedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmStartingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmStartingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmStartingEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmStartingEvent_Def.__bases__:
                bases = list(ns0.VmStartingEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmStartingEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmStoppingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmStoppingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmStoppingEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmStoppingEvent_Def.__bases__:
                bases = list(ns0.VmStoppingEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmStoppingEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmSuspendingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmSuspendingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmSuspendingEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmSuspendingEvent_Def.__bases__:
                bases = list(ns0.VmSuspendingEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmSuspendingEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmResumingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmResumingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmResumingEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmResumingEvent_Def.__bases__:
                bases = list(ns0.VmResumingEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmResumingEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDisconnectedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDisconnectedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDisconnectedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmDisconnectedEvent_Def.__bases__:
                bases = list(ns0.VmDisconnectedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmDisconnectedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmRemoteConsoleConnectedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmRemoteConsoleConnectedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmRemoteConsoleConnectedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmRemoteConsoleConnectedEvent_Def.__bases__:
                bases = list(ns0.VmRemoteConsoleConnectedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmRemoteConsoleConnectedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmRemoteConsoleDisconnectedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmRemoteConsoleDisconnectedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmRemoteConsoleDisconnectedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmRemoteConsoleDisconnectedEvent_Def.__bases__:
                bases = list(ns0.VmRemoteConsoleDisconnectedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmRemoteConsoleDisconnectedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDiscoveredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDiscoveredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDiscoveredEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmDiscoveredEvent_Def.__bases__:
                bases = list(ns0.VmDiscoveredEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmDiscoveredEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmOrphanedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmOrphanedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmOrphanedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmOrphanedEvent_Def.__bases__:
                bases = list(ns0.VmOrphanedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmOrphanedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmBeingCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmBeingCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmBeingCreatedEvent_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmBeingCreatedEvent_Def.__bases__:
                bases = list(ns0.VmBeingCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmBeingCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmCreatedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmCreatedEvent_Def.__bases__:
                bases = list(ns0.VmCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmStartRecordingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmStartRecordingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmStartRecordingEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmStartRecordingEvent_Def.__bases__:
                bases = list(ns0.VmStartRecordingEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmStartRecordingEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmEndRecordingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmEndRecordingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmEndRecordingEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmEndRecordingEvent_Def.__bases__:
                bases = list(ns0.VmEndRecordingEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmEndRecordingEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmStartReplayingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmStartReplayingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmStartReplayingEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmStartReplayingEvent_Def.__bases__:
                bases = list(ns0.VmStartReplayingEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmStartReplayingEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmEndReplayingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmEndReplayingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmEndReplayingEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmEndReplayingEvent_Def.__bases__:
                bases = list(ns0.VmEndReplayingEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmEndReplayingEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmRegisteredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmRegisteredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmRegisteredEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmRegisteredEvent_Def.__bases__:
                bases = list(ns0.VmRegisteredEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmRegisteredEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmAutoRenameEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmAutoRenameEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmAutoRenameEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"oldName"), aname="_oldName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newName"), aname="_newName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmAutoRenameEvent_Def.__bases__:
                bases = list(ns0.VmAutoRenameEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmAutoRenameEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmBeingHotMigratedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmBeingHotMigratedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmBeingHotMigratedEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"destHost"), aname="_destHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatacenterEventArgument",lazy=True)(pname=(ns,"destDatacenter"), aname="_destDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"destDatastore"), aname="_destDatastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmBeingHotMigratedEvent_Def.__bases__:
                bases = list(ns0.VmBeingHotMigratedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmBeingHotMigratedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmResettingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmResettingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmResettingEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmResettingEvent_Def.__bases__:
                bases = list(ns0.VmResettingEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmResettingEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmStaticMacConflictEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmStaticMacConflictEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmStaticMacConflictEvent_Def.schema
            TClist = [GTD("urn:vim25","VmEventArgument",lazy=True)(pname=(ns,"conflictedVm"), aname="_conflictedVm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mac"), aname="_mac", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmStaticMacConflictEvent_Def.__bases__:
                bases = list(ns0.VmStaticMacConflictEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmStaticMacConflictEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmMacConflictEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmMacConflictEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmMacConflictEvent_Def.schema
            TClist = [GTD("urn:vim25","VmEventArgument",lazy=True)(pname=(ns,"conflictedVm"), aname="_conflictedVm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mac"), aname="_mac", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmMacConflictEvent_Def.__bases__:
                bases = list(ns0.VmMacConflictEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmMacConflictEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmBeingDeployedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmBeingDeployedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmBeingDeployedEvent_Def.schema
            TClist = [GTD("urn:vim25","VmEventArgument",lazy=True)(pname=(ns,"srcTemplate"), aname="_srcTemplate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmBeingDeployedEvent_Def.__bases__:
                bases = list(ns0.VmBeingDeployedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmBeingDeployedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDeployFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDeployFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDeployFailedEvent_Def.schema
            TClist = [GTD("urn:vim25","EntityEventArgument",lazy=True)(pname=(ns,"destDatastore"), aname="_destDatastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmDeployFailedEvent_Def.__bases__:
                bases = list(ns0.VmDeployFailedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmDeployFailedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDeployedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDeployedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDeployedEvent_Def.schema
            TClist = [GTD("urn:vim25","VmEventArgument",lazy=True)(pname=(ns,"srcTemplate"), aname="_srcTemplate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmDeployedEvent_Def.__bases__:
                bases = list(ns0.VmDeployedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmDeployedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmMacChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmMacChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmMacChangedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"adapter"), aname="_adapter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"oldMac"), aname="_oldMac", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newMac"), aname="_newMac", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmMacChangedEvent_Def.__bases__:
                bases = list(ns0.VmMacChangedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmMacChangedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmMacAssignedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmMacAssignedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmMacAssignedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"adapter"), aname="_adapter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mac"), aname="_mac", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmMacAssignedEvent_Def.__bases__:
                bases = list(ns0.VmMacAssignedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmMacAssignedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmUuidConflictEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmUuidConflictEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmUuidConflictEvent_Def.schema
            TClist = [GTD("urn:vim25","VmEventArgument",lazy=True)(pname=(ns,"conflictedVm"), aname="_conflictedVm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmUuidConflictEvent_Def.__bases__:
                bases = list(ns0.VmUuidConflictEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmUuidConflictEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmInstanceUuidConflictEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmInstanceUuidConflictEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmInstanceUuidConflictEvent_Def.schema
            TClist = [GTD("urn:vim25","VmEventArgument",lazy=True)(pname=(ns,"conflictedVm"), aname="_conflictedVm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmInstanceUuidConflictEvent_Def.__bases__:
                bases = list(ns0.VmInstanceUuidConflictEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmInstanceUuidConflictEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmBeingMigratedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmBeingMigratedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmBeingMigratedEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"destHost"), aname="_destHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatacenterEventArgument",lazy=True)(pname=(ns,"destDatacenter"), aname="_destDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"destDatastore"), aname="_destDatastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmBeingMigratedEvent_Def.__bases__:
                bases = list(ns0.VmBeingMigratedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmBeingMigratedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFailedMigrateEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFailedMigrateEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFailedMigrateEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"destHost"), aname="_destHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatacenterEventArgument",lazy=True)(pname=(ns,"destDatacenter"), aname="_destDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"destDatastore"), aname="_destDatastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFailedMigrateEvent_Def.__bases__:
                bases = list(ns0.VmFailedMigrateEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFailedMigrateEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmMigratedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmMigratedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmMigratedEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"sourceHost"), aname="_sourceHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatacenterEventArgument",lazy=True)(pname=(ns,"sourceDatacenter"), aname="_sourceDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"sourceDatastore"), aname="_sourceDatastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmMigratedEvent_Def.__bases__:
                bases = list(ns0.VmMigratedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmMigratedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmUnsupportedStartingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmUnsupportedStartingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmUnsupportedStartingEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"guestId"), aname="_guestId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmStartingEvent_Def not in ns0.VmUnsupportedStartingEvent_Def.__bases__:
                bases = list(ns0.VmUnsupportedStartingEvent_Def.__bases__)
                bases.insert(0, ns0.VmStartingEvent_Def)
                ns0.VmUnsupportedStartingEvent_Def.__bases__ = tuple(bases)

            ns0.VmStartingEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsVmMigratedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsVmMigratedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsVmMigratedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmMigratedEvent_Def not in ns0.DrsVmMigratedEvent_Def.__bases__:
                bases = list(ns0.DrsVmMigratedEvent_Def.__bases__)
                bases.insert(0, ns0.VmMigratedEvent_Def)
                ns0.DrsVmMigratedEvent_Def.__bases__ = tuple(bases)

            ns0.VmMigratedEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsVmPoweredOnEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsVmPoweredOnEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsVmPoweredOnEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmPoweredOnEvent_Def not in ns0.DrsVmPoweredOnEvent_Def.__bases__:
                bases = list(ns0.DrsVmPoweredOnEvent_Def.__bases__)
                bases.insert(0, ns0.VmPoweredOnEvent_Def)
                ns0.DrsVmPoweredOnEvent_Def.__bases__ = tuple(bases)

            ns0.VmPoweredOnEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsRuleViolationEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsRuleViolationEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsRuleViolationEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.DrsRuleViolationEvent_Def.__bases__:
                bases = list(ns0.DrsRuleViolationEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.DrsRuleViolationEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsSoftRuleViolationEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsSoftRuleViolationEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsSoftRuleViolationEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.DrsSoftRuleViolationEvent_Def.__bases__:
                bases = list(ns0.DrsSoftRuleViolationEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.DrsSoftRuleViolationEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsRuleComplianceEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsRuleComplianceEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsRuleComplianceEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.DrsRuleComplianceEvent_Def.__bases__:
                bases = list(ns0.DrsRuleComplianceEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.DrsRuleComplianceEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmRelocateSpecEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmRelocateSpecEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmRelocateSpecEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmRelocateSpecEvent_Def.__bases__:
                bases = list(ns0.VmRelocateSpecEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmRelocateSpecEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmBeingRelocatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmBeingRelocatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmBeingRelocatedEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"destHost"), aname="_destHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatacenterEventArgument",lazy=True)(pname=(ns,"destDatacenter"), aname="_destDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"destDatastore"), aname="_destDatastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmRelocateSpecEvent_Def not in ns0.VmBeingRelocatedEvent_Def.__bases__:
                bases = list(ns0.VmBeingRelocatedEvent_Def.__bases__)
                bases.insert(0, ns0.VmRelocateSpecEvent_Def)
                ns0.VmBeingRelocatedEvent_Def.__bases__ = tuple(bases)

            ns0.VmRelocateSpecEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmRelocatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmRelocatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmRelocatedEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"sourceHost"), aname="_sourceHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatacenterEventArgument",lazy=True)(pname=(ns,"sourceDatacenter"), aname="_sourceDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"sourceDatastore"), aname="_sourceDatastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmRelocateSpecEvent_Def not in ns0.VmRelocatedEvent_Def.__bases__:
                bases = list(ns0.VmRelocatedEvent_Def.__bases__)
                bases.insert(0, ns0.VmRelocateSpecEvent_Def)
                ns0.VmRelocatedEvent_Def.__bases__ = tuple(bases)

            ns0.VmRelocateSpecEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmRelocateFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmRelocateFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmRelocateFailedEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"destHost"), aname="_destHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatacenterEventArgument",lazy=True)(pname=(ns,"destDatacenter"), aname="_destDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"destDatastore"), aname="_destDatastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmRelocateSpecEvent_Def not in ns0.VmRelocateFailedEvent_Def.__bases__:
                bases = list(ns0.VmRelocateFailedEvent_Def.__bases__)
                bases.insert(0, ns0.VmRelocateSpecEvent_Def)
                ns0.VmRelocateFailedEvent_Def.__bases__ = tuple(bases)

            ns0.VmRelocateSpecEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmEmigratingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmEmigratingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmEmigratingEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmEmigratingEvent_Def.__bases__:
                bases = list(ns0.VmEmigratingEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmEmigratingEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmCloneEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmCloneEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmCloneEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmCloneEvent_Def.__bases__:
                bases = list(ns0.VmCloneEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmCloneEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmBeingClonedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmBeingClonedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmBeingClonedEvent_Def.schema
            TClist = [GTD("urn:vim25","FolderEventArgument",lazy=True)(pname=(ns,"destFolder"), aname="_destFolder", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"destName"), aname="_destName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"destHost"), aname="_destHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmCloneEvent_Def not in ns0.VmBeingClonedEvent_Def.__bases__:
                bases = list(ns0.VmBeingClonedEvent_Def.__bases__)
                bases.insert(0, ns0.VmCloneEvent_Def)
                ns0.VmBeingClonedEvent_Def.__bases__ = tuple(bases)

            ns0.VmCloneEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmBeingClonedNoFolderEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmBeingClonedNoFolderEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmBeingClonedNoFolderEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"destName"), aname="_destName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"destHost"), aname="_destHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmCloneEvent_Def not in ns0.VmBeingClonedNoFolderEvent_Def.__bases__:
                bases = list(ns0.VmBeingClonedNoFolderEvent_Def.__bases__)
                bases.insert(0, ns0.VmCloneEvent_Def)
                ns0.VmBeingClonedNoFolderEvent_Def.__bases__ = tuple(bases)

            ns0.VmCloneEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmCloneFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmCloneFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmCloneFailedEvent_Def.schema
            TClist = [GTD("urn:vim25","FolderEventArgument",lazy=True)(pname=(ns,"destFolder"), aname="_destFolder", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"destName"), aname="_destName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"destHost"), aname="_destHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmCloneEvent_Def not in ns0.VmCloneFailedEvent_Def.__bases__:
                bases = list(ns0.VmCloneFailedEvent_Def.__bases__)
                bases.insert(0, ns0.VmCloneEvent_Def)
                ns0.VmCloneFailedEvent_Def.__bases__ = tuple(bases)

            ns0.VmCloneEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmClonedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmClonedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmClonedEvent_Def.schema
            TClist = [GTD("urn:vim25","VmEventArgument",lazy=True)(pname=(ns,"sourceVm"), aname="_sourceVm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmCloneEvent_Def not in ns0.VmClonedEvent_Def.__bases__:
                bases = list(ns0.VmClonedEvent_Def.__bases__)
                bases.insert(0, ns0.VmCloneEvent_Def)
                ns0.VmClonedEvent_Def.__bases__ = tuple(bases)

            ns0.VmCloneEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmResourceReallocatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmResourceReallocatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmResourceReallocatedEvent_Def.schema
            TClist = [GTD("urn:vim25","ChangesInfoEventArgument",lazy=True)(pname=(ns,"configChanges"), aname="_configChanges", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmResourceReallocatedEvent_Def.__bases__:
                bases = list(ns0.VmResourceReallocatedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmResourceReallocatedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmRenamedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmRenamedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmRenamedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"oldName"), aname="_oldName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newName"), aname="_newName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmRenamedEvent_Def.__bases__:
                bases = list(ns0.VmRenamedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmRenamedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDateRolledBackEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDateRolledBackEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDateRolledBackEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmDateRolledBackEvent_Def.__bases__:
                bases = list(ns0.VmDateRolledBackEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmDateRolledBackEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmNoNetworkAccessEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmNoNetworkAccessEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmNoNetworkAccessEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"destHost"), aname="_destHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmNoNetworkAccessEvent_Def.__bases__:
                bases = list(ns0.VmNoNetworkAccessEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmNoNetworkAccessEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDiskFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDiskFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDiskFailedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"disk"), aname="_disk", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmDiskFailedEvent_Def.__bases__:
                bases = list(ns0.VmDiskFailedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmDiskFailedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFailedToPowerOnEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFailedToPowerOnEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFailedToPowerOnEvent_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFailedToPowerOnEvent_Def.__bases__:
                bases = list(ns0.VmFailedToPowerOnEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFailedToPowerOnEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFailedToPowerOffEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFailedToPowerOffEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFailedToPowerOffEvent_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFailedToPowerOffEvent_Def.__bases__:
                bases = list(ns0.VmFailedToPowerOffEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFailedToPowerOffEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFailedToSuspendEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFailedToSuspendEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFailedToSuspendEvent_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFailedToSuspendEvent_Def.__bases__:
                bases = list(ns0.VmFailedToSuspendEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFailedToSuspendEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFailedToResetEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFailedToResetEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFailedToResetEvent_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFailedToResetEvent_Def.__bases__:
                bases = list(ns0.VmFailedToResetEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFailedToResetEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFailedToShutdownGuestEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFailedToShutdownGuestEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFailedToShutdownGuestEvent_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFailedToShutdownGuestEvent_Def.__bases__:
                bases = list(ns0.VmFailedToShutdownGuestEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFailedToShutdownGuestEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFailedToRebootGuestEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFailedToRebootGuestEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFailedToRebootGuestEvent_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFailedToRebootGuestEvent_Def.__bases__:
                bases = list(ns0.VmFailedToRebootGuestEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFailedToRebootGuestEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFailedToStandbyGuestEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFailedToStandbyGuestEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFailedToStandbyGuestEvent_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFailedToStandbyGuestEvent_Def.__bases__:
                bases = list(ns0.VmFailedToStandbyGuestEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFailedToStandbyGuestEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmRemovedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmRemovedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmRemovedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmRemovedEvent_Def.__bases__:
                bases = list(ns0.VmRemovedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmRemovedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmGuestShutdownEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmGuestShutdownEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmGuestShutdownEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmGuestShutdownEvent_Def.__bases__:
                bases = list(ns0.VmGuestShutdownEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmGuestShutdownEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmGuestRebootEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmGuestRebootEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmGuestRebootEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmGuestRebootEvent_Def.__bases__:
                bases = list(ns0.VmGuestRebootEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmGuestRebootEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmGuestStandbyEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmGuestStandbyEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmGuestStandbyEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmGuestStandbyEvent_Def.__bases__:
                bases = list(ns0.VmGuestStandbyEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmGuestStandbyEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmUpgradingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmUpgradingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmUpgradingEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmUpgradingEvent_Def.__bases__:
                bases = list(ns0.VmUpgradingEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmUpgradingEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmUpgradeCompleteEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmUpgradeCompleteEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmUpgradeCompleteEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmUpgradeCompleteEvent_Def.__bases__:
                bases = list(ns0.VmUpgradeCompleteEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmUpgradeCompleteEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmUpgradeFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmUpgradeFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmUpgradeFailedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmUpgradeFailedEvent_Def.__bases__:
                bases = list(ns0.VmUpgradeFailedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmUpgradeFailedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmRestartedOnAlternateHostEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmRestartedOnAlternateHostEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmRestartedOnAlternateHostEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"sourceHost"), aname="_sourceHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmPoweredOnEvent_Def not in ns0.VmRestartedOnAlternateHostEvent_Def.__bases__:
                bases = list(ns0.VmRestartedOnAlternateHostEvent_Def.__bases__)
                bases.insert(0, ns0.VmPoweredOnEvent_Def)
                ns0.VmRestartedOnAlternateHostEvent_Def.__bases__ = tuple(bases)

            ns0.VmPoweredOnEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmReconfiguredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmReconfiguredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmReconfiguredEvent_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChangesInfoEventArgument",lazy=True)(pname=(ns,"configChanges"), aname="_configChanges", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmReconfiguredEvent_Def.__bases__:
                bases = list(ns0.VmReconfiguredEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmReconfiguredEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmMessageEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmMessageEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmMessageEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineMessage",lazy=True)(pname=(ns,"messageInfo"), aname="_messageInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmMessageEvent_Def.__bases__:
                bases = list(ns0.VmMessageEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmMessageEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmMessageWarningEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmMessageWarningEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmMessageWarningEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineMessage",lazy=True)(pname=(ns,"messageInfo"), aname="_messageInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmMessageWarningEvent_Def.__bases__:
                bases = list(ns0.VmMessageWarningEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmMessageWarningEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmMessageErrorEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmMessageErrorEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmMessageErrorEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineMessage",lazy=True)(pname=(ns,"messageInfo"), aname="_messageInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmMessageErrorEvent_Def.__bases__:
                bases = list(ns0.VmMessageErrorEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmMessageErrorEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmConfigMissingEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmConfigMissingEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmConfigMissingEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmConfigMissingEvent_Def.__bases__:
                bases = list(ns0.VmConfigMissingEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmConfigMissingEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmPowerOffOnIsolationEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmPowerOffOnIsolationEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmPowerOffOnIsolationEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"isolatedHost"), aname="_isolatedHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmPoweredOffEvent_Def not in ns0.VmPowerOffOnIsolationEvent_Def.__bases__:
                bases = list(ns0.VmPowerOffOnIsolationEvent_Def.__bases__)
                bases.insert(0, ns0.VmPoweredOffEvent_Def)
                ns0.VmPowerOffOnIsolationEvent_Def.__bases__ = tuple(bases)

            ns0.VmPoweredOffEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmShutdownOnIsolationEventOperation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VmShutdownOnIsolationEventOperation")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VmShutdownOnIsolationEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmShutdownOnIsolationEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmShutdownOnIsolationEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"isolatedHost"), aname="_isolatedHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"shutdownResult"), aname="_shutdownResult", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmPoweredOffEvent_Def not in ns0.VmShutdownOnIsolationEvent_Def.__bases__:
                bases = list(ns0.VmShutdownOnIsolationEvent_Def.__bases__)
                bases.insert(0, ns0.VmPoweredOffEvent_Def)
                ns0.VmShutdownOnIsolationEvent_Def.__bases__ = tuple(bases)

            ns0.VmPoweredOffEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFailoverFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFailoverFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFailoverFailed_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFailoverFailed_Def.__bases__:
                bases = list(ns0.VmFailoverFailed_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFailoverFailed_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDasBeingResetEventReasonCode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VmDasBeingResetEventReasonCode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VmDasBeingResetEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDasBeingResetEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDasBeingResetEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmDasBeingResetEvent_Def.__bases__:
                bases = list(ns0.VmDasBeingResetEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmDasBeingResetEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDasResetFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDasResetFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDasResetFailedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmDasResetFailedEvent_Def.__bases__:
                bases = list(ns0.VmDasResetFailedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmDasResetFailedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmMaxRestartCountReached_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmMaxRestartCountReached")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmMaxRestartCountReached_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmMaxRestartCountReached_Def.__bases__:
                bases = list(ns0.VmMaxRestartCountReached_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmMaxRestartCountReached_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmMaxFTRestartCountReached_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmMaxFTRestartCountReached")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmMaxFTRestartCountReached_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmMaxFTRestartCountReached_Def.__bases__:
                bases = list(ns0.VmMaxFTRestartCountReached_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmMaxFTRestartCountReached_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDasBeingResetWithScreenshotEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDasBeingResetWithScreenshotEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDasBeingResetWithScreenshotEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"screenshotFilePath"), aname="_screenshotFilePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmDasBeingResetEvent_Def not in ns0.VmDasBeingResetWithScreenshotEvent_Def.__bases__:
                bases = list(ns0.VmDasBeingResetWithScreenshotEvent_Def.__bases__)
                bases.insert(0, ns0.VmDasBeingResetEvent_Def)
                ns0.VmDasBeingResetWithScreenshotEvent_Def.__bases__ = tuple(bases)

            ns0.VmDasBeingResetEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotEnoughResourcesToStartVmEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotEnoughResourcesToStartVmEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotEnoughResourcesToStartVmEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.NotEnoughResourcesToStartVmEvent_Def.__bases__:
                bases = list(ns0.NotEnoughResourcesToStartVmEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.NotEnoughResourcesToStartVmEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmUuidAssignedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmUuidAssignedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmUuidAssignedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmUuidAssignedEvent_Def.__bases__:
                bases = list(ns0.VmUuidAssignedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmUuidAssignedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmInstanceUuidAssignedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmInstanceUuidAssignedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmInstanceUuidAssignedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmInstanceUuidAssignedEvent_Def.__bases__:
                bases = list(ns0.VmInstanceUuidAssignedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmInstanceUuidAssignedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmUuidChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmUuidChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmUuidChangedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"oldUuid"), aname="_oldUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newUuid"), aname="_newUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmUuidChangedEvent_Def.__bases__:
                bases = list(ns0.VmUuidChangedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmUuidChangedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmInstanceUuidChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmInstanceUuidChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmInstanceUuidChangedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"oldInstanceUuid"), aname="_oldInstanceUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newInstanceUuid"), aname="_newInstanceUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmInstanceUuidChangedEvent_Def.__bases__:
                bases = list(ns0.VmInstanceUuidChangedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmInstanceUuidChangedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmWwnConflictEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmWwnConflictEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmWwnConflictEvent_Def.schema
            TClist = [GTD("urn:vim25","VmEventArgument",lazy=True)(pname=(ns,"conflictedVms"), aname="_conflictedVms", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"conflictedHosts"), aname="_conflictedHosts", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"wwn"), aname="_wwn", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmWwnConflictEvent_Def.__bases__:
                bases = list(ns0.VmWwnConflictEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmWwnConflictEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmAcquiredMksTicketEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmAcquiredMksTicketEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmAcquiredMksTicketEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmAcquiredMksTicketEvent_Def.__bases__:
                bases = list(ns0.VmAcquiredMksTicketEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmAcquiredMksTicketEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmAcquiredTicketEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmAcquiredTicketEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmAcquiredTicketEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ticketType"), aname="_ticketType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmAcquiredTicketEvent_Def.__bases__:
                bases = list(ns0.VmAcquiredTicketEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmAcquiredTicketEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmGuestOSCrashedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmGuestOSCrashedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmGuestOSCrashedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmGuestOSCrashedEvent_Def.__bases__:
                bases = list(ns0.VmGuestOSCrashedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmGuestOSCrashedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostWwnConflictEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostWwnConflictEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostWwnConflictEvent_Def.schema
            TClist = [GTD("urn:vim25","VmEventArgument",lazy=True)(pname=(ns,"conflictedVms"), aname="_conflictedVms", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"conflictedHosts"), aname="_conflictedHosts", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"wwn"), aname="_wwn", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostWwnConflictEvent_Def.__bases__:
                bases = list(ns0.HostWwnConflictEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostWwnConflictEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmWwnAssignedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmWwnAssignedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmWwnAssignedEvent_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"nodeWwns"), aname="_nodeWwns", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"portWwns"), aname="_portWwns", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmWwnAssignedEvent_Def.__bases__:
                bases = list(ns0.VmWwnAssignedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmWwnAssignedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmWwnChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmWwnChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmWwnChangedEvent_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"oldNodeWwns"), aname="_oldNodeWwns", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"oldPortWwns"), aname="_oldPortWwns", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"newNodeWwns"), aname="_newNodeWwns", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"newPortWwns"), aname="_newPortWwns", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmWwnChangedEvent_Def.__bases__:
                bases = list(ns0.VmWwnChangedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmWwnChangedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmSecondaryAddedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmSecondaryAddedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmSecondaryAddedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmSecondaryAddedEvent_Def.__bases__:
                bases = list(ns0.VmSecondaryAddedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmSecondaryAddedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFaultToleranceTurnedOffEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFaultToleranceTurnedOffEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFaultToleranceTurnedOffEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFaultToleranceTurnedOffEvent_Def.__bases__:
                bases = list(ns0.VmFaultToleranceTurnedOffEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFaultToleranceTurnedOffEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFaultToleranceStateChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFaultToleranceStateChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFaultToleranceStateChangedEvent_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineFaultToleranceState",lazy=True)(pname=(ns,"oldState"), aname="_oldState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFaultToleranceState",lazy=True)(pname=(ns,"newState"), aname="_newState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFaultToleranceStateChangedEvent_Def.__bases__:
                bases = list(ns0.VmFaultToleranceStateChangedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFaultToleranceStateChangedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmSecondaryDisabledEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmSecondaryDisabledEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmSecondaryDisabledEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmSecondaryDisabledEvent_Def.__bases__:
                bases = list(ns0.VmSecondaryDisabledEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmSecondaryDisabledEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmSecondaryDisabledBySystemEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmSecondaryDisabledBySystemEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmSecondaryDisabledBySystemEvent_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmSecondaryDisabledBySystemEvent_Def.__bases__:
                bases = list(ns0.VmSecondaryDisabledBySystemEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmSecondaryDisabledBySystemEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmSecondaryEnabledEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmSecondaryEnabledEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmSecondaryEnabledEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmSecondaryEnabledEvent_Def.__bases__:
                bases = list(ns0.VmSecondaryEnabledEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmSecondaryEnabledEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmStartingSecondaryEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmStartingSecondaryEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmStartingSecondaryEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmStartingSecondaryEvent_Def.__bases__:
                bases = list(ns0.VmStartingSecondaryEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmStartingSecondaryEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmSecondaryStartedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmSecondaryStartedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmSecondaryStartedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmSecondaryStartedEvent_Def.__bases__:
                bases = list(ns0.VmSecondaryStartedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmSecondaryStartedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFailedUpdatingSecondaryConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFailedUpdatingSecondaryConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFailedUpdatingSecondaryConfig_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFailedUpdatingSecondaryConfig_Def.__bases__:
                bases = list(ns0.VmFailedUpdatingSecondaryConfig_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFailedUpdatingSecondaryConfig_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFailedStartingSecondaryEventFailureReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VmFailedStartingSecondaryEventFailureReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VmFailedStartingSecondaryEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFailedStartingSecondaryEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFailedStartingSecondaryEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFailedStartingSecondaryEvent_Def.__bases__:
                bases = list(ns0.VmFailedStartingSecondaryEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFailedStartingSecondaryEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmTimedoutStartingSecondaryEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmTimedoutStartingSecondaryEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmTimedoutStartingSecondaryEvent_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"timeout"), aname="_timeout", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmTimedoutStartingSecondaryEvent_Def.__bases__:
                bases = list(ns0.VmTimedoutStartingSecondaryEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmTimedoutStartingSecondaryEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmNoCompatibleHostForSecondaryEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmNoCompatibleHostForSecondaryEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmNoCompatibleHostForSecondaryEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmNoCompatibleHostForSecondaryEvent_Def.__bases__:
                bases = list(ns0.VmNoCompatibleHostForSecondaryEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmNoCompatibleHostForSecondaryEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmPrimaryFailoverEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmPrimaryFailoverEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmPrimaryFailoverEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmPrimaryFailoverEvent_Def.__bases__:
                bases = list(ns0.VmPrimaryFailoverEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmPrimaryFailoverEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFaultToleranceVmTerminatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFaultToleranceVmTerminatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFaultToleranceVmTerminatedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFaultToleranceVmTerminatedEvent_Def.__bases__:
                bases = list(ns0.VmFaultToleranceVmTerminatedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFaultToleranceVmTerminatedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostWwnChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostWwnChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostWwnChangedEvent_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"oldNodeWwns"), aname="_oldNodeWwns", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"oldPortWwns"), aname="_oldPortWwns", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"newNodeWwns"), aname="_newNodeWwns", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"newPortWwns"), aname="_newPortWwns", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostWwnChangedEvent_Def.__bases__:
                bases = list(ns0.HostWwnChangedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostWwnChangedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostAdminDisableEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostAdminDisableEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostAdminDisableEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostAdminDisableEvent_Def.__bases__:
                bases = list(ns0.HostAdminDisableEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostAdminDisableEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostAdminEnableEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostAdminEnableEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostAdminEnableEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostAdminEnableEvent_Def.__bases__:
                bases = list(ns0.HostAdminEnableEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostAdminEnableEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostEnableAdminFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostEnableAdminFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostEnableAdminFailedEvent_Def.schema
            TClist = [GTD("urn:vim25","Permission",lazy=True)(pname=(ns,"permissions"), aname="_permissions", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostEnableAdminFailedEvent_Def.__bases__:
                bases = list(ns0.HostEnableAdminFailedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostEnableAdminFailedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFailedRelayoutOnVmfs2DatastoreEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFailedRelayoutOnVmfs2DatastoreEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFailedRelayoutOnVmfs2DatastoreEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFailedRelayoutOnVmfs2DatastoreEvent_Def.__bases__:
                bases = list(ns0.VmFailedRelayoutOnVmfs2DatastoreEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFailedRelayoutOnVmfs2DatastoreEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFailedRelayoutEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFailedRelayoutEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFailedRelayoutEvent_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmFailedRelayoutEvent_Def.__bases__:
                bases = list(ns0.VmFailedRelayoutEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmFailedRelayoutEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmRelayoutSuccessfulEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmRelayoutSuccessfulEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmRelayoutSuccessfulEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmRelayoutSuccessfulEvent_Def.__bases__:
                bases = list(ns0.VmRelayoutSuccessfulEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmRelayoutSuccessfulEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmRelayoutUpToDateEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmRelayoutUpToDateEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmRelayoutUpToDateEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmRelayoutUpToDateEvent_Def.__bases__:
                bases = list(ns0.VmRelayoutUpToDateEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmRelayoutUpToDateEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmConnectedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmConnectedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmConnectedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmConnectedEvent_Def.__bases__:
                bases = list(ns0.VmConnectedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmConnectedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmPoweringOnWithCustomizedDVPortEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmPoweringOnWithCustomizedDVPortEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmPoweringOnWithCustomizedDVPortEvent_Def.schema
            TClist = [GTD("urn:vim25","VnicPortArgument",lazy=True)(pname=(ns,"vnic"), aname="_vnic", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmPoweringOnWithCustomizedDVPortEvent_Def.__bases__:
                bases = list(ns0.VmPoweringOnWithCustomizedDVPortEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmPoweringOnWithCustomizedDVPortEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDasUpdateErrorEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDasUpdateErrorEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDasUpdateErrorEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmDasUpdateErrorEvent_Def.__bases__:
                bases = list(ns0.VmDasUpdateErrorEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmDasUpdateErrorEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoMaintenanceModeDrsRecommendationForVM_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoMaintenanceModeDrsRecommendationForVM")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoMaintenanceModeDrsRecommendationForVM_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.NoMaintenanceModeDrsRecommendationForVM_Def.__bases__:
                bases = list(ns0.NoMaintenanceModeDrsRecommendationForVM_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.NoMaintenanceModeDrsRecommendationForVM_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDasUpdateOkEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDasUpdateOkEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDasUpdateOkEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmDasUpdateOkEvent_Def.__bases__:
                bases = list(ns0.VmDasUpdateOkEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmDasUpdateOkEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ScheduledTaskEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledTaskEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledTaskEvent_Def.schema
            TClist = [GTD("urn:vim25","ScheduledTaskEventArgument",lazy=True)(pname=(ns,"scheduledTask"), aname="_scheduledTask", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.ScheduledTaskEvent_Def.__bases__:
                bases = list(ns0.ScheduledTaskEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.ScheduledTaskEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ScheduledTaskCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledTaskCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledTaskCreatedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ScheduledTaskEvent_Def not in ns0.ScheduledTaskCreatedEvent_Def.__bases__:
                bases = list(ns0.ScheduledTaskCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.ScheduledTaskEvent_Def)
                ns0.ScheduledTaskCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.ScheduledTaskEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ScheduledTaskStartedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledTaskStartedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledTaskStartedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ScheduledTaskEvent_Def not in ns0.ScheduledTaskStartedEvent_Def.__bases__:
                bases = list(ns0.ScheduledTaskStartedEvent_Def.__bases__)
                bases.insert(0, ns0.ScheduledTaskEvent_Def)
                ns0.ScheduledTaskStartedEvent_Def.__bases__ = tuple(bases)

            ns0.ScheduledTaskEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ScheduledTaskRemovedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledTaskRemovedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledTaskRemovedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ScheduledTaskEvent_Def not in ns0.ScheduledTaskRemovedEvent_Def.__bases__:
                bases = list(ns0.ScheduledTaskRemovedEvent_Def.__bases__)
                bases.insert(0, ns0.ScheduledTaskEvent_Def)
                ns0.ScheduledTaskRemovedEvent_Def.__bases__ = tuple(bases)

            ns0.ScheduledTaskEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ScheduledTaskReconfiguredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledTaskReconfiguredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledTaskReconfiguredEvent_Def.schema
            TClist = [GTD("urn:vim25","ChangesInfoEventArgument",lazy=True)(pname=(ns,"configChanges"), aname="_configChanges", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ScheduledTaskEvent_Def not in ns0.ScheduledTaskReconfiguredEvent_Def.__bases__:
                bases = list(ns0.ScheduledTaskReconfiguredEvent_Def.__bases__)
                bases.insert(0, ns0.ScheduledTaskEvent_Def)
                ns0.ScheduledTaskReconfiguredEvent_Def.__bases__ = tuple(bases)

            ns0.ScheduledTaskEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ScheduledTaskCompletedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledTaskCompletedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledTaskCompletedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ScheduledTaskEvent_Def not in ns0.ScheduledTaskCompletedEvent_Def.__bases__:
                bases = list(ns0.ScheduledTaskCompletedEvent_Def.__bases__)
                bases.insert(0, ns0.ScheduledTaskEvent_Def)
                ns0.ScheduledTaskCompletedEvent_Def.__bases__ = tuple(bases)

            ns0.ScheduledTaskEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ScheduledTaskFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledTaskFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledTaskFailedEvent_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ScheduledTaskEvent_Def not in ns0.ScheduledTaskFailedEvent_Def.__bases__:
                bases = list(ns0.ScheduledTaskFailedEvent_Def.__bases__)
                bases.insert(0, ns0.ScheduledTaskEvent_Def)
                ns0.ScheduledTaskFailedEvent_Def.__bases__ = tuple(bases)

            ns0.ScheduledTaskEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ScheduledTaskEmailCompletedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledTaskEmailCompletedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledTaskEmailCompletedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"to"), aname="_to", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ScheduledTaskEvent_Def not in ns0.ScheduledTaskEmailCompletedEvent_Def.__bases__:
                bases = list(ns0.ScheduledTaskEmailCompletedEvent_Def.__bases__)
                bases.insert(0, ns0.ScheduledTaskEvent_Def)
                ns0.ScheduledTaskEmailCompletedEvent_Def.__bases__ = tuple(bases)

            ns0.ScheduledTaskEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ScheduledTaskEmailFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledTaskEmailFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledTaskEmailFailedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"to"), aname="_to", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ScheduledTaskEvent_Def not in ns0.ScheduledTaskEmailFailedEvent_Def.__bases__:
                bases = list(ns0.ScheduledTaskEmailFailedEvent_Def.__bases__)
                bases.insert(0, ns0.ScheduledTaskEvent_Def)
                ns0.ScheduledTaskEmailFailedEvent_Def.__bases__ = tuple(bases)

            ns0.ScheduledTaskEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmEvent_Def.schema
            TClist = [GTD("urn:vim25","AlarmEventArgument",lazy=True)(pname=(ns,"alarm"), aname="_alarm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.AlarmEvent_Def.__bases__:
                bases = list(ns0.AlarmEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.AlarmEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmCreatedEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmEvent_Def not in ns0.AlarmCreatedEvent_Def.__bases__:
                bases = list(ns0.AlarmCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.AlarmEvent_Def)
                ns0.AlarmCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.AlarmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmStatusChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmStatusChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmStatusChangedEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"source"), aname="_source", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"from"), aname="_from", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"to"), aname="_to", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmEvent_Def not in ns0.AlarmStatusChangedEvent_Def.__bases__:
                bases = list(ns0.AlarmStatusChangedEvent_Def.__bases__)
                bases.insert(0, ns0.AlarmEvent_Def)
                ns0.AlarmStatusChangedEvent_Def.__bases__ = tuple(bases)

            ns0.AlarmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmActionTriggeredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmActionTriggeredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmActionTriggeredEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"source"), aname="_source", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmEvent_Def not in ns0.AlarmActionTriggeredEvent_Def.__bases__:
                bases = list(ns0.AlarmActionTriggeredEvent_Def.__bases__)
                bases.insert(0, ns0.AlarmEvent_Def)
                ns0.AlarmActionTriggeredEvent_Def.__bases__ = tuple(bases)

            ns0.AlarmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmEmailCompletedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmEmailCompletedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmEmailCompletedEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"to"), aname="_to", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmEvent_Def not in ns0.AlarmEmailCompletedEvent_Def.__bases__:
                bases = list(ns0.AlarmEmailCompletedEvent_Def.__bases__)
                bases.insert(0, ns0.AlarmEvent_Def)
                ns0.AlarmEmailCompletedEvent_Def.__bases__ = tuple(bases)

            ns0.AlarmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmEmailFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmEmailFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmEmailFailedEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"to"), aname="_to", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmEvent_Def not in ns0.AlarmEmailFailedEvent_Def.__bases__:
                bases = list(ns0.AlarmEmailFailedEvent_Def.__bases__)
                bases.insert(0, ns0.AlarmEvent_Def)
                ns0.AlarmEmailFailedEvent_Def.__bases__ = tuple(bases)

            ns0.AlarmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmSnmpCompletedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmSnmpCompletedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmSnmpCompletedEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmEvent_Def not in ns0.AlarmSnmpCompletedEvent_Def.__bases__:
                bases = list(ns0.AlarmSnmpCompletedEvent_Def.__bases__)
                bases.insert(0, ns0.AlarmEvent_Def)
                ns0.AlarmSnmpCompletedEvent_Def.__bases__ = tuple(bases)

            ns0.AlarmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmSnmpFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmSnmpFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmSnmpFailedEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmEvent_Def not in ns0.AlarmSnmpFailedEvent_Def.__bases__:
                bases = list(ns0.AlarmSnmpFailedEvent_Def.__bases__)
                bases.insert(0, ns0.AlarmEvent_Def)
                ns0.AlarmSnmpFailedEvent_Def.__bases__ = tuple(bases)

            ns0.AlarmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmScriptCompleteEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmScriptCompleteEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmScriptCompleteEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"script"), aname="_script", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmEvent_Def not in ns0.AlarmScriptCompleteEvent_Def.__bases__:
                bases = list(ns0.AlarmScriptCompleteEvent_Def.__bases__)
                bases.insert(0, ns0.AlarmEvent_Def)
                ns0.AlarmScriptCompleteEvent_Def.__bases__ = tuple(bases)

            ns0.AlarmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmScriptFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmScriptFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmScriptFailedEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"script"), aname="_script", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmEvent_Def not in ns0.AlarmScriptFailedEvent_Def.__bases__:
                bases = list(ns0.AlarmScriptFailedEvent_Def.__bases__)
                bases.insert(0, ns0.AlarmEvent_Def)
                ns0.AlarmScriptFailedEvent_Def.__bases__ = tuple(bases)

            ns0.AlarmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmRemovedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmRemovedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmRemovedEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmEvent_Def not in ns0.AlarmRemovedEvent_Def.__bases__:
                bases = list(ns0.AlarmRemovedEvent_Def.__bases__)
                bases.insert(0, ns0.AlarmEvent_Def)
                ns0.AlarmRemovedEvent_Def.__bases__ = tuple(bases)

            ns0.AlarmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmReconfiguredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmReconfiguredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmReconfiguredEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChangesInfoEventArgument",lazy=True)(pname=(ns,"configChanges"), aname="_configChanges", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmEvent_Def not in ns0.AlarmReconfiguredEvent_Def.__bases__:
                bases = list(ns0.AlarmReconfiguredEvent_Def.__bases__)
                bases.insert(0, ns0.AlarmEvent_Def)
                ns0.AlarmReconfiguredEvent_Def.__bases__ = tuple(bases)

            ns0.AlarmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmAcknowledgedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmAcknowledgedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmAcknowledgedEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"source"), aname="_source", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmEvent_Def not in ns0.AlarmAcknowledgedEvent_Def.__bases__:
                bases = list(ns0.AlarmAcknowledgedEvent_Def.__bases__)
                bases.insert(0, ns0.AlarmEvent_Def)
                ns0.AlarmAcknowledgedEvent_Def.__bases__ = tuple(bases)

            ns0.AlarmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmClearedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmClearedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmClearedEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"source"), aname="_source", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"from"), aname="_from", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AlarmEvent_Def not in ns0.AlarmClearedEvent_Def.__bases__:
                bases = list(ns0.AlarmClearedEvent_Def.__bases__)
                bases.insert(0, ns0.AlarmEvent_Def)
                ns0.AlarmClearedEvent_Def.__bases__ = tuple(bases)

            ns0.AlarmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomFieldEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomFieldEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomFieldEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.CustomFieldEvent_Def.__bases__:
                bases = list(ns0.CustomFieldEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.CustomFieldEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomFieldDefEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomFieldDefEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomFieldDefEvent_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"fieldKey"), aname="_fieldKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomFieldEvent_Def not in ns0.CustomFieldDefEvent_Def.__bases__:
                bases = list(ns0.CustomFieldDefEvent_Def.__bases__)
                bases.insert(0, ns0.CustomFieldEvent_Def)
                ns0.CustomFieldDefEvent_Def.__bases__ = tuple(bases)

            ns0.CustomFieldEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomFieldDefAddedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomFieldDefAddedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomFieldDefAddedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomFieldDefEvent_Def not in ns0.CustomFieldDefAddedEvent_Def.__bases__:
                bases = list(ns0.CustomFieldDefAddedEvent_Def.__bases__)
                bases.insert(0, ns0.CustomFieldDefEvent_Def)
                ns0.CustomFieldDefAddedEvent_Def.__bases__ = tuple(bases)

            ns0.CustomFieldDefEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomFieldDefRemovedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomFieldDefRemovedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomFieldDefRemovedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomFieldDefEvent_Def not in ns0.CustomFieldDefRemovedEvent_Def.__bases__:
                bases = list(ns0.CustomFieldDefRemovedEvent_Def.__bases__)
                bases.insert(0, ns0.CustomFieldDefEvent_Def)
                ns0.CustomFieldDefRemovedEvent_Def.__bases__ = tuple(bases)

            ns0.CustomFieldDefEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomFieldDefRenamedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomFieldDefRenamedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomFieldDefRenamedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"newName"), aname="_newName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomFieldDefEvent_Def not in ns0.CustomFieldDefRenamedEvent_Def.__bases__:
                bases = list(ns0.CustomFieldDefRenamedEvent_Def.__bases__)
                bases.insert(0, ns0.CustomFieldDefEvent_Def)
                ns0.CustomFieldDefRenamedEvent_Def.__bases__ = tuple(bases)

            ns0.CustomFieldDefEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomFieldValueChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomFieldValueChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomFieldValueChangedEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"fieldKey"), aname="_fieldKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"prevState"), aname="_prevState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomFieldEvent_Def not in ns0.CustomFieldValueChangedEvent_Def.__bases__:
                bases = list(ns0.CustomFieldValueChangedEvent_Def.__bases__)
                bases.insert(0, ns0.CustomFieldEvent_Def)
                ns0.CustomFieldValueChangedEvent_Def.__bases__ = tuple(bases)

            ns0.CustomFieldEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AuthorizationEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AuthorizationEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AuthorizationEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.AuthorizationEvent_Def.__bases__:
                bases = list(ns0.AuthorizationEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.AuthorizationEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PermissionEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PermissionEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PermissionEvent_Def.schema
            TClist = [GTD("urn:vim25","ManagedEntityEventArgument",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"principal"), aname="_principal", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"group"), aname="_group", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AuthorizationEvent_Def not in ns0.PermissionEvent_Def.__bases__:
                bases = list(ns0.PermissionEvent_Def.__bases__)
                bases.insert(0, ns0.AuthorizationEvent_Def)
                ns0.PermissionEvent_Def.__bases__ = tuple(bases)

            ns0.AuthorizationEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PermissionAddedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PermissionAddedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PermissionAddedEvent_Def.schema
            TClist = [GTD("urn:vim25","RoleEventArgument",lazy=True)(pname=(ns,"role"), aname="_role", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"propagate"), aname="_propagate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PermissionEvent_Def not in ns0.PermissionAddedEvent_Def.__bases__:
                bases = list(ns0.PermissionAddedEvent_Def.__bases__)
                bases.insert(0, ns0.PermissionEvent_Def)
                ns0.PermissionAddedEvent_Def.__bases__ = tuple(bases)

            ns0.PermissionEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PermissionUpdatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PermissionUpdatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PermissionUpdatedEvent_Def.schema
            TClist = [GTD("urn:vim25","RoleEventArgument",lazy=True)(pname=(ns,"role"), aname="_role", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"propagate"), aname="_propagate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","RoleEventArgument",lazy=True)(pname=(ns,"prevRole"), aname="_prevRole", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"prevPropagate"), aname="_prevPropagate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PermissionEvent_Def not in ns0.PermissionUpdatedEvent_Def.__bases__:
                bases = list(ns0.PermissionUpdatedEvent_Def.__bases__)
                bases.insert(0, ns0.PermissionEvent_Def)
                ns0.PermissionUpdatedEvent_Def.__bases__ = tuple(bases)

            ns0.PermissionEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PermissionRemovedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PermissionRemovedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PermissionRemovedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PermissionEvent_Def not in ns0.PermissionRemovedEvent_Def.__bases__:
                bases = list(ns0.PermissionRemovedEvent_Def.__bases__)
                bases.insert(0, ns0.PermissionEvent_Def)
                ns0.PermissionRemovedEvent_Def.__bases__ = tuple(bases)

            ns0.PermissionEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RoleEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RoleEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RoleEvent_Def.schema
            TClist = [GTD("urn:vim25","RoleEventArgument",lazy=True)(pname=(ns,"role"), aname="_role", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AuthorizationEvent_Def not in ns0.RoleEvent_Def.__bases__:
                bases = list(ns0.RoleEvent_Def.__bases__)
                bases.insert(0, ns0.AuthorizationEvent_Def)
                ns0.RoleEvent_Def.__bases__ = tuple(bases)

            ns0.AuthorizationEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RoleAddedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RoleAddedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RoleAddedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"privilegeList"), aname="_privilegeList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RoleEvent_Def not in ns0.RoleAddedEvent_Def.__bases__:
                bases = list(ns0.RoleAddedEvent_Def.__bases__)
                bases.insert(0, ns0.RoleEvent_Def)
                ns0.RoleAddedEvent_Def.__bases__ = tuple(bases)

            ns0.RoleEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RoleUpdatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RoleUpdatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RoleUpdatedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"privilegeList"), aname="_privilegeList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"prevRoleName"), aname="_prevRoleName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"privilegesAdded"), aname="_privilegesAdded", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"privilegesRemoved"), aname="_privilegesRemoved", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RoleEvent_Def not in ns0.RoleUpdatedEvent_Def.__bases__:
                bases = list(ns0.RoleUpdatedEvent_Def.__bases__)
                bases.insert(0, ns0.RoleEvent_Def)
                ns0.RoleUpdatedEvent_Def.__bases__ = tuple(bases)

            ns0.RoleEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RoleRemovedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RoleRemovedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RoleRemovedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RoleEvent_Def not in ns0.RoleRemovedEvent_Def.__bases__:
                bases = list(ns0.RoleRemovedEvent_Def.__bases__)
                bases.insert(0, ns0.RoleEvent_Def)
                ns0.RoleRemovedEvent_Def.__bases__ = tuple(bases)

            ns0.RoleEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreEvent_Def.schema
            TClist = [GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.DatastoreEvent_Def.__bases__:
                bases = list(ns0.DatastoreEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.DatastoreEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreDestroyedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreDestroyedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreDestroyedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreEvent_Def not in ns0.DatastoreDestroyedEvent_Def.__bases__:
                bases = list(ns0.DatastoreDestroyedEvent_Def.__bases__)
                bases.insert(0, ns0.DatastoreEvent_Def)
                ns0.DatastoreDestroyedEvent_Def.__bases__ = tuple(bases)

            ns0.DatastoreEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreRenamedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreRenamedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreRenamedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"oldName"), aname="_oldName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newName"), aname="_newName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreEvent_Def not in ns0.DatastoreRenamedEvent_Def.__bases__:
                bases = list(ns0.DatastoreRenamedEvent_Def.__bases__)
                bases.insert(0, ns0.DatastoreEvent_Def)
                ns0.DatastoreRenamedEvent_Def.__bases__ = tuple(bases)

            ns0.DatastoreEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreCapacityIncreasedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreCapacityIncreasedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreCapacityIncreasedEvent_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"oldCapacity"), aname="_oldCapacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"newCapacity"), aname="_newCapacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreEvent_Def not in ns0.DatastoreCapacityIncreasedEvent_Def.__bases__:
                bases = list(ns0.DatastoreCapacityIncreasedEvent_Def.__bases__)
                bases.insert(0, ns0.DatastoreEvent_Def)
                ns0.DatastoreCapacityIncreasedEvent_Def.__bases__ = tuple(bases)

            ns0.DatastoreEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreDuplicatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreDuplicatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreDuplicatedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreEvent_Def not in ns0.DatastoreDuplicatedEvent_Def.__bases__:
                bases = list(ns0.DatastoreDuplicatedEvent_Def.__bases__)
                bases.insert(0, ns0.DatastoreEvent_Def)
                ns0.DatastoreDuplicatedEvent_Def.__bases__ = tuple(bases)

            ns0.DatastoreEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreFileEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreFileEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreFileEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"targetFile"), aname="_targetFile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sourceOfOperation"), aname="_sourceOfOperation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"succeeded"), aname="_succeeded", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreEvent_Def not in ns0.DatastoreFileEvent_Def.__bases__:
                bases = list(ns0.DatastoreFileEvent_Def.__bases__)
                bases.insert(0, ns0.DatastoreEvent_Def)
                ns0.DatastoreFileEvent_Def.__bases__ = tuple(bases)

            ns0.DatastoreEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreFileCopiedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreFileCopiedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreFileCopiedEvent_Def.schema
            TClist = [GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"sourceDatastore"), aname="_sourceDatastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sourceFile"), aname="_sourceFile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreFileEvent_Def not in ns0.DatastoreFileCopiedEvent_Def.__bases__:
                bases = list(ns0.DatastoreFileCopiedEvent_Def.__bases__)
                bases.insert(0, ns0.DatastoreFileEvent_Def)
                ns0.DatastoreFileCopiedEvent_Def.__bases__ = tuple(bases)

            ns0.DatastoreFileEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreFileMovedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreFileMovedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreFileMovedEvent_Def.schema
            TClist = [GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"sourceDatastore"), aname="_sourceDatastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sourceFile"), aname="_sourceFile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreFileEvent_Def not in ns0.DatastoreFileMovedEvent_Def.__bases__:
                bases = list(ns0.DatastoreFileMovedEvent_Def.__bases__)
                bases.insert(0, ns0.DatastoreFileEvent_Def)
                ns0.DatastoreFileMovedEvent_Def.__bases__ = tuple(bases)

            ns0.DatastoreFileEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreFileDeletedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreFileDeletedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreFileDeletedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreFileEvent_Def not in ns0.DatastoreFileDeletedEvent_Def.__bases__:
                bases = list(ns0.DatastoreFileDeletedEvent_Def.__bases__)
                bases.insert(0, ns0.DatastoreFileEvent_Def)
                ns0.DatastoreFileDeletedEvent_Def.__bases__ = tuple(bases)

            ns0.DatastoreFileEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NonVIWorkloadDetectedOnDatastoreEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NonVIWorkloadDetectedOnDatastoreEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NonVIWorkloadDetectedOnDatastoreEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreEvent_Def not in ns0.NonVIWorkloadDetectedOnDatastoreEvent_Def.__bases__:
                bases = list(ns0.NonVIWorkloadDetectedOnDatastoreEvent_Def.__bases__)
                bases.insert(0, ns0.DatastoreEvent_Def)
                ns0.NonVIWorkloadDetectedOnDatastoreEvent_Def.__bases__ = tuple(bases)

            ns0.DatastoreEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreIORMReconfiguredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreIORMReconfiguredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreIORMReconfiguredEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreEvent_Def not in ns0.DatastoreIORMReconfiguredEvent_Def.__bases__:
                bases = list(ns0.DatastoreIORMReconfiguredEvent_Def.__bases__)
                bases.insert(0, ns0.DatastoreEvent_Def)
                ns0.DatastoreIORMReconfiguredEvent_Def.__bases__ = tuple(bases)

            ns0.DatastoreEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TaskEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskEvent_Def.schema
            TClist = [GTD("urn:vim25","TaskInfo",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.TaskEvent_Def.__bases__:
                bases = list(ns0.TaskEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.TaskEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TaskTimeoutEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskTimeoutEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskTimeoutEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.TaskEvent_Def not in ns0.TaskTimeoutEvent_Def.__bases__:
                bases = list(ns0.TaskTimeoutEvent_Def.__bases__)
                bases.insert(0, ns0.TaskEvent_Def)
                ns0.TaskTimeoutEvent_Def.__bases__ = tuple(bases)

            ns0.TaskEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.LicenseEvent_Def.__bases__:
                bases = list(ns0.LicenseEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.LicenseEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ServerLicenseExpiredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ServerLicenseExpiredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ServerLicenseExpiredEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"product"), aname="_product", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseEvent_Def not in ns0.ServerLicenseExpiredEvent_Def.__bases__:
                bases = list(ns0.ServerLicenseExpiredEvent_Def.__bases__)
                bases.insert(0, ns0.LicenseEvent_Def)
                ns0.ServerLicenseExpiredEvent_Def.__bases__ = tuple(bases)

            ns0.LicenseEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostLicenseExpiredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLicenseExpiredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLicenseExpiredEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseEvent_Def not in ns0.HostLicenseExpiredEvent_Def.__bases__:
                bases = list(ns0.HostLicenseExpiredEvent_Def.__bases__)
                bases.insert(0, ns0.LicenseEvent_Def)
                ns0.HostLicenseExpiredEvent_Def.__bases__ = tuple(bases)

            ns0.LicenseEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMotionLicenseExpiredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMotionLicenseExpiredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMotionLicenseExpiredEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseEvent_Def not in ns0.VMotionLicenseExpiredEvent_Def.__bases__:
                bases = list(ns0.VMotionLicenseExpiredEvent_Def.__bases__)
                bases.insert(0, ns0.LicenseEvent_Def)
                ns0.VMotionLicenseExpiredEvent_Def.__bases__ = tuple(bases)

            ns0.LicenseEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoLicenseEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoLicenseEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoLicenseEvent_Def.schema
            TClist = [GTD("urn:vim25","LicenseFeatureInfo",lazy=True)(pname=(ns,"feature"), aname="_feature", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseEvent_Def not in ns0.NoLicenseEvent_Def.__bases__:
                bases = list(ns0.NoLicenseEvent_Def.__bases__)
                bases.insert(0, ns0.LicenseEvent_Def)
                ns0.NoLicenseEvent_Def.__bases__ = tuple(bases)

            ns0.LicenseEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseServerUnavailableEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseServerUnavailableEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseServerUnavailableEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"licenseServer"), aname="_licenseServer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseEvent_Def not in ns0.LicenseServerUnavailableEvent_Def.__bases__:
                bases = list(ns0.LicenseServerUnavailableEvent_Def.__bases__)
                bases.insert(0, ns0.LicenseEvent_Def)
                ns0.LicenseServerUnavailableEvent_Def.__bases__ = tuple(bases)

            ns0.LicenseEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseServerAvailableEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseServerAvailableEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseServerAvailableEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"licenseServer"), aname="_licenseServer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseEvent_Def not in ns0.LicenseServerAvailableEvent_Def.__bases__:
                bases = list(ns0.LicenseServerAvailableEvent_Def.__bases__)
                bases.insert(0, ns0.LicenseEvent_Def)
                ns0.LicenseServerAvailableEvent_Def.__bases__ = tuple(bases)

            ns0.LicenseEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseExpiredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseExpiredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseExpiredEvent_Def.schema
            TClist = [GTD("urn:vim25","LicenseFeatureInfo",lazy=True)(pname=(ns,"feature"), aname="_feature", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.LicenseExpiredEvent_Def.__bases__:
                bases = list(ns0.LicenseExpiredEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.LicenseExpiredEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidEditionEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidEditionEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidEditionEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"feature"), aname="_feature", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseEvent_Def not in ns0.InvalidEditionEvent_Def.__bases__:
                bases = list(ns0.InvalidEditionEvent_Def.__bases__)
                bases.insert(0, ns0.LicenseEvent_Def)
                ns0.InvalidEditionEvent_Def.__bases__ = tuple(bases)

            ns0.LicenseEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInventoryFullEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInventoryFullEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInventoryFullEvent_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"capacity"), aname="_capacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseEvent_Def not in ns0.HostInventoryFullEvent_Def.__bases__:
                bases = list(ns0.HostInventoryFullEvent_Def.__bases__)
                bases.insert(0, ns0.LicenseEvent_Def)
                ns0.HostInventoryFullEvent_Def.__bases__ = tuple(bases)

            ns0.LicenseEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseRestrictedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseRestrictedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseRestrictedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseEvent_Def not in ns0.LicenseRestrictedEvent_Def.__bases__:
                bases = list(ns0.LicenseRestrictedEvent_Def.__bases__)
                bases.insert(0, ns0.LicenseEvent_Def)
                ns0.LicenseRestrictedEvent_Def.__bases__ = tuple(bases)

            ns0.LicenseEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IncorrectHostInformationEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IncorrectHostInformationEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IncorrectHostInformationEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseEvent_Def not in ns0.IncorrectHostInformationEvent_Def.__bases__:
                bases = list(ns0.IncorrectHostInformationEvent_Def.__bases__)
                bases.insert(0, ns0.LicenseEvent_Def)
                ns0.IncorrectHostInformationEvent_Def.__bases__ = tuple(bases)

            ns0.LicenseEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UnlicensedVirtualMachinesEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UnlicensedVirtualMachinesEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UnlicensedVirtualMachinesEvent_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"unlicensed"), aname="_unlicensed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"available"), aname="_available", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseEvent_Def not in ns0.UnlicensedVirtualMachinesEvent_Def.__bases__:
                bases = list(ns0.UnlicensedVirtualMachinesEvent_Def.__bases__)
                bases.insert(0, ns0.LicenseEvent_Def)
                ns0.UnlicensedVirtualMachinesEvent_Def.__bases__ = tuple(bases)

            ns0.LicenseEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UnlicensedVirtualMachinesFoundEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UnlicensedVirtualMachinesFoundEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UnlicensedVirtualMachinesFoundEvent_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"available"), aname="_available", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseEvent_Def not in ns0.UnlicensedVirtualMachinesFoundEvent_Def.__bases__:
                bases = list(ns0.UnlicensedVirtualMachinesFoundEvent_Def.__bases__)
                bases.insert(0, ns0.LicenseEvent_Def)
                ns0.UnlicensedVirtualMachinesFoundEvent_Def.__bases__ = tuple(bases)

            ns0.LicenseEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AllVirtualMachinesLicensedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AllVirtualMachinesLicensedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AllVirtualMachinesLicensedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseEvent_Def not in ns0.AllVirtualMachinesLicensedEvent_Def.__bases__:
                bases = list(ns0.AllVirtualMachinesLicensedEvent_Def.__bases__)
                bases.insert(0, ns0.LicenseEvent_Def)
                ns0.AllVirtualMachinesLicensedEvent_Def.__bases__ = tuple(bases)

            ns0.LicenseEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseNonComplianceEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseNonComplianceEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseNonComplianceEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.LicenseEvent_Def not in ns0.LicenseNonComplianceEvent_Def.__bases__:
                bases = list(ns0.LicenseNonComplianceEvent_Def.__bases__)
                bases.insert(0, ns0.LicenseEvent_Def)
                ns0.LicenseNonComplianceEvent_Def.__bases__ = tuple(bases)

            ns0.LicenseEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MigrationEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MigrationEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MigrationEvent_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.MigrationEvent_Def.__bases__:
                bases = list(ns0.MigrationEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.MigrationEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MigrationWarningEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MigrationWarningEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MigrationWarningEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationEvent_Def not in ns0.MigrationWarningEvent_Def.__bases__:
                bases = list(ns0.MigrationWarningEvent_Def.__bases__)
                bases.insert(0, ns0.MigrationEvent_Def)
                ns0.MigrationWarningEvent_Def.__bases__ = tuple(bases)

            ns0.MigrationEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MigrationErrorEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MigrationErrorEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MigrationErrorEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationEvent_Def not in ns0.MigrationErrorEvent_Def.__bases__:
                bases = list(ns0.MigrationErrorEvent_Def.__bases__)
                bases.insert(0, ns0.MigrationEvent_Def)
                ns0.MigrationErrorEvent_Def.__bases__ = tuple(bases)

            ns0.MigrationEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MigrationHostWarningEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MigrationHostWarningEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MigrationHostWarningEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"dstHost"), aname="_dstHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationEvent_Def not in ns0.MigrationHostWarningEvent_Def.__bases__:
                bases = list(ns0.MigrationHostWarningEvent_Def.__bases__)
                bases.insert(0, ns0.MigrationEvent_Def)
                ns0.MigrationHostWarningEvent_Def.__bases__ = tuple(bases)

            ns0.MigrationEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MigrationHostErrorEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MigrationHostErrorEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MigrationHostErrorEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"dstHost"), aname="_dstHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationEvent_Def not in ns0.MigrationHostErrorEvent_Def.__bases__:
                bases = list(ns0.MigrationHostErrorEvent_Def.__bases__)
                bases.insert(0, ns0.MigrationEvent_Def)
                ns0.MigrationHostErrorEvent_Def.__bases__ = tuple(bases)

            ns0.MigrationEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MigrationResourceWarningEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MigrationResourceWarningEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MigrationResourceWarningEvent_Def.schema
            TClist = [GTD("urn:vim25","ResourcePoolEventArgument",lazy=True)(pname=(ns,"dstPool"), aname="_dstPool", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"dstHost"), aname="_dstHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationEvent_Def not in ns0.MigrationResourceWarningEvent_Def.__bases__:
                bases = list(ns0.MigrationResourceWarningEvent_Def.__bases__)
                bases.insert(0, ns0.MigrationEvent_Def)
                ns0.MigrationResourceWarningEvent_Def.__bases__ = tuple(bases)

            ns0.MigrationEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MigrationResourceErrorEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MigrationResourceErrorEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MigrationResourceErrorEvent_Def.schema
            TClist = [GTD("urn:vim25","ResourcePoolEventArgument",lazy=True)(pname=(ns,"dstPool"), aname="_dstPool", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"dstHost"), aname="_dstHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationEvent_Def not in ns0.MigrationResourceErrorEvent_Def.__bases__:
                bases = list(ns0.MigrationResourceErrorEvent_Def.__bases__)
                bases.insert(0, ns0.MigrationEvent_Def)
                ns0.MigrationResourceErrorEvent_Def.__bases__ = tuple(bases)

            ns0.MigrationEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.ClusterEvent_Def.__bases__:
                bases = list(ns0.ClusterEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.ClusterEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DasEnabledEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DasEnabledEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DasEnabledEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.DasEnabledEvent_Def.__bases__:
                bases = list(ns0.DasEnabledEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.DasEnabledEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DasDisabledEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DasDisabledEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DasDisabledEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.DasDisabledEvent_Def.__bases__:
                bases = list(ns0.DasDisabledEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.DasDisabledEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DasAdmissionControlDisabledEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DasAdmissionControlDisabledEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DasAdmissionControlDisabledEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.DasAdmissionControlDisabledEvent_Def.__bases__:
                bases = list(ns0.DasAdmissionControlDisabledEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.DasAdmissionControlDisabledEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DasAdmissionControlEnabledEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DasAdmissionControlEnabledEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DasAdmissionControlEnabledEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.DasAdmissionControlEnabledEvent_Def.__bases__:
                bases = list(ns0.DasAdmissionControlEnabledEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.DasAdmissionControlEnabledEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DasHostFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DasHostFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DasHostFailedEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"failedHost"), aname="_failedHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.DasHostFailedEvent_Def.__bases__:
                bases = list(ns0.DasHostFailedEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.DasHostFailedEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DasHostIsolatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DasHostIsolatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DasHostIsolatedEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"isolatedHost"), aname="_isolatedHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.DasHostIsolatedEvent_Def.__bases__:
                bases = list(ns0.DasHostIsolatedEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.DasHostIsolatedEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DasClusterIsolatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DasClusterIsolatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DasClusterIsolatedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.DasClusterIsolatedEvent_Def.__bases__:
                bases = list(ns0.DasClusterIsolatedEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.DasClusterIsolatedEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DasAgentUnavailableEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DasAgentUnavailableEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DasAgentUnavailableEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.DasAgentUnavailableEvent_Def.__bases__:
                bases = list(ns0.DasAgentUnavailableEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.DasAgentUnavailableEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DasAgentFoundEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DasAgentFoundEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DasAgentFoundEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.DasAgentFoundEvent_Def.__bases__:
                bases = list(ns0.DasAgentFoundEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.DasAgentFoundEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientFailoverResourcesEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientFailoverResourcesEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientFailoverResourcesEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.InsufficientFailoverResourcesEvent_Def.__bases__:
                bases = list(ns0.InsufficientFailoverResourcesEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.InsufficientFailoverResourcesEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FailoverLevelRestored_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FailoverLevelRestored")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FailoverLevelRestored_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.FailoverLevelRestored_Def.__bases__:
                bases = list(ns0.FailoverLevelRestored_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.FailoverLevelRestored_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterOvercommittedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterOvercommittedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterOvercommittedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.ClusterOvercommittedEvent_Def.__bases__:
                bases = list(ns0.ClusterOvercommittedEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.ClusterOvercommittedEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostOvercommittedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostOvercommittedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostOvercommittedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterOvercommittedEvent_Def not in ns0.HostOvercommittedEvent_Def.__bases__:
                bases = list(ns0.HostOvercommittedEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterOvercommittedEvent_Def)
                ns0.HostOvercommittedEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterOvercommittedEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterStatusChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterStatusChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterStatusChangedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"oldStatus"), aname="_oldStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newStatus"), aname="_newStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.ClusterStatusChangedEvent_Def.__bases__:
                bases = list(ns0.ClusterStatusChangedEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.ClusterStatusChangedEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostStatusChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostStatusChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostStatusChangedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterStatusChangedEvent_Def not in ns0.HostStatusChangedEvent_Def.__bases__:
                bases = list(ns0.HostStatusChangedEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterStatusChangedEvent_Def)
                ns0.HostStatusChangedEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterStatusChangedEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterCreatedEvent_Def.schema
            TClist = [GTD("urn:vim25","FolderEventArgument",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.ClusterCreatedEvent_Def.__bases__:
                bases = list(ns0.ClusterCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.ClusterCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterDestroyedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterDestroyedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterDestroyedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.ClusterDestroyedEvent_Def.__bases__:
                bases = list(ns0.ClusterDestroyedEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.ClusterDestroyedEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsEnabledEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsEnabledEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsEnabledEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"behavior"), aname="_behavior", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.DrsEnabledEvent_Def.__bases__:
                bases = list(ns0.DrsEnabledEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.DrsEnabledEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsDisabledEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsDisabledEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsDisabledEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.DrsDisabledEvent_Def.__bases__:
                bases = list(ns0.DrsDisabledEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.DrsDisabledEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterReconfiguredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterReconfiguredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterReconfiguredEvent_Def.schema
            TClist = [GTD("urn:vim25","ChangesInfoEventArgument",lazy=True)(pname=(ns,"configChanges"), aname="_configChanges", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.ClusterReconfiguredEvent_Def.__bases__:
                bases = list(ns0.ClusterReconfiguredEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.ClusterReconfiguredEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostMonitoringStateChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMonitoringStateChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMonitoringStateChangedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"prevState"), aname="_prevState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.HostMonitoringStateChangedEvent_Def.__bases__:
                bases = list(ns0.HostMonitoringStateChangedEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.HostMonitoringStateChangedEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmHealthMonitoringStateChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmHealthMonitoringStateChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmHealthMonitoringStateChangedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"prevState"), aname="_prevState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.VmHealthMonitoringStateChangedEvent_Def.__bases__:
                bases = list(ns0.VmHealthMonitoringStateChangedEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.VmHealthMonitoringStateChangedEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourcePoolEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourcePoolEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourcePoolEvent_Def.schema
            TClist = [GTD("urn:vim25","ResourcePoolEventArgument",lazy=True)(pname=(ns,"resourcePool"), aname="_resourcePool", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.ResourcePoolEvent_Def.__bases__:
                bases = list(ns0.ResourcePoolEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.ResourcePoolEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourcePoolCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourcePoolCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourcePoolCreatedEvent_Def.schema
            TClist = [GTD("urn:vim25","ResourcePoolEventArgument",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ResourcePoolEvent_Def not in ns0.ResourcePoolCreatedEvent_Def.__bases__:
                bases = list(ns0.ResourcePoolCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.ResourcePoolEvent_Def)
                ns0.ResourcePoolCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.ResourcePoolEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourcePoolDestroyedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourcePoolDestroyedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourcePoolDestroyedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ResourcePoolEvent_Def not in ns0.ResourcePoolDestroyedEvent_Def.__bases__:
                bases = list(ns0.ResourcePoolDestroyedEvent_Def.__bases__)
                bases.insert(0, ns0.ResourcePoolEvent_Def)
                ns0.ResourcePoolDestroyedEvent_Def.__bases__ = tuple(bases)

            ns0.ResourcePoolEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourcePoolMovedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourcePoolMovedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourcePoolMovedEvent_Def.schema
            TClist = [GTD("urn:vim25","ResourcePoolEventArgument",lazy=True)(pname=(ns,"oldParent"), aname="_oldParent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourcePoolEventArgument",lazy=True)(pname=(ns,"newParent"), aname="_newParent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ResourcePoolEvent_Def not in ns0.ResourcePoolMovedEvent_Def.__bases__:
                bases = list(ns0.ResourcePoolMovedEvent_Def.__bases__)
                bases.insert(0, ns0.ResourcePoolEvent_Def)
                ns0.ResourcePoolMovedEvent_Def.__bases__ = tuple(bases)

            ns0.ResourcePoolEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourcePoolReconfiguredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourcePoolReconfiguredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourcePoolReconfiguredEvent_Def.schema
            TClist = [GTD("urn:vim25","ChangesInfoEventArgument",lazy=True)(pname=(ns,"configChanges"), aname="_configChanges", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ResourcePoolEvent_Def not in ns0.ResourcePoolReconfiguredEvent_Def.__bases__:
                bases = list(ns0.ResourcePoolReconfiguredEvent_Def.__bases__)
                bases.insert(0, ns0.ResourcePoolEvent_Def)
                ns0.ResourcePoolReconfiguredEvent_Def.__bases__ = tuple(bases)

            ns0.ResourcePoolEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourceViolatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourceViolatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourceViolatedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ResourcePoolEvent_Def not in ns0.ResourceViolatedEvent_Def.__bases__:
                bases = list(ns0.ResourceViolatedEvent_Def.__bases__)
                bases.insert(0, ns0.ResourcePoolEvent_Def)
                ns0.ResourceViolatedEvent_Def.__bases__ = tuple(bases)

            ns0.ResourcePoolEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmResourcePoolMovedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmResourcePoolMovedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmResourcePoolMovedEvent_Def.schema
            TClist = [GTD("urn:vim25","ResourcePoolEventArgument",lazy=True)(pname=(ns,"oldParent"), aname="_oldParent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourcePoolEventArgument",lazy=True)(pname=(ns,"newParent"), aname="_newParent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmResourcePoolMovedEvent_Def.__bases__:
                bases = list(ns0.VmResourcePoolMovedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmResourcePoolMovedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TemplateUpgradeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TemplateUpgradeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TemplateUpgradeEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"legacyTemplate"), aname="_legacyTemplate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.TemplateUpgradeEvent_Def.__bases__:
                bases = list(ns0.TemplateUpgradeEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.TemplateUpgradeEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TemplateBeingUpgradedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TemplateBeingUpgradedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TemplateBeingUpgradedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.TemplateUpgradeEvent_Def not in ns0.TemplateBeingUpgradedEvent_Def.__bases__:
                bases = list(ns0.TemplateBeingUpgradedEvent_Def.__bases__)
                bases.insert(0, ns0.TemplateUpgradeEvent_Def)
                ns0.TemplateBeingUpgradedEvent_Def.__bases__ = tuple(bases)

            ns0.TemplateUpgradeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TemplateUpgradeFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TemplateUpgradeFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TemplateUpgradeFailedEvent_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.TemplateUpgradeEvent_Def not in ns0.TemplateUpgradeFailedEvent_Def.__bases__:
                bases = list(ns0.TemplateUpgradeFailedEvent_Def.__bases__)
                bases.insert(0, ns0.TemplateUpgradeEvent_Def)
                ns0.TemplateUpgradeFailedEvent_Def.__bases__ = tuple(bases)

            ns0.TemplateUpgradeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TemplateUpgradedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TemplateUpgradedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TemplateUpgradedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.TemplateUpgradeEvent_Def not in ns0.TemplateUpgradedEvent_Def.__bases__:
                bases = list(ns0.TemplateUpgradedEvent_Def.__bases__)
                bases.insert(0, ns0.TemplateUpgradeEvent_Def)
                ns0.TemplateUpgradedEvent_Def.__bases__ = tuple(bases)

            ns0.TemplateUpgradeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"logLocation"), aname="_logLocation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.CustomizationEvent_Def.__bases__:
                bases = list(ns0.CustomizationEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.CustomizationEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationStartedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationStartedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationStartedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationEvent_Def not in ns0.CustomizationStartedEvent_Def.__bases__:
                bases = list(ns0.CustomizationStartedEvent_Def.__bases__)
                bases.insert(0, ns0.CustomizationEvent_Def)
                ns0.CustomizationStartedEvent_Def.__bases__ = tuple(bases)

            ns0.CustomizationEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationSucceeded_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationSucceeded")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationSucceeded_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationEvent_Def not in ns0.CustomizationSucceeded_Def.__bases__:
                bases = list(ns0.CustomizationSucceeded_Def.__bases__)
                bases.insert(0, ns0.CustomizationEvent_Def)
                ns0.CustomizationSucceeded_Def.__bases__ = tuple(bases)

            ns0.CustomizationEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationFailed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationEvent_Def not in ns0.CustomizationFailed_Def.__bases__:
                bases = list(ns0.CustomizationFailed_Def.__bases__)
                bases.insert(0, ns0.CustomizationEvent_Def)
                ns0.CustomizationFailed_Def.__bases__ = tuple(bases)

            ns0.CustomizationEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationUnknownFailure_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationUnknownFailure")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationUnknownFailure_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFailed_Def not in ns0.CustomizationUnknownFailure_Def.__bases__:
                bases = list(ns0.CustomizationUnknownFailure_Def.__bases__)
                bases.insert(0, ns0.CustomizationFailed_Def)
                ns0.CustomizationUnknownFailure_Def.__bases__ = tuple(bases)

            ns0.CustomizationFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationSysprepFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationSysprepFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationSysprepFailed_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"sysprepVersion"), aname="_sysprepVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"systemVersion"), aname="_systemVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFailed_Def not in ns0.CustomizationSysprepFailed_Def.__bases__:
                bases = list(ns0.CustomizationSysprepFailed_Def.__bases__)
                bases.insert(0, ns0.CustomizationFailed_Def)
                ns0.CustomizationSysprepFailed_Def.__bases__ = tuple(bases)

            ns0.CustomizationFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationLinuxIdentityFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationLinuxIdentityFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationLinuxIdentityFailed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFailed_Def not in ns0.CustomizationLinuxIdentityFailed_Def.__bases__:
                bases = list(ns0.CustomizationLinuxIdentityFailed_Def.__bases__)
                bases.insert(0, ns0.CustomizationFailed_Def)
                ns0.CustomizationLinuxIdentityFailed_Def.__bases__ = tuple(bases)

            ns0.CustomizationFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationNetworkSetupFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationNetworkSetupFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationNetworkSetupFailed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFailed_Def not in ns0.CustomizationNetworkSetupFailed_Def.__bases__:
                bases = list(ns0.CustomizationNetworkSetupFailed_Def.__bases__)
                bases.insert(0, ns0.CustomizationFailed_Def)
                ns0.CustomizationNetworkSetupFailed_Def.__bases__ = tuple(bases)

            ns0.CustomizationFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LockerMisconfiguredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LockerMisconfiguredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LockerMisconfiguredEvent_Def.schema
            TClist = [GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.LockerMisconfiguredEvent_Def.__bases__:
                bases = list(ns0.LockerMisconfiguredEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.LockerMisconfiguredEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LockerReconfiguredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LockerReconfiguredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LockerReconfiguredEvent_Def.schema
            TClist = [GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"oldDatastore"), aname="_oldDatastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatastoreEventArgument",lazy=True)(pname=(ns,"newDatastore"), aname="_newDatastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.LockerReconfiguredEvent_Def.__bases__:
                bases = list(ns0.LockerReconfiguredEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.LockerReconfiguredEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoDatastoresConfiguredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoDatastoresConfiguredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoDatastoresConfiguredEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.NoDatastoresConfiguredEvent_Def.__bases__:
                bases = list(ns0.NoDatastoresConfiguredEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.NoDatastoresConfiguredEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AdminPasswordNotChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AdminPasswordNotChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AdminPasswordNotChangedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.AdminPasswordNotChangedEvent_Def.__bases__:
                bases = list(ns0.AdminPasswordNotChangedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.AdminPasswordNotChangedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInAuditModeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInAuditModeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInAuditModeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.HostInAuditModeEvent_Def.__bases__:
                bases = list(ns0.HostInAuditModeEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.HostInAuditModeEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LocalTSMEnabledEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LocalTSMEnabledEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LocalTSMEnabledEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.LocalTSMEnabledEvent_Def.__bases__:
                bases = list(ns0.LocalTSMEnabledEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.LocalTSMEnabledEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RemoteTSMEnabledEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RemoteTSMEnabledEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RemoteTSMEnabledEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.RemoteTSMEnabledEvent_Def.__bases__:
                bases = list(ns0.RemoteTSMEnabledEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.RemoteTSMEnabledEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VimAccountPasswordChangedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VimAccountPasswordChangedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VimAccountPasswordChangedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.VimAccountPasswordChangedEvent_Def.__bases__:
                bases = list(ns0.VimAccountPasswordChangedEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.VimAccountPasswordChangedEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IScsiBootFailureEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IScsiBootFailureEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IScsiBootFailureEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.IScsiBootFailureEvent_Def.__bases__:
                bases = list(ns0.IScsiBootFailureEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.IScsiBootFailureEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsHealthStatusChangeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsHealthStatusChangeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsHealthStatusChangeEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"switchUuid"), aname="_switchUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostMemberHealthCheckResult",lazy=True)(pname=(ns,"healthResult"), aname="_healthResult", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostEvent_Def not in ns0.DvsHealthStatusChangeEvent_Def.__bases__:
                bases = list(ns0.DvsHealthStatusChangeEvent_Def.__bases__)
                bases.insert(0, ns0.HostEvent_Def)
                ns0.DvsHealthStatusChangeEvent_Def.__bases__ = tuple(bases)

            ns0.HostEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetworkRollbackEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetworkRollbackEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetworkRollbackEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"methodName"), aname="_methodName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"transactionId"), aname="_transactionId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.NetworkRollbackEvent_Def.__bases__:
                bases = list(ns0.NetworkRollbackEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.NetworkRollbackEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UplinkPortVlanTrunkedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UplinkPortVlanTrunkedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UplinkPortVlanTrunkedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsHealthStatusChangeEvent_Def not in ns0.UplinkPortVlanTrunkedEvent_Def.__bases__:
                bases = list(ns0.UplinkPortVlanTrunkedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsHealthStatusChangeEvent_Def)
                ns0.UplinkPortVlanTrunkedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsHealthStatusChangeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UplinkPortVlanUntrunkedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UplinkPortVlanUntrunkedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UplinkPortVlanUntrunkedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsHealthStatusChangeEvent_Def not in ns0.UplinkPortVlanUntrunkedEvent_Def.__bases__:
                bases = list(ns0.UplinkPortVlanUntrunkedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsHealthStatusChangeEvent_Def)
                ns0.UplinkPortVlanUntrunkedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsHealthStatusChangeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MtuMatchEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MtuMatchEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MtuMatchEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsHealthStatusChangeEvent_Def not in ns0.MtuMatchEvent_Def.__bases__:
                bases = list(ns0.MtuMatchEvent_Def.__bases__)
                bases.insert(0, ns0.DvsHealthStatusChangeEvent_Def)
                ns0.MtuMatchEvent_Def.__bases__ = tuple(bases)

            ns0.DvsHealthStatusChangeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MtuMismatchEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MtuMismatchEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MtuMismatchEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsHealthStatusChangeEvent_Def not in ns0.MtuMismatchEvent_Def.__bases__:
                bases = list(ns0.MtuMismatchEvent_Def.__bases__)
                bases.insert(0, ns0.DvsHealthStatusChangeEvent_Def)
                ns0.MtuMismatchEvent_Def.__bases__ = tuple(bases)

            ns0.DvsHealthStatusChangeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UplinkPortMtuNotSupportEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UplinkPortMtuNotSupportEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UplinkPortMtuNotSupportEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsHealthStatusChangeEvent_Def not in ns0.UplinkPortMtuNotSupportEvent_Def.__bases__:
                bases = list(ns0.UplinkPortMtuNotSupportEvent_Def.__bases__)
                bases.insert(0, ns0.DvsHealthStatusChangeEvent_Def)
                ns0.UplinkPortMtuNotSupportEvent_Def.__bases__ = tuple(bases)

            ns0.DvsHealthStatusChangeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UplinkPortMtuSupportEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UplinkPortMtuSupportEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UplinkPortMtuSupportEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsHealthStatusChangeEvent_Def not in ns0.UplinkPortMtuSupportEvent_Def.__bases__:
                bases = list(ns0.UplinkPortMtuSupportEvent_Def.__bases__)
                bases.insert(0, ns0.DvsHealthStatusChangeEvent_Def)
                ns0.UplinkPortMtuSupportEvent_Def.__bases__ = tuple(bases)

            ns0.DvsHealthStatusChangeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TeamingMatchEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TeamingMatchEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TeamingMatchEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsHealthStatusChangeEvent_Def not in ns0.TeamingMatchEvent_Def.__bases__:
                bases = list(ns0.TeamingMatchEvent_Def.__bases__)
                bases.insert(0, ns0.DvsHealthStatusChangeEvent_Def)
                ns0.TeamingMatchEvent_Def.__bases__ = tuple(bases)

            ns0.DvsHealthStatusChangeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TeamingMisMatchEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TeamingMisMatchEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TeamingMisMatchEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsHealthStatusChangeEvent_Def not in ns0.TeamingMisMatchEvent_Def.__bases__:
                bases = list(ns0.TeamingMisMatchEvent_Def.__bases__)
                bases.insert(0, ns0.DvsHealthStatusChangeEvent_Def)
                ns0.TeamingMisMatchEvent_Def.__bases__ = tuple(bases)

            ns0.DvsHealthStatusChangeEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsEventPortBlockState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DvsEventPortBlockState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DvsEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.DvsEvent_Def.__bases__:
                bases = list(ns0.DvsEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.DvsEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsCreatedEvent_Def.schema
            TClist = [GTD("urn:vim25","FolderEventArgument",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsCreatedEvent_Def.__bases__:
                bases = list(ns0.DvsCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsRenamedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsRenamedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsRenamedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"oldName"), aname="_oldName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newName"), aname="_newName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsRenamedEvent_Def.__bases__:
                bases = list(ns0.DvsRenamedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsRenamedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsReconfiguredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsReconfiguredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsReconfiguredEvent_Def.schema
            TClist = [GTD("urn:vim25","DVSConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChangesInfoEventArgument",lazy=True)(pname=(ns,"configChanges"), aname="_configChanges", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsReconfiguredEvent_Def.__bases__:
                bases = list(ns0.DvsReconfiguredEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsReconfiguredEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsUpgradeAvailableEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsUpgradeAvailableEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsUpgradeAvailableEvent_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"productInfo"), aname="_productInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsUpgradeAvailableEvent_Def.__bases__:
                bases = list(ns0.DvsUpgradeAvailableEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsUpgradeAvailableEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsUpgradeInProgressEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsUpgradeInProgressEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsUpgradeInProgressEvent_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"productInfo"), aname="_productInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsUpgradeInProgressEvent_Def.__bases__:
                bases = list(ns0.DvsUpgradeInProgressEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsUpgradeInProgressEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsUpgradeRejectedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsUpgradeRejectedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsUpgradeRejectedEvent_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"productInfo"), aname="_productInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsUpgradeRejectedEvent_Def.__bases__:
                bases = list(ns0.DvsUpgradeRejectedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsUpgradeRejectedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsUpgradedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsUpgradedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsUpgradedEvent_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"productInfo"), aname="_productInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsUpgradedEvent_Def.__bases__:
                bases = list(ns0.DvsUpgradedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsUpgradedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsHostJoinedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsHostJoinedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsHostJoinedEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"hostJoined"), aname="_hostJoined", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsHostJoinedEvent_Def.__bases__:
                bases = list(ns0.DvsHostJoinedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsHostJoinedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsHostLeftEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsHostLeftEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsHostLeftEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"hostLeft"), aname="_hostLeft", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsHostLeftEvent_Def.__bases__:
                bases = list(ns0.DvsHostLeftEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsHostLeftEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsOutOfSyncHostArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsOutOfSyncHostArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsOutOfSyncHostArgument_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"outOfSyncHost"), aname="_outOfSyncHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configParamters"), aname="_configParamters", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsOutOfSyncHostArgument_Def.__bases__:
                bases = list(ns0.DvsOutOfSyncHostArgument_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsOutOfSyncHostArgument_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDvsOutOfSyncHostArgument_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDvsOutOfSyncHostArgument")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDvsOutOfSyncHostArgument_Def.schema
            TClist = [GTD("urn:vim25","DvsOutOfSyncHostArgument",lazy=True)(pname=(ns,"DvsOutOfSyncHostArgument"), aname="_DvsOutOfSyncHostArgument", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DvsOutOfSyncHostArgument = []
                    return
            Holder.__name__ = "ArrayOfDvsOutOfSyncHostArgument_Holder"
            self.pyclass = Holder

    class OutOfSyncDvsHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OutOfSyncDvsHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OutOfSyncDvsHost_Def.schema
            TClist = [GTD("urn:vim25","DvsOutOfSyncHostArgument",lazy=True)(pname=(ns,"hostOutOfSync"), aname="_hostOutOfSync", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.OutOfSyncDvsHost_Def.__bases__:
                bases = list(ns0.OutOfSyncDvsHost_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.OutOfSyncDvsHost_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsHostWentOutOfSyncEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsHostWentOutOfSyncEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsHostWentOutOfSyncEvent_Def.schema
            TClist = [GTD("urn:vim25","DvsOutOfSyncHostArgument",lazy=True)(pname=(ns,"hostOutOfSync"), aname="_hostOutOfSync", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsHostWentOutOfSyncEvent_Def.__bases__:
                bases = list(ns0.DvsHostWentOutOfSyncEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsHostWentOutOfSyncEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsHostBackInSyncEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsHostBackInSyncEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsHostBackInSyncEvent_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"hostBackInSync"), aname="_hostBackInSync", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsHostBackInSyncEvent_Def.__bases__:
                bases = list(ns0.DvsHostBackInSyncEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsHostBackInSyncEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsHostStatusUpdated_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsHostStatusUpdated")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsHostStatusUpdated_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"hostMember"), aname="_hostMember", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"oldStatus"), aname="_oldStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newStatus"), aname="_newStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"oldStatusDetail"), aname="_oldStatusDetail", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newStatusDetail"), aname="_newStatusDetail", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsHostStatusUpdated_Def.__bases__:
                bases = list(ns0.DvsHostStatusUpdated_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsHostStatusUpdated_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortCreatedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortCreatedEvent_Def.__bases__:
                bases = list(ns0.DvsPortCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortReconfiguredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortReconfiguredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortReconfiguredEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChangesInfoEventArgument",lazy=True)(pname=(ns,"configChanges"), aname="_configChanges", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortReconfiguredEvent_Def.__bases__:
                bases = list(ns0.DvsPortReconfiguredEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortReconfiguredEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortDeletedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortDeletedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortDeletedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortDeletedEvent_Def.__bases__:
                bases = list(ns0.DvsPortDeletedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortDeletedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortConnectedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortConnectedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortConnectedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchPortConnectee",lazy=True)(pname=(ns,"connectee"), aname="_connectee", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortConnectedEvent_Def.__bases__:
                bases = list(ns0.DvsPortConnectedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortConnectedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortDisconnectedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortDisconnectedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortDisconnectedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchPortConnectee",lazy=True)(pname=(ns,"connectee"), aname="_connectee", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortDisconnectedEvent_Def.__bases__:
                bases = list(ns0.DvsPortDisconnectedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortDisconnectedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortVendorSpecificStateChangeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortVendorSpecificStateChangeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortVendorSpecificStateChangeEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortVendorSpecificStateChangeEvent_Def.__bases__:
                bases = list(ns0.DvsPortVendorSpecificStateChangeEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortVendorSpecificStateChangeEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortRuntimeChangeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortRuntimeChangeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortRuntimeChangeEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortStatus",lazy=True)(pname=(ns,"runtimeInfo"), aname="_runtimeInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortRuntimeChangeEvent_Def.__bases__:
                bases = list(ns0.DvsPortRuntimeChangeEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortRuntimeChangeEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortLinkUpEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortLinkUpEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortLinkUpEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortStatus",lazy=True)(pname=(ns,"runtimeInfo"), aname="_runtimeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortLinkUpEvent_Def.__bases__:
                bases = list(ns0.DvsPortLinkUpEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortLinkUpEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortLinkDownEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortLinkDownEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortLinkDownEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortStatus",lazy=True)(pname=(ns,"runtimeInfo"), aname="_runtimeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortLinkDownEvent_Def.__bases__:
                bases = list(ns0.DvsPortLinkDownEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortLinkDownEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortJoinPortgroupEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortJoinPortgroupEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortJoinPortgroupEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupKey"), aname="_portgroupKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupName"), aname="_portgroupName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortJoinPortgroupEvent_Def.__bases__:
                bases = list(ns0.DvsPortJoinPortgroupEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortJoinPortgroupEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortLeavePortgroupEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortLeavePortgroupEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortLeavePortgroupEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupKey"), aname="_portgroupKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupName"), aname="_portgroupName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortLeavePortgroupEvent_Def.__bases__:
                bases = list(ns0.DvsPortLeavePortgroupEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortLeavePortgroupEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortBlockedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortBlockedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortBlockedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"statusDetail"), aname="_statusDetail", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortStatus",lazy=True)(pname=(ns,"runtimeInfo"), aname="_runtimeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"prevBlockState"), aname="_prevBlockState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortBlockedEvent_Def.__bases__:
                bases = list(ns0.DvsPortBlockedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortBlockedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortUnblockedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortUnblockedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortUnblockedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortStatus",lazy=True)(pname=(ns,"runtimeInfo"), aname="_runtimeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"prevBlockState"), aname="_prevBlockState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortUnblockedEvent_Def.__bases__:
                bases = list(ns0.DvsPortUnblockedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortUnblockedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortEnteredPassthruEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortEnteredPassthruEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortEnteredPassthruEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortStatus",lazy=True)(pname=(ns,"runtimeInfo"), aname="_runtimeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortEnteredPassthruEvent_Def.__bases__:
                bases = list(ns0.DvsPortEnteredPassthruEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortEnteredPassthruEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsPortExitedPassthruEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsPortExitedPassthruEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsPortExitedPassthruEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortStatus",lazy=True)(pname=(ns,"runtimeInfo"), aname="_runtimeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsPortExitedPassthruEvent_Def.__bases__:
                bases = list(ns0.DvsPortExitedPassthruEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsPortExitedPassthruEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsDestroyedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsDestroyedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsDestroyedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsDestroyedEvent_Def.__bases__:
                bases = list(ns0.DvsDestroyedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsDestroyedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsMergedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsMergedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsMergedEvent_Def.schema
            TClist = [GTD("urn:vim25","DvsEventArgument",lazy=True)(pname=(ns,"sourceDvs"), aname="_sourceDvs", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsEventArgument",lazy=True)(pname=(ns,"destinationDvs"), aname="_destinationDvs", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsMergedEvent_Def.__bases__:
                bases = list(ns0.DvsMergedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsMergedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostLocalPortCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLocalPortCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLocalPortCreatedEvent_Def.schema
            TClist = [GTD("urn:vim25","DVSHostLocalPortInfo",lazy=True)(pname=(ns,"hostLocalPort"), aname="_hostLocalPort", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.HostLocalPortCreatedEvent_Def.__bases__:
                bases = list(ns0.HostLocalPortCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.HostLocalPortCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RollbackEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RollbackEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RollbackEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"methodName"), aname="_methodName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.RollbackEvent_Def.__bases__:
                bases = list(ns0.RollbackEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.RollbackEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RecoveryEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RecoveryEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RecoveryEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dvsUuid"), aname="_dvsUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vnic"), aname="_vnic", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.RecoveryEvent_Def.__bases__:
                bases = list(ns0.RecoveryEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.RecoveryEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsImportEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsImportEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsImportEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"importType"), aname="_importType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsImportEvent_Def.__bases__:
                bases = list(ns0.DvsImportEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsImportEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsRestoreEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsRestoreEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsRestoreEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.DvsRestoreEvent_Def.__bases__:
                bases = list(ns0.DvsRestoreEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.DvsRestoreEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmVnicPoolReservationViolationRaiseEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmVnicPoolReservationViolationRaiseEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmVnicPoolReservationViolationRaiseEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmVnicResourcePoolKey"), aname="_vmVnicResourcePoolKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmVnicResourcePoolName"), aname="_vmVnicResourcePoolName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.VmVnicPoolReservationViolationRaiseEvent_Def.__bases__:
                bases = list(ns0.VmVnicPoolReservationViolationRaiseEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.VmVnicPoolReservationViolationRaiseEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmVnicPoolReservationViolationClearEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmVnicPoolReservationViolationClearEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmVnicPoolReservationViolationClearEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmVnicResourcePoolKey"), aname="_vmVnicResourcePoolKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmVnicResourcePoolName"), aname="_vmVnicResourcePoolName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsEvent_Def not in ns0.VmVnicPoolReservationViolationClearEvent_Def.__bases__:
                bases = list(ns0.VmVnicPoolReservationViolationClearEvent_Def.__bases__)
                bases.insert(0, ns0.DvsEvent_Def)
                ns0.VmVnicPoolReservationViolationClearEvent_Def.__bases__ = tuple(bases)

            ns0.DvsEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVPortgroupEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortgroupEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortgroupEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.DVPortgroupEvent_Def.__bases__:
                bases = list(ns0.DVPortgroupEvent_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.DVPortgroupEvent_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVPortgroupCreatedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortgroupCreatedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortgroupCreatedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DVPortgroupEvent_Def not in ns0.DVPortgroupCreatedEvent_Def.__bases__:
                bases = list(ns0.DVPortgroupCreatedEvent_Def.__bases__)
                bases.insert(0, ns0.DVPortgroupEvent_Def)
                ns0.DVPortgroupCreatedEvent_Def.__bases__ = tuple(bases)

            ns0.DVPortgroupEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVPortgroupRenamedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortgroupRenamedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortgroupRenamedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"oldName"), aname="_oldName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newName"), aname="_newName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DVPortgroupEvent_Def not in ns0.DVPortgroupRenamedEvent_Def.__bases__:
                bases = list(ns0.DVPortgroupRenamedEvent_Def.__bases__)
                bases.insert(0, ns0.DVPortgroupEvent_Def)
                ns0.DVPortgroupRenamedEvent_Def.__bases__ = tuple(bases)

            ns0.DVPortgroupEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVPortgroupReconfiguredEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortgroupReconfiguredEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortgroupReconfiguredEvent_Def.schema
            TClist = [GTD("urn:vim25","DVPortgroupConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChangesInfoEventArgument",lazy=True)(pname=(ns,"configChanges"), aname="_configChanges", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DVPortgroupEvent_Def not in ns0.DVPortgroupReconfiguredEvent_Def.__bases__:
                bases = list(ns0.DVPortgroupReconfiguredEvent_Def.__bases__)
                bases.insert(0, ns0.DVPortgroupEvent_Def)
                ns0.DVPortgroupReconfiguredEvent_Def.__bases__ = tuple(bases)

            ns0.DVPortgroupEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVPortgroupDestroyedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortgroupDestroyedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortgroupDestroyedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DVPortgroupEvent_Def not in ns0.DVPortgroupDestroyedEvent_Def.__bases__:
                bases = list(ns0.DVPortgroupDestroyedEvent_Def.__bases__)
                bases.insert(0, ns0.DVPortgroupEvent_Def)
                ns0.DVPortgroupDestroyedEvent_Def.__bases__ = tuple(bases)

            ns0.DVPortgroupEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvpgImportEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvpgImportEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvpgImportEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"importType"), aname="_importType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DVPortgroupEvent_Def not in ns0.DvpgImportEvent_Def.__bases__:
                bases = list(ns0.DvpgImportEvent_Def.__bases__)
                bases.insert(0, ns0.DVPortgroupEvent_Def)
                ns0.DvpgImportEvent_Def.__bases__ = tuple(bases)

            ns0.DVPortgroupEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvpgRestoreEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvpgRestoreEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvpgRestoreEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DVPortgroupEvent_Def not in ns0.DvpgRestoreEvent_Def.__bases__:
                bases = list(ns0.DvpgRestoreEvent_Def.__bases__)
                bases.insert(0, ns0.DVPortgroupEvent_Def)
                ns0.DvpgRestoreEvent_Def.__bases__ = tuple(bases)

            ns0.DVPortgroupEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsInvocationFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsInvocationFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsInvocationFailedEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.DrsInvocationFailedEvent_Def.__bases__:
                bases = list(ns0.DrsInvocationFailedEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.DrsInvocationFailedEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsRecoveredFromFailureEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsRecoveredFromFailureEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsRecoveredFromFailureEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterEvent_Def not in ns0.DrsRecoveredFromFailureEvent_Def.__bases__:
                bases = list(ns0.DrsRecoveredFromFailureEvent_Def.__bases__)
                bases.insert(0, ns0.ClusterEvent_Def)
                ns0.DrsRecoveredFromFailureEvent_Def.__bases__ = tuple(bases)

            ns0.ClusterEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmReloadFromPathEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmReloadFromPathEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmReloadFromPathEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"configPath"), aname="_configPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmReloadFromPathEvent_Def.__bases__:
                bases = list(ns0.VmReloadFromPathEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmReloadFromPathEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmReloadFromPathFailedEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmReloadFromPathFailedEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmReloadFromPathFailedEvent_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"configPath"), aname="_configPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmReloadFromPathFailedEvent_Def.__bases__:
                bases = list(ns0.VmReloadFromPathFailedEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmReloadFromPathFailedEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmRequirementsExceedCurrentEVCModeEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmRequirementsExceedCurrentEVCModeEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmRequirementsExceedCurrentEVCModeEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmEvent_Def not in ns0.VmRequirementsExceedCurrentEVCModeEvent_Def.__bases__:
                bases = list(ns0.VmRequirementsExceedCurrentEVCModeEvent_Def.__bases__)
                bases.insert(0, ns0.VmEvent_Def)
                ns0.VmRequirementsExceedCurrentEVCModeEvent_Def.__bases__ = tuple(bases)

            ns0.VmEvent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EventArgument_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.EventArgument_Def.__bases__:
                bases = list(ns0.EventArgument_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.EventArgument_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RoleEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RoleEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RoleEventArgument_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"roleId"), aname="_roleId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EventArgument_Def not in ns0.RoleEventArgument_Def.__bases__:
                bases = list(ns0.RoleEventArgument_Def.__bases__)
                bases.insert(0, ns0.EventArgument_Def)
                ns0.RoleEventArgument_Def.__bases__ = tuple(bases)

            ns0.EventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EntityEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EntityEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EntityEventArgument_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EventArgument_Def not in ns0.EntityEventArgument_Def.__bases__:
                bases = list(ns0.EntityEventArgument_Def.__bases__)
                bases.insert(0, ns0.EventArgument_Def)
                ns0.EntityEventArgument_Def.__bases__ = tuple(bases)

            ns0.EventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ManagedEntityEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ManagedEntityEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ManagedEntityEventArgument_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EntityEventArgument_Def not in ns0.ManagedEntityEventArgument_Def.__bases__:
                bases = list(ns0.ManagedEntityEventArgument_Def.__bases__)
                bases.insert(0, ns0.EntityEventArgument_Def)
                ns0.ManagedEntityEventArgument_Def.__bases__ = tuple(bases)

            ns0.EntityEventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FolderEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FolderEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FolderEventArgument_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"folder"), aname="_folder", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EntityEventArgument_Def not in ns0.FolderEventArgument_Def.__bases__:
                bases = list(ns0.FolderEventArgument_Def.__bases__)
                bases.insert(0, ns0.EntityEventArgument_Def)
                ns0.FolderEventArgument_Def.__bases__ = tuple(bases)

            ns0.EntityEventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatacenterEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatacenterEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatacenterEventArgument_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EntityEventArgument_Def not in ns0.DatacenterEventArgument_Def.__bases__:
                bases = list(ns0.DatacenterEventArgument_Def.__bases__)
                bases.insert(0, ns0.EntityEventArgument_Def)
                ns0.DatacenterEventArgument_Def.__bases__ = tuple(bases)

            ns0.EntityEventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ComputeResourceEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ComputeResourceEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ComputeResourceEventArgument_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"computeResource"), aname="_computeResource", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EntityEventArgument_Def not in ns0.ComputeResourceEventArgument_Def.__bases__:
                bases = list(ns0.ComputeResourceEventArgument_Def.__bases__)
                bases.insert(0, ns0.EntityEventArgument_Def)
                ns0.ComputeResourceEventArgument_Def.__bases__ = tuple(bases)

            ns0.EntityEventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourcePoolEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourcePoolEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourcePoolEventArgument_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"resourcePool"), aname="_resourcePool", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EntityEventArgument_Def not in ns0.ResourcePoolEventArgument_Def.__bases__:
                bases = list(ns0.ResourcePoolEventArgument_Def.__bases__)
                bases.insert(0, ns0.EntityEventArgument_Def)
                ns0.ResourcePoolEventArgument_Def.__bases__ = tuple(bases)

            ns0.EntityEventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostEventArgument_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EntityEventArgument_Def not in ns0.HostEventArgument_Def.__bases__:
                bases = list(ns0.HostEventArgument_Def.__bases__)
                bases.insert(0, ns0.EntityEventArgument_Def)
                ns0.HostEventArgument_Def.__bases__ = tuple(bases)

            ns0.EntityEventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostEventArgument_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostEventArgument")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostEventArgument_Def.schema
            TClist = [GTD("urn:vim25","HostEventArgument",lazy=True)(pname=(ns,"HostEventArgument"), aname="_HostEventArgument", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostEventArgument = []
                    return
            Holder.__name__ = "ArrayOfHostEventArgument_Holder"
            self.pyclass = Holder

    class VmEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmEventArgument_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EntityEventArgument_Def not in ns0.VmEventArgument_Def.__bases__:
                bases = list(ns0.VmEventArgument_Def.__bases__)
                bases.insert(0, ns0.EntityEventArgument_Def)
                ns0.VmEventArgument_Def.__bases__ = tuple(bases)

            ns0.EntityEventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVmEventArgument_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVmEventArgument")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVmEventArgument_Def.schema
            TClist = [GTD("urn:vim25","VmEventArgument",lazy=True)(pname=(ns,"VmEventArgument"), aname="_VmEventArgument", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VmEventArgument = []
                    return
            Holder.__name__ = "ArrayOfVmEventArgument_Holder"
            self.pyclass = Holder

    class DatastoreEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreEventArgument_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EntityEventArgument_Def not in ns0.DatastoreEventArgument_Def.__bases__:
                bases = list(ns0.DatastoreEventArgument_Def.__bases__)
                bases.insert(0, ns0.EntityEventArgument_Def)
                ns0.DatastoreEventArgument_Def.__bases__ = tuple(bases)

            ns0.EntityEventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetworkEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetworkEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetworkEventArgument_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EntityEventArgument_Def not in ns0.NetworkEventArgument_Def.__bases__:
                bases = list(ns0.NetworkEventArgument_Def.__bases__)
                bases.insert(0, ns0.EntityEventArgument_Def)
                ns0.NetworkEventArgument_Def.__bases__ = tuple(bases)

            ns0.EntityEventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlarmEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlarmEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlarmEventArgument_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"alarm"), aname="_alarm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EntityEventArgument_Def not in ns0.AlarmEventArgument_Def.__bases__:
                bases = list(ns0.AlarmEventArgument_Def.__bases__)
                bases.insert(0, ns0.EntityEventArgument_Def)
                ns0.AlarmEventArgument_Def.__bases__ = tuple(bases)

            ns0.EntityEventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ScheduledTaskEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledTaskEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledTaskEventArgument_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"scheduledTask"), aname="_scheduledTask", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EntityEventArgument_Def not in ns0.ScheduledTaskEventArgument_Def.__bases__:
                bases = list(ns0.ScheduledTaskEventArgument_Def.__bases__)
                bases.insert(0, ns0.EntityEventArgument_Def)
                ns0.ScheduledTaskEventArgument_Def.__bases__ = tuple(bases)

            ns0.EntityEventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileEventArgument_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EventArgument_Def not in ns0.ProfileEventArgument_Def.__bases__:
                bases = list(ns0.ProfileEventArgument_Def.__bases__)
                bases.insert(0, ns0.EventArgument_Def)
                ns0.ProfileEventArgument_Def.__bases__ = tuple(bases)

            ns0.EventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsEventArgument_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"dvs"), aname="_dvs", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EntityEventArgument_Def not in ns0.DvsEventArgument_Def.__bases__:
                bases = list(ns0.DvsEventArgument_Def.__bases__)
                bases.insert(0, ns0.EntityEventArgument_Def)
                ns0.DvsEventArgument_Def.__bases__ = tuple(bases)

            ns0.EntityEventArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ChangesInfoEventArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ChangesInfoEventArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ChangesInfoEventArgument_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"modified"), aname="_modified", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"added"), aname="_added", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deleted"), aname="_deleted", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ChangesInfoEventArgument_Def.__bases__:
                bases = list(ns0.ChangesInfoEventArgument_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ChangesInfoEventArgument_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfChangesInfoEventArgument_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfChangesInfoEventArgument")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfChangesInfoEventArgument_Def.schema
            TClist = [GTD("urn:vim25","ChangesInfoEventArgument",lazy=True)(pname=(ns,"ChangesInfoEventArgument"), aname="_ChangesInfoEventArgument", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ChangesInfoEventArgument = []
                    return
            Holder.__name__ = "ArrayOfChangesInfoEventArgument_Holder"
            self.pyclass = Holder

    class EventCategory_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EventCategory")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class EventArgDesc_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EventArgDesc")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EventArgDesc_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.EventArgDesc_Def.__bases__:
                bases = list(ns0.EventArgDesc_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.EventArgDesc_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfEventArgDesc_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfEventArgDesc")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfEventArgDesc_Def.schema
            TClist = [GTD("urn:vim25","EventArgDesc",lazy=True)(pname=(ns,"EventArgDesc"), aname="_EventArgDesc", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._EventArgDesc = []
                    return
            Holder.__name__ = "ArrayOfEventArgDesc_Holder"
            self.pyclass = Holder

    class EventDescriptionEventDetail_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EventDescriptionEventDetail")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EventDescriptionEventDetail_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"category"), aname="_category", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"formatOnDatacenter"), aname="_formatOnDatacenter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"formatOnComputeResource"), aname="_formatOnComputeResource", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"formatOnHost"), aname="_formatOnHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"formatOnVm"), aname="_formatOnVm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fullFormat"), aname="_fullFormat", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"longDescription"), aname="_longDescription", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.EventDescriptionEventDetail_Def.__bases__:
                bases = list(ns0.EventDescriptionEventDetail_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.EventDescriptionEventDetail_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfEventDescriptionEventDetail_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfEventDescriptionEventDetail")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfEventDescriptionEventDetail_Def.schema
            TClist = [GTD("urn:vim25","EventDescriptionEventDetail",lazy=True)(pname=(ns,"EventDescriptionEventDetail"), aname="_EventDescriptionEventDetail", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._EventDescriptionEventDetail = []
                    return
            Holder.__name__ = "ArrayOfEventDescriptionEventDetail_Holder"
            self.pyclass = Holder

    class EventDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EventDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EventDescription_Def.schema
            TClist = [GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"category"), aname="_category", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","EventDescriptionEventDetail",lazy=True)(pname=(ns,"eventInfo"), aname="_eventInfo", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","EnumDescription",lazy=True)(pname=(ns,"enumeratedTypes"), aname="_enumeratedTypes", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.EventDescription_Def.__bases__:
                bases = list(ns0.EventDescription_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.EventDescription_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EventEx_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EventEx")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EventEx_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"eventTypeId"), aname="_eventTypeId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"severity"), aname="_severity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"arguments"), aname="_arguments", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"objectId"), aname="_objectId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"objectType"), aname="_objectType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"objectName"), aname="_objectName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Event_Def not in ns0.EventEx_Def.__bases__:
                bases = list(ns0.EventEx_Def.__bases__)
                bases.insert(0, ns0.Event_Def)
                ns0.EventEx_Def.__bases__ = tuple(bases)

            ns0.Event_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EventFilterSpecRecursionOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EventFilterSpecRecursionOption")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class EventFilterSpecByEntity_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EventFilterSpecByEntity")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EventFilterSpecByEntity_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","EventFilterSpecRecursionOption",lazy=True)(pname=(ns,"recursion"), aname="_recursion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.EventFilterSpecByEntity_Def.__bases__:
                bases = list(ns0.EventFilterSpecByEntity_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.EventFilterSpecByEntity_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EventFilterSpecByTime_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EventFilterSpecByTime")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EventFilterSpecByTime_Def.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"beginTime"), aname="_beginTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"endTime"), aname="_endTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.EventFilterSpecByTime_Def.__bases__:
                bases = list(ns0.EventFilterSpecByTime_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.EventFilterSpecByTime_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EventFilterSpecByUsername_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EventFilterSpecByUsername")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EventFilterSpecByUsername_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"systemUser"), aname="_systemUser", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userList"), aname="_userList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.EventFilterSpecByUsername_Def.__bases__:
                bases = list(ns0.EventFilterSpecByUsername_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.EventFilterSpecByUsername_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EventFilterSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EventFilterSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EventFilterSpec_Def.schema
            TClist = [GTD("urn:vim25","EventFilterSpecByEntity",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","EventFilterSpecByTime",lazy=True)(pname=(ns,"time"), aname="_time", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","EventFilterSpecByUsername",lazy=True)(pname=(ns,"userName"), aname="_userName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"eventChainId"), aname="_eventChainId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"alarm"), aname="_alarm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"scheduledTask"), aname="_scheduledTask", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"disableFullMessage"), aname="_disableFullMessage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"category"), aname="_category", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"tag"), aname="_tag", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"eventTypeId"), aname="_eventTypeId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxCount"), aname="_maxCount", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.EventFilterSpec_Def.__bases__:
                bases = list(ns0.EventFilterSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.EventFilterSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExtExtendedProductInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtExtendedProductInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtExtendedProductInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"companyUrl"), aname="_companyUrl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"productUrl"), aname="_productUrl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"managementUrl"), aname="_managementUrl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"self"), aname="_self", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtExtendedProductInfo_Def.__bases__:
                bases = list(ns0.ExtExtendedProductInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtExtendedProductInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ManagedByInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ManagedByInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ManagedByInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ManagedByInfo_Def.__bases__:
                bases = list(ns0.ManagedByInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ManagedByInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExtManagedEntityInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtManagedEntityInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtManagedEntityInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"smallIconUrl"), aname="_smallIconUrl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iconUrl"), aname="_iconUrl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtManagedEntityInfo_Def.__bases__:
                bases = list(ns0.ExtManagedEntityInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtManagedEntityInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfExtManagedEntityInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfExtManagedEntityInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfExtManagedEntityInfo_Def.schema
            TClist = [GTD("urn:vim25","ExtManagedEntityInfo",lazy=True)(pname=(ns,"ExtManagedEntityInfo"), aname="_ExtManagedEntityInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ExtManagedEntityInfo = []
                    return
            Holder.__name__ = "ArrayOfExtManagedEntityInfo_Holder"
            self.pyclass = Holder

    class ExtSolutionManagerInfoTabInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtSolutionManagerInfoTabInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtSolutionManagerInfoTabInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"label"), aname="_label", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtSolutionManagerInfoTabInfo_Def.__bases__:
                bases = list(ns0.ExtSolutionManagerInfoTabInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtSolutionManagerInfoTabInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfExtSolutionManagerInfoTabInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfExtSolutionManagerInfoTabInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfExtSolutionManagerInfoTabInfo_Def.schema
            TClist = [GTD("urn:vim25","ExtSolutionManagerInfoTabInfo",lazy=True)(pname=(ns,"ExtSolutionManagerInfoTabInfo"), aname="_ExtSolutionManagerInfoTabInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ExtSolutionManagerInfoTabInfo = []
                    return
            Holder.__name__ = "ArrayOfExtSolutionManagerInfoTabInfo_Holder"
            self.pyclass = Holder

    class ExtSolutionManagerInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtSolutionManagerInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtSolutionManagerInfo_Def.schema
            TClist = [GTD("urn:vim25","ExtSolutionManagerInfoTabInfo",lazy=True)(pname=(ns,"tab"), aname="_tab", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"smallIconUrl"), aname="_smallIconUrl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ExtSolutionManagerInfo_Def.__bases__:
                bases = list(ns0.ExtSolutionManagerInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ExtSolutionManagerInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ActiveDirectoryFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ActiveDirectoryFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ActiveDirectoryFault_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"errorCode"), aname="_errorCode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.ActiveDirectoryFault_Def.__bases__:
                bases = list(ns0.ActiveDirectoryFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.ActiveDirectoryFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ActiveVMsBlockingEVC_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ActiveVMsBlockingEVC")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ActiveVMsBlockingEVC_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"evcMode"), aname="_evcMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCConfigFault_Def not in ns0.ActiveVMsBlockingEVC_Def.__bases__:
                bases = list(ns0.ActiveVMsBlockingEVC_Def.__bases__)
                bases.insert(0, ns0.EVCConfigFault_Def)
                ns0.ActiveVMsBlockingEVC_Def.__bases__ = tuple(bases)

            ns0.EVCConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AdminDisabled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AdminDisabled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AdminDisabled_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConfigFault_Def not in ns0.AdminDisabled_Def.__bases__:
                bases = list(ns0.AdminDisabled_Def.__bases__)
                bases.insert(0, ns0.HostConfigFault_Def)
                ns0.AdminDisabled_Def.__bases__ = tuple(bases)

            ns0.HostConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AdminNotDisabled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AdminNotDisabled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AdminNotDisabled_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConfigFault_Def not in ns0.AdminNotDisabled_Def.__bases__:
                bases = list(ns0.AdminNotDisabled_Def.__bases__)
                bases.insert(0, ns0.HostConfigFault_Def)
                ns0.AdminNotDisabled_Def.__bases__ = tuple(bases)

            ns0.HostConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AffinityType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AffinityType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class AffinityConfigured_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AffinityConfigured")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AffinityConfigured_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"configuredAffinity"), aname="_configuredAffinity", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.AffinityConfigured_Def.__bases__:
                bases = list(ns0.AffinityConfigured_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.AffinityConfigured_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AgentInstallFailedReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AgentInstallFailedReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class AgentInstallFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AgentInstallFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AgentInstallFailed_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"statusCode"), aname="_statusCode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"installerOutput"), aname="_installerOutput", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.AgentInstallFailed_Def.__bases__:
                bases = list(ns0.AgentInstallFailed_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.AgentInstallFailed_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlreadyBeingManaged_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlreadyBeingManaged")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlreadyBeingManaged_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.AlreadyBeingManaged_Def.__bases__:
                bases = list(ns0.AlreadyBeingManaged_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.AlreadyBeingManaged_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlreadyConnected_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlreadyConnected")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlreadyConnected_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.AlreadyConnected_Def.__bases__:
                bases = list(ns0.AlreadyConnected_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.AlreadyConnected_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlreadyExists_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlreadyExists")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlreadyExists_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.AlreadyExists_Def.__bases__:
                bases = list(ns0.AlreadyExists_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.AlreadyExists_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AlreadyUpgraded_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AlreadyUpgraded")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AlreadyUpgraded_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.AlreadyUpgraded_Def.__bases__:
                bases = list(ns0.AlreadyUpgraded_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.AlreadyUpgraded_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AnswerFileUpdateFailure_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AnswerFileUpdateFailure")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AnswerFileUpdateFailure_Def.schema
            TClist = [GTD("urn:vim25","ProfilePropertyPath",lazy=True)(pname=(ns,"userInputPath"), aname="_userInputPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"errMsg"), aname="_errMsg", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AnswerFileUpdateFailure_Def.__bases__:
                bases = list(ns0.AnswerFileUpdateFailure_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AnswerFileUpdateFailure_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfAnswerFileUpdateFailure_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfAnswerFileUpdateFailure")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfAnswerFileUpdateFailure_Def.schema
            TClist = [GTD("urn:vim25","AnswerFileUpdateFailure",lazy=True)(pname=(ns,"AnswerFileUpdateFailure"), aname="_AnswerFileUpdateFailure", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._AnswerFileUpdateFailure = []
                    return
            Holder.__name__ = "ArrayOfAnswerFileUpdateFailure_Holder"
            self.pyclass = Holder

    class AnswerFileUpdateFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AnswerFileUpdateFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AnswerFileUpdateFailed_Def.schema
            TClist = [GTD("urn:vim25","AnswerFileUpdateFailure",lazy=True)(pname=(ns,"failure"), aname="_failure", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.AnswerFileUpdateFailed_Def.__bases__:
                bases = list(ns0.AnswerFileUpdateFailed_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.AnswerFileUpdateFailed_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ApplicationQuiesceFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ApplicationQuiesceFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ApplicationQuiesceFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SnapshotFault_Def not in ns0.ApplicationQuiesceFault_Def.__bases__:
                bases = list(ns0.ApplicationQuiesceFault_Def.__bases__)
                bases.insert(0, ns0.SnapshotFault_Def)
                ns0.ApplicationQuiesceFault_Def.__bases__ = tuple(bases)

            ns0.SnapshotFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AuthMinimumAdminPermission_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AuthMinimumAdminPermission")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AuthMinimumAdminPermission_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.AuthMinimumAdminPermission_Def.__bases__:
                bases = list(ns0.AuthMinimumAdminPermission_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.AuthMinimumAdminPermission_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class BackupBlobReadFailure_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "BackupBlobReadFailure")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.BackupBlobReadFailure_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"entityName"), aname="_entityName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"entityType"), aname="_entityType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.BackupBlobReadFailure_Def.__bases__:
                bases = list(ns0.BackupBlobReadFailure_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.BackupBlobReadFailure_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class BackupBlobWriteFailure_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "BackupBlobWriteFailure")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.BackupBlobWriteFailure_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"entityName"), aname="_entityName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"entityType"), aname="_entityType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.BackupBlobWriteFailure_Def.__bases__:
                bases = list(ns0.BackupBlobWriteFailure_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.BackupBlobWriteFailure_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class BlockedByFirewall_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "BlockedByFirewall")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.BlockedByFirewall_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConfigFault_Def not in ns0.BlockedByFirewall_Def.__bases__:
                bases = list(ns0.BlockedByFirewall_Def.__bases__)
                bases.insert(0, ns0.HostConfigFault_Def)
                ns0.BlockedByFirewall_Def.__bases__ = tuple(bases)

            ns0.HostConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CAMServerRefusedConnection_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CAMServerRefusedConnection")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CAMServerRefusedConnection_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidCAMServer_Def not in ns0.CAMServerRefusedConnection_Def.__bases__:
                bases = list(ns0.CAMServerRefusedConnection_Def.__bases__)
                bases.insert(0, ns0.InvalidCAMServer_Def)
                ns0.CAMServerRefusedConnection_Def.__bases__ = tuple(bases)

            ns0.InvalidCAMServer_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotAccessFile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotAccessFile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotAccessFile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.CannotAccessFile_Def.__bases__:
                bases = list(ns0.CannotAccessFile_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.CannotAccessFile_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotAccessLocalSource_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotAccessLocalSource")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotAccessLocalSource_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.CannotAccessLocalSource_Def.__bases__:
                bases = list(ns0.CannotAccessLocalSource_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.CannotAccessLocalSource_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotAccessNetwork_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotAccessNetwork")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotAccessNetwork_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CannotAccessVmDevice_Def not in ns0.CannotAccessNetwork_Def.__bases__:
                bases = list(ns0.CannotAccessNetwork_Def.__bases__)
                bases.insert(0, ns0.CannotAccessVmDevice_Def)
                ns0.CannotAccessNetwork_Def.__bases__ = tuple(bases)

            ns0.CannotAccessVmDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotAccessVmComponent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotAccessVmComponent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotAccessVmComponent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.CannotAccessVmComponent_Def.__bases__:
                bases = list(ns0.CannotAccessVmComponent_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.CannotAccessVmComponent_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotAccessVmConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotAccessVmConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotAccessVmConfig_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CannotAccessVmComponent_Def not in ns0.CannotAccessVmConfig_Def.__bases__:
                bases = list(ns0.CannotAccessVmConfig_Def.__bases__)
                bases.insert(0, ns0.CannotAccessVmComponent_Def)
                ns0.CannotAccessVmConfig_Def.__bases__ = tuple(bases)

            ns0.CannotAccessVmComponent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotAccessVmDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotAccessVmDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotAccessVmDevice_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"backing"), aname="_backing", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"connected"), aname="_connected", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CannotAccessVmComponent_Def not in ns0.CannotAccessVmDevice_Def.__bases__:
                bases = list(ns0.CannotAccessVmDevice_Def.__bases__)
                bases.insert(0, ns0.CannotAccessVmComponent_Def)
                ns0.CannotAccessVmDevice_Def.__bases__ = tuple(bases)

            ns0.CannotAccessVmComponent_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotAccessVmDisk_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotAccessVmDisk")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotAccessVmDisk_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CannotAccessVmDevice_Def not in ns0.CannotAccessVmDisk_Def.__bases__:
                bases = list(ns0.CannotAccessVmDisk_Def.__bases__)
                bases.insert(0, ns0.CannotAccessVmDevice_Def)
                ns0.CannotAccessVmDisk_Def.__bases__ = tuple(bases)

            ns0.CannotAccessVmDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotAddHostWithFTVmAsStandalone_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotAddHostWithFTVmAsStandalone")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotAddHostWithFTVmAsStandalone_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.CannotAddHostWithFTVmAsStandalone_Def.__bases__:
                bases = list(ns0.CannotAddHostWithFTVmAsStandalone_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.CannotAddHostWithFTVmAsStandalone_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotAddHostWithFTVmToDifferentCluster_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotAddHostWithFTVmToDifferentCluster")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotAddHostWithFTVmToDifferentCluster_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.CannotAddHostWithFTVmToDifferentCluster_Def.__bases__:
                bases = list(ns0.CannotAddHostWithFTVmToDifferentCluster_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.CannotAddHostWithFTVmToDifferentCluster_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotAddHostWithFTVmToNonHACluster_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotAddHostWithFTVmToNonHACluster")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotAddHostWithFTVmToNonHACluster_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.CannotAddHostWithFTVmToNonHACluster_Def.__bases__:
                bases = list(ns0.CannotAddHostWithFTVmToNonHACluster_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.CannotAddHostWithFTVmToNonHACluster_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotChangeDrsBehaviorForFtSecondary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotChangeDrsBehaviorForFtSecondary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotChangeDrsBehaviorForFtSecondary_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.CannotChangeDrsBehaviorForFtSecondary_Def.__bases__:
                bases = list(ns0.CannotChangeDrsBehaviorForFtSecondary_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.CannotChangeDrsBehaviorForFtSecondary_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotChangeHaSettingsForFtSecondary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotChangeHaSettingsForFtSecondary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotChangeHaSettingsForFtSecondary_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.CannotChangeHaSettingsForFtSecondary_Def.__bases__:
                bases = list(ns0.CannotChangeHaSettingsForFtSecondary_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.CannotChangeHaSettingsForFtSecondary_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotChangeVsanClusterUuid_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotChangeVsanClusterUuid")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotChangeVsanClusterUuid_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanFault_Def not in ns0.CannotChangeVsanClusterUuid_Def.__bases__:
                bases = list(ns0.CannotChangeVsanClusterUuid_Def.__bases__)
                bases.insert(0, ns0.VsanFault_Def)
                ns0.CannotChangeVsanClusterUuid_Def.__bases__ = tuple(bases)

            ns0.VsanFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotChangeVsanNodeUuid_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotChangeVsanNodeUuid")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotChangeVsanNodeUuid_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanFault_Def not in ns0.CannotChangeVsanNodeUuid_Def.__bases__:
                bases = list(ns0.CannotChangeVsanNodeUuid_Def.__bases__)
                bases.insert(0, ns0.VsanFault_Def)
                ns0.CannotChangeVsanNodeUuid_Def.__bases__ = tuple(bases)

            ns0.VsanFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotComputeFTCompatibleHosts_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotComputeFTCompatibleHosts")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotComputeFTCompatibleHosts_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.CannotComputeFTCompatibleHosts_Def.__bases__:
                bases = list(ns0.CannotComputeFTCompatibleHosts_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.CannotComputeFTCompatibleHosts_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotCreateFile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotCreateFile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotCreateFile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.CannotCreateFile_Def.__bases__:
                bases = list(ns0.CannotCreateFile_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.CannotCreateFile_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotDecryptPasswords_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotDecryptPasswords")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotDecryptPasswords_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFault_Def not in ns0.CannotDecryptPasswords_Def.__bases__:
                bases = list(ns0.CannotDecryptPasswords_Def.__bases__)
                bases.insert(0, ns0.CustomizationFault_Def)
                ns0.CannotDecryptPasswords_Def.__bases__ = tuple(bases)

            ns0.CustomizationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotDeleteFile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotDeleteFile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotDeleteFile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.CannotDeleteFile_Def.__bases__:
                bases = list(ns0.CannotDeleteFile_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.CannotDeleteFile_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotDisableDrsOnClustersWithVApps_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotDisableDrsOnClustersWithVApps")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotDisableDrsOnClustersWithVApps_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.CannotDisableDrsOnClustersWithVApps_Def.__bases__:
                bases = list(ns0.CannotDisableDrsOnClustersWithVApps_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.CannotDisableDrsOnClustersWithVApps_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotDisableSnapshot_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotDisableSnapshot")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotDisableSnapshot_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.CannotDisableSnapshot_Def.__bases__:
                bases = list(ns0.CannotDisableSnapshot_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.CannotDisableSnapshot_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotDisconnectHostWithFaultToleranceVm_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotDisconnectHostWithFaultToleranceVm")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotDisconnectHostWithFaultToleranceVm_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.CannotDisconnectHostWithFaultToleranceVm_Def.__bases__:
                bases = list(ns0.CannotDisconnectHostWithFaultToleranceVm_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.CannotDisconnectHostWithFaultToleranceVm_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotEnableVmcpForClusterReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CannotEnableVmcpForClusterReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class CannotEnableVmcpForCluster_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotEnableVmcpForCluster")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotEnableVmcpForCluster_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.CannotEnableVmcpForCluster_Def.__bases__:
                bases = list(ns0.CannotEnableVmcpForCluster_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.CannotEnableVmcpForCluster_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotModifyConfigCpuRequirements_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotModifyConfigCpuRequirements")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotModifyConfigCpuRequirements_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.CannotModifyConfigCpuRequirements_Def.__bases__:
                bases = list(ns0.CannotModifyConfigCpuRequirements_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.CannotModifyConfigCpuRequirements_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotMoveFaultToleranceVmMoveType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CannotMoveFaultToleranceVmMoveType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class CannotMoveFaultToleranceVm_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotMoveFaultToleranceVm")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotMoveFaultToleranceVm_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"moveType"), aname="_moveType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.CannotMoveFaultToleranceVm_Def.__bases__:
                bases = list(ns0.CannotMoveFaultToleranceVm_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.CannotMoveFaultToleranceVm_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotMoveHostWithFaultToleranceVm_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotMoveHostWithFaultToleranceVm")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotMoveHostWithFaultToleranceVm_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.CannotMoveHostWithFaultToleranceVm_Def.__bases__:
                bases = list(ns0.CannotMoveHostWithFaultToleranceVm_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.CannotMoveHostWithFaultToleranceVm_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotMoveVmWithDeltaDisk_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotMoveVmWithDeltaDisk")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotMoveVmWithDeltaDisk_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.CannotMoveVmWithDeltaDisk_Def.__bases__:
                bases = list(ns0.CannotMoveVmWithDeltaDisk_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.CannotMoveVmWithDeltaDisk_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotMoveVmWithNativeDeltaDisk_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotMoveVmWithNativeDeltaDisk")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotMoveVmWithNativeDeltaDisk_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.CannotMoveVmWithNativeDeltaDisk_Def.__bases__:
                bases = list(ns0.CannotMoveVmWithNativeDeltaDisk_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.CannotMoveVmWithNativeDeltaDisk_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotMoveVsanEnabledHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotMoveVsanEnabledHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotMoveVsanEnabledHost_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanFault_Def not in ns0.CannotMoveVsanEnabledHost_Def.__bases__:
                bases = list(ns0.CannotMoveVsanEnabledHost_Def.__bases__)
                bases.insert(0, ns0.VsanFault_Def)
                ns0.CannotMoveVsanEnabledHost_Def.__bases__ = tuple(bases)

            ns0.VsanFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotPlaceWithoutPrerequisiteMoves_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotPlaceWithoutPrerequisiteMoves")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotPlaceWithoutPrerequisiteMoves_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.CannotPlaceWithoutPrerequisiteMoves_Def.__bases__:
                bases = list(ns0.CannotPlaceWithoutPrerequisiteMoves_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.CannotPlaceWithoutPrerequisiteMoves_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotPowerOffVmInClusterOperation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CannotPowerOffVmInClusterOperation")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class CannotPowerOffVmInCluster_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotPowerOffVmInCluster")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotPowerOffVmInCluster_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidState_Def not in ns0.CannotPowerOffVmInCluster_Def.__bases__:
                bases = list(ns0.CannotPowerOffVmInCluster_Def.__bases__)
                bases.insert(0, ns0.InvalidState_Def)
                ns0.CannotPowerOffVmInCluster_Def.__bases__ = tuple(bases)

            ns0.InvalidState_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotReconfigureVsanWhenHaEnabled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotReconfigureVsanWhenHaEnabled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotReconfigureVsanWhenHaEnabled_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanFault_Def not in ns0.CannotReconfigureVsanWhenHaEnabled_Def.__bases__:
                bases = list(ns0.CannotReconfigureVsanWhenHaEnabled_Def.__bases__)
                bases.insert(0, ns0.VsanFault_Def)
                ns0.CannotReconfigureVsanWhenHaEnabled_Def.__bases__ = tuple(bases)

            ns0.VsanFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CannotUseNetworkReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CannotUseNetworkReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class CannotUseNetwork_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CannotUseNetwork")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CannotUseNetwork_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"backing"), aname="_backing", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"connected"), aname="_connected", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.CannotUseNetwork_Def.__bases__:
                bases = list(ns0.CannotUseNetwork_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.CannotUseNetwork_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClockSkew_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClockSkew")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClockSkew_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConfigFault_Def not in ns0.ClockSkew_Def.__bases__:
                bases = list(ns0.ClockSkew_Def.__bases__)
                bases.insert(0, ns0.HostConfigFault_Def)
                ns0.ClockSkew_Def.__bases__ = tuple(bases)

            ns0.HostConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CloneFromSnapshotNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CloneFromSnapshotNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CloneFromSnapshotNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.CloneFromSnapshotNotSupported_Def.__bases__:
                bases = list(ns0.CloneFromSnapshotNotSupported_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.CloneFromSnapshotNotSupported_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CollectorAddressUnset_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CollectorAddressUnset")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CollectorAddressUnset_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.CollectorAddressUnset_Def.__bases__:
                bases = list(ns0.CollectorAddressUnset_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.CollectorAddressUnset_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ConcurrentAccess_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ConcurrentAccess")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ConcurrentAccess_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.ConcurrentAccess_Def.__bases__:
                bases = list(ns0.ConcurrentAccess_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.ConcurrentAccess_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ConflictingConfigurationConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ConflictingConfigurationConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ConflictingConfigurationConfig_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"propertyPath"), aname="_propertyPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ConflictingConfigurationConfig_Def.__bases__:
                bases = list(ns0.ConflictingConfigurationConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ConflictingConfigurationConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfConflictingConfigurationConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfConflictingConfigurationConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfConflictingConfigurationConfig_Def.schema
            TClist = [GTD("urn:vim25","ConflictingConfigurationConfig",lazy=True)(pname=(ns,"ConflictingConfigurationConfig"), aname="_ConflictingConfigurationConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ConflictingConfigurationConfig = []
                    return
            Holder.__name__ = "ArrayOfConflictingConfigurationConfig_Holder"
            self.pyclass = Holder

    class ConflictingConfiguration_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ConflictingConfiguration")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ConflictingConfiguration_Def.schema
            TClist = [GTD("urn:vim25","ConflictingConfigurationConfig",lazy=True)(pname=(ns,"configInConflict"), aname="_configInConflict", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.ConflictingConfiguration_Def.__bases__:
                bases = list(ns0.ConflictingConfiguration_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.ConflictingConfiguration_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ConflictingDatastoreFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ConflictingDatastoreFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ConflictingDatastoreFound_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.ConflictingDatastoreFound_Def.__bases__:
                bases = list(ns0.ConflictingDatastoreFound_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.ConflictingDatastoreFound_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ConnectedIso_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ConnectedIso")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ConnectedIso_Def.schema
            TClist = [GTD("urn:vim25","VirtualCdrom",lazy=True)(pname=(ns,"cdrom"), aname="_cdrom", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filename"), aname="_filename", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfExport_Def not in ns0.ConnectedIso_Def.__bases__:
                bases = list(ns0.ConnectedIso_Def.__bases__)
                bases.insert(0, ns0.OvfExport_Def)
                ns0.ConnectedIso_Def.__bases__ = tuple(bases)

            ns0.OvfExport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CpuCompatibilityUnknown_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CpuCompatibilityUnknown")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CpuCompatibilityUnknown_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CpuIncompatible_Def not in ns0.CpuCompatibilityUnknown_Def.__bases__:
                bases = list(ns0.CpuCompatibilityUnknown_Def.__bases__)
                bases.insert(0, ns0.CpuIncompatible_Def)
                ns0.CpuCompatibilityUnknown_Def.__bases__ = tuple(bases)

            ns0.CpuIncompatible_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CpuHotPlugNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CpuHotPlugNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CpuHotPlugNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.CpuHotPlugNotSupported_Def.__bases__:
                bases = list(ns0.CpuHotPlugNotSupported_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.CpuHotPlugNotSupported_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CpuIncompatible_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CpuIncompatible")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CpuIncompatible_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"level"), aname="_level", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"registerName"), aname="_registerName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"registerBits"), aname="_registerBits", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"desiredBits"), aname="_desiredBits", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.CpuIncompatible_Def.__bases__:
                bases = list(ns0.CpuIncompatible_Def.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.CpuIncompatible_Def.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CpuIncompatible1ECX_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CpuIncompatible1ECX")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CpuIncompatible1ECX_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"sse3"), aname="_sse3", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"pclmulqdq"), aname="_pclmulqdq", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ssse3"), aname="_ssse3", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"sse41"), aname="_sse41", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"sse42"), aname="_sse42", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"aes"), aname="_aes", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"other"), aname="_other", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"otherOnly"), aname="_otherOnly", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CpuIncompatible_Def not in ns0.CpuIncompatible1ECX_Def.__bases__:
                bases = list(ns0.CpuIncompatible1ECX_Def.__bases__)
                bases.insert(0, ns0.CpuIncompatible_Def)
                ns0.CpuIncompatible1ECX_Def.__bases__ = tuple(bases)

            ns0.CpuIncompatible_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CpuIncompatible81EDX_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CpuIncompatible81EDX")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CpuIncompatible81EDX_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"nx"), aname="_nx", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ffxsr"), aname="_ffxsr", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"rdtscp"), aname="_rdtscp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"lm"), aname="_lm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"other"), aname="_other", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"otherOnly"), aname="_otherOnly", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CpuIncompatible_Def not in ns0.CpuIncompatible81EDX_Def.__bases__:
                bases = list(ns0.CpuIncompatible81EDX_Def.__bases__)
                bases.insert(0, ns0.CpuIncompatible_Def)
                ns0.CpuIncompatible81EDX_Def.__bases__ = tuple(bases)

            ns0.CpuIncompatible_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.CustomizationFault_Def.__bases__:
                bases = list(ns0.CustomizationFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.CustomizationFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationPending_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationPending")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationPending_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFault_Def not in ns0.CustomizationPending_Def.__bases__:
                bases = list(ns0.CustomizationPending_Def.__bases__)
                bases.insert(0, ns0.CustomizationFault_Def)
                ns0.CustomizationPending_Def.__bases__ = tuple(bases)

            ns0.CustomizationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DVPortNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DVPortNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DVPortNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceBackingNotSupported_Def not in ns0.DVPortNotSupported_Def.__bases__:
                bases = list(ns0.DVPortNotSupported_Def.__bases__)
                bases.insert(0, ns0.DeviceBackingNotSupported_Def)
                ns0.DVPortNotSupported_Def.__bases__ = tuple(bases)

            ns0.DeviceBackingNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DasConfigFaultDasConfigFaultReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DasConfigFaultDasConfigFaultReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DasConfigFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DasConfigFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DasConfigFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"output"), aname="_output", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Event",lazy=True)(pname=(ns,"event"), aname="_event", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.DasConfigFault_Def.__bases__:
                bases = list(ns0.DasConfigFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.DasConfigFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatabaseError_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatabaseError")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatabaseError_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.DatabaseError_Def.__bases__:
                bases = list(ns0.DatabaseError_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.DatabaseError_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatacenterMismatchArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatacenterMismatchArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatacenterMismatchArgument_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"inputDatacenter"), aname="_inputDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DatacenterMismatchArgument_Def.__bases__:
                bases = list(ns0.DatacenterMismatchArgument_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DatacenterMismatchArgument_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDatacenterMismatchArgument_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDatacenterMismatchArgument")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDatacenterMismatchArgument_Def.schema
            TClist = [GTD("urn:vim25","DatacenterMismatchArgument",lazy=True)(pname=(ns,"DatacenterMismatchArgument"), aname="_DatacenterMismatchArgument", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DatacenterMismatchArgument = []
                    return
            Holder.__name__ = "ArrayOfDatacenterMismatchArgument_Holder"
            self.pyclass = Holder

    class DatacenterMismatch_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatacenterMismatch")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatacenterMismatch_Def.schema
            TClist = [GTD("urn:vim25","DatacenterMismatchArgument",lazy=True)(pname=(ns,"invalidArgument"), aname="_invalidArgument", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"expectedDatacenter"), aname="_expectedDatacenter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.DatacenterMismatch_Def.__bases__:
                bases = list(ns0.DatacenterMismatch_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.DatacenterMismatch_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DatastoreNotWritableOnHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreNotWritableOnHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreNotWritableOnHost_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidDatastore_Def not in ns0.DatastoreNotWritableOnHost_Def.__bases__:
                bases = list(ns0.DatastoreNotWritableOnHost_Def.__bases__)
                bases.insert(0, ns0.InvalidDatastore_Def)
                ns0.DatastoreNotWritableOnHost_Def.__bases__ = tuple(bases)

            ns0.InvalidDatastore_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DeltaDiskFormatNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DeltaDiskFormatNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DeltaDiskFormatNotSupported_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deltaDiskFormat"), aname="_deltaDiskFormat", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.DeltaDiskFormatNotSupported_Def.__bases__:
                bases = list(ns0.DeltaDiskFormatNotSupported_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.DeltaDiskFormatNotSupported_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DestinationSwitchFull_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DestinationSwitchFull")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DestinationSwitchFull_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CannotAccessNetwork_Def not in ns0.DestinationSwitchFull_Def.__bases__:
                bases = list(ns0.DestinationSwitchFull_Def.__bases__)
                bases.insert(0, ns0.CannotAccessNetwork_Def)
                ns0.DestinationSwitchFull_Def.__bases__ = tuple(bases)

            ns0.CannotAccessNetwork_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DestinationVsanDisabled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DestinationVsanDisabled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DestinationVsanDisabled_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"destinationCluster"), aname="_destinationCluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CannotMoveVsanEnabledHost_Def not in ns0.DestinationVsanDisabled_Def.__bases__:
                bases = list(ns0.DestinationVsanDisabled_Def.__bases__)
                bases.insert(0, ns0.CannotMoveVsanEnabledHost_Def)
                ns0.DestinationVsanDisabled_Def.__bases__ = tuple(bases)

            ns0.CannotMoveVsanEnabledHost_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DeviceBackingNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DeviceBackingNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DeviceBackingNotSupported_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"backing"), aname="_backing", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceNotSupported_Def not in ns0.DeviceBackingNotSupported_Def.__bases__:
                bases = list(ns0.DeviceBackingNotSupported_Def.__bases__)
                bases.insert(0, ns0.DeviceNotSupported_Def)
                ns0.DeviceBackingNotSupported_Def.__bases__ = tuple(bases)

            ns0.DeviceNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DeviceControllerNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DeviceControllerNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DeviceControllerNotSupported_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"controller"), aname="_controller", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceNotSupported_Def not in ns0.DeviceControllerNotSupported_Def.__bases__:
                bases = list(ns0.DeviceControllerNotSupported_Def.__bases__)
                bases.insert(0, ns0.DeviceNotSupported_Def)
                ns0.DeviceControllerNotSupported_Def.__bases__ = tuple(bases)

            ns0.DeviceNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DeviceHotPlugNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DeviceHotPlugNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DeviceHotPlugNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidDeviceSpec_Def not in ns0.DeviceHotPlugNotSupported_Def.__bases__:
                bases = list(ns0.DeviceHotPlugNotSupported_Def.__bases__)
                bases.insert(0, ns0.InvalidDeviceSpec_Def)
                ns0.DeviceHotPlugNotSupported_Def.__bases__ = tuple(bases)

            ns0.InvalidDeviceSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DeviceNotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DeviceNotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DeviceNotFound_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidDeviceSpec_Def not in ns0.DeviceNotFound_Def.__bases__:
                bases = list(ns0.DeviceNotFound_Def.__bases__)
                bases.insert(0, ns0.InvalidDeviceSpec_Def)
                ns0.DeviceNotFound_Def.__bases__ = tuple(bases)

            ns0.InvalidDeviceSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DeviceNotSupportedReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeviceNotSupportedReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DeviceNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DeviceNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DeviceNotSupported_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.DeviceNotSupported_Def.__bases__:
                bases = list(ns0.DeviceNotSupported_Def.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.DeviceNotSupported_Def.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DeviceUnsupportedForVmPlatform_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DeviceUnsupportedForVmPlatform")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DeviceUnsupportedForVmPlatform_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidDeviceSpec_Def not in ns0.DeviceUnsupportedForVmPlatform_Def.__bases__:
                bases = list(ns0.DeviceUnsupportedForVmPlatform_Def.__bases__)
                bases.insert(0, ns0.InvalidDeviceSpec_Def)
                ns0.DeviceUnsupportedForVmPlatform_Def.__bases__ = tuple(bases)

            ns0.InvalidDeviceSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DeviceUnsupportedForVmVersion_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DeviceUnsupportedForVmVersion")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DeviceUnsupportedForVmVersion_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"currentVersion"), aname="_currentVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"expectedVersion"), aname="_expectedVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidDeviceSpec_Def not in ns0.DeviceUnsupportedForVmVersion_Def.__bases__:
                bases = list(ns0.DeviceUnsupportedForVmVersion_Def.__bases__)
                bases.insert(0, ns0.InvalidDeviceSpec_Def)
                ns0.DeviceUnsupportedForVmVersion_Def.__bases__ = tuple(bases)

            ns0.InvalidDeviceSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DigestNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DigestNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DigestNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceNotSupported_Def not in ns0.DigestNotSupported_Def.__bases__:
                bases = list(ns0.DigestNotSupported_Def.__bases__)
                bases.insert(0, ns0.DeviceNotSupported_Def)
                ns0.DigestNotSupported_Def.__bases__ = tuple(bases)

            ns0.DeviceNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DirectoryNotEmpty_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DirectoryNotEmpty")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DirectoryNotEmpty_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.DirectoryNotEmpty_Def.__bases__:
                bases = list(ns0.DirectoryNotEmpty_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.DirectoryNotEmpty_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DisableAdminNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DisableAdminNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DisableAdminNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConfigFault_Def not in ns0.DisableAdminNotSupported_Def.__bases__:
                bases = list(ns0.DisableAdminNotSupported_Def.__bases__)
                bases.insert(0, ns0.HostConfigFault_Def)
                ns0.DisableAdminNotSupported_Def.__bases__ = tuple(bases)

            ns0.HostConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DisallowedChangeByServiceDisallowedChange_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DisallowedChangeByServiceDisallowedChange")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DisallowedChangeByService_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DisallowedChangeByService")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DisallowedChangeByService_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"serviceName"), aname="_serviceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"disallowedChange"), aname="_disallowedChange", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.DisallowedChangeByService_Def.__bases__:
                bases = list(ns0.DisallowedChangeByService_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.DisallowedChangeByService_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DisallowedDiskModeChange_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DisallowedDiskModeChange")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DisallowedDiskModeChange_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidDeviceSpec_Def not in ns0.DisallowedDiskModeChange_Def.__bases__:
                bases = list(ns0.DisallowedDiskModeChange_Def.__bases__)
                bases.insert(0, ns0.InvalidDeviceSpec_Def)
                ns0.DisallowedDiskModeChange_Def.__bases__ = tuple(bases)

            ns0.InvalidDeviceSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DisallowedMigrationDeviceAttached_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DisallowedMigrationDeviceAttached")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DisallowedMigrationDeviceAttached_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.DisallowedMigrationDeviceAttached_Def.__bases__:
                bases = list(ns0.DisallowedMigrationDeviceAttached_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.DisallowedMigrationDeviceAttached_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DisallowedOperationOnFailoverHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DisallowedOperationOnFailoverHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DisallowedOperationOnFailoverHost_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostname"), aname="_hostname", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.DisallowedOperationOnFailoverHost_Def.__bases__:
                bases = list(ns0.DisallowedOperationOnFailoverHost_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.DisallowedOperationOnFailoverHost_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DisconnectedHostsBlockingEVC_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DisconnectedHostsBlockingEVC")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DisconnectedHostsBlockingEVC_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCConfigFault_Def not in ns0.DisconnectedHostsBlockingEVC_Def.__bases__:
                bases = list(ns0.DisconnectedHostsBlockingEVC_Def.__bases__)
                bases.insert(0, ns0.EVCConfigFault_Def)
                ns0.DisconnectedHostsBlockingEVC_Def.__bases__ = tuple(bases)

            ns0.EVCConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DiskHasPartitions_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DiskHasPartitions")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DiskHasPartitions_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanDiskFault_Def not in ns0.DiskHasPartitions_Def.__bases__:
                bases = list(ns0.DiskHasPartitions_Def.__bases__)
                bases.insert(0, ns0.VsanDiskFault_Def)
                ns0.DiskHasPartitions_Def.__bases__ = tuple(bases)

            ns0.VsanDiskFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DiskIsLastRemainingNonSSD_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DiskIsLastRemainingNonSSD")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DiskIsLastRemainingNonSSD_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanDiskFault_Def not in ns0.DiskIsLastRemainingNonSSD_Def.__bases__:
                bases = list(ns0.DiskIsLastRemainingNonSSD_Def.__bases__)
                bases.insert(0, ns0.VsanDiskFault_Def)
                ns0.DiskIsLastRemainingNonSSD_Def.__bases__ = tuple(bases)

            ns0.VsanDiskFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DiskIsNonLocal_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DiskIsNonLocal")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DiskIsNonLocal_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanDiskFault_Def not in ns0.DiskIsNonLocal_Def.__bases__:
                bases = list(ns0.DiskIsNonLocal_Def.__bases__)
                bases.insert(0, ns0.VsanDiskFault_Def)
                ns0.DiskIsNonLocal_Def.__bases__ = tuple(bases)

            ns0.VsanDiskFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DiskIsUSB_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DiskIsUSB")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DiskIsUSB_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanDiskFault_Def not in ns0.DiskIsUSB_Def.__bases__:
                bases = list(ns0.DiskIsUSB_Def.__bases__)
                bases.insert(0, ns0.VsanDiskFault_Def)
                ns0.DiskIsUSB_Def.__bases__ = tuple(bases)

            ns0.VsanDiskFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DiskMoveTypeNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DiskMoveTypeNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DiskMoveTypeNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.DiskMoveTypeNotSupported_Def.__bases__:
                bases = list(ns0.DiskMoveTypeNotSupported_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.DiskMoveTypeNotSupported_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DiskNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DiskNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DiskNotSupported_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"disk"), aname="_disk", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.DiskNotSupported_Def.__bases__:
                bases = list(ns0.DiskNotSupported_Def.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.DiskNotSupported_Def.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DiskTooSmall_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DiskTooSmall")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DiskTooSmall_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanDiskFault_Def not in ns0.DiskTooSmall_Def.__bases__:
                bases = list(ns0.DiskTooSmall_Def.__bases__)
                bases.insert(0, ns0.VsanDiskFault_Def)
                ns0.DiskTooSmall_Def.__bases__ = tuple(bases)

            ns0.VsanDiskFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DomainNotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DomainNotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DomainNotFound_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"domainName"), aname="_domainName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ActiveDirectoryFault_Def not in ns0.DomainNotFound_Def.__bases__:
                bases = list(ns0.DomainNotFound_Def.__bases__)
                bases.insert(0, ns0.ActiveDirectoryFault_Def)
                ns0.DomainNotFound_Def.__bases__ = tuple(bases)

            ns0.ActiveDirectoryFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsDisabledOnVm_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsDisabledOnVm")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsDisabledOnVm_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.DrsDisabledOnVm_Def.__bases__:
                bases = list(ns0.DrsDisabledOnVm_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.DrsDisabledOnVm_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DrsVmotionIncompatibleFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DrsVmotionIncompatibleFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DrsVmotionIncompatibleFault_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.DrsVmotionIncompatibleFault_Def.__bases__:
                bases = list(ns0.DrsVmotionIncompatibleFault_Def.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.DrsVmotionIncompatibleFault_Def.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DuplicateDisks_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DuplicateDisks")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DuplicateDisks_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanDiskFault_Def not in ns0.DuplicateDisks_Def.__bases__:
                bases = list(ns0.DuplicateDisks_Def.__bases__)
                bases.insert(0, ns0.VsanDiskFault_Def)
                ns0.DuplicateDisks_Def.__bases__ = tuple(bases)

            ns0.VsanDiskFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DuplicateName_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DuplicateName")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DuplicateName_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"object"), aname="_object", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.DuplicateName_Def.__bases__:
                bases = list(ns0.DuplicateName_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.DuplicateName_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DuplicateVsanNetworkInterface_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DuplicateVsanNetworkInterface")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DuplicateVsanNetworkInterface_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanFault_Def not in ns0.DuplicateVsanNetworkInterface_Def.__bases__:
                bases = list(ns0.DuplicateVsanNetworkInterface_Def.__bases__)
                bases.insert(0, ns0.VsanFault_Def)
                ns0.DuplicateVsanNetworkInterface_Def.__bases__ = tuple(bases)

            ns0.VsanFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsApplyOperationFaultFaultOnObject_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsApplyOperationFaultFaultOnObject")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsApplyOperationFaultFaultOnObject_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"objectId"), aname="_objectId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsApplyOperationFaultFaultOnObject_Def.__bases__:
                bases = list(ns0.DvsApplyOperationFaultFaultOnObject_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsApplyOperationFaultFaultOnObject_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDvsApplyOperationFaultFaultOnObject_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDvsApplyOperationFaultFaultOnObject")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDvsApplyOperationFaultFaultOnObject_Def.schema
            TClist = [GTD("urn:vim25","DvsApplyOperationFaultFaultOnObject",lazy=True)(pname=(ns,"DvsApplyOperationFaultFaultOnObject"), aname="_DvsApplyOperationFaultFaultOnObject", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DvsApplyOperationFaultFaultOnObject = []
                    return
            Holder.__name__ = "ArrayOfDvsApplyOperationFaultFaultOnObject_Holder"
            self.pyclass = Holder

    class DvsApplyOperationFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsApplyOperationFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsApplyOperationFault_Def.schema
            TClist = [GTD("urn:vim25","DvsApplyOperationFaultFaultOnObject",lazy=True)(pname=(ns,"objectFault"), aname="_objectFault", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.DvsApplyOperationFault_Def.__bases__:
                bases = list(ns0.DvsApplyOperationFault_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.DvsApplyOperationFault_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.DvsFault_Def.__bases__:
                bases = list(ns0.DvsFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.DvsFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsNotAuthorized_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsNotAuthorized")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsNotAuthorized_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"sessionExtensionKey"), aname="_sessionExtensionKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dvsExtensionKey"), aname="_dvsExtensionKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.DvsNotAuthorized_Def.__bases__:
                bases = list(ns0.DvsNotAuthorized_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.DvsNotAuthorized_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsOperationBulkFaultFaultOnHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsOperationBulkFaultFaultOnHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsOperationBulkFaultFaultOnHost_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DvsOperationBulkFaultFaultOnHost_Def.__bases__:
                bases = list(ns0.DvsOperationBulkFaultFaultOnHost_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DvsOperationBulkFaultFaultOnHost_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDvsOperationBulkFaultFaultOnHost_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDvsOperationBulkFaultFaultOnHost")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDvsOperationBulkFaultFaultOnHost_Def.schema
            TClist = [GTD("urn:vim25","DvsOperationBulkFaultFaultOnHost",lazy=True)(pname=(ns,"DvsOperationBulkFaultFaultOnHost"), aname="_DvsOperationBulkFaultFaultOnHost", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DvsOperationBulkFaultFaultOnHost = []
                    return
            Holder.__name__ = "ArrayOfDvsOperationBulkFaultFaultOnHost_Holder"
            self.pyclass = Holder

    class DvsOperationBulkFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsOperationBulkFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsOperationBulkFault_Def.schema
            TClist = [GTD("urn:vim25","DvsOperationBulkFaultFaultOnHost",lazy=True)(pname=(ns,"hostFault"), aname="_hostFault", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.DvsOperationBulkFault_Def.__bases__:
                bases = list(ns0.DvsOperationBulkFault_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.DvsOperationBulkFault_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsScopeViolated_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsScopeViolated")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsScopeViolated_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"scope"), aname="_scope", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.DvsScopeViolated_Def.__bases__:
                bases = list(ns0.DvsScopeViolated_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.DvsScopeViolated_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCAdmissionFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCAdmissionFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCAdmissionFailed_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"faults"), aname="_faults", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotSupportedHostInCluster_Def not in ns0.EVCAdmissionFailed_Def.__bases__:
                bases = list(ns0.EVCAdmissionFailed_Def.__bases__)
                bases.insert(0, ns0.NotSupportedHostInCluster_Def)
                ns0.EVCAdmissionFailed_Def.__bases__ = tuple(bases)

            ns0.NotSupportedHostInCluster_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCAdmissionFailedCPUFeaturesForMode_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCAdmissionFailedCPUFeaturesForMode")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCAdmissionFailedCPUFeaturesForMode_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"currentEVCModeKey"), aname="_currentEVCModeKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCAdmissionFailed_Def not in ns0.EVCAdmissionFailedCPUFeaturesForMode_Def.__bases__:
                bases = list(ns0.EVCAdmissionFailedCPUFeaturesForMode_Def.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailed_Def)
                ns0.EVCAdmissionFailedCPUFeaturesForMode_Def.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCAdmissionFailedCPUModel_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCAdmissionFailedCPUModel")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCAdmissionFailedCPUModel_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCAdmissionFailed_Def not in ns0.EVCAdmissionFailedCPUModel_Def.__bases__:
                bases = list(ns0.EVCAdmissionFailedCPUModel_Def.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailed_Def)
                ns0.EVCAdmissionFailedCPUModel_Def.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCAdmissionFailedCPUModelForMode_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCAdmissionFailedCPUModelForMode")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCAdmissionFailedCPUModelForMode_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"currentEVCModeKey"), aname="_currentEVCModeKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCAdmissionFailed_Def not in ns0.EVCAdmissionFailedCPUModelForMode_Def.__bases__:
                bases = list(ns0.EVCAdmissionFailedCPUModelForMode_Def.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailed_Def)
                ns0.EVCAdmissionFailedCPUModelForMode_Def.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCAdmissionFailedCPUVendor_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCAdmissionFailedCPUVendor")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCAdmissionFailedCPUVendor_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"clusterCPUVendor"), aname="_clusterCPUVendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostCPUVendor"), aname="_hostCPUVendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCAdmissionFailed_Def not in ns0.EVCAdmissionFailedCPUVendor_Def.__bases__:
                bases = list(ns0.EVCAdmissionFailedCPUVendor_Def.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailed_Def)
                ns0.EVCAdmissionFailedCPUVendor_Def.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCAdmissionFailedCPUVendorUnknown_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCAdmissionFailedCPUVendorUnknown")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCAdmissionFailedCPUVendorUnknown_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCAdmissionFailed_Def not in ns0.EVCAdmissionFailedCPUVendorUnknown_Def.__bases__:
                bases = list(ns0.EVCAdmissionFailedCPUVendorUnknown_Def.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailed_Def)
                ns0.EVCAdmissionFailedCPUVendorUnknown_Def.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCAdmissionFailedHostDisconnected_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCAdmissionFailedHostDisconnected")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCAdmissionFailedHostDisconnected_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCAdmissionFailed_Def not in ns0.EVCAdmissionFailedHostDisconnected_Def.__bases__:
                bases = list(ns0.EVCAdmissionFailedHostDisconnected_Def.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailed_Def)
                ns0.EVCAdmissionFailedHostDisconnected_Def.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCAdmissionFailedHostSoftware_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCAdmissionFailedHostSoftware")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCAdmissionFailedHostSoftware_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCAdmissionFailed_Def not in ns0.EVCAdmissionFailedHostSoftware_Def.__bases__:
                bases = list(ns0.EVCAdmissionFailedHostSoftware_Def.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailed_Def)
                ns0.EVCAdmissionFailedHostSoftware_Def.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCAdmissionFailedHostSoftwareForMode_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCAdmissionFailedHostSoftwareForMode")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCAdmissionFailedHostSoftwareForMode_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCAdmissionFailed_Def not in ns0.EVCAdmissionFailedHostSoftwareForMode_Def.__bases__:
                bases = list(ns0.EVCAdmissionFailedHostSoftwareForMode_Def.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailed_Def)
                ns0.EVCAdmissionFailedHostSoftwareForMode_Def.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCAdmissionFailedVmActive_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCAdmissionFailedVmActive")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCAdmissionFailedVmActive_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCAdmissionFailed_Def not in ns0.EVCAdmissionFailedVmActive_Def.__bases__:
                bases = list(ns0.EVCAdmissionFailedVmActive_Def.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailed_Def)
                ns0.EVCAdmissionFailedVmActive_Def.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCConfigFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCConfigFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCConfigFault_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"faults"), aname="_faults", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.EVCConfigFault_Def.__bases__:
                bases = list(ns0.EVCConfigFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.EVCConfigFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCModeIllegalByVendor_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCModeIllegalByVendor")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCModeIllegalByVendor_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"clusterCPUVendor"), aname="_clusterCPUVendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"modeCPUVendor"), aname="_modeCPUVendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCConfigFault_Def not in ns0.EVCModeIllegalByVendor_Def.__bases__:
                bases = list(ns0.EVCModeIllegalByVendor_Def.__bases__)
                bases.insert(0, ns0.EVCConfigFault_Def)
                ns0.EVCModeIllegalByVendor_Def.__bases__ = tuple(bases)

            ns0.EVCConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCModeUnsupportedByHosts_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCModeUnsupportedByHosts")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCModeUnsupportedByHosts_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"evcMode"), aname="_evcMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCConfigFault_Def not in ns0.EVCModeUnsupportedByHosts_Def.__bases__:
                bases = list(ns0.EVCModeUnsupportedByHosts_Def.__bases__)
                bases.insert(0, ns0.EVCConfigFault_Def)
                ns0.EVCModeUnsupportedByHosts_Def.__bases__ = tuple(bases)

            ns0.EVCConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCUnsupportedByHostHardware_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCUnsupportedByHostHardware")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCUnsupportedByHostHardware_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCConfigFault_Def not in ns0.EVCUnsupportedByHostHardware_Def.__bases__:
                bases = list(ns0.EVCUnsupportedByHostHardware_Def.__bases__)
                bases.insert(0, ns0.EVCConfigFault_Def)
                ns0.EVCUnsupportedByHostHardware_Def.__bases__ = tuple(bases)

            ns0.EVCConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EVCUnsupportedByHostSoftware_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EVCUnsupportedByHostSoftware")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EVCUnsupportedByHostSoftware_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCConfigFault_Def not in ns0.EVCUnsupportedByHostSoftware_Def.__bases__:
                bases = list(ns0.EVCUnsupportedByHostSoftware_Def.__bases__)
                bases.insert(0, ns0.EVCConfigFault_Def)
                ns0.EVCUnsupportedByHostSoftware_Def.__bases__ = tuple(bases)

            ns0.EVCConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EightHostLimitViolated_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EightHostLimitViolated")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EightHostLimitViolated_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.EightHostLimitViolated_Def.__bases__:
                bases = list(ns0.EightHostLimitViolated_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.EightHostLimitViolated_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class EncryptionKeyRequired_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "EncryptionKeyRequired")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.EncryptionKeyRequired_Def.schema
            TClist = [GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"requiredKey"), aname="_requiredKey", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidState_Def not in ns0.EncryptionKeyRequired_Def.__bases__:
                bases = list(ns0.EncryptionKeyRequired_Def.__bases__)
                bases.insert(0, ns0.InvalidState_Def)
                ns0.EncryptionKeyRequired_Def.__bases__ = tuple(bases)

            ns0.InvalidState_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExpiredAddonLicense_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExpiredAddonLicense")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExpiredAddonLicense_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ExpiredFeatureLicense_Def not in ns0.ExpiredAddonLicense_Def.__bases__:
                bases = list(ns0.ExpiredAddonLicense_Def.__bases__)
                bases.insert(0, ns0.ExpiredFeatureLicense_Def)
                ns0.ExpiredAddonLicense_Def.__bases__ = tuple(bases)

            ns0.ExpiredFeatureLicense_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExpiredEditionLicense_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExpiredEditionLicense")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExpiredEditionLicense_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ExpiredFeatureLicense_Def not in ns0.ExpiredEditionLicense_Def.__bases__:
                bases = list(ns0.ExpiredEditionLicense_Def.__bases__)
                bases.insert(0, ns0.ExpiredFeatureLicense_Def)
                ns0.ExpiredEditionLicense_Def.__bases__ = tuple(bases)

            ns0.ExpiredFeatureLicense_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExpiredFeatureLicense_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExpiredFeatureLicense")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExpiredFeatureLicense_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"feature"), aname="_feature", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"count"), aname="_count", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"expirationDate"), aname="_expirationDate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.ExpiredFeatureLicense_Def.__bases__:
                bases = list(ns0.ExpiredFeatureLicense_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.ExpiredFeatureLicense_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ExtendedFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ExtendedFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ExtendedFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"faultTypeId"), aname="_faultTypeId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"data"), aname="_data", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.ExtendedFault_Def.__bases__:
                bases = list(ns0.ExtendedFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.ExtendedFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FailToEnableSPBM_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FailToEnableSPBM")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FailToEnableSPBM_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"cs"), aname="_cs", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"csName"), aname="_csName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ComputeResourceHostSPBMLicenseInfo",lazy=True)(pname=(ns,"hostLicenseStates"), aname="_hostLicenseStates", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.FailToEnableSPBM_Def.__bases__:
                bases = list(ns0.FailToEnableSPBM_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.FailToEnableSPBM_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FailToLockFaultToleranceVMs_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FailToLockFaultToleranceVMs")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FailToLockFaultToleranceVMs_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"alreadyLockedVm"), aname="_alreadyLockedVm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.FailToLockFaultToleranceVMs_Def.__bases__:
                bases = list(ns0.FailToLockFaultToleranceVMs_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.FailToLockFaultToleranceVMs_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultToleranceAntiAffinityViolated_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultToleranceAntiAffinityViolated")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultToleranceAntiAffinityViolated_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.FaultToleranceAntiAffinityViolated_Def.__bases__:
                bases = list(ns0.FaultToleranceAntiAffinityViolated_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.FaultToleranceAntiAffinityViolated_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultToleranceCannotEditMem_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultToleranceCannotEditMem")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultToleranceCannotEditMem_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.FaultToleranceCannotEditMem_Def.__bases__:
                bases = list(ns0.FaultToleranceCannotEditMem_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.FaultToleranceCannotEditMem_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultToleranceCpuIncompatible_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultToleranceCpuIncompatible")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultToleranceCpuIncompatible_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"model"), aname="_model", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"family"), aname="_family", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"stepping"), aname="_stepping", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CpuIncompatible_Def not in ns0.FaultToleranceCpuIncompatible_Def.__bases__:
                bases = list(ns0.FaultToleranceCpuIncompatible_Def.__bases__)
                bases.insert(0, ns0.CpuIncompatible_Def)
                ns0.FaultToleranceCpuIncompatible_Def.__bases__ = tuple(bases)

            ns0.CpuIncompatible_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultToleranceNeedsThickDisk_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultToleranceNeedsThickDisk")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultToleranceNeedsThickDisk_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.FaultToleranceNeedsThickDisk_Def.__bases__:
                bases = list(ns0.FaultToleranceNeedsThickDisk_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.FaultToleranceNeedsThickDisk_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultToleranceNotLicensed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultToleranceNotLicensed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultToleranceNotLicensed_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.FaultToleranceNotLicensed_Def.__bases__:
                bases = list(ns0.FaultToleranceNotLicensed_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.FaultToleranceNotLicensed_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultToleranceNotSameBuild_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultToleranceNotSameBuild")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultToleranceNotSameBuild_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"build"), aname="_build", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.FaultToleranceNotSameBuild_Def.__bases__:
                bases = list(ns0.FaultToleranceNotSameBuild_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.FaultToleranceNotSameBuild_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultTolerancePrimaryPowerOnNotAttempted_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultTolerancePrimaryPowerOnNotAttempted")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultTolerancePrimaryPowerOnNotAttempted_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"secondaryVm"), aname="_secondaryVm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"primaryVm"), aname="_primaryVm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.FaultTolerancePrimaryPowerOnNotAttempted_Def.__bases__:
                bases = list(ns0.FaultTolerancePrimaryPowerOnNotAttempted_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.FaultTolerancePrimaryPowerOnNotAttempted_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultToleranceVmNotDasProtected_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultToleranceVmNotDasProtected")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultToleranceVmNotDasProtected_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.FaultToleranceVmNotDasProtected_Def.__bases__:
                bases = list(ns0.FaultToleranceVmNotDasProtected_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.FaultToleranceVmNotDasProtected_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FcoeFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FcoeFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FcoeFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.FcoeFault_Def.__bases__:
                bases = list(ns0.FcoeFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.FcoeFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FcoeFaultPnicHasNoPortSet_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FcoeFaultPnicHasNoPortSet")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FcoeFaultPnicHasNoPortSet_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"nicDevice"), aname="_nicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FcoeFault_Def not in ns0.FcoeFaultPnicHasNoPortSet_Def.__bases__:
                bases = list(ns0.FcoeFaultPnicHasNoPortSet_Def.__bases__)
                bases.insert(0, ns0.FcoeFault_Def)
                ns0.FcoeFaultPnicHasNoPortSet_Def.__bases__ = tuple(bases)

            ns0.FcoeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FeatureRequirementsNotMet_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FeatureRequirementsNotMet")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FeatureRequirementsNotMet_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineFeatureRequirement",lazy=True)(pname=(ns,"featureRequirement"), aname="_featureRequirement", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.FeatureRequirementsNotMet_Def.__bases__:
                bases = list(ns0.FeatureRequirementsNotMet_Def.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.FeatureRequirementsNotMet_Def.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FileAlreadyExists_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FileAlreadyExists")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FileAlreadyExists_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.FileAlreadyExists_Def.__bases__:
                bases = list(ns0.FileAlreadyExists_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.FileAlreadyExists_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FileBackedPortNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FileBackedPortNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FileBackedPortNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceNotSupported_Def not in ns0.FileBackedPortNotSupported_Def.__bases__:
                bases = list(ns0.FileBackedPortNotSupported_Def.__bases__)
                bases.insert(0, ns0.DeviceNotSupported_Def)
                ns0.FileBackedPortNotSupported_Def.__bases__ = tuple(bases)

            ns0.DeviceNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FileFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FileFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FileFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"file"), aname="_file", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.FileFault_Def.__bases__:
                bases = list(ns0.FileFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.FileFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FileLocked_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FileLocked")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FileLocked_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.FileLocked_Def.__bases__:
                bases = list(ns0.FileLocked_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.FileLocked_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FileNameTooLong_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FileNameTooLong")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FileNameTooLong_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.FileNameTooLong_Def.__bases__:
                bases = list(ns0.FileNameTooLong_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.FileNameTooLong_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FileNotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FileNotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FileNotFound_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.FileNotFound_Def.__bases__:
                bases = list(ns0.FileNotFound_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.FileNotFound_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FileNotWritable_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FileNotWritable")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FileNotWritable_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.FileNotWritable_Def.__bases__:
                bases = list(ns0.FileNotWritable_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.FileNotWritable_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FileTooLarge_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FileTooLarge")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FileTooLarge_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"fileSize"), aname="_fileSize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"maxFileSize"), aname="_maxFileSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.FileTooLarge_Def.__bases__:
                bases = list(ns0.FileTooLarge_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.FileTooLarge_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FilesystemQuiesceFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FilesystemQuiesceFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FilesystemQuiesceFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SnapshotFault_Def not in ns0.FilesystemQuiesceFault_Def.__bases__:
                bases = list(ns0.FilesystemQuiesceFault_Def.__bases__)
                bases.insert(0, ns0.SnapshotFault_Def)
                ns0.FilesystemQuiesceFault_Def.__bases__ = tuple(bases)

            ns0.SnapshotFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FilterInUse_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FilterInUse")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FilterInUse_Def.schema
            TClist = [GTD("urn:vim25","VirtualDiskId",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ResourceInUse_Def not in ns0.FilterInUse_Def.__bases__:
                bases = list(ns0.FilterInUse_Def.__bases__)
                bases.insert(0, ns0.ResourceInUse_Def)
                ns0.FilterInUse_Def.__bases__ = tuple(bases)

            ns0.ResourceInUse_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FtIssuesOnHostHostSelectionType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FtIssuesOnHostHostSelectionType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class FtIssuesOnHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FtIssuesOnHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FtIssuesOnHost_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"errors"), aname="_errors", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.FtIssuesOnHost_Def.__bases__:
                bases = list(ns0.FtIssuesOnHost_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.FtIssuesOnHost_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FullStorageVMotionNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FullStorageVMotionNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FullStorageVMotionNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFeatureNotSupported_Def not in ns0.FullStorageVMotionNotSupported_Def.__bases__:
                bases = list(ns0.FullStorageVMotionNotSupported_Def.__bases__)
                bases.insert(0, ns0.MigrationFeatureNotSupported_Def)
                ns0.FullStorageVMotionNotSupported_Def.__bases__ = tuple(bases)

            ns0.MigrationFeatureNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GatewayConnectFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GatewayConnectFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GatewayConnectFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"gatewayType"), aname="_gatewayType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"gatewayId"), aname="_gatewayId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"gatewayInfo"), aname="_gatewayInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"details"), aname="_details", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.GatewayConnectFault_Def.__bases__:
                bases = list(ns0.GatewayConnectFault_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.GatewayConnectFault_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GatewayHostNotReachable_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GatewayHostNotReachable")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GatewayHostNotReachable_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GatewayToHostConnectFault_Def not in ns0.GatewayHostNotReachable_Def.__bases__:
                bases = list(ns0.GatewayHostNotReachable_Def.__bases__)
                bases.insert(0, ns0.GatewayToHostConnectFault_Def)
                ns0.GatewayHostNotReachable_Def.__bases__ = tuple(bases)

            ns0.GatewayToHostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GatewayNotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GatewayNotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GatewayNotFound_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GatewayConnectFault_Def not in ns0.GatewayNotFound_Def.__bases__:
                bases = list(ns0.GatewayNotFound_Def.__bases__)
                bases.insert(0, ns0.GatewayConnectFault_Def)
                ns0.GatewayNotFound_Def.__bases__ = tuple(bases)

            ns0.GatewayConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GatewayNotReachable_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GatewayNotReachable")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GatewayNotReachable_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GatewayConnectFault_Def not in ns0.GatewayNotReachable_Def.__bases__:
                bases = list(ns0.GatewayNotReachable_Def.__bases__)
                bases.insert(0, ns0.GatewayConnectFault_Def)
                ns0.GatewayNotReachable_Def.__bases__ = tuple(bases)

            ns0.GatewayConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GatewayOperationRefused_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GatewayOperationRefused")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GatewayOperationRefused_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GatewayConnectFault_Def not in ns0.GatewayOperationRefused_Def.__bases__:
                bases = list(ns0.GatewayOperationRefused_Def.__bases__)
                bases.insert(0, ns0.GatewayConnectFault_Def)
                ns0.GatewayOperationRefused_Def.__bases__ = tuple(bases)

            ns0.GatewayConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GatewayToHostAuthFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GatewayToHostAuthFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GatewayToHostAuthFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"invalidProperties"), aname="_invalidProperties", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"missingProperties"), aname="_missingProperties", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GatewayToHostConnectFault_Def not in ns0.GatewayToHostAuthFault_Def.__bases__:
                bases = list(ns0.GatewayToHostAuthFault_Def.__bases__)
                bases.insert(0, ns0.GatewayToHostConnectFault_Def)
                ns0.GatewayToHostAuthFault_Def.__bases__ = tuple(bases)

            ns0.GatewayToHostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GatewayToHostConnectFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GatewayToHostConnectFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GatewayToHostConnectFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostname"), aname="_hostname", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GatewayConnectFault_Def not in ns0.GatewayToHostConnectFault_Def.__bases__:
                bases = list(ns0.GatewayToHostConnectFault_Def.__bases__)
                bases.insert(0, ns0.GatewayConnectFault_Def)
                ns0.GatewayToHostConnectFault_Def.__bases__ = tuple(bases)

            ns0.GatewayConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GatewayToHostTrustVerifyFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GatewayToHostTrustVerifyFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GatewayToHostTrustVerifyFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"verificationToken"), aname="_verificationToken", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"propertiesToVerify"), aname="_propertiesToVerify", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GatewayToHostConnectFault_Def not in ns0.GatewayToHostTrustVerifyFault_Def.__bases__:
                bases = list(ns0.GatewayToHostTrustVerifyFault_Def.__bases__)
                bases.insert(0, ns0.GatewayToHostConnectFault_Def)
                ns0.GatewayToHostTrustVerifyFault_Def.__bases__ = tuple(bases)

            ns0.GatewayToHostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GenericDrsFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GenericDrsFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GenericDrsFault_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"hostFaults"), aname="_hostFaults", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.GenericDrsFault_Def.__bases__:
                bases = list(ns0.GenericDrsFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.GenericDrsFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GenericVmConfigFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GenericVmConfigFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GenericVmConfigFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.GenericVmConfigFault_Def.__bases__:
                bases = list(ns0.GenericVmConfigFault_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.GenericVmConfigFault_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestAuthenticationChallenge_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestAuthenticationChallenge")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestAuthenticationChallenge_Def.schema
            TClist = [GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"serverChallenge"), aname="_serverChallenge", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"sessionID"), aname="_sessionID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestOperationsFault_Def not in ns0.GuestAuthenticationChallenge_Def.__bases__:
                bases = list(ns0.GuestAuthenticationChallenge_Def.__bases__)
                bases.insert(0, ns0.GuestOperationsFault_Def)
                ns0.GuestAuthenticationChallenge_Def.__bases__ = tuple(bases)

            ns0.GuestOperationsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestComponentsOutOfDate_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestComponentsOutOfDate")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestComponentsOutOfDate_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestOperationsFault_Def not in ns0.GuestComponentsOutOfDate_Def.__bases__:
                bases = list(ns0.GuestComponentsOutOfDate_Def.__bases__)
                bases.insert(0, ns0.GuestOperationsFault_Def)
                ns0.GuestComponentsOutOfDate_Def.__bases__ = tuple(bases)

            ns0.GuestOperationsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestMultipleMappings_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestMultipleMappings")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestMultipleMappings_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestOperationsFault_Def not in ns0.GuestMultipleMappings_Def.__bases__:
                bases = list(ns0.GuestMultipleMappings_Def.__bases__)
                bases.insert(0, ns0.GuestOperationsFault_Def)
                ns0.GuestMultipleMappings_Def.__bases__ = tuple(bases)

            ns0.GuestOperationsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestOperationsFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestOperationsFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestOperationsFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.GuestOperationsFault_Def.__bases__:
                bases = list(ns0.GuestOperationsFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.GuestOperationsFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestOperationsUnavailable_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestOperationsUnavailable")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestOperationsUnavailable_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestOperationsFault_Def not in ns0.GuestOperationsUnavailable_Def.__bases__:
                bases = list(ns0.GuestOperationsUnavailable_Def.__bases__)
                bases.insert(0, ns0.GuestOperationsFault_Def)
                ns0.GuestOperationsUnavailable_Def.__bases__ = tuple(bases)

            ns0.GuestOperationsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestPermissionDenied_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestPermissionDenied")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestPermissionDenied_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestOperationsFault_Def not in ns0.GuestPermissionDenied_Def.__bases__:
                bases = list(ns0.GuestPermissionDenied_Def.__bases__)
                bases.insert(0, ns0.GuestOperationsFault_Def)
                ns0.GuestPermissionDenied_Def.__bases__ = tuple(bases)

            ns0.GuestOperationsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestProcessNotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestProcessNotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestProcessNotFound_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"pid"), aname="_pid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestOperationsFault_Def not in ns0.GuestProcessNotFound_Def.__bases__:
                bases = list(ns0.GuestProcessNotFound_Def.__bases__)
                bases.insert(0, ns0.GuestOperationsFault_Def)
                ns0.GuestProcessNotFound_Def.__bases__ = tuple(bases)

            ns0.GuestOperationsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegistryFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegistryFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegistryFault_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"windowsSystemErrorCode"), aname="_windowsSystemErrorCode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestOperationsFault_Def not in ns0.GuestRegistryFault_Def.__bases__:
                bases = list(ns0.GuestRegistryFault_Def.__bases__)
                bases.insert(0, ns0.GuestOperationsFault_Def)
                ns0.GuestRegistryFault_Def.__bases__ = tuple(bases)

            ns0.GuestOperationsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegistryKeyAlreadyExists_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegistryKeyAlreadyExists")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegistryKeyAlreadyExists_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestRegistryKeyFault_Def not in ns0.GuestRegistryKeyAlreadyExists_Def.__bases__:
                bases = list(ns0.GuestRegistryKeyAlreadyExists_Def.__bases__)
                bases.insert(0, ns0.GuestRegistryKeyFault_Def)
                ns0.GuestRegistryKeyAlreadyExists_Def.__bases__ = tuple(bases)

            ns0.GuestRegistryKeyFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegistryKeyFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegistryKeyFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegistryKeyFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"keyName"), aname="_keyName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestRegistryFault_Def not in ns0.GuestRegistryKeyFault_Def.__bases__:
                bases = list(ns0.GuestRegistryKeyFault_Def.__bases__)
                bases.insert(0, ns0.GuestRegistryFault_Def)
                ns0.GuestRegistryKeyFault_Def.__bases__ = tuple(bases)

            ns0.GuestRegistryFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegistryKeyHasSubkeys_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegistryKeyHasSubkeys")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegistryKeyHasSubkeys_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestRegistryKeyFault_Def not in ns0.GuestRegistryKeyHasSubkeys_Def.__bases__:
                bases = list(ns0.GuestRegistryKeyHasSubkeys_Def.__bases__)
                bases.insert(0, ns0.GuestRegistryKeyFault_Def)
                ns0.GuestRegistryKeyHasSubkeys_Def.__bases__ = tuple(bases)

            ns0.GuestRegistryKeyFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegistryKeyInvalid_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegistryKeyInvalid")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegistryKeyInvalid_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestRegistryKeyFault_Def not in ns0.GuestRegistryKeyInvalid_Def.__bases__:
                bases = list(ns0.GuestRegistryKeyInvalid_Def.__bases__)
                bases.insert(0, ns0.GuestRegistryKeyFault_Def)
                ns0.GuestRegistryKeyInvalid_Def.__bases__ = tuple(bases)

            ns0.GuestRegistryKeyFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegistryKeyParentVolatile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegistryKeyParentVolatile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegistryKeyParentVolatile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestRegistryKeyFault_Def not in ns0.GuestRegistryKeyParentVolatile_Def.__bases__:
                bases = list(ns0.GuestRegistryKeyParentVolatile_Def.__bases__)
                bases.insert(0, ns0.GuestRegistryKeyFault_Def)
                ns0.GuestRegistryKeyParentVolatile_Def.__bases__ = tuple(bases)

            ns0.GuestRegistryKeyFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegistryValueFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegistryValueFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegistryValueFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"keyName"), aname="_keyName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"valueName"), aname="_valueName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestRegistryFault_Def not in ns0.GuestRegistryValueFault_Def.__bases__:
                bases = list(ns0.GuestRegistryValueFault_Def.__bases__)
                bases.insert(0, ns0.GuestRegistryFault_Def)
                ns0.GuestRegistryValueFault_Def.__bases__ = tuple(bases)

            ns0.GuestRegistryFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegistryValueNotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegistryValueNotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegistryValueNotFound_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestRegistryValueFault_Def not in ns0.GuestRegistryValueNotFound_Def.__bases__:
                bases = list(ns0.GuestRegistryValueNotFound_Def.__bases__)
                bases.insert(0, ns0.GuestRegistryValueFault_Def)
                ns0.GuestRegistryValueNotFound_Def.__bases__ = tuple(bases)

            ns0.GuestRegistryValueFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HAErrorsAtDest_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HAErrorsAtDest")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HAErrorsAtDest_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.HAErrorsAtDest_Def.__bases__:
                bases = list(ns0.HAErrorsAtDest_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.HAErrorsAtDest_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HeterogenousHostsBlockingEVC_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HeterogenousHostsBlockingEVC")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HeterogenousHostsBlockingEVC_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.EVCConfigFault_Def not in ns0.HeterogenousHostsBlockingEVC_Def.__bases__:
                bases = list(ns0.HeterogenousHostsBlockingEVC_Def.__bases__)
                bases.insert(0, ns0.EVCConfigFault_Def)
                ns0.HeterogenousHostsBlockingEVC_Def.__bases__ = tuple(bases)

            ns0.EVCConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostAccessRestrictedToManagementServer_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostAccessRestrictedToManagementServer")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostAccessRestrictedToManagementServer_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"managementServer"), aname="_managementServer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotSupported_Def not in ns0.HostAccessRestrictedToManagementServer_Def.__bases__:
                bases = list(ns0.HostAccessRestrictedToManagementServer_Def.__bases__)
                bases.insert(0, ns0.NotSupported_Def)
                ns0.HostAccessRestrictedToManagementServer_Def.__bases__ = tuple(bases)

            ns0.NotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostConfigFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostConfigFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostConfigFailed_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"failure"), aname="_failure", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConfigFault_Def not in ns0.HostConfigFailed_Def.__bases__:
                bases = list(ns0.HostConfigFailed_Def.__bases__)
                bases.insert(0, ns0.HostConfigFault_Def)
                ns0.HostConfigFailed_Def.__bases__ = tuple(bases)

            ns0.HostConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostConfigFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostConfigFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostConfigFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.HostConfigFault_Def.__bases__:
                bases = list(ns0.HostConfigFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.HostConfigFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostConnectFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostConnectFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostConnectFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.HostConnectFault_Def.__bases__:
                bases = list(ns0.HostConnectFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.HostConnectFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostHasComponentFailureHostComponentType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostHasComponentFailureHostComponentType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostHasComponentFailure_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostHasComponentFailure")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostHasComponentFailure_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"componentType"), aname="_componentType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"componentName"), aname="_componentName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.HostHasComponentFailure_Def.__bases__:
                bases = list(ns0.HostHasComponentFailure_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.HostHasComponentFailure_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInDomain_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInDomain")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInDomain_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConfigFault_Def not in ns0.HostInDomain_Def.__bases__:
                bases = list(ns0.HostInDomain_Def.__bases__)
                bases.insert(0, ns0.HostConfigFault_Def)
                ns0.HostInDomain_Def.__bases__ = tuple(bases)

            ns0.HostConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostIncompatibleForFaultToleranceReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostIncompatibleForFaultToleranceReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostIncompatibleForFaultTolerance_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIncompatibleForFaultTolerance")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIncompatibleForFaultTolerance_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.HostIncompatibleForFaultTolerance_Def.__bases__:
                bases = list(ns0.HostIncompatibleForFaultTolerance_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.HostIncompatibleForFaultTolerance_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostIncompatibleForRecordReplayReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostIncompatibleForRecordReplayReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostIncompatibleForRecordReplay_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIncompatibleForRecordReplay")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIncompatibleForRecordReplay_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.HostIncompatibleForRecordReplay_Def.__bases__:
                bases = list(ns0.HostIncompatibleForRecordReplay_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.HostIncompatibleForRecordReplay_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInventoryFull_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInventoryFull")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInventoryFull_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"capacity"), aname="_capacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.HostInventoryFull_Def.__bases__:
                bases = list(ns0.HostInventoryFull_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.HostInventoryFull_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostPowerOpFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPowerOpFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPowerOpFailed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.HostPowerOpFailed_Def.__bases__:
                bases = list(ns0.HostPowerOpFailed_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.HostPowerOpFailed_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSpecificationOperationFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSpecificationOperationFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSpecificationOperationFailed_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.HostSpecificationOperationFailed_Def.__bases__:
                bases = list(ns0.HostSpecificationOperationFailed_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.HostSpecificationOperationFailed_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HotSnapshotMoveNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HotSnapshotMoveNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HotSnapshotMoveNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SnapshotCopyNotSupported_Def not in ns0.HotSnapshotMoveNotSupported_Def.__bases__:
                bases = list(ns0.HotSnapshotMoveNotSupported_Def.__bases__)
                bases.insert(0, ns0.SnapshotCopyNotSupported_Def)
                ns0.HotSnapshotMoveNotSupported_Def.__bases__ = tuple(bases)

            ns0.SnapshotCopyNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HttpFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HttpFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HttpFault_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"statusCode"), aname="_statusCode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"statusMessage"), aname="_statusMessage", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.HttpFault_Def.__bases__:
                bases = list(ns0.HttpFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.HttpFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IDEDiskNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IDEDiskNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IDEDiskNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DiskNotSupported_Def not in ns0.IDEDiskNotSupported_Def.__bases__:
                bases = list(ns0.IDEDiskNotSupported_Def.__bases__)
                bases.insert(0, ns0.DiskNotSupported_Def)
                ns0.IDEDiskNotSupported_Def.__bases__ = tuple(bases)

            ns0.DiskNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IORMNotSupportedHostOnDatastore_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IORMNotSupportedHostOnDatastore")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IORMNotSupportedHostOnDatastore_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastoreName"), aname="_datastoreName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.IORMNotSupportedHostOnDatastore_Def.__bases__:
                bases = list(ns0.IORMNotSupportedHostOnDatastore_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.IORMNotSupportedHostOnDatastore_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ImportHostAddFailure_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ImportHostAddFailure")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ImportHostAddFailure_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostIp"), aname="_hostIp", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.ImportHostAddFailure_Def.__bases__:
                bases = list(ns0.ImportHostAddFailure_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.ImportHostAddFailure_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ImportOperationBulkFaultFaultOnImport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ImportOperationBulkFaultFaultOnImport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ImportOperationBulkFaultFaultOnImport_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"entityType"), aname="_entityType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ImportOperationBulkFaultFaultOnImport_Def.__bases__:
                bases = list(ns0.ImportOperationBulkFaultFaultOnImport_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ImportOperationBulkFaultFaultOnImport_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfImportOperationBulkFaultFaultOnImport_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfImportOperationBulkFaultFaultOnImport")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfImportOperationBulkFaultFaultOnImport_Def.schema
            TClist = [GTD("urn:vim25","ImportOperationBulkFaultFaultOnImport",lazy=True)(pname=(ns,"ImportOperationBulkFaultFaultOnImport"), aname="_ImportOperationBulkFaultFaultOnImport", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ImportOperationBulkFaultFaultOnImport = []
                    return
            Holder.__name__ = "ArrayOfImportOperationBulkFaultFaultOnImport_Holder"
            self.pyclass = Holder

    class ImportOperationBulkFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ImportOperationBulkFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ImportOperationBulkFault_Def.schema
            TClist = [GTD("urn:vim25","ImportOperationBulkFaultFaultOnImport",lazy=True)(pname=(ns,"importFaults"), aname="_importFaults", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.ImportOperationBulkFault_Def.__bases__:
                bases = list(ns0.ImportOperationBulkFault_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.ImportOperationBulkFault_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InUseFeatureManipulationDisallowed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InUseFeatureManipulationDisallowed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InUseFeatureManipulationDisallowed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.InUseFeatureManipulationDisallowed_Def.__bases__:
                bases = list(ns0.InUseFeatureManipulationDisallowed_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.InUseFeatureManipulationDisallowed_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InaccessibleDatastore_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InaccessibleDatastore")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InaccessibleDatastore_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"detail"), aname="_detail", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidDatastore_Def not in ns0.InaccessibleDatastore_Def.__bases__:
                bases = list(ns0.InaccessibleDatastore_Def.__bases__)
                bases.insert(0, ns0.InvalidDatastore_Def)
                ns0.InaccessibleDatastore_Def.__bases__ = tuple(bases)

            ns0.InvalidDatastore_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InaccessibleFTMetadataDatastore_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InaccessibleFTMetadataDatastore")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InaccessibleFTMetadataDatastore_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InaccessibleDatastore_Def not in ns0.InaccessibleFTMetadataDatastore_Def.__bases__:
                bases = list(ns0.InaccessibleFTMetadataDatastore_Def.__bases__)
                bases.insert(0, ns0.InaccessibleDatastore_Def)
                ns0.InaccessibleFTMetadataDatastore_Def.__bases__ = tuple(bases)

            ns0.InaccessibleDatastore_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InaccessibleVFlashSource_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InaccessibleVFlashSource")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InaccessibleVFlashSource_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InaccessibleVFlashSource_Def.__bases__:
                bases = list(ns0.InaccessibleVFlashSource_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InaccessibleVFlashSource_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IncompatibleDefaultDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IncompatibleDefaultDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IncompatibleDefaultDevice_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.IncompatibleDefaultDevice_Def.__bases__:
                bases = list(ns0.IncompatibleDefaultDevice_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.IncompatibleDefaultDevice_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IncompatibleHostForFtSecondary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IncompatibleHostForFtSecondary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IncompatibleHostForFtSecondary_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.IncompatibleHostForFtSecondary_Def.__bases__:
                bases = list(ns0.IncompatibleHostForFtSecondary_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.IncompatibleHostForFtSecondary_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IncompatibleHostForVmReplicationIncompatibleReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "IncompatibleHostForVmReplicationIncompatibleReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class IncompatibleHostForVmReplication_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IncompatibleHostForVmReplication")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IncompatibleHostForVmReplication_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ReplicationFault_Def not in ns0.IncompatibleHostForVmReplication_Def.__bases__:
                bases = list(ns0.IncompatibleHostForVmReplication_Def.__bases__)
                bases.insert(0, ns0.ReplicationFault_Def)
                ns0.IncompatibleHostForVmReplication_Def.__bases__ = tuple(bases)

            ns0.ReplicationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IncompatibleSetting_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IncompatibleSetting")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IncompatibleSetting_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"conflictingProperty"), aname="_conflictingProperty", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidArgument_Def not in ns0.IncompatibleSetting_Def.__bases__:
                bases = list(ns0.IncompatibleSetting_Def.__bases__)
                bases.insert(0, ns0.InvalidArgument_Def)
                ns0.IncompatibleSetting_Def.__bases__ = tuple(bases)

            ns0.InvalidArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IncorrectFileType_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IncorrectFileType")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IncorrectFileType_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.IncorrectFileType_Def.__bases__:
                bases = list(ns0.IncorrectFileType_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.IncorrectFileType_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IncorrectHostInformation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IncorrectHostInformation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IncorrectHostInformation_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.IncorrectHostInformation_Def.__bases__:
                bases = list(ns0.IncorrectHostInformation_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.IncorrectHostInformation_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IndependentDiskVMotionNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IndependentDiskVMotionNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IndependentDiskVMotionNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFeatureNotSupported_Def not in ns0.IndependentDiskVMotionNotSupported_Def.__bases__:
                bases = list(ns0.IndependentDiskVMotionNotSupported_Def.__bases__)
                bases.insert(0, ns0.MigrationFeatureNotSupported_Def)
                ns0.IndependentDiskVMotionNotSupported_Def.__bases__ = tuple(bases)

            ns0.MigrationFeatureNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientAgentVmsDeployed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientAgentVmsDeployed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientAgentVmsDeployed_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"requiredNumAgentVms"), aname="_requiredNumAgentVms", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"currentNumAgentVms"), aname="_currentNumAgentVms", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.InsufficientAgentVmsDeployed_Def.__bases__:
                bases = list(ns0.InsufficientAgentVmsDeployed_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.InsufficientAgentVmsDeployed_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientCpuResourcesFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientCpuResourcesFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientCpuResourcesFault_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"unreserved"), aname="_unreserved", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"requested"), aname="_requested", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.InsufficientCpuResourcesFault_Def.__bases__:
                bases = list(ns0.InsufficientCpuResourcesFault_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.InsufficientCpuResourcesFault_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientDisks_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientDisks")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientDisks_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanDiskFault_Def not in ns0.InsufficientDisks_Def.__bases__:
                bases = list(ns0.InsufficientDisks_Def.__bases__)
                bases.insert(0, ns0.VsanDiskFault_Def)
                ns0.InsufficientDisks_Def.__bases__ = tuple(bases)

            ns0.VsanDiskFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientFailoverResourcesFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientFailoverResourcesFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientFailoverResourcesFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.InsufficientFailoverResourcesFault_Def.__bases__:
                bases = list(ns0.InsufficientFailoverResourcesFault_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.InsufficientFailoverResourcesFault_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientGraphicsResourcesFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientGraphicsResourcesFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientGraphicsResourcesFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.InsufficientGraphicsResourcesFault_Def.__bases__:
                bases = list(ns0.InsufficientGraphicsResourcesFault_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.InsufficientGraphicsResourcesFault_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientHostCapacityFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientHostCapacityFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientHostCapacityFault_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.InsufficientHostCapacityFault_Def.__bases__:
                bases = list(ns0.InsufficientHostCapacityFault_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.InsufficientHostCapacityFault_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientHostCpuCapacityFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientHostCpuCapacityFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientHostCpuCapacityFault_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"unreserved"), aname="_unreserved", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"requested"), aname="_requested", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientHostCapacityFault_Def not in ns0.InsufficientHostCpuCapacityFault_Def.__bases__:
                bases = list(ns0.InsufficientHostCpuCapacityFault_Def.__bases__)
                bases.insert(0, ns0.InsufficientHostCapacityFault_Def)
                ns0.InsufficientHostCpuCapacityFault_Def.__bases__ = tuple(bases)

            ns0.InsufficientHostCapacityFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientHostMemoryCapacityFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientHostMemoryCapacityFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientHostMemoryCapacityFault_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"unreserved"), aname="_unreserved", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"requested"), aname="_requested", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientHostCapacityFault_Def not in ns0.InsufficientHostMemoryCapacityFault_Def.__bases__:
                bases = list(ns0.InsufficientHostMemoryCapacityFault_Def.__bases__)
                bases.insert(0, ns0.InsufficientHostCapacityFault_Def)
                ns0.InsufficientHostMemoryCapacityFault_Def.__bases__ = tuple(bases)

            ns0.InsufficientHostCapacityFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientMemoryResourcesFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientMemoryResourcesFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientMemoryResourcesFault_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"unreserved"), aname="_unreserved", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"requested"), aname="_requested", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.InsufficientMemoryResourcesFault_Def.__bases__:
                bases = list(ns0.InsufficientMemoryResourcesFault_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.InsufficientMemoryResourcesFault_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientNetworkCapacity_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientNetworkCapacity")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientNetworkCapacity_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.InsufficientNetworkCapacity_Def.__bases__:
                bases = list(ns0.InsufficientNetworkCapacity_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.InsufficientNetworkCapacity_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientNetworkResourcePoolCapacity_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientNetworkResourcePoolCapacity")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientNetworkResourcePoolCapacity_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"dvsName"), aname="_dvsName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dvsUuid"), aname="_dvsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"resourcePoolKey"), aname="_resourcePoolKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"available"), aname="_available", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"requested"), aname="_requested", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.InsufficientNetworkResourcePoolCapacity_Def.__bases__:
                bases = list(ns0.InsufficientNetworkResourcePoolCapacity_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.InsufficientNetworkResourcePoolCapacity_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientPerCpuCapacity_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientPerCpuCapacity")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientPerCpuCapacity_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientHostCapacityFault_Def not in ns0.InsufficientPerCpuCapacity_Def.__bases__:
                bases = list(ns0.InsufficientPerCpuCapacity_Def.__bases__)
                bases.insert(0, ns0.InsufficientHostCapacityFault_Def)
                ns0.InsufficientPerCpuCapacity_Def.__bases__ = tuple(bases)

            ns0.InsufficientHostCapacityFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientResourcesFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientResourcesFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientResourcesFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InsufficientResourcesFault_Def.__bases__:
                bases = list(ns0.InsufficientResourcesFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InsufficientResourcesFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientStandbyCpuResource_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientStandbyCpuResource")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientStandbyCpuResource_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"available"), aname="_available", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"requested"), aname="_requested", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientStandbyResource_Def not in ns0.InsufficientStandbyCpuResource_Def.__bases__:
                bases = list(ns0.InsufficientStandbyCpuResource_Def.__bases__)
                bases.insert(0, ns0.InsufficientStandbyResource_Def)
                ns0.InsufficientStandbyCpuResource_Def.__bases__ = tuple(bases)

            ns0.InsufficientStandbyResource_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientStandbyMemoryResource_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientStandbyMemoryResource")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientStandbyMemoryResource_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"available"), aname="_available", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"requested"), aname="_requested", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientStandbyResource_Def not in ns0.InsufficientStandbyMemoryResource_Def.__bases__:
                bases = list(ns0.InsufficientStandbyMemoryResource_Def.__bases__)
                bases.insert(0, ns0.InsufficientStandbyResource_Def)
                ns0.InsufficientStandbyMemoryResource_Def.__bases__ = tuple(bases)

            ns0.InsufficientStandbyResource_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientStandbyResource_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientStandbyResource")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientStandbyResource_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.InsufficientStandbyResource_Def.__bases__:
                bases = list(ns0.InsufficientStandbyResource_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.InsufficientStandbyResource_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientStorageIops_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientStorageIops")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientStorageIops_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"unreservedIops"), aname="_unreservedIops", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"requestedIops"), aname="_requestedIops", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastoreName"), aname="_datastoreName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InsufficientStorageIops_Def.__bases__:
                bases = list(ns0.InsufficientStorageIops_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InsufficientStorageIops_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientStorageSpace_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientStorageSpace")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientStorageSpace_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.InsufficientStorageSpace_Def.__bases__:
                bases = list(ns0.InsufficientStorageSpace_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.InsufficientStorageSpace_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InsufficientVFlashResourcesFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InsufficientVFlashResourcesFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InsufficientVFlashResourcesFault_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"freeSpaceInMB"), aname="_freeSpaceInMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"freeSpace"), aname="_freeSpace", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"requestedSpaceInMB"), aname="_requestedSpaceInMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"requestedSpace"), aname="_requestedSpace", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.InsufficientVFlashResourcesFault_Def.__bases__:
                bases = list(ns0.InsufficientVFlashResourcesFault_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.InsufficientVFlashResourcesFault_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidAffinitySettingFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidAffinitySettingFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidAffinitySettingFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InvalidAffinitySettingFault_Def.__bases__:
                bases = list(ns0.InvalidAffinitySettingFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InvalidAffinitySettingFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidBmcRole_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidBmcRole")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidBmcRole_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InvalidBmcRole_Def.__bases__:
                bases = list(ns0.InvalidBmcRole_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InvalidBmcRole_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidBundle_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidBundle")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidBundle_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PlatformConfigFault_Def not in ns0.InvalidBundle_Def.__bases__:
                bases = list(ns0.InvalidBundle_Def.__bases__)
                bases.insert(0, ns0.PlatformConfigFault_Def)
                ns0.InvalidBundle_Def.__bases__ = tuple(bases)

            ns0.PlatformConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidCAMCertificate_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidCAMCertificate")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidCAMCertificate_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidCAMServer_Def not in ns0.InvalidCAMCertificate_Def.__bases__:
                bases = list(ns0.InvalidCAMCertificate_Def.__bases__)
                bases.insert(0, ns0.InvalidCAMServer_Def)
                ns0.InvalidCAMCertificate_Def.__bases__ = tuple(bases)

            ns0.InvalidCAMServer_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidCAMServer_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidCAMServer")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidCAMServer_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"camServer"), aname="_camServer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ActiveDirectoryFault_Def not in ns0.InvalidCAMServer_Def.__bases__:
                bases = list(ns0.InvalidCAMServer_Def.__bases__)
                bases.insert(0, ns0.ActiveDirectoryFault_Def)
                ns0.InvalidCAMServer_Def.__bases__ = tuple(bases)

            ns0.ActiveDirectoryFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidClientCertificate_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidClientCertificate")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidClientCertificate_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidLogin_Def not in ns0.InvalidClientCertificate_Def.__bases__:
                bases = list(ns0.InvalidClientCertificate_Def.__bases__)
                bases.insert(0, ns0.InvalidLogin_Def)
                ns0.InvalidClientCertificate_Def.__bases__ = tuple(bases)

            ns0.InvalidLogin_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidController_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"controllerKey"), aname="_controllerKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidDeviceSpec_Def not in ns0.InvalidController_Def.__bases__:
                bases = list(ns0.InvalidController_Def.__bases__)
                bases.insert(0, ns0.InvalidDeviceSpec_Def)
                ns0.InvalidController_Def.__bases__ = tuple(bases)

            ns0.InvalidDeviceSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidDasConfigArgumentEntryForInvalidArgument_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "InvalidDasConfigArgumentEntryForInvalidArgument")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class InvalidDasConfigArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidDasConfigArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidDasConfigArgument_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"entry"), aname="_entry", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"clusterName"), aname="_clusterName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidArgument_Def not in ns0.InvalidDasConfigArgument_Def.__bases__:
                bases = list(ns0.InvalidDasConfigArgument_Def.__bases__)
                bases.insert(0, ns0.InvalidArgument_Def)
                ns0.InvalidDasConfigArgument_Def.__bases__ = tuple(bases)

            ns0.InvalidArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidDasRestartPriorityForFtVm_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidDasRestartPriorityForFtVm")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidDasRestartPriorityForFtVm_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidArgument_Def not in ns0.InvalidDasRestartPriorityForFtVm_Def.__bases__:
                bases = list(ns0.InvalidDasRestartPriorityForFtVm_Def.__bases__)
                bases.insert(0, ns0.InvalidArgument_Def)
                ns0.InvalidDasRestartPriorityForFtVm_Def.__bases__ = tuple(bases)

            ns0.InvalidArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidDatastore_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidDatastore")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidDatastore_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InvalidDatastore_Def.__bases__:
                bases = list(ns0.InvalidDatastore_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InvalidDatastore_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidDatastorePath_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidDatastorePath")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidDatastorePath_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"datastorePath"), aname="_datastorePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidDatastore_Def not in ns0.InvalidDatastorePath_Def.__bases__:
                bases = list(ns0.InvalidDatastorePath_Def.__bases__)
                bases.insert(0, ns0.InvalidDatastore_Def)
                ns0.InvalidDatastorePath_Def.__bases__ = tuple(bases)

            ns0.InvalidDatastore_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidDatastoreState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidDatastoreState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidDatastoreState_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"datastoreName"), aname="_datastoreName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidState_Def not in ns0.InvalidDatastoreState_Def.__bases__:
                bases = list(ns0.InvalidDatastoreState_Def.__bases__)
                bases.insert(0, ns0.InvalidState_Def)
                ns0.InvalidDatastoreState_Def.__bases__ = tuple(bases)

            ns0.InvalidState_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidDeviceBacking_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidDeviceBacking")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidDeviceBacking_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidDeviceSpec_Def not in ns0.InvalidDeviceBacking_Def.__bases__:
                bases = list(ns0.InvalidDeviceBacking_Def.__bases__)
                bases.insert(0, ns0.InvalidDeviceSpec_Def)
                ns0.InvalidDeviceBacking_Def.__bases__ = tuple(bases)

            ns0.InvalidDeviceSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidDeviceOperation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidDeviceOperation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidDeviceOperation_Def.schema
            TClist = [GTD("urn:vim25","VirtualDeviceConfigSpecOperation",lazy=True)(pname=(ns,"badOp"), aname="_badOp", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDeviceConfigSpecFileOperation",lazy=True)(pname=(ns,"badFileOp"), aname="_badFileOp", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidDeviceSpec_Def not in ns0.InvalidDeviceOperation_Def.__bases__:
                bases = list(ns0.InvalidDeviceOperation_Def.__bases__)
                bases.insert(0, ns0.InvalidDeviceSpec_Def)
                ns0.InvalidDeviceOperation_Def.__bases__ = tuple(bases)

            ns0.InvalidDeviceSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidDeviceSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidDeviceSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidDeviceSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"deviceIndex"), aname="_deviceIndex", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidVmConfig_Def not in ns0.InvalidDeviceSpec_Def.__bases__:
                bases = list(ns0.InvalidDeviceSpec_Def.__bases__)
                bases.insert(0, ns0.InvalidVmConfig_Def)
                ns0.InvalidDeviceSpec_Def.__bases__ = tuple(bases)

            ns0.InvalidVmConfig_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidDiskFormat_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidDiskFormat")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidDiskFormat_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidFormat_Def not in ns0.InvalidDiskFormat_Def.__bases__:
                bases = list(ns0.InvalidDiskFormat_Def.__bases__)
                bases.insert(0, ns0.InvalidFormat_Def)
                ns0.InvalidDiskFormat_Def.__bases__ = tuple(bases)

            ns0.InvalidFormat_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidDrsBehaviorForFtVm_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidDrsBehaviorForFtVm")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidDrsBehaviorForFtVm_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidArgument_Def not in ns0.InvalidDrsBehaviorForFtVm_Def.__bases__:
                bases = list(ns0.InvalidDrsBehaviorForFtVm_Def.__bases__)
                bases.insert(0, ns0.InvalidArgument_Def)
                ns0.InvalidDrsBehaviorForFtVm_Def.__bases__ = tuple(bases)

            ns0.InvalidArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidEditionLicense_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidEditionLicense")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidEditionLicense_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"feature"), aname="_feature", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.InvalidEditionLicense_Def.__bases__:
                bases = list(ns0.InvalidEditionLicense_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.InvalidEditionLicense_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidEvent_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InvalidEvent_Def.__bases__:
                bases = list(ns0.InvalidEvent_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InvalidEvent_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidFolder_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidFolder")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidFolder_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"target"), aname="_target", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InvalidFolder_Def.__bases__:
                bases = list(ns0.InvalidFolder_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InvalidFolder_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidFormat_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidFormat")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidFormat_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.InvalidFormat_Def.__bases__:
                bases = list(ns0.InvalidFormat_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.InvalidFormat_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidGuestLogin_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidGuestLogin")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidGuestLogin_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestOperationsFault_Def not in ns0.InvalidGuestLogin_Def.__bases__:
                bases = list(ns0.InvalidGuestLogin_Def.__bases__)
                bases.insert(0, ns0.GuestOperationsFault_Def)
                ns0.InvalidGuestLogin_Def.__bases__ = tuple(bases)

            ns0.GuestOperationsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidHostConnectionState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidHostConnectionState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidHostConnectionState_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidHostState_Def not in ns0.InvalidHostConnectionState_Def.__bases__:
                bases = list(ns0.InvalidHostConnectionState_Def.__bases__)
                bases.insert(0, ns0.InvalidHostState_Def)
                ns0.InvalidHostConnectionState_Def.__bases__ = tuple(bases)

            ns0.InvalidHostState_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidHostName_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidHostName")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidHostName_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConfigFault_Def not in ns0.InvalidHostName_Def.__bases__:
                bases = list(ns0.InvalidHostName_Def.__bases__)
                bases.insert(0, ns0.HostConfigFault_Def)
                ns0.InvalidHostName_Def.__bases__ = tuple(bases)

            ns0.HostConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidHostState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidHostState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidHostState_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidState_Def not in ns0.InvalidHostState_Def.__bases__:
                bases = list(ns0.InvalidHostState_Def.__bases__)
                bases.insert(0, ns0.InvalidState_Def)
                ns0.InvalidHostState_Def.__bases__ = tuple(bases)

            ns0.InvalidState_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidIndexArgument_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidIndexArgument")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidIndexArgument_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidArgument_Def not in ns0.InvalidIndexArgument_Def.__bases__:
                bases = list(ns0.InvalidIndexArgument_Def.__bases__)
                bases.insert(0, ns0.InvalidArgument_Def)
                ns0.InvalidIndexArgument_Def.__bases__ = tuple(bases)

            ns0.InvalidArgument_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidIpfixConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidIpfixConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidIpfixConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"property"), aname="_property", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.InvalidIpfixConfig_Def.__bases__:
                bases = list(ns0.InvalidIpfixConfig_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.InvalidIpfixConfig_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidIpmiLoginInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidIpmiLoginInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidIpmiLoginInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InvalidIpmiLoginInfo_Def.__bases__:
                bases = list(ns0.InvalidIpmiLoginInfo_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InvalidIpmiLoginInfo_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidIpmiMacAddress_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidIpmiMacAddress")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidIpmiMacAddress_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"userProvidedMacAddress"), aname="_userProvidedMacAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"observedMacAddress"), aname="_observedMacAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InvalidIpmiMacAddress_Def.__bases__:
                bases = list(ns0.InvalidIpmiMacAddress_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InvalidIpmiMacAddress_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidLicense_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidLicense")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidLicense_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"licenseContent"), aname="_licenseContent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InvalidLicense_Def.__bases__:
                bases = list(ns0.InvalidLicense_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InvalidLicense_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidLocale_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidLocale")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidLocale_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InvalidLocale_Def.__bases__:
                bases = list(ns0.InvalidLocale_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InvalidLocale_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidLogin_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidLogin")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidLogin_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InvalidLogin_Def.__bases__:
                bases = list(ns0.InvalidLogin_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InvalidLogin_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidName_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidName")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidName_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InvalidName_Def.__bases__:
                bases = list(ns0.InvalidName_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InvalidName_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidNasCredentials_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidNasCredentials")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidNasCredentials_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NasConfigFault_Def not in ns0.InvalidNasCredentials_Def.__bases__:
                bases = list(ns0.InvalidNasCredentials_Def.__bases__)
                bases.insert(0, ns0.NasConfigFault_Def)
                ns0.InvalidNasCredentials_Def.__bases__ = tuple(bases)

            ns0.NasConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidNetworkInType_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidNetworkInType")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidNetworkInType_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VAppPropertyFault_Def not in ns0.InvalidNetworkInType_Def.__bases__:
                bases = list(ns0.InvalidNetworkInType_Def.__bases__)
                bases.insert(0, ns0.VAppPropertyFault_Def)
                ns0.InvalidNetworkInType_Def.__bases__ = tuple(bases)

            ns0.VAppPropertyFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidNetworkResource_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidNetworkResource")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidNetworkResource_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"remoteHost"), aname="_remoteHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"remotePath"), aname="_remotePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NasConfigFault_Def not in ns0.InvalidNetworkResource_Def.__bases__:
                bases = list(ns0.InvalidNetworkResource_Def.__bases__)
                bases.insert(0, ns0.NasConfigFault_Def)
                ns0.InvalidNetworkResource_Def.__bases__ = tuple(bases)

            ns0.NasConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidOperationOnSecondaryVm_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidOperationOnSecondaryVm")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidOperationOnSecondaryVm_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.InvalidOperationOnSecondaryVm_Def.__bases__:
                bases = list(ns0.InvalidOperationOnSecondaryVm_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.InvalidOperationOnSecondaryVm_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidPowerState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidPowerState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidPowerState_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachinePowerState",lazy=True)(pname=(ns,"requestedState"), aname="_requestedState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachinePowerState",lazy=True)(pname=(ns,"existingState"), aname="_existingState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidState_Def not in ns0.InvalidPowerState_Def.__bases__:
                bases = list(ns0.InvalidPowerState_Def.__bases__)
                bases.insert(0, ns0.InvalidState_Def)
                ns0.InvalidPowerState_Def.__bases__ = tuple(bases)

            ns0.InvalidState_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidPrivilege_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidPrivilege")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidPrivilege_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"privilege"), aname="_privilege", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InvalidPrivilege_Def.__bases__:
                bases = list(ns0.InvalidPrivilege_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InvalidPrivilege_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidProfileReferenceHostReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "InvalidProfileReferenceHostReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class InvalidProfileReferenceHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidProfileReferenceHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidProfileReferenceHost_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"profileName"), aname="_profileName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.InvalidProfileReferenceHost_Def.__bases__:
                bases = list(ns0.InvalidProfileReferenceHost_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.InvalidProfileReferenceHost_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidPropertyType_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidPropertyType")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidPropertyType_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VAppPropertyFault_Def not in ns0.InvalidPropertyType_Def.__bases__:
                bases = list(ns0.InvalidPropertyType_Def.__bases__)
                bases.insert(0, ns0.VAppPropertyFault_Def)
                ns0.InvalidPropertyType_Def.__bases__ = tuple(bases)

            ns0.VAppPropertyFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidPropertyValue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidPropertyValue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidPropertyValue_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VAppPropertyFault_Def not in ns0.InvalidPropertyValue_Def.__bases__:
                bases = list(ns0.InvalidPropertyValue_Def.__bases__)
                bases.insert(0, ns0.VAppPropertyFault_Def)
                ns0.InvalidPropertyValue_Def.__bases__ = tuple(bases)

            ns0.VAppPropertyFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidResourcePoolStructureFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidResourcePoolStructureFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidResourcePoolStructureFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.InvalidResourcePoolStructureFault_Def.__bases__:
                bases = list(ns0.InvalidResourcePoolStructureFault_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.InvalidResourcePoolStructureFault_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidSnapshotFormat_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidSnapshotFormat")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidSnapshotFormat_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidFormat_Def not in ns0.InvalidSnapshotFormat_Def.__bases__:
                bases = list(ns0.InvalidSnapshotFormat_Def.__bases__)
                bases.insert(0, ns0.InvalidFormat_Def)
                ns0.InvalidSnapshotFormat_Def.__bases__ = tuple(bases)

            ns0.InvalidFormat_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidState_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.InvalidState_Def.__bases__:
                bases = list(ns0.InvalidState_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.InvalidState_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidVmConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidVmConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidVmConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"property"), aname="_property", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.InvalidVmConfig_Def.__bases__:
                bases = list(ns0.InvalidVmConfig_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.InvalidVmConfig_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InvalidVmState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InvalidVmState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InvalidVmState_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidState_Def not in ns0.InvalidVmState_Def.__bases__:
                bases = list(ns0.InvalidVmState_Def.__bases__)
                bases.insert(0, ns0.InvalidState_Def)
                ns0.InvalidVmState_Def.__bases__ = tuple(bases)

            ns0.InvalidState_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InventoryHasStandardAloneHosts_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "InventoryHasStandardAloneHosts")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.InventoryHasStandardAloneHosts_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hosts"), aname="_hosts", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.InventoryHasStandardAloneHosts_Def.__bases__:
                bases = list(ns0.InventoryHasStandardAloneHosts_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.InventoryHasStandardAloneHosts_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IpHostnameGeneratorError_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IpHostnameGeneratorError")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IpHostnameGeneratorError_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFault_Def not in ns0.IpHostnameGeneratorError_Def.__bases__:
                bases = list(ns0.IpHostnameGeneratorError_Def.__bases__)
                bases.insert(0, ns0.CustomizationFault_Def)
                ns0.IpHostnameGeneratorError_Def.__bases__ = tuple(bases)

            ns0.CustomizationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IscsiFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.IscsiFault_Def.__bases__:
                bases = list(ns0.IscsiFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.IscsiFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IscsiFaultInvalidVnic_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiFaultInvalidVnic")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiFaultInvalidVnic_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IscsiFault_Def not in ns0.IscsiFaultInvalidVnic_Def.__bases__:
                bases = list(ns0.IscsiFaultInvalidVnic_Def.__bases__)
                bases.insert(0, ns0.IscsiFault_Def)
                ns0.IscsiFaultInvalidVnic_Def.__bases__ = tuple(bases)

            ns0.IscsiFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IscsiFaultPnicInUse_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiFaultPnicInUse")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiFaultPnicInUse_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"pnicDevice"), aname="_pnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IscsiFault_Def not in ns0.IscsiFaultPnicInUse_Def.__bases__:
                bases = list(ns0.IscsiFaultPnicInUse_Def.__bases__)
                bases.insert(0, ns0.IscsiFault_Def)
                ns0.IscsiFaultPnicInUse_Def.__bases__ = tuple(bases)

            ns0.IscsiFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IscsiFaultVnicAlreadyBound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiFaultVnicAlreadyBound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiFaultVnicAlreadyBound_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IscsiFault_Def not in ns0.IscsiFaultVnicAlreadyBound_Def.__bases__:
                bases = list(ns0.IscsiFaultVnicAlreadyBound_Def.__bases__)
                bases.insert(0, ns0.IscsiFault_Def)
                ns0.IscsiFaultVnicAlreadyBound_Def.__bases__ = tuple(bases)

            ns0.IscsiFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IscsiFaultVnicHasActivePaths_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiFaultVnicHasActivePaths")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiFaultVnicHasActivePaths_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IscsiFault_Def not in ns0.IscsiFaultVnicHasActivePaths_Def.__bases__:
                bases = list(ns0.IscsiFaultVnicHasActivePaths_Def.__bases__)
                bases.insert(0, ns0.IscsiFault_Def)
                ns0.IscsiFaultVnicHasActivePaths_Def.__bases__ = tuple(bases)

            ns0.IscsiFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IscsiFaultVnicHasMultipleUplinks_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiFaultVnicHasMultipleUplinks")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiFaultVnicHasMultipleUplinks_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IscsiFault_Def not in ns0.IscsiFaultVnicHasMultipleUplinks_Def.__bases__:
                bases = list(ns0.IscsiFaultVnicHasMultipleUplinks_Def.__bases__)
                bases.insert(0, ns0.IscsiFault_Def)
                ns0.IscsiFaultVnicHasMultipleUplinks_Def.__bases__ = tuple(bases)

            ns0.IscsiFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IscsiFaultVnicHasNoUplinks_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiFaultVnicHasNoUplinks")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiFaultVnicHasNoUplinks_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IscsiFault_Def not in ns0.IscsiFaultVnicHasNoUplinks_Def.__bases__:
                bases = list(ns0.IscsiFaultVnicHasNoUplinks_Def.__bases__)
                bases.insert(0, ns0.IscsiFault_Def)
                ns0.IscsiFaultVnicHasNoUplinks_Def.__bases__ = tuple(bases)

            ns0.IscsiFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IscsiFaultVnicHasWrongUplink_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiFaultVnicHasWrongUplink")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiFaultVnicHasWrongUplink_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IscsiFault_Def not in ns0.IscsiFaultVnicHasWrongUplink_Def.__bases__:
                bases = list(ns0.IscsiFaultVnicHasWrongUplink_Def.__bases__)
                bases.insert(0, ns0.IscsiFault_Def)
                ns0.IscsiFaultVnicHasWrongUplink_Def.__bases__ = tuple(bases)

            ns0.IscsiFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IscsiFaultVnicInUse_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiFaultVnicInUse")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiFaultVnicInUse_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IscsiFault_Def not in ns0.IscsiFaultVnicInUse_Def.__bases__:
                bases = list(ns0.IscsiFaultVnicInUse_Def.__bases__)
                bases.insert(0, ns0.IscsiFault_Def)
                ns0.IscsiFaultVnicInUse_Def.__bases__ = tuple(bases)

            ns0.IscsiFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IscsiFaultVnicIsLastPath_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiFaultVnicIsLastPath")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiFaultVnicIsLastPath_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IscsiFault_Def not in ns0.IscsiFaultVnicIsLastPath_Def.__bases__:
                bases = list(ns0.IscsiFaultVnicIsLastPath_Def.__bases__)
                bases.insert(0, ns0.IscsiFault_Def)
                ns0.IscsiFaultVnicIsLastPath_Def.__bases__ = tuple(bases)

            ns0.IscsiFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IscsiFaultVnicNotBound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiFaultVnicNotBound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiFaultVnicNotBound_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IscsiFault_Def not in ns0.IscsiFaultVnicNotBound_Def.__bases__:
                bases = list(ns0.IscsiFaultVnicNotBound_Def.__bases__)
                bases.insert(0, ns0.IscsiFault_Def)
                ns0.IscsiFaultVnicNotBound_Def.__bases__ = tuple(bases)

            ns0.IscsiFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IscsiFaultVnicNotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiFaultVnicNotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiFaultVnicNotFound_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.IscsiFault_Def not in ns0.IscsiFaultVnicNotFound_Def.__bases__:
                bases = list(ns0.IscsiFaultVnicNotFound_Def.__bases__)
                bases.insert(0, ns0.IscsiFault_Def)
                ns0.IscsiFaultVnicNotFound_Def.__bases__ = tuple(bases)

            ns0.IscsiFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LargeRDMConversionNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LargeRDMConversionNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LargeRDMConversionNotSupported_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.LargeRDMConversionNotSupported_Def.__bases__:
                bases = list(ns0.LargeRDMConversionNotSupported_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.LargeRDMConversionNotSupported_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LargeRDMNotSupportedOnDatastore_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LargeRDMNotSupportedOnDatastore")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LargeRDMNotSupportedOnDatastore_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastoreName"), aname="_datastoreName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.LargeRDMNotSupportedOnDatastore_Def.__bases__:
                bases = list(ns0.LargeRDMNotSupportedOnDatastore_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.LargeRDMNotSupportedOnDatastore_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LegacyNetworkInterfaceInUse_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LegacyNetworkInterfaceInUse")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LegacyNetworkInterfaceInUse_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CannotAccessNetwork_Def not in ns0.LegacyNetworkInterfaceInUse_Def.__bases__:
                bases = list(ns0.LegacyNetworkInterfaceInUse_Def.__bases__)
                bases.insert(0, ns0.CannotAccessNetwork_Def)
                ns0.LegacyNetworkInterfaceInUse_Def.__bases__ = tuple(bases)

            ns0.CannotAccessNetwork_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseAssignmentFailedReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LicenseAssignmentFailedReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class LicenseAssignmentFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseAssignmentFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseAssignmentFailed_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.LicenseAssignmentFailed_Def.__bases__:
                bases = list(ns0.LicenseAssignmentFailed_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.LicenseAssignmentFailed_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseDowngradeDisallowed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseDowngradeDisallowed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseDowngradeDisallowed_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"edition"), aname="_edition", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"entityId"), aname="_entityId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"features"), aname="_features", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.LicenseDowngradeDisallowed_Def.__bases__:
                bases = list(ns0.LicenseDowngradeDisallowed_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.LicenseDowngradeDisallowed_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseEntityNotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseEntityNotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseEntityNotFound_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"entityId"), aname="_entityId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.LicenseEntityNotFound_Def.__bases__:
                bases = list(ns0.LicenseEntityNotFound_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.LicenseEntityNotFound_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseExpired_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseExpired")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseExpired_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"licenseKey"), aname="_licenseKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.LicenseExpired_Def.__bases__:
                bases = list(ns0.LicenseExpired_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.LicenseExpired_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseKeyEntityMismatch_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseKeyEntityMismatch")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseKeyEntityMismatch_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.LicenseKeyEntityMismatch_Def.__bases__:
                bases = list(ns0.LicenseKeyEntityMismatch_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.LicenseKeyEntityMismatch_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseRestricted_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseRestricted")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseRestricted_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.LicenseRestricted_Def.__bases__:
                bases = list(ns0.LicenseRestricted_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.LicenseRestricted_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseServerUnavailable_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseServerUnavailable")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseServerUnavailable_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"licenseServer"), aname="_licenseServer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.LicenseServerUnavailable_Def.__bases__:
                bases = list(ns0.LicenseServerUnavailable_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.LicenseServerUnavailable_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LicenseSourceUnavailable_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LicenseSourceUnavailable")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LicenseSourceUnavailable_Def.schema
            TClist = [GTD("urn:vim25","LicenseSource",lazy=True)(pname=(ns,"licenseSource"), aname="_licenseSource", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.LicenseSourceUnavailable_Def.__bases__:
                bases = list(ns0.LicenseSourceUnavailable_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.LicenseSourceUnavailable_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LimitExceeded_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LimitExceeded")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LimitExceeded_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"property"), aname="_property", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"limit"), aname="_limit", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.LimitExceeded_Def.__bases__:
                bases = list(ns0.LimitExceeded_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.LimitExceeded_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LinuxVolumeNotClean_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LinuxVolumeNotClean")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LinuxVolumeNotClean_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFault_Def not in ns0.LinuxVolumeNotClean_Def.__bases__:
                bases = list(ns0.LinuxVolumeNotClean_Def.__bases__)
                bases.insert(0, ns0.CustomizationFault_Def)
                ns0.LinuxVolumeNotClean_Def.__bases__ = tuple(bases)

            ns0.CustomizationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LogBundlingFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LogBundlingFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LogBundlingFailed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.LogBundlingFailed_Def.__bases__:
                bases = list(ns0.LogBundlingFailed_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.LogBundlingFailed_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MaintenanceModeFileMove_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MaintenanceModeFileMove")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MaintenanceModeFileMove_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.MaintenanceModeFileMove_Def.__bases__:
                bases = list(ns0.MaintenanceModeFileMove_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.MaintenanceModeFileMove_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MemoryFileFormatNotSupportedByDatastore_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MemoryFileFormatNotSupportedByDatastore")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MemoryFileFormatNotSupportedByDatastore_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"datastoreName"), aname="_datastoreName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.UnsupportedDatastore_Def not in ns0.MemoryFileFormatNotSupportedByDatastore_Def.__bases__:
                bases = list(ns0.MemoryFileFormatNotSupportedByDatastore_Def.__bases__)
                bases.insert(0, ns0.UnsupportedDatastore_Def)
                ns0.MemoryFileFormatNotSupportedByDatastore_Def.__bases__ = tuple(bases)

            ns0.UnsupportedDatastore_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MemoryHotPlugNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MemoryHotPlugNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MemoryHotPlugNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.MemoryHotPlugNotSupported_Def.__bases__:
                bases = list(ns0.MemoryHotPlugNotSupported_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.MemoryHotPlugNotSupported_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MemorySizeNotRecommended_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MemorySizeNotRecommended")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MemorySizeNotRecommended_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memorySizeMB"), aname="_memorySizeMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"minMemorySizeMB"), aname="_minMemorySizeMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxMemorySizeMB"), aname="_maxMemorySizeMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.MemorySizeNotRecommended_Def.__bases__:
                bases = list(ns0.MemorySizeNotRecommended_Def.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.MemorySizeNotRecommended_Def.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MemorySizeNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MemorySizeNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MemorySizeNotSupported_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memorySizeMB"), aname="_memorySizeMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"minMemorySizeMB"), aname="_minMemorySizeMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxMemorySizeMB"), aname="_maxMemorySizeMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.MemorySizeNotSupported_Def.__bases__:
                bases = list(ns0.MemorySizeNotSupported_Def.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.MemorySizeNotSupported_Def.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MemorySizeNotSupportedByDatastore_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MemorySizeNotSupportedByDatastore")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MemorySizeNotSupportedByDatastore_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memorySizeMB"), aname="_memorySizeMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxMemorySizeMB"), aname="_maxMemorySizeMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.MemorySizeNotSupportedByDatastore_Def.__bases__:
                bases = list(ns0.MemorySizeNotSupportedByDatastore_Def.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.MemorySizeNotSupportedByDatastore_Def.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MemorySnapshotOnIndependentDisk_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MemorySnapshotOnIndependentDisk")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MemorySnapshotOnIndependentDisk_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SnapshotFault_Def not in ns0.MemorySnapshotOnIndependentDisk_Def.__bases__:
                bases = list(ns0.MemorySnapshotOnIndependentDisk_Def.__bases__)
                bases.insert(0, ns0.SnapshotFault_Def)
                ns0.MemorySnapshotOnIndependentDisk_Def.__bases__ = tuple(bases)

            ns0.SnapshotFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MethodAlreadyDisabledFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MethodAlreadyDisabledFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MethodAlreadyDisabledFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"sourceId"), aname="_sourceId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.MethodAlreadyDisabledFault_Def.__bases__:
                bases = list(ns0.MethodAlreadyDisabledFault_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.MethodAlreadyDisabledFault_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MethodDisabled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MethodDisabled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MethodDisabled_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"source"), aname="_source", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.MethodDisabled_Def.__bases__:
                bases = list(ns0.MethodDisabled_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.MethodDisabled_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MigrationDisabled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MigrationDisabled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MigrationDisabled_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.MigrationDisabled_Def.__bases__:
                bases = list(ns0.MigrationDisabled_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.MigrationDisabled_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MigrationFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MigrationFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MigrationFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.MigrationFault_Def.__bases__:
                bases = list(ns0.MigrationFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.MigrationFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MigrationFeatureNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MigrationFeatureNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MigrationFeatureNotSupported_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"atSourceHost"), aname="_atSourceHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"failedHostName"), aname="_failedHostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"failedHost"), aname="_failedHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.MigrationFeatureNotSupported_Def.__bases__:
                bases = list(ns0.MigrationFeatureNotSupported_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.MigrationFeatureNotSupported_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MigrationNotReady_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MigrationNotReady")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MigrationNotReady_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.MigrationNotReady_Def.__bases__:
                bases = list(ns0.MigrationNotReady_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.MigrationNotReady_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MismatchedBundle_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MismatchedBundle")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MismatchedBundle_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"bundleUuid"), aname="_bundleUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostUuid"), aname="_hostUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"bundleBuildNumber"), aname="_bundleBuildNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"hostBuildNumber"), aname="_hostBuildNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.MismatchedBundle_Def.__bases__:
                bases = list(ns0.MismatchedBundle_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.MismatchedBundle_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MismatchedNetworkPolicies_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MismatchedNetworkPolicies")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MismatchedNetworkPolicies_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"backing"), aname="_backing", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"connected"), aname="_connected", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.MismatchedNetworkPolicies_Def.__bases__:
                bases = list(ns0.MismatchedNetworkPolicies_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.MismatchedNetworkPolicies_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MismatchedVMotionNetworkNames_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MismatchedVMotionNetworkNames")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MismatchedVMotionNetworkNames_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"sourceNetwork"), aname="_sourceNetwork", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"destNetwork"), aname="_destNetwork", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.MismatchedVMotionNetworkNames_Def.__bases__:
                bases = list(ns0.MismatchedVMotionNetworkNames_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.MismatchedVMotionNetworkNames_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MissingBmcSupport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MissingBmcSupport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MissingBmcSupport_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.MissingBmcSupport_Def.__bases__:
                bases = list(ns0.MissingBmcSupport_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.MissingBmcSupport_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MissingController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MissingController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MissingController_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidDeviceSpec_Def not in ns0.MissingController_Def.__bases__:
                bases = list(ns0.MissingController_Def.__bases__)
                bases.insert(0, ns0.InvalidDeviceSpec_Def)
                ns0.MissingController_Def.__bases__ = tuple(bases)

            ns0.InvalidDeviceSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MissingIpPool_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MissingIpPool")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MissingIpPool_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VAppPropertyFault_Def not in ns0.MissingIpPool_Def.__bases__:
                bases = list(ns0.MissingIpPool_Def.__bases__)
                bases.insert(0, ns0.VAppPropertyFault_Def)
                ns0.MissingIpPool_Def.__bases__ = tuple(bases)

            ns0.VAppPropertyFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MissingLinuxCustResources_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MissingLinuxCustResources")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MissingLinuxCustResources_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFault_Def not in ns0.MissingLinuxCustResources_Def.__bases__:
                bases = list(ns0.MissingLinuxCustResources_Def.__bases__)
                bases.insert(0, ns0.CustomizationFault_Def)
                ns0.MissingLinuxCustResources_Def.__bases__ = tuple(bases)

            ns0.CustomizationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MissingNetworkIpConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MissingNetworkIpConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MissingNetworkIpConfig_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VAppPropertyFault_Def not in ns0.MissingNetworkIpConfig_Def.__bases__:
                bases = list(ns0.MissingNetworkIpConfig_Def.__bases__)
                bases.insert(0, ns0.VAppPropertyFault_Def)
                ns0.MissingNetworkIpConfig_Def.__bases__ = tuple(bases)

            ns0.VAppPropertyFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MissingPowerOffConfiguration_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MissingPowerOffConfiguration")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MissingPowerOffConfiguration_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VAppConfigFault_Def not in ns0.MissingPowerOffConfiguration_Def.__bases__:
                bases = list(ns0.MissingPowerOffConfiguration_Def.__bases__)
                bases.insert(0, ns0.VAppConfigFault_Def)
                ns0.MissingPowerOffConfiguration_Def.__bases__ = tuple(bases)

            ns0.VAppConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MissingPowerOnConfiguration_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MissingPowerOnConfiguration")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MissingPowerOnConfiguration_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VAppConfigFault_Def not in ns0.MissingPowerOnConfiguration_Def.__bases__:
                bases = list(ns0.MissingPowerOnConfiguration_Def.__bases__)
                bases.insert(0, ns0.VAppConfigFault_Def)
                ns0.MissingPowerOnConfiguration_Def.__bases__ = tuple(bases)

            ns0.VAppConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MissingWindowsCustResources_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MissingWindowsCustResources")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MissingWindowsCustResources_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFault_Def not in ns0.MissingWindowsCustResources_Def.__bases__:
                bases = list(ns0.MissingWindowsCustResources_Def.__bases__)
                bases.insert(0, ns0.CustomizationFault_Def)
                ns0.MissingWindowsCustResources_Def.__bases__ = tuple(bases)

            ns0.CustomizationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MksConnectionLimitReached_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MksConnectionLimitReached")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MksConnectionLimitReached_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"connectionLimit"), aname="_connectionLimit", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidState_Def not in ns0.MksConnectionLimitReached_Def.__bases__:
                bases = list(ns0.MksConnectionLimitReached_Def.__bases__)
                bases.insert(0, ns0.InvalidState_Def)
                ns0.MksConnectionLimitReached_Def.__bases__ = tuple(bases)

            ns0.InvalidState_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MountError_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MountError")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MountError_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"diskIndex"), aname="_diskIndex", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFault_Def not in ns0.MountError_Def.__bases__:
                bases = list(ns0.MountError_Def.__bases__)
                bases.insert(0, ns0.CustomizationFault_Def)
                ns0.MountError_Def.__bases__ = tuple(bases)

            ns0.CustomizationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MultiWriterNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MultiWriterNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MultiWriterNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceNotSupported_Def not in ns0.MultiWriterNotSupported_Def.__bases__:
                bases = list(ns0.MultiWriterNotSupported_Def.__bases__)
                bases.insert(0, ns0.DeviceNotSupported_Def)
                ns0.MultiWriterNotSupported_Def.__bases__ = tuple(bases)

            ns0.DeviceNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MultipleCertificatesVerifyFaultThumbprintData_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MultipleCertificatesVerifyFaultThumbprintData")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MultipleCertificatesVerifyFaultThumbprintData_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"thumbprint"), aname="_thumbprint", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.MultipleCertificatesVerifyFaultThumbprintData_Def.__bases__:
                bases = list(ns0.MultipleCertificatesVerifyFaultThumbprintData_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.MultipleCertificatesVerifyFaultThumbprintData_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfMultipleCertificatesVerifyFaultThumbprintData_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfMultipleCertificatesVerifyFaultThumbprintData")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfMultipleCertificatesVerifyFaultThumbprintData_Def.schema
            TClist = [GTD("urn:vim25","MultipleCertificatesVerifyFaultThumbprintData",lazy=True)(pname=(ns,"MultipleCertificatesVerifyFaultThumbprintData"), aname="_MultipleCertificatesVerifyFaultThumbprintData", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._MultipleCertificatesVerifyFaultThumbprintData = []
                    return
            Holder.__name__ = "ArrayOfMultipleCertificatesVerifyFaultThumbprintData_Holder"
            self.pyclass = Holder

    class MultipleCertificatesVerifyFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MultipleCertificatesVerifyFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MultipleCertificatesVerifyFault_Def.schema
            TClist = [GTD("urn:vim25","MultipleCertificatesVerifyFaultThumbprintData",lazy=True)(pname=(ns,"thumbprintData"), aname="_thumbprintData", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.MultipleCertificatesVerifyFault_Def.__bases__:
                bases = list(ns0.MultipleCertificatesVerifyFault_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.MultipleCertificatesVerifyFault_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MultipleSnapshotsNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MultipleSnapshotsNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MultipleSnapshotsNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SnapshotFault_Def not in ns0.MultipleSnapshotsNotSupported_Def.__bases__:
                bases = list(ns0.MultipleSnapshotsNotSupported_Def.__bases__)
                bases.insert(0, ns0.SnapshotFault_Def)
                ns0.MultipleSnapshotsNotSupported_Def.__bases__ = tuple(bases)

            ns0.SnapshotFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NamespaceFull_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NamespaceFull")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NamespaceFull_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"currentMaxSize"), aname="_currentMaxSize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"requiredSize"), aname="_requiredSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.NamespaceFull_Def.__bases__:
                bases = list(ns0.NamespaceFull_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.NamespaceFull_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NamespaceLimitReached_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NamespaceLimitReached")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NamespaceLimitReached_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"limit"), aname="_limit", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.NamespaceLimitReached_Def.__bases__:
                bases = list(ns0.NamespaceLimitReached_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.NamespaceLimitReached_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NamespaceWriteProtected_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NamespaceWriteProtected")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NamespaceWriteProtected_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.NamespaceWriteProtected_Def.__bases__:
                bases = list(ns0.NamespaceWriteProtected_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.NamespaceWriteProtected_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NasConfigFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NasConfigFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NasConfigFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConfigFault_Def not in ns0.NasConfigFault_Def.__bases__:
                bases = list(ns0.NasConfigFault_Def.__bases__)
                bases.insert(0, ns0.HostConfigFault_Def)
                ns0.NasConfigFault_Def.__bases__ = tuple(bases)

            ns0.HostConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NasConnectionLimitReached_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NasConnectionLimitReached")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NasConnectionLimitReached_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"remoteHost"), aname="_remoteHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"remotePath"), aname="_remotePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NasConfigFault_Def not in ns0.NasConnectionLimitReached_Def.__bases__:
                bases = list(ns0.NasConnectionLimitReached_Def.__bases__)
                bases.insert(0, ns0.NasConfigFault_Def)
                ns0.NasConnectionLimitReached_Def.__bases__ = tuple(bases)

            ns0.NasConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NasSessionCredentialConflict_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NasSessionCredentialConflict")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NasSessionCredentialConflict_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"remoteHost"), aname="_remoteHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"remotePath"), aname="_remotePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NasConfigFault_Def not in ns0.NasSessionCredentialConflict_Def.__bases__:
                bases = list(ns0.NasSessionCredentialConflict_Def.__bases__)
                bases.insert(0, ns0.NasConfigFault_Def)
                ns0.NasSessionCredentialConflict_Def.__bases__ = tuple(bases)

            ns0.NasConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NasVolumeNotMounted_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NasVolumeNotMounted")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NasVolumeNotMounted_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"remoteHost"), aname="_remoteHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"remotePath"), aname="_remotePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NasConfigFault_Def not in ns0.NasVolumeNotMounted_Def.__bases__:
                bases = list(ns0.NasVolumeNotMounted_Def.__bases__)
                bases.insert(0, ns0.NasConfigFault_Def)
                ns0.NasVolumeNotMounted_Def.__bases__ = tuple(bases)

            ns0.NasConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetworkCopyFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetworkCopyFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetworkCopyFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.NetworkCopyFault_Def.__bases__:
                bases = list(ns0.NetworkCopyFault_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.NetworkCopyFault_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetworkDisruptedAndConfigRolledBack_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetworkDisruptedAndConfigRolledBack")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetworkDisruptedAndConfigRolledBack_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.NetworkDisruptedAndConfigRolledBack_Def.__bases__:
                bases = list(ns0.NetworkDisruptedAndConfigRolledBack_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.NetworkDisruptedAndConfigRolledBack_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetworkInaccessible_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetworkInaccessible")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetworkInaccessible_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NasConfigFault_Def not in ns0.NetworkInaccessible_Def.__bases__:
                bases = list(ns0.NetworkInaccessible_Def.__bases__)
                bases.insert(0, ns0.NasConfigFault_Def)
                ns0.NetworkInaccessible_Def.__bases__ = tuple(bases)

            ns0.NasConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetworksMayNotBeTheSame_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetworksMayNotBeTheSame")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetworksMayNotBeTheSame_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.NetworksMayNotBeTheSame_Def.__bases__:
                bases = list(ns0.NetworksMayNotBeTheSame_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.NetworksMayNotBeTheSame_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NicSettingMismatch_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NicSettingMismatch")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NicSettingMismatch_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numberOfNicsInSpec"), aname="_numberOfNicsInSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numberOfNicsInVM"), aname="_numberOfNicsInVM", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFault_Def not in ns0.NicSettingMismatch_Def.__bases__:
                bases = list(ns0.NicSettingMismatch_Def.__bases__)
                bases.insert(0, ns0.CustomizationFault_Def)
                ns0.NicSettingMismatch_Def.__bases__ = tuple(bases)

            ns0.CustomizationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoActiveHostInCluster_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoActiveHostInCluster")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoActiveHostInCluster_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"computeResource"), aname="_computeResource", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidState_Def not in ns0.NoActiveHostInCluster_Def.__bases__:
                bases = list(ns0.NoActiveHostInCluster_Def.__bases__)
                bases.insert(0, ns0.InvalidState_Def)
                ns0.NoActiveHostInCluster_Def.__bases__ = tuple(bases)

            ns0.InvalidState_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoAvailableIp_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoAvailableIp")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoAvailableIp_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VAppPropertyFault_Def not in ns0.NoAvailableIp_Def.__bases__:
                bases = list(ns0.NoAvailableIp_Def.__bases__)
                bases.insert(0, ns0.VAppPropertyFault_Def)
                ns0.NoAvailableIp_Def.__bases__ = tuple(bases)

            ns0.VAppPropertyFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoClientCertificate_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoClientCertificate")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoClientCertificate_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.NoClientCertificate_Def.__bases__:
                bases = list(ns0.NoClientCertificate_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.NoClientCertificate_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoCompatibleDatastore_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoCompatibleDatastore")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoCompatibleDatastore_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.NoCompatibleDatastore_Def.__bases__:
                bases = list(ns0.NoCompatibleDatastore_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.NoCompatibleDatastore_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoCompatibleHardAffinityHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoCompatibleHardAffinityHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoCompatibleHardAffinityHost_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.NoCompatibleHardAffinityHost_Def.__bases__:
                bases = list(ns0.NoCompatibleHardAffinityHost_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.NoCompatibleHardAffinityHost_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoCompatibleHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoCompatibleHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoCompatibleHost_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.NoCompatibleHost_Def.__bases__:
                bases = list(ns0.NoCompatibleHost_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.NoCompatibleHost_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoCompatibleHostWithAccessToDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoCompatibleHostWithAccessToDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoCompatibleHostWithAccessToDevice_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NoCompatibleHost_Def not in ns0.NoCompatibleHostWithAccessToDevice_Def.__bases__:
                bases = list(ns0.NoCompatibleHostWithAccessToDevice_Def.__bases__)
                bases.insert(0, ns0.NoCompatibleHost_Def)
                ns0.NoCompatibleHostWithAccessToDevice_Def.__bases__ = tuple(bases)

            ns0.NoCompatibleHost_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoCompatibleSoftAffinityHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoCompatibleSoftAffinityHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoCompatibleSoftAffinityHost_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.NoCompatibleSoftAffinityHost_Def.__bases__:
                bases = list(ns0.NoCompatibleSoftAffinityHost_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.NoCompatibleSoftAffinityHost_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoConnectedDatastore_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoConnectedDatastore")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoConnectedDatastore_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.NoConnectedDatastore_Def.__bases__:
                bases = list(ns0.NoConnectedDatastore_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.NoConnectedDatastore_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoDiskFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoDiskFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoDiskFound_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.NoDiskFound_Def.__bases__:
                bases = list(ns0.NoDiskFound_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.NoDiskFound_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoDiskSpace_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoDiskSpace")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoDiskSpace_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.NoDiskSpace_Def.__bases__:
                bases = list(ns0.NoDiskSpace_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.NoDiskSpace_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoDisksToCustomize_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoDisksToCustomize")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoDisksToCustomize_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFault_Def not in ns0.NoDisksToCustomize_Def.__bases__:
                bases = list(ns0.NoDisksToCustomize_Def.__bases__)
                bases.insert(0, ns0.CustomizationFault_Def)
                ns0.NoDisksToCustomize_Def.__bases__ = tuple(bases)

            ns0.CustomizationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoGateway_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoGateway")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoGateway_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConfigFault_Def not in ns0.NoGateway_Def.__bases__:
                bases = list(ns0.NoGateway_Def.__bases__)
                bases.insert(0, ns0.HostConfigFault_Def)
                ns0.NoGateway_Def.__bases__ = tuple(bases)

            ns0.HostConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoGuestHeartbeat_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoGuestHeartbeat")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoGuestHeartbeat_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.NoGuestHeartbeat_Def.__bases__:
                bases = list(ns0.NoGuestHeartbeat_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.NoGuestHeartbeat_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoHost_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.NoHost_Def.__bases__:
                bases = list(ns0.NoHost_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.NoHost_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoHostSuitableForFtSecondary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoHostSuitableForFtSecondary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoHostSuitableForFtSecondary_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.NoHostSuitableForFtSecondary_Def.__bases__:
                bases = list(ns0.NoHostSuitableForFtSecondary_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.NoHostSuitableForFtSecondary_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoLicenseServerConfigured_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoLicenseServerConfigured")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoLicenseServerConfigured_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.NoLicenseServerConfigured_Def.__bases__:
                bases = list(ns0.NoLicenseServerConfigured_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.NoLicenseServerConfigured_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoPeerHostFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoPeerHostFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoPeerHostFound_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostPowerOpFailed_Def not in ns0.NoPeerHostFound_Def.__bases__:
                bases = list(ns0.NoPeerHostFound_Def.__bases__)
                bases.insert(0, ns0.HostPowerOpFailed_Def)
                ns0.NoPeerHostFound_Def.__bases__ = tuple(bases)

            ns0.HostPowerOpFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoPermission_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoPermission")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoPermission_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"object"), aname="_object", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"privilegeId"), aname="_privilegeId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SecurityError_Def not in ns0.NoPermission_Def.__bases__:
                bases = list(ns0.NoPermission_Def.__bases__)
                bases.insert(0, ns0.SecurityError_Def)
                ns0.NoPermission_Def.__bases__ = tuple(bases)

            ns0.SecurityError_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoPermissionOnAD_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoPermissionOnAD")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoPermissionOnAD_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ActiveDirectoryFault_Def not in ns0.NoPermissionOnAD_Def.__bases__:
                bases = list(ns0.NoPermissionOnAD_Def.__bases__)
                bases.insert(0, ns0.ActiveDirectoryFault_Def)
                ns0.NoPermissionOnAD_Def.__bases__ = tuple(bases)

            ns0.ActiveDirectoryFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoPermissionOnHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoPermissionOnHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoPermissionOnHost_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.NoPermissionOnHost_Def.__bases__:
                bases = list(ns0.NoPermissionOnHost_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.NoPermissionOnHost_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoPermissionOnNasVolume_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoPermissionOnNasVolume")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoPermissionOnNasVolume_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NasConfigFault_Def not in ns0.NoPermissionOnNasVolume_Def.__bases__:
                bases = list(ns0.NoPermissionOnNasVolume_Def.__bases__)
                bases.insert(0, ns0.NasConfigFault_Def)
                ns0.NoPermissionOnNasVolume_Def.__bases__ = tuple(bases)

            ns0.NasConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoSubjectName_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoSubjectName")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoSubjectName_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.NoSubjectName_Def.__bases__:
                bases = list(ns0.NoSubjectName_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.NoSubjectName_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoVcManagedIpConfigured_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoVcManagedIpConfigured")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoVcManagedIpConfigured_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VAppPropertyFault_Def not in ns0.NoVcManagedIpConfigured_Def.__bases__:
                bases = list(ns0.NoVcManagedIpConfigured_Def.__bases__)
                bases.insert(0, ns0.VAppPropertyFault_Def)
                ns0.NoVcManagedIpConfigured_Def.__bases__ = tuple(bases)

            ns0.VAppPropertyFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoVirtualNic_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoVirtualNic")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoVirtualNic_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConfigFault_Def not in ns0.NoVirtualNic_Def.__bases__:
                bases = list(ns0.NoVirtualNic_Def.__bases__)
                bases.insert(0, ns0.HostConfigFault_Def)
                ns0.NoVirtualNic_Def.__bases__ = tuple(bases)

            ns0.HostConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NoVmInVApp_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NoVmInVApp")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NoVmInVApp_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VAppConfigFault_Def not in ns0.NoVmInVApp_Def.__bases__:
                bases = list(ns0.NoVmInVApp_Def.__bases__)
                bases.insert(0, ns0.VAppConfigFault_Def)
                ns0.NoVmInVApp_Def.__bases__ = tuple(bases)

            ns0.VAppConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NonADUserRequired_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NonADUserRequired")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NonADUserRequired_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ActiveDirectoryFault_Def not in ns0.NonADUserRequired_Def.__bases__:
                bases = list(ns0.NonADUserRequired_Def.__bases__)
                bases.insert(0, ns0.ActiveDirectoryFault_Def)
                ns0.NonADUserRequired_Def.__bases__ = tuple(bases)

            ns0.ActiveDirectoryFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NonHomeRDMVMotionNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NonHomeRDMVMotionNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NonHomeRDMVMotionNotSupported_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFeatureNotSupported_Def not in ns0.NonHomeRDMVMotionNotSupported_Def.__bases__:
                bases = list(ns0.NonHomeRDMVMotionNotSupported_Def.__bases__)
                bases.insert(0, ns0.MigrationFeatureNotSupported_Def)
                ns0.NonHomeRDMVMotionNotSupported_Def.__bases__ = tuple(bases)

            ns0.MigrationFeatureNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NonPersistentDisksNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NonPersistentDisksNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NonPersistentDisksNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceNotSupported_Def not in ns0.NonPersistentDisksNotSupported_Def.__bases__:
                bases = list(ns0.NonPersistentDisksNotSupported_Def.__bases__)
                bases.insert(0, ns0.DeviceNotSupported_Def)
                ns0.NonPersistentDisksNotSupported_Def.__bases__ = tuple(bases)

            ns0.DeviceNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NonVmwareOuiMacNotSupportedHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NonVmwareOuiMacNotSupportedHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NonVmwareOuiMacNotSupportedHost_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotSupportedHost_Def not in ns0.NonVmwareOuiMacNotSupportedHost_Def.__bases__:
                bases = list(ns0.NonVmwareOuiMacNotSupportedHost_Def.__bases__)
                bases.insert(0, ns0.NotSupportedHost_Def)
                ns0.NonVmwareOuiMacNotSupportedHost_Def.__bases__ = tuple(bases)

            ns0.NotSupportedHost_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotADirectory_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotADirectory")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotADirectory_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.NotADirectory_Def.__bases__:
                bases = list(ns0.NotADirectory_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.NotADirectory_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotAFile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotAFile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotAFile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.NotAFile_Def.__bases__:
                bases = list(ns0.NotAFile_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.NotAFile_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotAuthenticated_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotAuthenticated")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotAuthenticated_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NoPermission_Def not in ns0.NotAuthenticated_Def.__bases__:
                bases = list(ns0.NotAuthenticated_Def.__bases__)
                bases.insert(0, ns0.NoPermission_Def)
                ns0.NotAuthenticated_Def.__bases__ = tuple(bases)

            ns0.NoPermission_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotEnoughCpus_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotEnoughCpus")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotEnoughCpus_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numCpuDest"), aname="_numCpuDest", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numCpuVm"), aname="_numCpuVm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.NotEnoughCpus_Def.__bases__:
                bases = list(ns0.NotEnoughCpus_Def.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.NotEnoughCpus_Def.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotEnoughLogicalCpus_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotEnoughLogicalCpus")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotEnoughLogicalCpus_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughCpus_Def not in ns0.NotEnoughLogicalCpus_Def.__bases__:
                bases = list(ns0.NotEnoughLogicalCpus_Def.__bases__)
                bases.insert(0, ns0.NotEnoughCpus_Def)
                ns0.NotEnoughLogicalCpus_Def.__bases__ = tuple(bases)

            ns0.NotEnoughCpus_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotFound_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.NotFound_Def.__bases__:
                bases = list(ns0.NotFound_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.NotFound_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotSupportedDeviceForFTDeviceType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "NotSupportedDeviceForFTDeviceType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class NotSupportedDeviceForFT_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotSupportedDeviceForFT")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotSupportedDeviceForFT_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deviceType"), aname="_deviceType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deviceLabel"), aname="_deviceLabel", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.NotSupportedDeviceForFT_Def.__bases__:
                bases = list(ns0.NotSupportedDeviceForFT_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.NotSupportedDeviceForFT_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotSupportedHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotSupportedHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotSupportedHost_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"productName"), aname="_productName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"productVersion"), aname="_productVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.NotSupportedHost_Def.__bases__:
                bases = list(ns0.NotSupportedHost_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.NotSupportedHost_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotSupportedHostForChecksum_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotSupportedHostForChecksum")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotSupportedHostForChecksum_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.NotSupportedHostForChecksum_Def.__bases__:
                bases = list(ns0.NotSupportedHostForChecksum_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.NotSupportedHostForChecksum_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotSupportedHostForVFlash_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotSupportedHostForVFlash")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotSupportedHostForVFlash_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotSupportedHost_Def not in ns0.NotSupportedHostForVFlash_Def.__bases__:
                bases = list(ns0.NotSupportedHostForVFlash_Def.__bases__)
                bases.insert(0, ns0.NotSupportedHost_Def)
                ns0.NotSupportedHostForVFlash_Def.__bases__ = tuple(bases)

            ns0.NotSupportedHost_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotSupportedHostForVmcp_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotSupportedHostForVmcp")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotSupportedHostForVmcp_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotSupportedHost_Def not in ns0.NotSupportedHostForVmcp_Def.__bases__:
                bases = list(ns0.NotSupportedHostForVmcp_Def.__bases__)
                bases.insert(0, ns0.NotSupportedHost_Def)
                ns0.NotSupportedHostForVmcp_Def.__bases__ = tuple(bases)

            ns0.NotSupportedHost_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotSupportedHostForVmemFile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotSupportedHostForVmemFile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotSupportedHostForVmemFile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotSupportedHost_Def not in ns0.NotSupportedHostForVmemFile_Def.__bases__:
                bases = list(ns0.NotSupportedHostForVmemFile_Def.__bases__)
                bases.insert(0, ns0.NotSupportedHost_Def)
                ns0.NotSupportedHostForVmemFile_Def.__bases__ = tuple(bases)

            ns0.NotSupportedHost_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotSupportedHostForVsan_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotSupportedHostForVsan")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotSupportedHostForVsan_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotSupportedHost_Def not in ns0.NotSupportedHostForVsan_Def.__bases__:
                bases = list(ns0.NotSupportedHostForVsan_Def.__bases__)
                bases.insert(0, ns0.NotSupportedHost_Def)
                ns0.NotSupportedHostForVsan_Def.__bases__ = tuple(bases)

            ns0.NotSupportedHost_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotSupportedHostInCluster_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotSupportedHostInCluster")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotSupportedHostInCluster_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotSupportedHost_Def not in ns0.NotSupportedHostInCluster_Def.__bases__:
                bases = list(ns0.NotSupportedHostInCluster_Def.__bases__)
                bases.insert(0, ns0.NotSupportedHost_Def)
                ns0.NotSupportedHostInCluster_Def.__bases__ = tuple(bases)

            ns0.NotSupportedHost_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotSupportedHostInDvs_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotSupportedHostInDvs")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotSupportedHostInDvs_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"switchProductSpec"), aname="_switchProductSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotSupportedHost_Def not in ns0.NotSupportedHostInDvs_Def.__bases__:
                bases = list(ns0.NotSupportedHostInDvs_Def.__bases__)
                bases.insert(0, ns0.NotSupportedHost_Def)
                ns0.NotSupportedHostInDvs_Def.__bases__ = tuple(bases)

            ns0.NotSupportedHost_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotSupportedHostInHACluster_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotSupportedHostInHACluster")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotSupportedHostInHACluster_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"build"), aname="_build", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotSupportedHost_Def not in ns0.NotSupportedHostInHACluster_Def.__bases__:
                bases = list(ns0.NotSupportedHostInHACluster_Def.__bases__)
                bases.insert(0, ns0.NotSupportedHost_Def)
                ns0.NotSupportedHostInHACluster_Def.__bases__ = tuple(bases)

            ns0.NotSupportedHost_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NotUserConfigurableProperty_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NotUserConfigurableProperty")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NotUserConfigurableProperty_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VAppPropertyFault_Def not in ns0.NotUserConfigurableProperty_Def.__bases__:
                bases = list(ns0.NotUserConfigurableProperty_Def.__bases__)
                bases.insert(0, ns0.VAppPropertyFault_Def)
                ns0.NotUserConfigurableProperty_Def.__bases__ = tuple(bases)

            ns0.VAppPropertyFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NumVirtualCoresPerSocketNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NumVirtualCoresPerSocketNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NumVirtualCoresPerSocketNotSupported_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxSupportedCoresPerSocketDest"), aname="_maxSupportedCoresPerSocketDest", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numCoresPerSocketVm"), aname="_numCoresPerSocketVm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.NumVirtualCoresPerSocketNotSupported_Def.__bases__:
                bases = list(ns0.NumVirtualCoresPerSocketNotSupported_Def.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.NumVirtualCoresPerSocketNotSupported_Def.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NumVirtualCpusExceedsLimit_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NumVirtualCpusExceedsLimit")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NumVirtualCpusExceedsLimit_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxSupportedVcpus"), aname="_maxSupportedVcpus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.NumVirtualCpusExceedsLimit_Def.__bases__:
                bases = list(ns0.NumVirtualCpusExceedsLimit_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.NumVirtualCpusExceedsLimit_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NumVirtualCpusIncompatibleReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "NumVirtualCpusIncompatibleReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class NumVirtualCpusIncompatible_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NumVirtualCpusIncompatible")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NumVirtualCpusIncompatible_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numCpu"), aname="_numCpu", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.NumVirtualCpusIncompatible_Def.__bases__:
                bases = list(ns0.NumVirtualCpusIncompatible_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.NumVirtualCpusIncompatible_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NumVirtualCpusNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NumVirtualCpusNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NumVirtualCpusNotSupported_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxSupportedVcpusDest"), aname="_maxSupportedVcpusDest", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numCpuVm"), aname="_numCpuVm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.NumVirtualCpusNotSupported_Def.__bases__:
                bases = list(ns0.NumVirtualCpusNotSupported_Def.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.NumVirtualCpusNotSupported_Def.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OperationDisabledByGuest_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OperationDisabledByGuest")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OperationDisabledByGuest_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestOperationsFault_Def not in ns0.OperationDisabledByGuest_Def.__bases__:
                bases = list(ns0.OperationDisabledByGuest_Def.__bases__)
                bases.insert(0, ns0.GuestOperationsFault_Def)
                ns0.OperationDisabledByGuest_Def.__bases__ = tuple(bases)

            ns0.GuestOperationsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OperationDisallowedOnHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OperationDisallowedOnHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OperationDisallowedOnHost_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.OperationDisallowedOnHost_Def.__bases__:
                bases = list(ns0.OperationDisallowedOnHost_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.OperationDisallowedOnHost_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OperationNotSupportedByGuest_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OperationNotSupportedByGuest")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OperationNotSupportedByGuest_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestOperationsFault_Def not in ns0.OperationNotSupportedByGuest_Def.__bases__:
                bases = list(ns0.OperationNotSupportedByGuest_Def.__bases__)
                bases.insert(0, ns0.GuestOperationsFault_Def)
                ns0.OperationNotSupportedByGuest_Def.__bases__ = tuple(bases)

            ns0.GuestOperationsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OutOfBounds_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OutOfBounds")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OutOfBounds_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"argumentName"), aname="_argumentName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.OutOfBounds_Def.__bases__:
                bases = list(ns0.OutOfBounds_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.OutOfBounds_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfAttribute_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfAttribute")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfAttribute_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"elementName"), aname="_elementName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"attributeName"), aname="_attributeName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfInvalidPackage_Def not in ns0.OvfAttribute_Def.__bases__:
                bases = list(ns0.OvfAttribute_Def.__bases__)
                bases.insert(0, ns0.OvfInvalidPackage_Def)
                ns0.OvfAttribute_Def.__bases__ = tuple(bases)

            ns0.OvfInvalidPackage_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfConnectedDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfConnectedDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfConnectedDevice_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfHardwareExport_Def not in ns0.OvfConnectedDevice_Def.__bases__:
                bases = list(ns0.OvfConnectedDevice_Def.__bases__)
                bases.insert(0, ns0.OvfHardwareExport_Def)
                ns0.OvfConnectedDevice_Def.__bases__ = tuple(bases)

            ns0.OvfHardwareExport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfConnectedDeviceFloppy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfConnectedDeviceFloppy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfConnectedDeviceFloppy_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"filename"), aname="_filename", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfConnectedDevice_Def not in ns0.OvfConnectedDeviceFloppy_Def.__bases__:
                bases = list(ns0.OvfConnectedDeviceFloppy_Def.__bases__)
                bases.insert(0, ns0.OvfConnectedDevice_Def)
                ns0.OvfConnectedDeviceFloppy_Def.__bases__ = tuple(bases)

            ns0.OvfConnectedDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfConnectedDeviceIso_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfConnectedDeviceIso")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfConnectedDeviceIso_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"filename"), aname="_filename", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfConnectedDevice_Def not in ns0.OvfConnectedDeviceIso_Def.__bases__:
                bases = list(ns0.OvfConnectedDeviceIso_Def.__bases__)
                bases.insert(0, ns0.OvfConnectedDevice_Def)
                ns0.OvfConnectedDeviceIso_Def.__bases__ = tuple(bases)

            ns0.OvfConnectedDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfConstraint_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfConstraint")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfConstraint_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfInvalidPackage_Def not in ns0.OvfConstraint_Def.__bases__:
                bases = list(ns0.OvfConstraint_Def.__bases__)
                bases.insert(0, ns0.OvfInvalidPackage_Def)
                ns0.OvfConstraint_Def.__bases__ = tuple(bases)

            ns0.OvfInvalidPackage_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfConsumerCallbackFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfConsumerCallbackFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfConsumerCallbackFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"extensionName"), aname="_extensionName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfFault_Def not in ns0.OvfConsumerCallbackFault_Def.__bases__:
                bases = list(ns0.OvfConsumerCallbackFault_Def.__bases__)
                bases.insert(0, ns0.OvfFault_Def)
                ns0.OvfConsumerCallbackFault_Def.__bases__ = tuple(bases)

            ns0.OvfFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfConsumerCommunicationError_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfConsumerCommunicationError")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfConsumerCommunicationError_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfConsumerCallbackFault_Def not in ns0.OvfConsumerCommunicationError_Def.__bases__:
                bases = list(ns0.OvfConsumerCommunicationError_Def.__bases__)
                bases.insert(0, ns0.OvfConsumerCallbackFault_Def)
                ns0.OvfConsumerCommunicationError_Def.__bases__ = tuple(bases)

            ns0.OvfConsumerCallbackFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfConsumerFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfConsumerFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfConsumerFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"errorKey"), aname="_errorKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"params"), aname="_params", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfConsumerCallbackFault_Def not in ns0.OvfConsumerFault_Def.__bases__:
                bases = list(ns0.OvfConsumerFault_Def.__bases__)
                bases.insert(0, ns0.OvfConsumerCallbackFault_Def)
                ns0.OvfConsumerFault_Def.__bases__ = tuple(bases)

            ns0.OvfConsumerCallbackFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfConsumerInvalidSection_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfConsumerInvalidSection")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfConsumerInvalidSection_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"lineNumber"), aname="_lineNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfConsumerCallbackFault_Def not in ns0.OvfConsumerInvalidSection_Def.__bases__:
                bases = list(ns0.OvfConsumerInvalidSection_Def.__bases__)
                bases.insert(0, ns0.OvfConsumerCallbackFault_Def)
                ns0.OvfConsumerInvalidSection_Def.__bases__ = tuple(bases)

            ns0.OvfConsumerCallbackFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfConsumerPowerOnFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfConsumerPowerOnFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfConsumerPowerOnFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"extensionName"), aname="_extensionName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidState_Def not in ns0.OvfConsumerPowerOnFault_Def.__bases__:
                bases = list(ns0.OvfConsumerPowerOnFault_Def.__bases__)
                bases.insert(0, ns0.InvalidState_Def)
                ns0.OvfConsumerPowerOnFault_Def.__bases__ = tuple(bases)

            ns0.InvalidState_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfConsumerUndeclaredSection_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfConsumerUndeclaredSection")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfConsumerUndeclaredSection_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"qualifiedSectionType"), aname="_qualifiedSectionType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfConsumerCallbackFault_Def not in ns0.OvfConsumerUndeclaredSection_Def.__bases__:
                bases = list(ns0.OvfConsumerUndeclaredSection_Def.__bases__)
                bases.insert(0, ns0.OvfConsumerCallbackFault_Def)
                ns0.OvfConsumerUndeclaredSection_Def.__bases__ = tuple(bases)

            ns0.OvfConsumerCallbackFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfConsumerUndefinedPrefix_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfConsumerUndefinedPrefix")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfConsumerUndefinedPrefix_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"prefix"), aname="_prefix", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfConsumerCallbackFault_Def not in ns0.OvfConsumerUndefinedPrefix_Def.__bases__:
                bases = list(ns0.OvfConsumerUndefinedPrefix_Def.__bases__)
                bases.insert(0, ns0.OvfConsumerCallbackFault_Def)
                ns0.OvfConsumerUndefinedPrefix_Def.__bases__ = tuple(bases)

            ns0.OvfConsumerCallbackFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfConsumerValidationFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfConsumerValidationFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfConsumerValidationFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"extensionName"), aname="_extensionName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.OvfConsumerValidationFault_Def.__bases__:
                bases = list(ns0.OvfConsumerValidationFault_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.OvfConsumerValidationFault_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfCpuCompatibility_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfCpuCompatibility")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfCpuCompatibility_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"registerName"), aname="_registerName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"level"), aname="_level", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"registerValue"), aname="_registerValue", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"desiredRegisterValue"), aname="_desiredRegisterValue", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfImport_Def not in ns0.OvfCpuCompatibility_Def.__bases__:
                bases = list(ns0.OvfCpuCompatibility_Def.__bases__)
                bases.insert(0, ns0.OvfImport_Def)
                ns0.OvfCpuCompatibility_Def.__bases__ = tuple(bases)

            ns0.OvfImport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfCpuCompatibilityCheckNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfCpuCompatibilityCheckNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfCpuCompatibilityCheckNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfImport_Def not in ns0.OvfCpuCompatibilityCheckNotSupported_Def.__bases__:
                bases = list(ns0.OvfCpuCompatibilityCheckNotSupported_Def.__bases__)
                bases.insert(0, ns0.OvfImport_Def)
                ns0.OvfCpuCompatibilityCheckNotSupported_Def.__bases__ = tuple(bases)

            ns0.OvfImport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfDiskMappingNotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfDiskMappingNotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfDiskMappingNotFound_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskName"), aname="_diskName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfSystemFault_Def not in ns0.OvfDiskMappingNotFound_Def.__bases__:
                bases = list(ns0.OvfDiskMappingNotFound_Def.__bases__)
                bases.insert(0, ns0.OvfSystemFault_Def)
                ns0.OvfDiskMappingNotFound_Def.__bases__ = tuple(bases)

            ns0.OvfSystemFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfDiskOrderConstraint_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfDiskOrderConstraint")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfDiskOrderConstraint_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfConstraint_Def not in ns0.OvfDiskOrderConstraint_Def.__bases__:
                bases = list(ns0.OvfDiskOrderConstraint_Def.__bases__)
                bases.insert(0, ns0.OvfConstraint_Def)
                ns0.OvfDiskOrderConstraint_Def.__bases__ = tuple(bases)

            ns0.OvfConstraint_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfDuplicateElement_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfDuplicateElement")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfDuplicateElement_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfElement_Def not in ns0.OvfDuplicateElement_Def.__bases__:
                bases = list(ns0.OvfDuplicateElement_Def.__bases__)
                bases.insert(0, ns0.OvfElement_Def)
                ns0.OvfDuplicateElement_Def.__bases__ = tuple(bases)

            ns0.OvfElement_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfDuplicatedElementBoundary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfDuplicatedElementBoundary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfDuplicatedElementBoundary_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"boundary"), aname="_boundary", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfElement_Def not in ns0.OvfDuplicatedElementBoundary_Def.__bases__:
                bases = list(ns0.OvfDuplicatedElementBoundary_Def.__bases__)
                bases.insert(0, ns0.OvfElement_Def)
                ns0.OvfDuplicatedElementBoundary_Def.__bases__ = tuple(bases)

            ns0.OvfElement_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfDuplicatedPropertyIdExport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfDuplicatedPropertyIdExport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfDuplicatedPropertyIdExport_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"fqid"), aname="_fqid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfExport_Def not in ns0.OvfDuplicatedPropertyIdExport_Def.__bases__:
                bases = list(ns0.OvfDuplicatedPropertyIdExport_Def.__bases__)
                bases.insert(0, ns0.OvfExport_Def)
                ns0.OvfDuplicatedPropertyIdExport_Def.__bases__ = tuple(bases)

            ns0.OvfExport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfDuplicatedPropertyIdImport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfDuplicatedPropertyIdImport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfDuplicatedPropertyIdImport_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfExport_Def not in ns0.OvfDuplicatedPropertyIdImport_Def.__bases__:
                bases = list(ns0.OvfDuplicatedPropertyIdImport_Def.__bases__)
                bases.insert(0, ns0.OvfExport_Def)
                ns0.OvfDuplicatedPropertyIdImport_Def.__bases__ = tuple(bases)

            ns0.OvfExport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfElement_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfElement")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfElement_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfInvalidPackage_Def not in ns0.OvfElement_Def.__bases__:
                bases = list(ns0.OvfElement_Def.__bases__)
                bases.insert(0, ns0.OvfInvalidPackage_Def)
                ns0.OvfElement_Def.__bases__ = tuple(bases)

            ns0.OvfInvalidPackage_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfElementInvalidValue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfElementInvalidValue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfElementInvalidValue_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfElement_Def not in ns0.OvfElementInvalidValue_Def.__bases__:
                bases = list(ns0.OvfElementInvalidValue_Def.__bases__)
                bases.insert(0, ns0.OvfElement_Def)
                ns0.OvfElementInvalidValue_Def.__bases__ = tuple(bases)

            ns0.OvfElement_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfExport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfExport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfExport_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfFault_Def not in ns0.OvfExport_Def.__bases__:
                bases = list(ns0.OvfExport_Def.__bases__)
                bases.insert(0, ns0.OvfFault_Def)
                ns0.OvfExport_Def.__bases__ = tuple(bases)

            ns0.OvfFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfExportFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfExportFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfExportFailed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfExport_Def not in ns0.OvfExportFailed_Def.__bases__:
                bases = list(ns0.OvfExportFailed_Def.__bases__)
                bases.insert(0, ns0.OvfExport_Def)
                ns0.OvfExportFailed_Def.__bases__ = tuple(bases)

            ns0.OvfExport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.OvfFault_Def.__bases__:
                bases = list(ns0.OvfFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.OvfFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfHardwareCheck_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfHardwareCheck")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfHardwareCheck_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfImport_Def not in ns0.OvfHardwareCheck_Def.__bases__:
                bases = list(ns0.OvfHardwareCheck_Def.__bases__)
                bases.insert(0, ns0.OvfImport_Def)
                ns0.OvfHardwareCheck_Def.__bases__ = tuple(bases)

            ns0.OvfImport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfHardwareExport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfHardwareExport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfHardwareExport_Def.schema
            TClist = [GTD("urn:vim25","VirtualDevice",lazy=True)(pname=(ns,"device"), aname="_device", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmPath"), aname="_vmPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfExport_Def not in ns0.OvfHardwareExport_Def.__bases__:
                bases = list(ns0.OvfHardwareExport_Def.__bases__)
                bases.insert(0, ns0.OvfExport_Def)
                ns0.OvfHardwareExport_Def.__bases__ = tuple(bases)

            ns0.OvfExport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfHostResourceConstraint_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfHostResourceConstraint")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfHostResourceConstraint_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfConstraint_Def not in ns0.OvfHostResourceConstraint_Def.__bases__:
                bases = list(ns0.OvfHostResourceConstraint_Def.__bases__)
                bases.insert(0, ns0.OvfConstraint_Def)
                ns0.OvfHostResourceConstraint_Def.__bases__ = tuple(bases)

            ns0.OvfConstraint_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfHostValueNotParsed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfHostValueNotParsed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfHostValueNotParsed_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"property"), aname="_property", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfSystemFault_Def not in ns0.OvfHostValueNotParsed_Def.__bases__:
                bases = list(ns0.OvfHostValueNotParsed_Def.__bases__)
                bases.insert(0, ns0.OvfSystemFault_Def)
                ns0.OvfHostValueNotParsed_Def.__bases__ = tuple(bases)

            ns0.OvfSystemFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfImport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfImport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfImport_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfFault_Def not in ns0.OvfImport_Def.__bases__:
                bases = list(ns0.OvfImport_Def.__bases__)
                bases.insert(0, ns0.OvfFault_Def)
                ns0.OvfImport_Def.__bases__ = tuple(bases)

            ns0.OvfFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfImportFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfImportFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfImportFailed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfImport_Def not in ns0.OvfImportFailed_Def.__bases__:
                bases = list(ns0.OvfImportFailed_Def.__bases__)
                bases.insert(0, ns0.OvfImport_Def)
                ns0.OvfImportFailed_Def.__bases__ = tuple(bases)

            ns0.OvfImport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfInternalError_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfInternalError")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfInternalError_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfSystemFault_Def not in ns0.OvfInternalError_Def.__bases__:
                bases = list(ns0.OvfInternalError_Def.__bases__)
                bases.insert(0, ns0.OvfSystemFault_Def)
                ns0.OvfInternalError_Def.__bases__ = tuple(bases)

            ns0.OvfSystemFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfInvalidPackage_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfInvalidPackage")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfInvalidPackage_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"lineNumber"), aname="_lineNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfFault_Def not in ns0.OvfInvalidPackage_Def.__bases__:
                bases = list(ns0.OvfInvalidPackage_Def.__bases__)
                bases.insert(0, ns0.OvfFault_Def)
                ns0.OvfInvalidPackage_Def.__bases__ = tuple(bases)

            ns0.OvfFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfInvalidValue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfInvalidValue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfInvalidValue_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfAttribute_Def not in ns0.OvfInvalidValue_Def.__bases__:
                bases = list(ns0.OvfInvalidValue_Def.__bases__)
                bases.insert(0, ns0.OvfAttribute_Def)
                ns0.OvfInvalidValue_Def.__bases__ = tuple(bases)

            ns0.OvfAttribute_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfInvalidValueConfiguration_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfInvalidValueConfiguration")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfInvalidValueConfiguration_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfInvalidValue_Def not in ns0.OvfInvalidValueConfiguration_Def.__bases__:
                bases = list(ns0.OvfInvalidValueConfiguration_Def.__bases__)
                bases.insert(0, ns0.OvfInvalidValue_Def)
                ns0.OvfInvalidValueConfiguration_Def.__bases__ = tuple(bases)

            ns0.OvfInvalidValue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfInvalidValueEmpty_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfInvalidValueEmpty")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfInvalidValueEmpty_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfInvalidValue_Def not in ns0.OvfInvalidValueEmpty_Def.__bases__:
                bases = list(ns0.OvfInvalidValueEmpty_Def.__bases__)
                bases.insert(0, ns0.OvfInvalidValue_Def)
                ns0.OvfInvalidValueEmpty_Def.__bases__ = tuple(bases)

            ns0.OvfInvalidValue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfInvalidValueFormatMalformed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfInvalidValueFormatMalformed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfInvalidValueFormatMalformed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfInvalidValue_Def not in ns0.OvfInvalidValueFormatMalformed_Def.__bases__:
                bases = list(ns0.OvfInvalidValueFormatMalformed_Def.__bases__)
                bases.insert(0, ns0.OvfInvalidValue_Def)
                ns0.OvfInvalidValueFormatMalformed_Def.__bases__ = tuple(bases)

            ns0.OvfInvalidValue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfInvalidValueReference_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfInvalidValueReference")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfInvalidValueReference_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfInvalidValue_Def not in ns0.OvfInvalidValueReference_Def.__bases__:
                bases = list(ns0.OvfInvalidValueReference_Def.__bases__)
                bases.insert(0, ns0.OvfInvalidValue_Def)
                ns0.OvfInvalidValueReference_Def.__bases__ = tuple(bases)

            ns0.OvfInvalidValue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfInvalidVmName_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfInvalidVmName")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfInvalidVmName_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfUnsupportedPackage_Def not in ns0.OvfInvalidVmName_Def.__bases__:
                bases = list(ns0.OvfInvalidVmName_Def.__bases__)
                bases.insert(0, ns0.OvfUnsupportedPackage_Def)
                ns0.OvfInvalidVmName_Def.__bases__ = tuple(bases)

            ns0.OvfUnsupportedPackage_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfMappedOsId_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfMappedOsId")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfMappedOsId_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"ovfId"), aname="_ovfId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ovfDescription"), aname="_ovfDescription", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"targetDescription"), aname="_targetDescription", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfImport_Def not in ns0.OvfMappedOsId_Def.__bases__:
                bases = list(ns0.OvfMappedOsId_Def.__bases__)
                bases.insert(0, ns0.OvfImport_Def)
                ns0.OvfMappedOsId_Def.__bases__ = tuple(bases)

            ns0.OvfImport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfMissingAttribute_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfMissingAttribute")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfMissingAttribute_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfAttribute_Def not in ns0.OvfMissingAttribute_Def.__bases__:
                bases = list(ns0.OvfMissingAttribute_Def.__bases__)
                bases.insert(0, ns0.OvfAttribute_Def)
                ns0.OvfMissingAttribute_Def.__bases__ = tuple(bases)

            ns0.OvfAttribute_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfMissingElement_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfMissingElement")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfMissingElement_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfElement_Def not in ns0.OvfMissingElement_Def.__bases__:
                bases = list(ns0.OvfMissingElement_Def.__bases__)
                bases.insert(0, ns0.OvfElement_Def)
                ns0.OvfMissingElement_Def.__bases__ = tuple(bases)

            ns0.OvfElement_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfMissingElementNormalBoundary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfMissingElementNormalBoundary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfMissingElementNormalBoundary_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"boundary"), aname="_boundary", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfMissingElement_Def not in ns0.OvfMissingElementNormalBoundary_Def.__bases__:
                bases = list(ns0.OvfMissingElementNormalBoundary_Def.__bases__)
                bases.insert(0, ns0.OvfMissingElement_Def)
                ns0.OvfMissingElementNormalBoundary_Def.__bases__ = tuple(bases)

            ns0.OvfMissingElement_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfMissingHardware_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfMissingHardware")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfMissingHardware_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"resourceType"), aname="_resourceType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfImport_Def not in ns0.OvfMissingHardware_Def.__bases__:
                bases = list(ns0.OvfMissingHardware_Def.__bases__)
                bases.insert(0, ns0.OvfImport_Def)
                ns0.OvfMissingHardware_Def.__bases__ = tuple(bases)

            ns0.OvfImport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfNetworkMappingNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfNetworkMappingNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfNetworkMappingNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfImport_Def not in ns0.OvfNetworkMappingNotSupported_Def.__bases__:
                bases = list(ns0.OvfNetworkMappingNotSupported_Def.__bases__)
                bases.insert(0, ns0.OvfImport_Def)
                ns0.OvfNetworkMappingNotSupported_Def.__bases__ = tuple(bases)

            ns0.OvfImport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfNoHostNic_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfNoHostNic")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfNoHostNic_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfUnsupportedPackage_Def not in ns0.OvfNoHostNic_Def.__bases__:
                bases = list(ns0.OvfNoHostNic_Def.__bases__)
                bases.insert(0, ns0.OvfUnsupportedPackage_Def)
                ns0.OvfNoHostNic_Def.__bases__ = tuple(bases)

            ns0.OvfUnsupportedPackage_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfNoSpaceOnController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfNoSpaceOnController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfNoSpaceOnController_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"parent"), aname="_parent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfUnsupportedElement_Def not in ns0.OvfNoSpaceOnController_Def.__bases__:
                bases = list(ns0.OvfNoSpaceOnController_Def.__bases__)
                bases.insert(0, ns0.OvfUnsupportedElement_Def)
                ns0.OvfNoSpaceOnController_Def.__bases__ = tuple(bases)

            ns0.OvfUnsupportedElement_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfNoSupportedHardwareFamily_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfNoSupportedHardwareFamily")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfNoSupportedHardwareFamily_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfUnsupportedPackage_Def not in ns0.OvfNoSupportedHardwareFamily_Def.__bases__:
                bases = list(ns0.OvfNoSupportedHardwareFamily_Def.__bases__)
                bases.insert(0, ns0.OvfUnsupportedPackage_Def)
                ns0.OvfNoSupportedHardwareFamily_Def.__bases__ = tuple(bases)

            ns0.OvfUnsupportedPackage_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfProperty_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfProperty")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfProperty_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfInvalidPackage_Def not in ns0.OvfProperty_Def.__bases__:
                bases = list(ns0.OvfProperty_Def.__bases__)
                bases.insert(0, ns0.OvfInvalidPackage_Def)
                ns0.OvfProperty_Def.__bases__ = tuple(bases)

            ns0.OvfInvalidPackage_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfPropertyExport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfPropertyExport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfPropertyExport_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfExport_Def not in ns0.OvfPropertyExport_Def.__bases__:
                bases = list(ns0.OvfPropertyExport_Def.__bases__)
                bases.insert(0, ns0.OvfExport_Def)
                ns0.OvfPropertyExport_Def.__bases__ = tuple(bases)

            ns0.OvfExport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfPropertyNetwork_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfPropertyNetwork")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfPropertyNetwork_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfProperty_Def not in ns0.OvfPropertyNetwork_Def.__bases__:
                bases = list(ns0.OvfPropertyNetwork_Def.__bases__)
                bases.insert(0, ns0.OvfProperty_Def)
                ns0.OvfPropertyNetwork_Def.__bases__ = tuple(bases)

            ns0.OvfProperty_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfPropertyNetworkExport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfPropertyNetworkExport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfPropertyNetworkExport_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"network"), aname="_network", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfExport_Def not in ns0.OvfPropertyNetworkExport_Def.__bases__:
                bases = list(ns0.OvfPropertyNetworkExport_Def.__bases__)
                bases.insert(0, ns0.OvfExport_Def)
                ns0.OvfPropertyNetworkExport_Def.__bases__ = tuple(bases)

            ns0.OvfExport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfPropertyQualifier_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfPropertyQualifier")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfPropertyQualifier_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"qualifier"), aname="_qualifier", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfProperty_Def not in ns0.OvfPropertyQualifier_Def.__bases__:
                bases = list(ns0.OvfPropertyQualifier_Def.__bases__)
                bases.insert(0, ns0.OvfProperty_Def)
                ns0.OvfPropertyQualifier_Def.__bases__ = tuple(bases)

            ns0.OvfProperty_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfPropertyQualifierDuplicate_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfPropertyQualifierDuplicate")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfPropertyQualifierDuplicate_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"qualifier"), aname="_qualifier", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfProperty_Def not in ns0.OvfPropertyQualifierDuplicate_Def.__bases__:
                bases = list(ns0.OvfPropertyQualifierDuplicate_Def.__bases__)
                bases.insert(0, ns0.OvfProperty_Def)
                ns0.OvfPropertyQualifierDuplicate_Def.__bases__ = tuple(bases)

            ns0.OvfProperty_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfPropertyQualifierIgnored_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfPropertyQualifierIgnored")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfPropertyQualifierIgnored_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"qualifier"), aname="_qualifier", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfProperty_Def not in ns0.OvfPropertyQualifierIgnored_Def.__bases__:
                bases = list(ns0.OvfPropertyQualifierIgnored_Def.__bases__)
                bases.insert(0, ns0.OvfProperty_Def)
                ns0.OvfPropertyQualifierIgnored_Def.__bases__ = tuple(bases)

            ns0.OvfProperty_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfPropertyType_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfPropertyType")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfPropertyType_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfProperty_Def not in ns0.OvfPropertyType_Def.__bases__:
                bases = list(ns0.OvfPropertyType_Def.__bases__)
                bases.insert(0, ns0.OvfProperty_Def)
                ns0.OvfPropertyType_Def.__bases__ = tuple(bases)

            ns0.OvfProperty_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfPropertyValue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfPropertyValue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfPropertyValue_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfProperty_Def not in ns0.OvfPropertyValue_Def.__bases__:
                bases = list(ns0.OvfPropertyValue_Def.__bases__)
                bases.insert(0, ns0.OvfProperty_Def)
                ns0.OvfPropertyValue_Def.__bases__ = tuple(bases)

            ns0.OvfProperty_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfSystemFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfSystemFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfSystemFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfFault_Def not in ns0.OvfSystemFault_Def.__bases__:
                bases = list(ns0.OvfSystemFault_Def.__bases__)
                bases.insert(0, ns0.OvfFault_Def)
                ns0.OvfSystemFault_Def.__bases__ = tuple(bases)

            ns0.OvfFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfToXmlUnsupportedElement_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfToXmlUnsupportedElement")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfToXmlUnsupportedElement_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfSystemFault_Def not in ns0.OvfToXmlUnsupportedElement_Def.__bases__:
                bases = list(ns0.OvfToXmlUnsupportedElement_Def.__bases__)
                bases.insert(0, ns0.OvfSystemFault_Def)
                ns0.OvfToXmlUnsupportedElement_Def.__bases__ = tuple(bases)

            ns0.OvfSystemFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnableToExportDisk_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnableToExportDisk")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnableToExportDisk_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskName"), aname="_diskName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfHardwareExport_Def not in ns0.OvfUnableToExportDisk_Def.__bases__:
                bases = list(ns0.OvfUnableToExportDisk_Def.__bases__)
                bases.insert(0, ns0.OvfHardwareExport_Def)
                ns0.OvfUnableToExportDisk_Def.__bases__ = tuple(bases)

            ns0.OvfHardwareExport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnexpectedElement_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnexpectedElement")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnexpectedElement_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfElement_Def not in ns0.OvfUnexpectedElement_Def.__bases__:
                bases = list(ns0.OvfUnexpectedElement_Def.__bases__)
                bases.insert(0, ns0.OvfElement_Def)
                ns0.OvfUnexpectedElement_Def.__bases__ = tuple(bases)

            ns0.OvfElement_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnknownDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnknownDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnknownDevice_Def.schema
            TClist = [GTD("urn:vim25","VirtualDevice",lazy=True)(pname=(ns,"device"), aname="_device", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfSystemFault_Def not in ns0.OvfUnknownDevice_Def.__bases__:
                bases = list(ns0.OvfUnknownDevice_Def.__bases__)
                bases.insert(0, ns0.OvfSystemFault_Def)
                ns0.OvfUnknownDevice_Def.__bases__ = tuple(bases)

            ns0.OvfSystemFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnknownDeviceBacking_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnknownDeviceBacking")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnknownDeviceBacking_Def.schema
            TClist = [GTD("urn:vim25","VirtualDeviceBackingInfo",lazy=True)(pname=(ns,"backing"), aname="_backing", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfHardwareExport_Def not in ns0.OvfUnknownDeviceBacking_Def.__bases__:
                bases = list(ns0.OvfUnknownDeviceBacking_Def.__bases__)
                bases.insert(0, ns0.OvfHardwareExport_Def)
                ns0.OvfUnknownDeviceBacking_Def.__bases__ = tuple(bases)

            ns0.OvfHardwareExport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnknownEntity_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnknownEntity")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnknownEntity_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"lineNumber"), aname="_lineNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfSystemFault_Def not in ns0.OvfUnknownEntity_Def.__bases__:
                bases = list(ns0.OvfUnknownEntity_Def.__bases__)
                bases.insert(0, ns0.OvfSystemFault_Def)
                ns0.OvfUnknownEntity_Def.__bases__ = tuple(bases)

            ns0.OvfSystemFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnsupportedAttribute_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnsupportedAttribute")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnsupportedAttribute_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"elementName"), aname="_elementName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"attributeName"), aname="_attributeName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfUnsupportedPackage_Def not in ns0.OvfUnsupportedAttribute_Def.__bases__:
                bases = list(ns0.OvfUnsupportedAttribute_Def.__bases__)
                bases.insert(0, ns0.OvfUnsupportedPackage_Def)
                ns0.OvfUnsupportedAttribute_Def.__bases__ = tuple(bases)

            ns0.OvfUnsupportedPackage_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnsupportedAttributeValue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnsupportedAttributeValue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnsupportedAttributeValue_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfUnsupportedAttribute_Def not in ns0.OvfUnsupportedAttributeValue_Def.__bases__:
                bases = list(ns0.OvfUnsupportedAttributeValue_Def.__bases__)
                bases.insert(0, ns0.OvfUnsupportedAttribute_Def)
                ns0.OvfUnsupportedAttributeValue_Def.__bases__ = tuple(bases)

            ns0.OvfUnsupportedAttribute_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnsupportedDeviceBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnsupportedDeviceBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnsupportedDeviceBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"elementName"), aname="_elementName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceId"), aname="_instanceId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deviceName"), aname="_deviceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"backingName"), aname="_backingName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfSystemFault_Def not in ns0.OvfUnsupportedDeviceBackingInfo_Def.__bases__:
                bases = list(ns0.OvfUnsupportedDeviceBackingInfo_Def.__bases__)
                bases.insert(0, ns0.OvfSystemFault_Def)
                ns0.OvfUnsupportedDeviceBackingInfo_Def.__bases__ = tuple(bases)

            ns0.OvfSystemFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnsupportedDeviceBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnsupportedDeviceBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnsupportedDeviceBackingOption_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"elementName"), aname="_elementName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceId"), aname="_instanceId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deviceName"), aname="_deviceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"backingName"), aname="_backingName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfSystemFault_Def not in ns0.OvfUnsupportedDeviceBackingOption_Def.__bases__:
                bases = list(ns0.OvfUnsupportedDeviceBackingOption_Def.__bases__)
                bases.insert(0, ns0.OvfSystemFault_Def)
                ns0.OvfUnsupportedDeviceBackingOption_Def.__bases__ = tuple(bases)

            ns0.OvfSystemFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnsupportedDeviceExport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnsupportedDeviceExport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnsupportedDeviceExport_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfHardwareExport_Def not in ns0.OvfUnsupportedDeviceExport_Def.__bases__:
                bases = list(ns0.OvfUnsupportedDeviceExport_Def.__bases__)
                bases.insert(0, ns0.OvfHardwareExport_Def)
                ns0.OvfUnsupportedDeviceExport_Def.__bases__ = tuple(bases)

            ns0.OvfHardwareExport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnsupportedDiskProvisioning_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnsupportedDiskProvisioning")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnsupportedDiskProvisioning_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskProvisioning"), aname="_diskProvisioning", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportedDiskProvisioning"), aname="_supportedDiskProvisioning", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfImport_Def not in ns0.OvfUnsupportedDiskProvisioning_Def.__bases__:
                bases = list(ns0.OvfUnsupportedDiskProvisioning_Def.__bases__)
                bases.insert(0, ns0.OvfImport_Def)
                ns0.OvfUnsupportedDiskProvisioning_Def.__bases__ = tuple(bases)

            ns0.OvfImport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnsupportedElement_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnsupportedElement")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnsupportedElement_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfUnsupportedPackage_Def not in ns0.OvfUnsupportedElement_Def.__bases__:
                bases = list(ns0.OvfUnsupportedElement_Def.__bases__)
                bases.insert(0, ns0.OvfUnsupportedPackage_Def)
                ns0.OvfUnsupportedElement_Def.__bases__ = tuple(bases)

            ns0.OvfUnsupportedPackage_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnsupportedElementValue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnsupportedElementValue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnsupportedElementValue_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfUnsupportedElement_Def not in ns0.OvfUnsupportedElementValue_Def.__bases__:
                bases = list(ns0.OvfUnsupportedElementValue_Def.__bases__)
                bases.insert(0, ns0.OvfUnsupportedElement_Def)
                ns0.OvfUnsupportedElementValue_Def.__bases__ = tuple(bases)

            ns0.OvfUnsupportedElement_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnsupportedPackage_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnsupportedPackage")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnsupportedPackage_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"lineNumber"), aname="_lineNumber", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfFault_Def not in ns0.OvfUnsupportedPackage_Def.__bases__:
                bases = list(ns0.OvfUnsupportedPackage_Def.__bases__)
                bases.insert(0, ns0.OvfFault_Def)
                ns0.OvfUnsupportedPackage_Def.__bases__ = tuple(bases)

            ns0.OvfFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnsupportedSection_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnsupportedSection")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnsupportedSection_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"info"), aname="_info", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfUnsupportedElement_Def not in ns0.OvfUnsupportedSection_Def.__bases__:
                bases = list(ns0.OvfUnsupportedSection_Def.__bases__)
                bases.insert(0, ns0.OvfUnsupportedElement_Def)
                ns0.OvfUnsupportedSection_Def.__bases__ = tuple(bases)

            ns0.OvfUnsupportedElement_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnsupportedSubType_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnsupportedSubType")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnsupportedSubType_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"elementName"), aname="_elementName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceId"), aname="_instanceId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"deviceType"), aname="_deviceType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deviceSubType"), aname="_deviceSubType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfUnsupportedPackage_Def not in ns0.OvfUnsupportedSubType_Def.__bases__:
                bases = list(ns0.OvfUnsupportedSubType_Def.__bases__)
                bases.insert(0, ns0.OvfUnsupportedPackage_Def)
                ns0.OvfUnsupportedSubType_Def.__bases__ = tuple(bases)

            ns0.OvfUnsupportedPackage_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfUnsupportedType_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfUnsupportedType")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfUnsupportedType_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceId"), aname="_instanceId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"deviceType"), aname="_deviceType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfUnsupportedPackage_Def not in ns0.OvfUnsupportedType_Def.__bases__:
                bases = list(ns0.OvfUnsupportedType_Def.__bases__)
                bases.insert(0, ns0.OvfUnsupportedPackage_Def)
                ns0.OvfUnsupportedType_Def.__bases__ = tuple(bases)

            ns0.OvfUnsupportedPackage_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfWrongElement_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfWrongElement")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfWrongElement_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfElement_Def not in ns0.OvfWrongElement_Def.__bases__:
                bases = list(ns0.OvfWrongElement_Def.__bases__)
                bases.insert(0, ns0.OvfElement_Def)
                ns0.OvfWrongElement_Def.__bases__ = tuple(bases)

            ns0.OvfElement_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfWrongNamespace_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfWrongNamespace")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfWrongNamespace_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"namespaceName"), aname="_namespaceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfInvalidPackage_Def not in ns0.OvfWrongNamespace_Def.__bases__:
                bases = list(ns0.OvfWrongNamespace_Def.__bases__)
                bases.insert(0, ns0.OvfInvalidPackage_Def)
                ns0.OvfWrongNamespace_Def.__bases__ = tuple(bases)

            ns0.OvfInvalidPackage_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OvfXmlFormat_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OvfXmlFormat")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OvfXmlFormat_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OvfInvalidPackage_Def not in ns0.OvfXmlFormat_Def.__bases__:
                bases = list(ns0.OvfXmlFormat_Def.__bases__)
                bases.insert(0, ns0.OvfInvalidPackage_Def)
                ns0.OvfXmlFormat_Def.__bases__ = tuple(bases)

            ns0.OvfInvalidPackage_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PatchAlreadyInstalled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PatchAlreadyInstalled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PatchAlreadyInstalled_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PatchNotApplicable_Def not in ns0.PatchAlreadyInstalled_Def.__bases__:
                bases = list(ns0.PatchAlreadyInstalled_Def.__bases__)
                bases.insert(0, ns0.PatchNotApplicable_Def)
                ns0.PatchAlreadyInstalled_Def.__bases__ = tuple(bases)

            ns0.PatchNotApplicable_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PatchBinariesNotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PatchBinariesNotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PatchBinariesNotFound_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"patchID"), aname="_patchID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"binary"), aname="_binary", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.PatchBinariesNotFound_Def.__bases__:
                bases = list(ns0.PatchBinariesNotFound_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.PatchBinariesNotFound_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PatchInstallFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PatchInstallFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PatchInstallFailed_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"rolledBack"), aname="_rolledBack", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PlatformConfigFault_Def not in ns0.PatchInstallFailed_Def.__bases__:
                bases = list(ns0.PatchInstallFailed_Def.__bases__)
                bases.insert(0, ns0.PlatformConfigFault_Def)
                ns0.PatchInstallFailed_Def.__bases__ = tuple(bases)

            ns0.PlatformConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PatchIntegrityError_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PatchIntegrityError")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PatchIntegrityError_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PlatformConfigFault_Def not in ns0.PatchIntegrityError_Def.__bases__:
                bases = list(ns0.PatchIntegrityError_Def.__bases__)
                bases.insert(0, ns0.PlatformConfigFault_Def)
                ns0.PatchIntegrityError_Def.__bases__ = tuple(bases)

            ns0.PlatformConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PatchMetadataCorrupted_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PatchMetadataCorrupted")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PatchMetadataCorrupted_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PatchMetadataInvalid_Def not in ns0.PatchMetadataCorrupted_Def.__bases__:
                bases = list(ns0.PatchMetadataCorrupted_Def.__bases__)
                bases.insert(0, ns0.PatchMetadataInvalid_Def)
                ns0.PatchMetadataCorrupted_Def.__bases__ = tuple(bases)

            ns0.PatchMetadataInvalid_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PatchMetadataInvalid_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PatchMetadataInvalid")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PatchMetadataInvalid_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"patchID"), aname="_patchID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"metaData"), aname="_metaData", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.PatchMetadataInvalid_Def.__bases__:
                bases = list(ns0.PatchMetadataInvalid_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.PatchMetadataInvalid_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PatchMetadataNotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PatchMetadataNotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PatchMetadataNotFound_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PatchMetadataInvalid_Def not in ns0.PatchMetadataNotFound_Def.__bases__:
                bases = list(ns0.PatchMetadataNotFound_Def.__bases__)
                bases.insert(0, ns0.PatchMetadataInvalid_Def)
                ns0.PatchMetadataNotFound_Def.__bases__ = tuple(bases)

            ns0.PatchMetadataInvalid_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PatchMissingDependencies_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PatchMissingDependencies")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PatchMissingDependencies_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"prerequisitePatch"), aname="_prerequisitePatch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"prerequisiteLib"), aname="_prerequisiteLib", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PatchNotApplicable_Def not in ns0.PatchMissingDependencies_Def.__bases__:
                bases = list(ns0.PatchMissingDependencies_Def.__bases__)
                bases.insert(0, ns0.PatchNotApplicable_Def)
                ns0.PatchMissingDependencies_Def.__bases__ = tuple(bases)

            ns0.PatchNotApplicable_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PatchNotApplicable_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PatchNotApplicable")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PatchNotApplicable_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"patchID"), aname="_patchID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.PatchNotApplicable_Def.__bases__:
                bases = list(ns0.PatchNotApplicable_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.PatchNotApplicable_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PatchSuperseded_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PatchSuperseded")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PatchSuperseded_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"supersede"), aname="_supersede", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PatchNotApplicable_Def not in ns0.PatchSuperseded_Def.__bases__:
                bases = list(ns0.PatchSuperseded_Def.__bases__)
                bases.insert(0, ns0.PatchNotApplicable_Def)
                ns0.PatchSuperseded_Def.__bases__ = tuple(bases)

            ns0.PatchNotApplicable_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PhysCompatRDMNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PhysCompatRDMNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PhysCompatRDMNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RDMNotSupported_Def not in ns0.PhysCompatRDMNotSupported_Def.__bases__:
                bases = list(ns0.PhysCompatRDMNotSupported_Def.__bases__)
                bases.insert(0, ns0.RDMNotSupported_Def)
                ns0.PhysCompatRDMNotSupported_Def.__bases__ = tuple(bases)

            ns0.RDMNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PlatformConfigFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PlatformConfigFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PlatformConfigFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"text"), aname="_text", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConfigFault_Def not in ns0.PlatformConfigFault_Def.__bases__:
                bases = list(ns0.PlatformConfigFault_Def.__bases__)
                bases.insert(0, ns0.HostConfigFault_Def)
                ns0.PlatformConfigFault_Def.__bases__ = tuple(bases)

            ns0.HostConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PowerOnFtSecondaryFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PowerOnFtSecondaryFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PowerOnFtSecondaryFailed_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FtIssuesOnHostHostSelectionType",lazy=True)(pname=(ns,"hostSelectionBy"), aname="_hostSelectionBy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"hostErrors"), aname="_hostErrors", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"rootCause"), aname="_rootCause", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.PowerOnFtSecondaryFailed_Def.__bases__:
                bases = list(ns0.PowerOnFtSecondaryFailed_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.PowerOnFtSecondaryFailed_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PowerOnFtSecondaryTimedout_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PowerOnFtSecondaryTimedout")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PowerOnFtSecondaryTimedout_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"timeout"), aname="_timeout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.Timedout_Def not in ns0.PowerOnFtSecondaryTimedout_Def.__bases__:
                bases = list(ns0.PowerOnFtSecondaryTimedout_Def.__bases__)
                bases.insert(0, ns0.Timedout_Def)
                ns0.PowerOnFtSecondaryTimedout_Def.__bases__ = tuple(bases)

            ns0.Timedout_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileUpdateFailedUpdateFailure_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileUpdateFailedUpdateFailure")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileUpdateFailedUpdateFailure_Def.schema
            TClist = [GTD("urn:vim25","ProfilePropertyPath",lazy=True)(pname=(ns,"profilePath"), aname="_profilePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"errMsg"), aname="_errMsg", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileUpdateFailedUpdateFailure_Def.__bases__:
                bases = list(ns0.ProfileUpdateFailedUpdateFailure_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileUpdateFailedUpdateFailure_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfileUpdateFailedUpdateFailure_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfileUpdateFailedUpdateFailure")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfileUpdateFailedUpdateFailure_Def.schema
            TClist = [GTD("urn:vim25","ProfileUpdateFailedUpdateFailure",lazy=True)(pname=(ns,"ProfileUpdateFailedUpdateFailure"), aname="_ProfileUpdateFailedUpdateFailure", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfileUpdateFailedUpdateFailure = []
                    return
            Holder.__name__ = "ArrayOfProfileUpdateFailedUpdateFailure_Holder"
            self.pyclass = Holder

    class ProfileUpdateFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileUpdateFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileUpdateFailed_Def.schema
            TClist = [GTD("urn:vim25","ProfileUpdateFailedUpdateFailure",lazy=True)(pname=(ns,"failure"), aname="_failure", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileUpdateFailedUpdateFailure",lazy=True)(pname=(ns,"warnings"), aname="_warnings", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.ProfileUpdateFailed_Def.__bases__:
                bases = list(ns0.ProfileUpdateFailed_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.ProfileUpdateFailed_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class QuarantineModeFaultFaultType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QuarantineModeFaultFaultType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class QuarantineModeFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "QuarantineModeFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.QuarantineModeFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"faultType"), aname="_faultType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.QuarantineModeFault_Def.__bases__:
                bases = list(ns0.QuarantineModeFault_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.QuarantineModeFault_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class QuestionPending_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "QuestionPending")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.QuestionPending_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"text"), aname="_text", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidState_Def not in ns0.QuestionPending_Def.__bases__:
                bases = list(ns0.QuestionPending_Def.__bases__)
                bases.insert(0, ns0.InvalidState_Def)
                ns0.QuestionPending_Def.__bases__ = tuple(bases)

            ns0.InvalidState_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class QuiesceDatastoreIOForHAFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "QuiesceDatastoreIOForHAFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.QuiesceDatastoreIOForHAFailed_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"ds"), aname="_ds", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dsName"), aname="_dsName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ResourceInUse_Def not in ns0.QuiesceDatastoreIOForHAFailed_Def.__bases__:
                bases = list(ns0.QuiesceDatastoreIOForHAFailed_Def.__bases__)
                bases.insert(0, ns0.ResourceInUse_Def)
                ns0.QuiesceDatastoreIOForHAFailed_Def.__bases__ = tuple(bases)

            ns0.ResourceInUse_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RDMConversionNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RDMConversionNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RDMConversionNotSupported_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.RDMConversionNotSupported_Def.__bases__:
                bases = list(ns0.RDMConversionNotSupported_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.RDMConversionNotSupported_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RDMNotPreserved_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RDMNotPreserved")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RDMNotPreserved_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.RDMNotPreserved_Def.__bases__:
                bases = list(ns0.RDMNotPreserved_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.RDMNotPreserved_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RDMNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RDMNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RDMNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceNotSupported_Def not in ns0.RDMNotSupported_Def.__bases__:
                bases = list(ns0.RDMNotSupported_Def.__bases__)
                bases.insert(0, ns0.DeviceNotSupported_Def)
                ns0.RDMNotSupported_Def.__bases__ = tuple(bases)

            ns0.DeviceNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RDMNotSupportedOnDatastore_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RDMNotSupportedOnDatastore")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RDMNotSupportedOnDatastore_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastoreName"), aname="_datastoreName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.RDMNotSupportedOnDatastore_Def.__bases__:
                bases = list(ns0.RDMNotSupportedOnDatastore_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.RDMNotSupportedOnDatastore_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RDMPointsToInaccessibleDisk_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RDMPointsToInaccessibleDisk")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RDMPointsToInaccessibleDisk_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CannotAccessVmDisk_Def not in ns0.RDMPointsToInaccessibleDisk_Def.__bases__:
                bases = list(ns0.RDMPointsToInaccessibleDisk_Def.__bases__)
                bases.insert(0, ns0.CannotAccessVmDisk_Def)
                ns0.RDMPointsToInaccessibleDisk_Def.__bases__ = tuple(bases)

            ns0.CannotAccessVmDisk_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RawDiskNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RawDiskNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RawDiskNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceNotSupported_Def not in ns0.RawDiskNotSupported_Def.__bases__:
                bases = list(ns0.RawDiskNotSupported_Def.__bases__)
                bases.insert(0, ns0.DeviceNotSupported_Def)
                ns0.RawDiskNotSupported_Def.__bases__ = tuple(bases)

            ns0.DeviceNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ReadHostResourcePoolTreeFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReadHostResourcePoolTreeFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReadHostResourcePoolTreeFailed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.ReadHostResourcePoolTreeFailed_Def.__bases__:
                bases = list(ns0.ReadHostResourcePoolTreeFailed_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.ReadHostResourcePoolTreeFailed_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ReadOnlyDisksWithLegacyDestination_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReadOnlyDisksWithLegacyDestination")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReadOnlyDisksWithLegacyDestination_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"roDiskCount"), aname="_roDiskCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"timeoutDanger"), aname="_timeoutDanger", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.ReadOnlyDisksWithLegacyDestination_Def.__bases__:
                bases = list(ns0.ReadOnlyDisksWithLegacyDestination_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.ReadOnlyDisksWithLegacyDestination_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RebootRequired_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RebootRequired")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RebootRequired_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"patch"), aname="_patch", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.RebootRequired_Def.__bases__:
                bases = list(ns0.RebootRequired_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.RebootRequired_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RecordReplayDisabled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RecordReplayDisabled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RecordReplayDisabled_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.RecordReplayDisabled_Def.__bases__:
                bases = list(ns0.RecordReplayDisabled_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.RecordReplayDisabled_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RemoteDeviceNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RemoteDeviceNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RemoteDeviceNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceNotSupported_Def not in ns0.RemoteDeviceNotSupported_Def.__bases__:
                bases = list(ns0.RemoteDeviceNotSupported_Def.__bases__)
                bases.insert(0, ns0.DeviceNotSupported_Def)
                ns0.RemoteDeviceNotSupported_Def.__bases__ = tuple(bases)

            ns0.DeviceNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RemoveFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RemoveFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RemoveFailed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.RemoveFailed_Def.__bases__:
                bases = list(ns0.RemoveFailed_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.RemoveFailed_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ReplicationConfigFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReplicationConfigFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReplicationConfigFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ReplicationFault_Def not in ns0.ReplicationConfigFault_Def.__bases__:
                bases = list(ns0.ReplicationConfigFault_Def.__bases__)
                bases.insert(0, ns0.ReplicationFault_Def)
                ns0.ReplicationConfigFault_Def.__bases__ = tuple(bases)

            ns0.ReplicationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ReplicationDiskConfigFaultReasonForFault_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReplicationDiskConfigFaultReasonForFault")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ReplicationDiskConfigFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReplicationDiskConfigFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReplicationDiskConfigFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vmRef"), aname="_vmRef", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ReplicationConfigFault_Def not in ns0.ReplicationDiskConfigFault_Def.__bases__:
                bases = list(ns0.ReplicationDiskConfigFault_Def.__bases__)
                bases.insert(0, ns0.ReplicationConfigFault_Def)
                ns0.ReplicationDiskConfigFault_Def.__bases__ = tuple(bases)

            ns0.ReplicationConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ReplicationFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReplicationFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReplicationFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.ReplicationFault_Def.__bases__:
                bases = list(ns0.ReplicationFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.ReplicationFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ReplicationIncompatibleWithFT_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReplicationIncompatibleWithFT")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReplicationIncompatibleWithFT_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ReplicationFault_Def not in ns0.ReplicationIncompatibleWithFT_Def.__bases__:
                bases = list(ns0.ReplicationIncompatibleWithFT_Def.__bases__)
                bases.insert(0, ns0.ReplicationFault_Def)
                ns0.ReplicationIncompatibleWithFT_Def.__bases__ = tuple(bases)

            ns0.ReplicationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ReplicationInvalidOptions_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReplicationInvalidOptions")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReplicationInvalidOptions_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"options"), aname="_options", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ReplicationFault_Def not in ns0.ReplicationInvalidOptions_Def.__bases__:
                bases = list(ns0.ReplicationInvalidOptions_Def.__bases__)
                bases.insert(0, ns0.ReplicationFault_Def)
                ns0.ReplicationInvalidOptions_Def.__bases__ = tuple(bases)

            ns0.ReplicationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ReplicationNotSupportedOnHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReplicationNotSupportedOnHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReplicationNotSupportedOnHost_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ReplicationFault_Def not in ns0.ReplicationNotSupportedOnHost_Def.__bases__:
                bases = list(ns0.ReplicationNotSupportedOnHost_Def.__bases__)
                bases.insert(0, ns0.ReplicationFault_Def)
                ns0.ReplicationNotSupportedOnHost_Def.__bases__ = tuple(bases)

            ns0.ReplicationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ReplicationVmConfigFaultReasonForFault_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReplicationVmConfigFaultReasonForFault")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ReplicationVmConfigFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReplicationVmConfigFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReplicationVmConfigFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vmRef"), aname="_vmRef", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ReplicationConfigFault_Def not in ns0.ReplicationVmConfigFault_Def.__bases__:
                bases = list(ns0.ReplicationVmConfigFault_Def.__bases__)
                bases.insert(0, ns0.ReplicationConfigFault_Def)
                ns0.ReplicationVmConfigFault_Def.__bases__ = tuple(bases)

            ns0.ReplicationConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ReplicationVmFaultReasonForFault_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReplicationVmFaultReasonForFault")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ReplicationVmFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReplicationVmFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReplicationVmFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceId"), aname="_instanceId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ReplicationFault_Def not in ns0.ReplicationVmFault_Def.__bases__:
                bases = list(ns0.ReplicationVmFault_Def.__bases__)
                bases.insert(0, ns0.ReplicationFault_Def)
                ns0.ReplicationVmFault_Def.__bases__ = tuple(bases)

            ns0.ReplicationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ReplicationVmInProgressFaultActivity_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReplicationVmInProgressFaultActivity")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ReplicationVmInProgressFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReplicationVmInProgressFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReplicationVmInProgressFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"requestedActivity"), aname="_requestedActivity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"inProgressActivity"), aname="_inProgressActivity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ReplicationVmFault_Def not in ns0.ReplicationVmInProgressFault_Def.__bases__:
                bases = list(ns0.ReplicationVmInProgressFault_Def.__bases__)
                bases.insert(0, ns0.ReplicationVmFault_Def)
                ns0.ReplicationVmInProgressFault_Def.__bases__ = tuple(bases)

            ns0.ReplicationVmFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourceInUse_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourceInUse")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourceInUse_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.ResourceInUse_Def.__bases__:
                bases = list(ns0.ResourceInUse_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.ResourceInUse_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ResourceNotAvailable_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ResourceNotAvailable")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ResourceNotAvailable_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"containerType"), aname="_containerType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"containerName"), aname="_containerName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.ResourceNotAvailable_Def.__bases__:
                bases = list(ns0.ResourceNotAvailable_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.ResourceNotAvailable_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RestrictedByAdministrator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RestrictedByAdministrator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RestrictedByAdministrator_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"details"), aname="_details", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.RestrictedByAdministrator_Def.__bases__:
                bases = list(ns0.RestrictedByAdministrator_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.RestrictedByAdministrator_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RestrictedVersion_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RestrictedVersion")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RestrictedVersion_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SecurityError_Def not in ns0.RestrictedVersion_Def.__bases__:
                bases = list(ns0.RestrictedVersion_Def.__bases__)
                bases.insert(0, ns0.SecurityError_Def)
                ns0.RestrictedVersion_Def.__bases__ = tuple(bases)

            ns0.SecurityError_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RollbackFailure_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RollbackFailure")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RollbackFailure_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"entityName"), aname="_entityName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"entityType"), aname="_entityType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.RollbackFailure_Def.__bases__:
                bases = list(ns0.RollbackFailure_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.RollbackFailure_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RuleViolation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RuleViolation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RuleViolation_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterRuleInfo",lazy=True)(pname=(ns,"rule"), aname="_rule", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.RuleViolation_Def.__bases__:
                bases = list(ns0.RuleViolation_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.RuleViolation_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SSLDisabledFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SSLDisabledFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SSLDisabledFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.SSLDisabledFault_Def.__bases__:
                bases = list(ns0.SSLDisabledFault_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.SSLDisabledFault_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SSLVerifyFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SSLVerifyFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SSLVerifyFault_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"selfSigned"), aname="_selfSigned", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"thumbprint"), aname="_thumbprint", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.SSLVerifyFault_Def.__bases__:
                bases = list(ns0.SSLVerifyFault_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.SSLVerifyFault_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SSPIChallenge_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SSPIChallenge")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SSPIChallenge_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"base64Token"), aname="_base64Token", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.SSPIChallenge_Def.__bases__:
                bases = list(ns0.SSPIChallenge_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.SSPIChallenge_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SecondaryVmAlreadyDisabled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SecondaryVmAlreadyDisabled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SecondaryVmAlreadyDisabled_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.SecondaryVmAlreadyDisabled_Def.__bases__:
                bases = list(ns0.SecondaryVmAlreadyDisabled_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.SecondaryVmAlreadyDisabled_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SecondaryVmAlreadyEnabled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SecondaryVmAlreadyEnabled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SecondaryVmAlreadyEnabled_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.SecondaryVmAlreadyEnabled_Def.__bases__:
                bases = list(ns0.SecondaryVmAlreadyEnabled_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.SecondaryVmAlreadyEnabled_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SecondaryVmAlreadyRegistered_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SecondaryVmAlreadyRegistered")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SecondaryVmAlreadyRegistered_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.SecondaryVmAlreadyRegistered_Def.__bases__:
                bases = list(ns0.SecondaryVmAlreadyRegistered_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.SecondaryVmAlreadyRegistered_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SecondaryVmNotRegistered_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SecondaryVmNotRegistered")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SecondaryVmNotRegistered_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.SecondaryVmNotRegistered_Def.__bases__:
                bases = list(ns0.SecondaryVmNotRegistered_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.SecondaryVmNotRegistered_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SharedBusControllerNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SharedBusControllerNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SharedBusControllerNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceNotSupported_Def not in ns0.SharedBusControllerNotSupported_Def.__bases__:
                bases = list(ns0.SharedBusControllerNotSupported_Def.__bases__)
                bases.insert(0, ns0.DeviceNotSupported_Def)
                ns0.SharedBusControllerNotSupported_Def.__bases__ = tuple(bases)

            ns0.DeviceNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ShrinkDiskFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ShrinkDiskFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ShrinkDiskFault_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"diskId"), aname="_diskId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.ShrinkDiskFault_Def.__bases__:
                bases = list(ns0.ShrinkDiskFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.ShrinkDiskFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SnapshotCloneNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SnapshotCloneNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SnapshotCloneNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SnapshotCopyNotSupported_Def not in ns0.SnapshotCloneNotSupported_Def.__bases__:
                bases = list(ns0.SnapshotCloneNotSupported_Def.__bases__)
                bases.insert(0, ns0.SnapshotCopyNotSupported_Def)
                ns0.SnapshotCloneNotSupported_Def.__bases__ = tuple(bases)

            ns0.SnapshotCopyNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SnapshotCopyNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SnapshotCopyNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SnapshotCopyNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.SnapshotCopyNotSupported_Def.__bases__:
                bases = list(ns0.SnapshotCopyNotSupported_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.SnapshotCopyNotSupported_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SnapshotDisabled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SnapshotDisabled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SnapshotDisabled_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SnapshotFault_Def not in ns0.SnapshotDisabled_Def.__bases__:
                bases = list(ns0.SnapshotDisabled_Def.__bases__)
                bases.insert(0, ns0.SnapshotFault_Def)
                ns0.SnapshotDisabled_Def.__bases__ = tuple(bases)

            ns0.SnapshotFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SnapshotFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SnapshotFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SnapshotFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.SnapshotFault_Def.__bases__:
                bases = list(ns0.SnapshotFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.SnapshotFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SnapshotIncompatibleDeviceInVm_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SnapshotIncompatibleDeviceInVm")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SnapshotIncompatibleDeviceInVm_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SnapshotFault_Def not in ns0.SnapshotIncompatibleDeviceInVm_Def.__bases__:
                bases = list(ns0.SnapshotIncompatibleDeviceInVm_Def.__bases__)
                bases.insert(0, ns0.SnapshotFault_Def)
                ns0.SnapshotIncompatibleDeviceInVm_Def.__bases__ = tuple(bases)

            ns0.SnapshotFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SnapshotLocked_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SnapshotLocked")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SnapshotLocked_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SnapshotFault_Def not in ns0.SnapshotLocked_Def.__bases__:
                bases = list(ns0.SnapshotLocked_Def.__bases__)
                bases.insert(0, ns0.SnapshotFault_Def)
                ns0.SnapshotLocked_Def.__bases__ = tuple(bases)

            ns0.SnapshotFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SnapshotMoveFromNonHomeNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SnapshotMoveFromNonHomeNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SnapshotMoveFromNonHomeNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SnapshotCopyNotSupported_Def not in ns0.SnapshotMoveFromNonHomeNotSupported_Def.__bases__:
                bases = list(ns0.SnapshotMoveFromNonHomeNotSupported_Def.__bases__)
                bases.insert(0, ns0.SnapshotCopyNotSupported_Def)
                ns0.SnapshotMoveFromNonHomeNotSupported_Def.__bases__ = tuple(bases)

            ns0.SnapshotCopyNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SnapshotMoveNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SnapshotMoveNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SnapshotMoveNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SnapshotCopyNotSupported_Def not in ns0.SnapshotMoveNotSupported_Def.__bases__:
                bases = list(ns0.SnapshotMoveNotSupported_Def.__bases__)
                bases.insert(0, ns0.SnapshotCopyNotSupported_Def)
                ns0.SnapshotMoveNotSupported_Def.__bases__ = tuple(bases)

            ns0.SnapshotCopyNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SnapshotMoveToNonHomeNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SnapshotMoveToNonHomeNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SnapshotMoveToNonHomeNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SnapshotCopyNotSupported_Def not in ns0.SnapshotMoveToNonHomeNotSupported_Def.__bases__:
                bases = list(ns0.SnapshotMoveToNonHomeNotSupported_Def.__bases__)
                bases.insert(0, ns0.SnapshotCopyNotSupported_Def)
                ns0.SnapshotMoveToNonHomeNotSupported_Def.__bases__ = tuple(bases)

            ns0.SnapshotCopyNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SnapshotNoChange_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SnapshotNoChange")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SnapshotNoChange_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SnapshotFault_Def not in ns0.SnapshotNoChange_Def.__bases__:
                bases = list(ns0.SnapshotNoChange_Def.__bases__)
                bases.insert(0, ns0.SnapshotFault_Def)
                ns0.SnapshotNoChange_Def.__bases__ = tuple(bases)

            ns0.SnapshotFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SnapshotRevertIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SnapshotRevertIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SnapshotRevertIssue_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"snapshotName"), aname="_snapshotName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Event",lazy=True)(pname=(ns,"event"), aname="_event", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"errors"), aname="_errors", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.SnapshotRevertIssue_Def.__bases__:
                bases = list(ns0.SnapshotRevertIssue_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.SnapshotRevertIssue_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SoftRuleVioCorrectionDisallowed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SoftRuleVioCorrectionDisallowed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SoftRuleVioCorrectionDisallowed_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.SoftRuleVioCorrectionDisallowed_Def.__bases__:
                bases = list(ns0.SoftRuleVioCorrectionDisallowed_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.SoftRuleVioCorrectionDisallowed_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SoftRuleVioCorrectionImpact_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SoftRuleVioCorrectionImpact")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SoftRuleVioCorrectionImpact_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.SoftRuleVioCorrectionImpact_Def.__bases__:
                bases = list(ns0.SoftRuleVioCorrectionImpact_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.SoftRuleVioCorrectionImpact_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SsdDiskNotAvailable_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SsdDiskNotAvailable")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SsdDiskNotAvailable_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"devicePath"), aname="_devicePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.SsdDiskNotAvailable_Def.__bases__:
                bases = list(ns0.SsdDiskNotAvailable_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.SsdDiskNotAvailable_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsCannotMoveDiskInMultiWriterMode_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsCannotMoveDiskInMultiWriterMode")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsCannotMoveDiskInMultiWriterMode_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsCannotMoveDiskInMultiWriterMode_Def.__bases__:
                bases = list(ns0.StorageDrsCannotMoveDiskInMultiWriterMode_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsCannotMoveDiskInMultiWriterMode_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsCannotMoveFTVm_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsCannotMoveFTVm")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsCannotMoveFTVm_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsCannotMoveFTVm_Def.__bases__:
                bases = list(ns0.StorageDrsCannotMoveFTVm_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsCannotMoveFTVm_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsCannotMoveIndependentDisk_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsCannotMoveIndependentDisk")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsCannotMoveIndependentDisk_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsCannotMoveIndependentDisk_Def.__bases__:
                bases = list(ns0.StorageDrsCannotMoveIndependentDisk_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsCannotMoveIndependentDisk_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsCannotMoveManuallyPlacedSwapFile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsCannotMoveManuallyPlacedSwapFile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsCannotMoveManuallyPlacedSwapFile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsCannotMoveManuallyPlacedSwapFile_Def.__bases__:
                bases = list(ns0.StorageDrsCannotMoveManuallyPlacedSwapFile_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsCannotMoveManuallyPlacedSwapFile_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsCannotMoveManuallyPlacedVm_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsCannotMoveManuallyPlacedVm")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsCannotMoveManuallyPlacedVm_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsCannotMoveManuallyPlacedVm_Def.__bases__:
                bases = list(ns0.StorageDrsCannotMoveManuallyPlacedVm_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsCannotMoveManuallyPlacedVm_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsCannotMoveSharedDisk_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsCannotMoveSharedDisk")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsCannotMoveSharedDisk_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsCannotMoveSharedDisk_Def.__bases__:
                bases = list(ns0.StorageDrsCannotMoveSharedDisk_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsCannotMoveSharedDisk_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsCannotMoveTemplate_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsCannotMoveTemplate")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsCannotMoveTemplate_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsCannotMoveTemplate_Def.__bases__:
                bases = list(ns0.StorageDrsCannotMoveTemplate_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsCannotMoveTemplate_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsCannotMoveVmInUserFolder_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsCannotMoveVmInUserFolder")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsCannotMoveVmInUserFolder_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsCannotMoveVmInUserFolder_Def.__bases__:
                bases = list(ns0.StorageDrsCannotMoveVmInUserFolder_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsCannotMoveVmInUserFolder_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsCannotMoveVmWithMountedCDROM_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsCannotMoveVmWithMountedCDROM")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsCannotMoveVmWithMountedCDROM_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsCannotMoveVmWithMountedCDROM_Def.__bases__:
                bases = list(ns0.StorageDrsCannotMoveVmWithMountedCDROM_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsCannotMoveVmWithMountedCDROM_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsCannotMoveVmWithNoFilesInLayout_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsCannotMoveVmWithNoFilesInLayout")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsCannotMoveVmWithNoFilesInLayout_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsCannotMoveVmWithNoFilesInLayout_Def.__bases__:
                bases = list(ns0.StorageDrsCannotMoveVmWithNoFilesInLayout_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsCannotMoveVmWithNoFilesInLayout_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsDatacentersCannotShareDatastore_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsDatacentersCannotShareDatastore")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsDatacentersCannotShareDatastore_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsDatacentersCannotShareDatastore_Def.__bases__:
                bases = list(ns0.StorageDrsDatacentersCannotShareDatastore_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsDatacentersCannotShareDatastore_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsDisabledOnVm_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsDisabledOnVm")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsDisabledOnVm_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsDisabledOnVm_Def.__bases__:
                bases = list(ns0.StorageDrsDisabledOnVm_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsDisabledOnVm_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsHbrDiskNotMovable_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsHbrDiskNotMovable")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsHbrDiskNotMovable_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"nonMovableDiskIds"), aname="_nonMovableDiskIds", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsHbrDiskNotMovable_Def.__bases__:
                bases = list(ns0.StorageDrsHbrDiskNotMovable_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsHbrDiskNotMovable_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsHmsMoveInProgress_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsHmsMoveInProgress")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsHmsMoveInProgress_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsHmsMoveInProgress_Def.__bases__:
                bases = list(ns0.StorageDrsHmsMoveInProgress_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsHmsMoveInProgress_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsHmsUnreachable_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsHmsUnreachable")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsHmsUnreachable_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsHmsUnreachable_Def.__bases__:
                bases = list(ns0.StorageDrsHmsUnreachable_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsHmsUnreachable_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsIolbDisabledInternally_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsIolbDisabledInternally")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsIolbDisabledInternally_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsIolbDisabledInternally_Def.__bases__:
                bases = list(ns0.StorageDrsIolbDisabledInternally_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsIolbDisabledInternally_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsRelocateDisabled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsRelocateDisabled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsRelocateDisabled_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsRelocateDisabled_Def.__bases__:
                bases = list(ns0.StorageDrsRelocateDisabled_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsRelocateDisabled_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsStaleHmsCollection_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsStaleHmsCollection")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsStaleHmsCollection_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsStaleHmsCollection_Def.__bases__:
                bases = list(ns0.StorageDrsStaleHmsCollection_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsStaleHmsCollection_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsUnableToMoveFiles_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsUnableToMoveFiles")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsUnableToMoveFiles_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.StorageDrsUnableToMoveFiles_Def.__bases__:
                bases = list(ns0.StorageDrsUnableToMoveFiles_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.StorageDrsUnableToMoveFiles_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageVMotionNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageVMotionNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageVMotionNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFeatureNotSupported_Def not in ns0.StorageVMotionNotSupported_Def.__bases__:
                bases = list(ns0.StorageVMotionNotSupported_Def.__bases__)
                bases.insert(0, ns0.MigrationFeatureNotSupported_Def)
                ns0.StorageVMotionNotSupported_Def.__bases__ = tuple(bases)

            ns0.MigrationFeatureNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageVmotionIncompatible_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageVmotionIncompatible")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageVmotionIncompatible_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.StorageVmotionIncompatible_Def.__bases__:
                bases = list(ns0.StorageVmotionIncompatible_Def.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.StorageVmotionIncompatible_Def.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SuspendedRelocateNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SuspendedRelocateNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SuspendedRelocateNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.SuspendedRelocateNotSupported_Def.__bases__:
                bases = list(ns0.SuspendedRelocateNotSupported_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.SuspendedRelocateNotSupported_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SwapDatastoreNotWritableOnHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SwapDatastoreNotWritableOnHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SwapDatastoreNotWritableOnHost_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreNotWritableOnHost_Def not in ns0.SwapDatastoreNotWritableOnHost_Def.__bases__:
                bases = list(ns0.SwapDatastoreNotWritableOnHost_Def.__bases__)
                bases.insert(0, ns0.DatastoreNotWritableOnHost_Def)
                ns0.SwapDatastoreNotWritableOnHost_Def.__bases__ = tuple(bases)

            ns0.DatastoreNotWritableOnHost_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SwapDatastoreUnset_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SwapDatastoreUnset")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SwapDatastoreUnset_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.SwapDatastoreUnset_Def.__bases__:
                bases = list(ns0.SwapDatastoreUnset_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.SwapDatastoreUnset_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SwapPlacementOverrideNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SwapPlacementOverrideNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SwapPlacementOverrideNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidVmConfig_Def not in ns0.SwapPlacementOverrideNotSupported_Def.__bases__:
                bases = list(ns0.SwapPlacementOverrideNotSupported_Def.__bases__)
                bases.insert(0, ns0.InvalidVmConfig_Def)
                ns0.SwapPlacementOverrideNotSupported_Def.__bases__ = tuple(bases)

            ns0.InvalidVmConfig_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SwitchIpUnset_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SwitchIpUnset")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SwitchIpUnset_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.SwitchIpUnset_Def.__bases__:
                bases = list(ns0.SwitchIpUnset_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.SwitchIpUnset_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SwitchNotInUpgradeMode_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SwitchNotInUpgradeMode")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SwitchNotInUpgradeMode_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.SwitchNotInUpgradeMode_Def.__bases__:
                bases = list(ns0.SwitchNotInUpgradeMode_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.SwitchNotInUpgradeMode_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TaskInProgress_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskInProgress")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskInProgress_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"task"), aname="_task", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.TaskInProgress_Def.__bases__:
                bases = list(ns0.TaskInProgress_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.TaskInProgress_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ThirdPartyLicenseAssignmentFailedReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ThirdPartyLicenseAssignmentFailedReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ThirdPartyLicenseAssignmentFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ThirdPartyLicenseAssignmentFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ThirdPartyLicenseAssignmentFailed_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"module"), aname="_module", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.ThirdPartyLicenseAssignmentFailed_Def.__bases__:
                bases = list(ns0.ThirdPartyLicenseAssignmentFailed_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.ThirdPartyLicenseAssignmentFailed_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class Timedout_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "Timedout")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.Timedout_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.Timedout_Def.__bases__:
                bases = list(ns0.Timedout_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.Timedout_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TooManyConcurrentNativeClones_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TooManyConcurrentNativeClones")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TooManyConcurrentNativeClones_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.TooManyConcurrentNativeClones_Def.__bases__:
                bases = list(ns0.TooManyConcurrentNativeClones_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.TooManyConcurrentNativeClones_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TooManyConsecutiveOverrides_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TooManyConsecutiveOverrides")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TooManyConsecutiveOverrides_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.TooManyConsecutiveOverrides_Def.__bases__:
                bases = list(ns0.TooManyConsecutiveOverrides_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.TooManyConsecutiveOverrides_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TooManyDevices_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TooManyDevices")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TooManyDevices_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidVmConfig_Def not in ns0.TooManyDevices_Def.__bases__:
                bases = list(ns0.TooManyDevices_Def.__bases__)
                bases.insert(0, ns0.InvalidVmConfig_Def)
                ns0.TooManyDevices_Def.__bases__ = tuple(bases)

            ns0.InvalidVmConfig_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TooManyDisksOnLegacyHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TooManyDisksOnLegacyHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TooManyDisksOnLegacyHost_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"diskCount"), aname="_diskCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"timeoutDanger"), aname="_timeoutDanger", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.TooManyDisksOnLegacyHost_Def.__bases__:
                bases = list(ns0.TooManyDisksOnLegacyHost_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.TooManyDisksOnLegacyHost_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TooManyGuestLogons_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TooManyGuestLogons")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TooManyGuestLogons_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestOperationsFault_Def not in ns0.TooManyGuestLogons_Def.__bases__:
                bases = list(ns0.TooManyGuestLogons_Def.__bases__)
                bases.insert(0, ns0.GuestOperationsFault_Def)
                ns0.TooManyGuestLogons_Def.__bases__ = tuple(bases)

            ns0.GuestOperationsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TooManyHosts_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TooManyHosts")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TooManyHosts_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectFault_Def not in ns0.TooManyHosts_Def.__bases__:
                bases = list(ns0.TooManyHosts_Def.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.TooManyHosts_Def.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TooManyNativeCloneLevels_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TooManyNativeCloneLevels")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TooManyNativeCloneLevels_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.TooManyNativeCloneLevels_Def.__bases__:
                bases = list(ns0.TooManyNativeCloneLevels_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.TooManyNativeCloneLevels_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TooManyNativeClonesOnFile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TooManyNativeClonesOnFile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TooManyNativeClonesOnFile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileFault_Def not in ns0.TooManyNativeClonesOnFile_Def.__bases__:
                bases = list(ns0.TooManyNativeClonesOnFile_Def.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.TooManyNativeClonesOnFile_Def.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TooManySnapshotLevels_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TooManySnapshotLevels")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TooManySnapshotLevels_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.SnapshotFault_Def not in ns0.TooManySnapshotLevels_Def.__bases__:
                bases = list(ns0.TooManySnapshotLevels_Def.__bases__)
                bases.insert(0, ns0.SnapshotFault_Def)
                ns0.TooManySnapshotLevels_Def.__bases__ = tuple(bases)

            ns0.SnapshotFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ToolsAlreadyUpgraded_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ToolsAlreadyUpgraded")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ToolsAlreadyUpgraded_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmToolsUpgradeFault_Def not in ns0.ToolsAlreadyUpgraded_Def.__bases__:
                bases = list(ns0.ToolsAlreadyUpgraded_Def.__bases__)
                bases.insert(0, ns0.VmToolsUpgradeFault_Def)
                ns0.ToolsAlreadyUpgraded_Def.__bases__ = tuple(bases)

            ns0.VmToolsUpgradeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ToolsAutoUpgradeNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ToolsAutoUpgradeNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ToolsAutoUpgradeNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmToolsUpgradeFault_Def not in ns0.ToolsAutoUpgradeNotSupported_Def.__bases__:
                bases = list(ns0.ToolsAutoUpgradeNotSupported_Def.__bases__)
                bases.insert(0, ns0.VmToolsUpgradeFault_Def)
                ns0.ToolsAutoUpgradeNotSupported_Def.__bases__ = tuple(bases)

            ns0.VmToolsUpgradeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ToolsImageCopyFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ToolsImageCopyFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ToolsImageCopyFailed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmToolsUpgradeFault_Def not in ns0.ToolsImageCopyFailed_Def.__bases__:
                bases = list(ns0.ToolsImageCopyFailed_Def.__bases__)
                bases.insert(0, ns0.VmToolsUpgradeFault_Def)
                ns0.ToolsImageCopyFailed_Def.__bases__ = tuple(bases)

            ns0.VmToolsUpgradeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ToolsImageNotAvailable_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ToolsImageNotAvailable")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ToolsImageNotAvailable_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmToolsUpgradeFault_Def not in ns0.ToolsImageNotAvailable_Def.__bases__:
                bases = list(ns0.ToolsImageNotAvailable_Def.__bases__)
                bases.insert(0, ns0.VmToolsUpgradeFault_Def)
                ns0.ToolsImageNotAvailable_Def.__bases__ = tuple(bases)

            ns0.VmToolsUpgradeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ToolsImageSignatureCheckFailed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ToolsImageSignatureCheckFailed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ToolsImageSignatureCheckFailed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmToolsUpgradeFault_Def not in ns0.ToolsImageSignatureCheckFailed_Def.__bases__:
                bases = list(ns0.ToolsImageSignatureCheckFailed_Def.__bases__)
                bases.insert(0, ns0.VmToolsUpgradeFault_Def)
                ns0.ToolsImageSignatureCheckFailed_Def.__bases__ = tuple(bases)

            ns0.VmToolsUpgradeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ToolsInstallationInProgress_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ToolsInstallationInProgress")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ToolsInstallationInProgress_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.ToolsInstallationInProgress_Def.__bases__:
                bases = list(ns0.ToolsInstallationInProgress_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.ToolsInstallationInProgress_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ToolsUnavailable_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ToolsUnavailable")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ToolsUnavailable_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.ToolsUnavailable_Def.__bases__:
                bases = list(ns0.ToolsUnavailable_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.ToolsUnavailable_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ToolsUpgradeCancelled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ToolsUpgradeCancelled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ToolsUpgradeCancelled_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmToolsUpgradeFault_Def not in ns0.ToolsUpgradeCancelled_Def.__bases__:
                bases = list(ns0.ToolsUpgradeCancelled_Def.__bases__)
                bases.insert(0, ns0.VmToolsUpgradeFault_Def)
                ns0.ToolsUpgradeCancelled_Def.__bases__ = tuple(bases)

            ns0.VmToolsUpgradeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UnSupportedDatastoreForVFlash_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UnSupportedDatastoreForVFlash")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UnSupportedDatastoreForVFlash_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"datastoreName"), aname="_datastoreName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.UnsupportedDatastore_Def not in ns0.UnSupportedDatastoreForVFlash_Def.__bases__:
                bases = list(ns0.UnSupportedDatastoreForVFlash_Def.__bases__)
                bases.insert(0, ns0.UnsupportedDatastore_Def)
                ns0.UnSupportedDatastoreForVFlash_Def.__bases__ = tuple(bases)

            ns0.UnsupportedDatastore_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UncommittedUndoableDisk_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UncommittedUndoableDisk")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UncommittedUndoableDisk_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.UncommittedUndoableDisk_Def.__bases__:
                bases = list(ns0.UncommittedUndoableDisk_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.UncommittedUndoableDisk_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UnconfiguredPropertyValue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UnconfiguredPropertyValue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UnconfiguredPropertyValue_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidPropertyValue_Def not in ns0.UnconfiguredPropertyValue_Def.__bases__:
                bases = list(ns0.UnconfiguredPropertyValue_Def.__bases__)
                bases.insert(0, ns0.InvalidPropertyValue_Def)
                ns0.UnconfiguredPropertyValue_Def.__bases__ = tuple(bases)

            ns0.InvalidPropertyValue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UncustomizableGuest_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UncustomizableGuest")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UncustomizableGuest_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uncustomizableGuestOS"), aname="_uncustomizableGuestOS", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFault_Def not in ns0.UncustomizableGuest_Def.__bases__:
                bases = list(ns0.UncustomizableGuest_Def.__bases__)
                bases.insert(0, ns0.CustomizationFault_Def)
                ns0.UncustomizableGuest_Def.__bases__ = tuple(bases)

            ns0.CustomizationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UnexpectedCustomizationFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UnexpectedCustomizationFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UnexpectedCustomizationFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFault_Def not in ns0.UnexpectedCustomizationFault_Def.__bases__:
                bases = list(ns0.UnexpectedCustomizationFault_Def.__bases__)
                bases.insert(0, ns0.CustomizationFault_Def)
                ns0.UnexpectedCustomizationFault_Def.__bases__ = tuple(bases)

            ns0.CustomizationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UnrecognizedHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UnrecognizedHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UnrecognizedHost_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.UnrecognizedHost_Def.__bases__:
                bases = list(ns0.UnrecognizedHost_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.UnrecognizedHost_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UnsharedSwapVMotionNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UnsharedSwapVMotionNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UnsharedSwapVMotionNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFeatureNotSupported_Def not in ns0.UnsharedSwapVMotionNotSupported_Def.__bases__:
                bases = list(ns0.UnsharedSwapVMotionNotSupported_Def.__bases__)
                bases.insert(0, ns0.MigrationFeatureNotSupported_Def)
                ns0.UnsharedSwapVMotionNotSupported_Def.__bases__ = tuple(bases)

            ns0.MigrationFeatureNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UnsupportedDatastore_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UnsupportedDatastore")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UnsupportedDatastore_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.UnsupportedDatastore_Def.__bases__:
                bases = list(ns0.UnsupportedDatastore_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.UnsupportedDatastore_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UnsupportedGuest_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UnsupportedGuest")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UnsupportedGuest_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"unsupportedGuestOS"), aname="_unsupportedGuestOS", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidVmConfig_Def not in ns0.UnsupportedGuest_Def.__bases__:
                bases = list(ns0.UnsupportedGuest_Def.__bases__)
                bases.insert(0, ns0.InvalidVmConfig_Def)
                ns0.UnsupportedGuest_Def.__bases__ = tuple(bases)

            ns0.InvalidVmConfig_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UnsupportedVimApiVersion_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UnsupportedVimApiVersion")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UnsupportedVimApiVersion_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.UnsupportedVimApiVersion_Def.__bases__:
                bases = list(ns0.UnsupportedVimApiVersion_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.UnsupportedVimApiVersion_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UnsupportedVmxLocation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UnsupportedVmxLocation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UnsupportedVmxLocation_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.UnsupportedVmxLocation_Def.__bases__:
                bases = list(ns0.UnsupportedVmxLocation_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.UnsupportedVmxLocation_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UnusedVirtualDiskBlocksNotScrubbed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UnusedVirtualDiskBlocksNotScrubbed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UnusedVirtualDiskBlocksNotScrubbed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceBackingNotSupported_Def not in ns0.UnusedVirtualDiskBlocksNotScrubbed_Def.__bases__:
                bases = list(ns0.UnusedVirtualDiskBlocksNotScrubbed_Def.__bases__)
                bases.insert(0, ns0.DeviceBackingNotSupported_Def)
                ns0.UnusedVirtualDiskBlocksNotScrubbed_Def.__bases__ = tuple(bases)

            ns0.DeviceBackingNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UserNotFound_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UserNotFound")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UserNotFound_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"principal"), aname="_principal", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"unresolved"), aname="_unresolved", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.UserNotFound_Def.__bases__:
                bases = list(ns0.UserNotFound_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.UserNotFound_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VAppConfigFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppConfigFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppConfigFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.VAppConfigFault_Def.__bases__:
                bases = list(ns0.VAppConfigFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.VAppConfigFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VAppNotRunning_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppNotRunning")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppNotRunning_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.VAppNotRunning_Def.__bases__:
                bases = list(ns0.VAppNotRunning_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.VAppNotRunning_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VAppOperationInProgress_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppOperationInProgress")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppOperationInProgress_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RuntimeFault_Def not in ns0.VAppOperationInProgress_Def.__bases__:
                bases = list(ns0.VAppOperationInProgress_Def.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.VAppOperationInProgress_Def.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VAppPropertyFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppPropertyFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppPropertyFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"category"), aname="_category", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"label"), aname="_label", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.VAppPropertyFault_Def.__bases__:
                bases = list(ns0.VAppPropertyFault_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.VAppPropertyFault_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VAppTaskInProgress_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppTaskInProgress")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppTaskInProgress_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.TaskInProgress_Def not in ns0.VAppTaskInProgress_Def.__bases__:
                bases = list(ns0.VAppTaskInProgress_Def.__bases__)
                bases.insert(0, ns0.TaskInProgress_Def)
                ns0.VAppTaskInProgress_Def.__bases__ = tuple(bases)

            ns0.TaskInProgress_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VFlashCacheHotConfigNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VFlashCacheHotConfigNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VFlashCacheHotConfigNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.VFlashCacheHotConfigNotSupported_Def.__bases__:
                bases = list(ns0.VFlashCacheHotConfigNotSupported_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.VFlashCacheHotConfigNotSupported_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VFlashModuleNotSupportedReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VFlashModuleNotSupportedReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VFlashModuleNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VFlashModuleNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VFlashModuleNotSupported_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"moduleName"), aname="_moduleName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.VFlashModuleNotSupported_Def.__bases__:
                bases = list(ns0.VFlashModuleNotSupported_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.VFlashModuleNotSupported_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VFlashModuleVersionIncompatible_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VFlashModuleVersionIncompatible")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VFlashModuleVersionIncompatible_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"moduleName"), aname="_moduleName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmRequestModuleVersion"), aname="_vmRequestModuleVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostMinSupportedVerson"), aname="_hostMinSupportedVerson", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostModuleVersion"), aname="_hostModuleVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.VFlashModuleVersionIncompatible_Def.__bases__:
                bases = list(ns0.VFlashModuleVersionIncompatible_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.VFlashModuleVersionIncompatible_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMINotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMINotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMINotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceNotSupported_Def not in ns0.VMINotSupported_Def.__bases__:
                bases = list(ns0.VMINotSupported_Def.__bases__)
                bases.insert(0, ns0.DeviceNotSupported_Def)
                ns0.VMINotSupported_Def.__bases__ = tuple(bases)

            ns0.DeviceNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMOnConflictDVPort_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMOnConflictDVPort")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMOnConflictDVPort_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CannotAccessNetwork_Def not in ns0.VMOnConflictDVPort_Def.__bases__:
                bases = list(ns0.VMOnConflictDVPort_Def.__bases__)
                bases.insert(0, ns0.CannotAccessNetwork_Def)
                ns0.VMOnConflictDVPort_Def.__bases__ = tuple(bases)

            ns0.CannotAccessNetwork_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMOnVirtualIntranet_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMOnVirtualIntranet")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMOnVirtualIntranet_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CannotAccessNetwork_Def not in ns0.VMOnVirtualIntranet_Def.__bases__:
                bases = list(ns0.VMOnVirtualIntranet_Def.__bases__)
                bases.insert(0, ns0.CannotAccessNetwork_Def)
                ns0.VMOnVirtualIntranet_Def.__bases__ = tuple(bases)

            ns0.CannotAccessNetwork_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMotionAcrossNetworkNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMotionAcrossNetworkNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMotionAcrossNetworkNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFeatureNotSupported_Def not in ns0.VMotionAcrossNetworkNotSupported_Def.__bases__:
                bases = list(ns0.VMotionAcrossNetworkNotSupported_Def.__bases__)
                bases.insert(0, ns0.MigrationFeatureNotSupported_Def)
                ns0.VMotionAcrossNetworkNotSupported_Def.__bases__ = tuple(bases)

            ns0.MigrationFeatureNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMotionInterfaceIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMotionInterfaceIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMotionInterfaceIssue_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"atSourceHost"), aname="_atSourceHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"failedHost"), aname="_failedHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"failedHostEntity"), aname="_failedHostEntity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.VMotionInterfaceIssue_Def.__bases__:
                bases = list(ns0.VMotionInterfaceIssue_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.VMotionInterfaceIssue_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMotionLinkCapacityLow_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMotionLinkCapacityLow")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMotionLinkCapacityLow_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"network"), aname="_network", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VMotionInterfaceIssue_Def not in ns0.VMotionLinkCapacityLow_Def.__bases__:
                bases = list(ns0.VMotionLinkCapacityLow_Def.__bases__)
                bases.insert(0, ns0.VMotionInterfaceIssue_Def)
                ns0.VMotionLinkCapacityLow_Def.__bases__ = tuple(bases)

            ns0.VMotionInterfaceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMotionLinkDown_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMotionLinkDown")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMotionLinkDown_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"network"), aname="_network", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VMotionInterfaceIssue_Def not in ns0.VMotionLinkDown_Def.__bases__:
                bases = list(ns0.VMotionLinkDown_Def.__bases__)
                bases.insert(0, ns0.VMotionInterfaceIssue_Def)
                ns0.VMotionLinkDown_Def.__bases__ = tuple(bases)

            ns0.VMotionInterfaceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMotionNotConfigured_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMotionNotConfigured")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMotionNotConfigured_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VMotionInterfaceIssue_Def not in ns0.VMotionNotConfigured_Def.__bases__:
                bases = list(ns0.VMotionNotConfigured_Def.__bases__)
                bases.insert(0, ns0.VMotionInterfaceIssue_Def)
                ns0.VMotionNotConfigured_Def.__bases__ = tuple(bases)

            ns0.VMotionInterfaceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMotionNotLicensed_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMotionNotLicensed")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMotionNotLicensed_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VMotionInterfaceIssue_Def not in ns0.VMotionNotLicensed_Def.__bases__:
                bases = list(ns0.VMotionNotLicensed_Def.__bases__)
                bases.insert(0, ns0.VMotionInterfaceIssue_Def)
                ns0.VMotionNotLicensed_Def.__bases__ = tuple(bases)

            ns0.VMotionInterfaceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMotionNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMotionNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMotionNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VMotionInterfaceIssue_Def not in ns0.VMotionNotSupported_Def.__bases__:
                bases = list(ns0.VMotionNotSupported_Def.__bases__)
                bases.insert(0, ns0.VMotionInterfaceIssue_Def)
                ns0.VMotionNotSupported_Def.__bases__ = tuple(bases)

            ns0.VMotionInterfaceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VMotionProtocolIncompatible_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VMotionProtocolIncompatible")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VMotionProtocolIncompatible_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.VMotionProtocolIncompatible_Def.__bases__:
                bases = list(ns0.VMotionProtocolIncompatible_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.VMotionProtocolIncompatible_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VimFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VimFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VimFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MethodFault_Def not in ns0.VimFault_Def.__bases__:
                bases = list(ns0.VimFault_Def.__bases__)
                bases.insert(0, ns0.MethodFault_Def)
                ns0.VimFault_Def.__bases__ = tuple(bases)

            ns0.MethodFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskBlocksNotFullyProvisioned_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskBlocksNotFullyProvisioned")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskBlocksNotFullyProvisioned_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceBackingNotSupported_Def not in ns0.VirtualDiskBlocksNotFullyProvisioned_Def.__bases__:
                bases = list(ns0.VirtualDiskBlocksNotFullyProvisioned_Def.__bases__)
                bases.insert(0, ns0.DeviceBackingNotSupported_Def)
                ns0.VirtualDiskBlocksNotFullyProvisioned_Def.__bases__ = tuple(bases)

            ns0.DeviceBackingNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskModeNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskModeNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskModeNotSupported_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"mode"), aname="_mode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceNotSupported_Def not in ns0.VirtualDiskModeNotSupported_Def.__bases__:
                bases = list(ns0.VirtualDiskModeNotSupported_Def.__bases__)
                bases.insert(0, ns0.DeviceNotSupported_Def)
                ns0.VirtualDiskModeNotSupported_Def.__bases__ = tuple(bases)

            ns0.DeviceNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualEthernetCardNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualEthernetCardNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualEthernetCardNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DeviceNotSupported_Def not in ns0.VirtualEthernetCardNotSupported_Def.__bases__:
                bases = list(ns0.VirtualEthernetCardNotSupported_Def.__bases__)
                bases.insert(0, ns0.DeviceNotSupported_Def)
                ns0.VirtualEthernetCardNotSupported_Def.__bases__ = tuple(bases)

            ns0.DeviceNotSupported_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualHardwareCompatibilityIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualHardwareCompatibilityIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualHardwareCompatibilityIssue_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.VirtualHardwareCompatibilityIssue_Def.__bases__:
                bases = list(ns0.VirtualHardwareCompatibilityIssue_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.VirtualHardwareCompatibilityIssue_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualHardwareVersionNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualHardwareVersionNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualHardwareVersionNotSupported_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.VirtualHardwareVersionNotSupported_Def.__bases__:
                bases = list(ns0.VirtualHardwareVersionNotSupported_Def.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.VirtualHardwareVersionNotSupported_Def.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmAlreadyExistsInDatacenter_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmAlreadyExistsInDatacenter")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmAlreadyExistsInDatacenter_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostname"), aname="_hostname", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidFolder_Def not in ns0.VmAlreadyExistsInDatacenter_Def.__bases__:
                bases = list(ns0.VmAlreadyExistsInDatacenter_Def.__bases__)
                bases.insert(0, ns0.InvalidFolder_Def)
                ns0.VmAlreadyExistsInDatacenter_Def.__bases__ = tuple(bases)

            ns0.InvalidFolder_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmConfigFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmConfigFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmConfigFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.VmConfigFault_Def.__bases__:
                bases = list(ns0.VmConfigFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.VmConfigFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmConfigIncompatibleForFaultTolerance_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmConfigIncompatibleForFaultTolerance")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmConfigIncompatibleForFaultTolerance_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.VmConfigIncompatibleForFaultTolerance_Def.__bases__:
                bases = list(ns0.VmConfigIncompatibleForFaultTolerance_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.VmConfigIncompatibleForFaultTolerance_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmConfigIncompatibleForRecordReplay_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmConfigIncompatibleForRecordReplay")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmConfigIncompatibleForRecordReplay_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.VmConfigIncompatibleForRecordReplay_Def.__bases__:
                bases = list(ns0.VmConfigIncompatibleForRecordReplay_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.VmConfigIncompatibleForRecordReplay_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFaultToleranceConfigIssueReasonForIssue_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VmFaultToleranceConfigIssueReasonForIssue")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VmFaultToleranceConfigIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFaultToleranceConfigIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFaultToleranceConfigIssue_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"entityName"), aname="_entityName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.VmFaultToleranceConfigIssue_Def.__bases__:
                bases = list(ns0.VmFaultToleranceConfigIssue_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.VmFaultToleranceConfigIssue_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFaultToleranceConfigIssueWrapper_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFaultToleranceConfigIssueWrapper")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFaultToleranceConfigIssueWrapper_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"entityName"), aname="_entityName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.VmFaultToleranceConfigIssueWrapper_Def.__bases__:
                bases = list(ns0.VmFaultToleranceConfigIssueWrapper_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.VmFaultToleranceConfigIssueWrapper_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFaultToleranceInvalidFileBackingDeviceType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VmFaultToleranceInvalidFileBackingDeviceType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VmFaultToleranceInvalidFileBacking_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFaultToleranceInvalidFileBacking")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFaultToleranceInvalidFileBacking_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"backingType"), aname="_backingType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"backingFilename"), aname="_backingFilename", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.VmFaultToleranceInvalidFileBacking_Def.__bases__:
                bases = list(ns0.VmFaultToleranceInvalidFileBacking_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.VmFaultToleranceInvalidFileBacking_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFaultToleranceIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFaultToleranceIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFaultToleranceIssue_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.VmFaultToleranceIssue_Def.__bases__:
                bases = list(ns0.VmFaultToleranceIssue_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.VmFaultToleranceIssue_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFaultToleranceOpIssuesList_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFaultToleranceOpIssuesList")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFaultToleranceOpIssuesList_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"errors"), aname="_errors", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"warnings"), aname="_warnings", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmFaultToleranceIssue_Def not in ns0.VmFaultToleranceOpIssuesList_Def.__bases__:
                bases = list(ns0.VmFaultToleranceOpIssuesList_Def.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.VmFaultToleranceOpIssuesList_Def.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFaultToleranceTooManyFtVcpusOnHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFaultToleranceTooManyFtVcpusOnHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFaultToleranceTooManyFtVcpusOnHost_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxNumFtVcpus"), aname="_maxNumFtVcpus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.VmFaultToleranceTooManyFtVcpusOnHost_Def.__bases__:
                bases = list(ns0.VmFaultToleranceTooManyFtVcpusOnHost_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.VmFaultToleranceTooManyFtVcpusOnHost_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmFaultToleranceTooManyVMsOnHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmFaultToleranceTooManyVMsOnHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmFaultToleranceTooManyVMsOnHost_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxNumFtVms"), aname="_maxNumFtVms", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.VmFaultToleranceTooManyVMsOnHost_Def.__bases__:
                bases = list(ns0.VmFaultToleranceTooManyVMsOnHost_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.VmFaultToleranceTooManyVMsOnHost_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmHostAffinityRuleViolation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmHostAffinityRuleViolation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmHostAffinityRuleViolation_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmName"), aname="_vmName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFault_Def not in ns0.VmHostAffinityRuleViolation_Def.__bases__:
                bases = list(ns0.VmHostAffinityRuleViolation_Def.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.VmHostAffinityRuleViolation_Def.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmLimitLicense_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmLimitLicense")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmLimitLicense_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"limit"), aname="_limit", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.VmLimitLicense_Def.__bases__:
                bases = list(ns0.VmLimitLicense_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.VmLimitLicense_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmMetadataManagerFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmMetadataManagerFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmMetadataManagerFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.VmMetadataManagerFault_Def.__bases__:
                bases = list(ns0.VmMetadataManagerFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.VmMetadataManagerFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmMonitorIncompatibleForFaultTolerance_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmMonitorIncompatibleForFaultTolerance")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmMonitorIncompatibleForFaultTolerance_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.VmMonitorIncompatibleForFaultTolerance_Def.__bases__:
                bases = list(ns0.VmMonitorIncompatibleForFaultTolerance_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.VmMonitorIncompatibleForFaultTolerance_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmPowerOnDisabled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmPowerOnDisabled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmPowerOnDisabled_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidState_Def not in ns0.VmPowerOnDisabled_Def.__bases__:
                bases = list(ns0.VmPowerOnDisabled_Def.__bases__)
                bases.insert(0, ns0.InvalidState_Def)
                ns0.VmPowerOnDisabled_Def.__bases__ = tuple(bases)

            ns0.InvalidState_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmSmpFaultToleranceTooManyVMsOnHost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmSmpFaultToleranceTooManyVMsOnHost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmSmpFaultToleranceTooManyVMsOnHost_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxNumSmpFtVms"), aname="_maxNumSmpFtVms", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InsufficientResourcesFault_Def not in ns0.VmSmpFaultToleranceTooManyVMsOnHost_Def.__bases__:
                bases = list(ns0.VmSmpFaultToleranceTooManyVMsOnHost_Def.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.VmSmpFaultToleranceTooManyVMsOnHost_Def.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmToolsUpgradeFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmToolsUpgradeFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmToolsUpgradeFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.VmToolsUpgradeFault_Def.__bases__:
                bases = list(ns0.VmToolsUpgradeFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.VmToolsUpgradeFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmValidateMaxDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmValidateMaxDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmValidateMaxDevice_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"max"), aname="_max", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"count"), aname="_count", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.VmValidateMaxDevice_Def.__bases__:
                bases = list(ns0.VmValidateMaxDevice_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.VmValidateMaxDevice_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmWwnConflict_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmWwnConflict")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmWwnConflict_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"wwn"), aname="_wwn", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.InvalidVmConfig_Def not in ns0.VmWwnConflict_Def.__bases__:
                bases = list(ns0.VmWwnConflict_Def.__bases__)
                bases.insert(0, ns0.InvalidVmConfig_Def)
                ns0.VmWwnConflict_Def.__bases__ = tuple(bases)

            ns0.InvalidVmConfig_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmfsAlreadyMounted_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsAlreadyMounted")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsAlreadyMounted_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmfsMountFault_Def not in ns0.VmfsAlreadyMounted_Def.__bases__:
                bases = list(ns0.VmfsAlreadyMounted_Def.__bases__)
                bases.insert(0, ns0.VmfsMountFault_Def)
                ns0.VmfsAlreadyMounted_Def.__bases__ = tuple(bases)

            ns0.VmfsMountFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmfsAmbiguousMount_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsAmbiguousMount")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsAmbiguousMount_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmfsMountFault_Def not in ns0.VmfsAmbiguousMount_Def.__bases__:
                bases = list(ns0.VmfsAmbiguousMount_Def.__bases__)
                bases.insert(0, ns0.VmfsMountFault_Def)
                ns0.VmfsAmbiguousMount_Def.__bases__ = tuple(bases)

            ns0.VmfsMountFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmfsMountFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsMountFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsMountFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConfigFault_Def not in ns0.VmfsMountFault_Def.__bases__:
                bases = list(ns0.VmfsMountFault_Def.__bases__)
                bases.insert(0, ns0.HostConfigFault_Def)
                ns0.VmfsMountFault_Def.__bases__ = tuple(bases)

            ns0.HostConfigFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmotionInterfaceNotEnabled_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmotionInterfaceNotEnabled")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmotionInterfaceNotEnabled_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostPowerOpFailed_Def not in ns0.VmotionInterfaceNotEnabled_Def.__bases__:
                bases = list(ns0.VmotionInterfaceNotEnabled_Def.__bases__)
                bases.insert(0, ns0.HostPowerOpFailed_Def)
                ns0.VmotionInterfaceNotEnabled_Def.__bases__ = tuple(bases)

            ns0.HostPowerOpFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VolumeEditorError_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VolumeEditorError")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VolumeEditorError_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationFault_Def not in ns0.VolumeEditorError_Def.__bases__:
                bases = list(ns0.VolumeEditorError_Def.__bases__)
                bases.insert(0, ns0.CustomizationFault_Def)
                ns0.VolumeEditorError_Def.__bases__ = tuple(bases)

            ns0.CustomizationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VramLimitLicense_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VramLimitLicense")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VramLimitLicense_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"limit"), aname="_limit", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NotEnoughLicenses_Def not in ns0.VramLimitLicense_Def.__bases__:
                bases = list(ns0.VramLimitLicense_Def.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.VramLimitLicense_Def.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanClusterUuidMismatch_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanClusterUuidMismatch")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanClusterUuidMismatch_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostClusterUuid"), aname="_hostClusterUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"destinationClusterUuid"), aname="_destinationClusterUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CannotMoveVsanEnabledHost_Def not in ns0.VsanClusterUuidMismatch_Def.__bases__:
                bases = list(ns0.VsanClusterUuidMismatch_Def.__bases__)
                bases.insert(0, ns0.CannotMoveVsanEnabledHost_Def)
                ns0.VsanClusterUuidMismatch_Def.__bases__ = tuple(bases)

            ns0.CannotMoveVsanEnabledHost_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanDiskFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanDiskFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanDiskFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanFault_Def not in ns0.VsanDiskFault_Def.__bases__:
                bases = list(ns0.VsanDiskFault_Def.__bases__)
                bases.insert(0, ns0.VsanFault_Def)
                ns0.VsanDiskFault_Def.__bases__ = tuple(bases)

            ns0.VsanFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.VsanFault_Def.__bases__:
                bases = list(ns0.VsanFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.VsanFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanIncompatibleDiskMapping_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanIncompatibleDiskMapping")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanIncompatibleDiskMapping_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VsanDiskFault_Def not in ns0.VsanIncompatibleDiskMapping_Def.__bases__:
                bases = list(ns0.VsanIncompatibleDiskMapping_Def.__bases__)
                bases.insert(0, ns0.VsanDiskFault_Def)
                ns0.VsanIncompatibleDiskMapping_Def.__bases__ = tuple(bases)

            ns0.VsanDiskFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VspanDestPortConflict_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VspanDestPortConflict")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VspanDestPortConflict_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vspanSessionKey1"), aname="_vspanSessionKey1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vspanSessionKey2"), aname="_vspanSessionKey2", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.VspanDestPortConflict_Def.__bases__:
                bases = list(ns0.VspanDestPortConflict_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.VspanDestPortConflict_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VspanPortConflict_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VspanPortConflict")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VspanPortConflict_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vspanSessionKey1"), aname="_vspanSessionKey1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vspanSessionKey2"), aname="_vspanSessionKey2", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.VspanPortConflict_Def.__bases__:
                bases = list(ns0.VspanPortConflict_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.VspanPortConflict_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VspanPortMoveFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VspanPortMoveFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VspanPortMoveFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"srcPortgroupName"), aname="_srcPortgroupName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"destPortgroupName"), aname="_destPortgroupName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.VspanPortMoveFault_Def.__bases__:
                bases = list(ns0.VspanPortMoveFault_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.VspanPortMoveFault_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VspanPortPromiscChangeFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VspanPortPromiscChangeFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VspanPortPromiscChangeFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.VspanPortPromiscChangeFault_Def.__bases__:
                bases = list(ns0.VspanPortPromiscChangeFault_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.VspanPortPromiscChangeFault_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VspanPortgroupPromiscChangeFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VspanPortgroupPromiscChangeFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VspanPortgroupPromiscChangeFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portgroupName"), aname="_portgroupName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.VspanPortgroupPromiscChangeFault_Def.__bases__:
                bases = list(ns0.VspanPortgroupPromiscChangeFault_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.VspanPortgroupPromiscChangeFault_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VspanPortgroupTypeChangeFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VspanPortgroupTypeChangeFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VspanPortgroupTypeChangeFault_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portgroupName"), aname="_portgroupName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.VspanPortgroupTypeChangeFault_Def.__bases__:
                bases = list(ns0.VspanPortgroupTypeChangeFault_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.VspanPortgroupTypeChangeFault_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VspanPromiscuousPortNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VspanPromiscuousPortNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VspanPromiscuousPortNotSupported_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vspanSessionKey"), aname="_vspanSessionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.VspanPromiscuousPortNotSupported_Def.__bases__:
                bases = list(ns0.VspanPromiscuousPortNotSupported_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.VspanPromiscuousPortNotSupported_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VspanSameSessionPortConflict_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VspanSameSessionPortConflict")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VspanSameSessionPortConflict_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vspanSessionKey"), aname="_vspanSessionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsFault_Def not in ns0.VspanSameSessionPortConflict_Def.__bases__:
                bases = list(ns0.VspanSameSessionPortConflict_Def.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.VspanSameSessionPortConflict_Def.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class WakeOnLanNotSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "WakeOnLanNotSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.WakeOnLanNotSupported_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.WakeOnLanNotSupported_Def.__bases__:
                bases = list(ns0.WakeOnLanNotSupported_Def.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.WakeOnLanNotSupported_Def.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class WakeOnLanNotSupportedByVmotionNIC_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "WakeOnLanNotSupportedByVmotionNIC")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.WakeOnLanNotSupportedByVmotionNIC_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostPowerOpFailed_Def not in ns0.WakeOnLanNotSupportedByVmotionNIC_Def.__bases__:
                bases = list(ns0.WakeOnLanNotSupportedByVmotionNIC_Def.__bases__)
                bases.insert(0, ns0.HostPowerOpFailed_Def)
                ns0.WakeOnLanNotSupportedByVmotionNIC_Def.__bases__ = tuple(bases)

            ns0.HostPowerOpFailed_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class WillLoseHAProtectionResolution_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "WillLoseHAProtectionResolution")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class WillLoseHAProtection_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "WillLoseHAProtection")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.WillLoseHAProtection_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"resolution"), aname="_resolution", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.WillLoseHAProtection_Def.__bases__:
                bases = list(ns0.WillLoseHAProtection_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.WillLoseHAProtection_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class WillModifyConfigCpuRequirements_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "WillModifyConfigCpuRequirements")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.WillModifyConfigCpuRequirements_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.WillModifyConfigCpuRequirements_Def.__bases__:
                bases = list(ns0.WillModifyConfigCpuRequirements_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.WillModifyConfigCpuRequirements_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class WillResetSnapshotDirectory_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "WillResetSnapshotDirectory")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.WillResetSnapshotDirectory_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MigrationFault_Def not in ns0.WillResetSnapshotDirectory_Def.__bases__:
                bases = list(ns0.WillResetSnapshotDirectory_Def.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.WillResetSnapshotDirectory_Def.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class WipeDiskFault_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "WipeDiskFault")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.WipeDiskFault_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VimFault_Def not in ns0.WipeDiskFault_Def.__bases__:
                bases = list(ns0.WipeDiskFault_Def.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.WipeDiskFault_Def.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostActiveDirectoryAuthenticationCertificateDigest_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostActiveDirectoryAuthenticationCertificateDigest")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostActiveDirectoryInfoDomainMembershipStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostActiveDirectoryInfoDomainMembershipStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostActiveDirectoryInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostActiveDirectoryInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostActiveDirectoryInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"joinedDomain"), aname="_joinedDomain", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"trustedDomain"), aname="_trustedDomain", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"domainMembershipStatus"), aname="_domainMembershipStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"smartCardAuthenticationEnabled"), aname="_smartCardAuthenticationEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDirectoryStoreInfo_Def not in ns0.HostActiveDirectoryInfo_Def.__bases__:
                bases = list(ns0.HostActiveDirectoryInfo_Def.__bases__)
                bases.insert(0, ns0.HostDirectoryStoreInfo_Def)
                ns0.HostActiveDirectoryInfo_Def.__bases__ = tuple(bases)

            ns0.HostDirectoryStoreInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostActiveDirectorySpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostActiveDirectorySpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostActiveDirectorySpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"domainName"), aname="_domainName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"camServer"), aname="_camServer", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"thumbprint"), aname="_thumbprint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"smartCardAuthenticationEnabled"), aname="_smartCardAuthenticationEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"smartCardTrustAnchors"), aname="_smartCardTrustAnchors", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostActiveDirectorySpec_Def.__bases__:
                bases = list(ns0.HostActiveDirectorySpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostActiveDirectorySpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostActiveDirectory_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostActiveDirectory")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostActiveDirectory_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"changeOperation"), aname="_changeOperation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostActiveDirectorySpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostActiveDirectory_Def.__bases__:
                bases = list(ns0.HostActiveDirectory_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostActiveDirectory_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostActiveDirectory_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostActiveDirectory")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostActiveDirectory_Def.schema
            TClist = [GTD("urn:vim25","HostActiveDirectory",lazy=True)(pname=(ns,"HostActiveDirectory"), aname="_HostActiveDirectory", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostActiveDirectory = []
                    return
            Holder.__name__ = "ArrayOfHostActiveDirectory_Holder"
            self.pyclass = Holder

    class HostAuthenticationManagerInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostAuthenticationManagerInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostAuthenticationManagerInfo_Def.schema
            TClist = [GTD("urn:vim25","HostAuthenticationStoreInfo",lazy=True)(pname=(ns,"authConfig"), aname="_authConfig", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostAuthenticationManagerInfo_Def.__bases__:
                bases = list(ns0.HostAuthenticationManagerInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostAuthenticationManagerInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostAuthenticationStoreInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostAuthenticationStoreInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostAuthenticationStoreInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostAuthenticationStoreInfo_Def.__bases__:
                bases = list(ns0.HostAuthenticationStoreInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostAuthenticationStoreInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostAuthenticationStoreInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostAuthenticationStoreInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostAuthenticationStoreInfo_Def.schema
            TClist = [GTD("urn:vim25","HostAuthenticationStoreInfo",lazy=True)(pname=(ns,"HostAuthenticationStoreInfo"), aname="_HostAuthenticationStoreInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostAuthenticationStoreInfo = []
                    return
            Holder.__name__ = "ArrayOfHostAuthenticationStoreInfo_Holder"
            self.pyclass = Holder

    class AutoStartAction_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AutoStartAction")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class AutoStartDefaults_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AutoStartDefaults")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AutoStartDefaults_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"startDelay"), aname="_startDelay", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"stopDelay"), aname="_stopDelay", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"waitForHeartbeat"), aname="_waitForHeartbeat", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"stopAction"), aname="_stopAction", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AutoStartDefaults_Def.__bases__:
                bases = list(ns0.AutoStartDefaults_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AutoStartDefaults_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AutoStartWaitHeartbeatSetting_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AutoStartWaitHeartbeatSetting")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class AutoStartPowerInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AutoStartPowerInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AutoStartPowerInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"startOrder"), aname="_startOrder", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"startDelay"), aname="_startDelay", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AutoStartWaitHeartbeatSetting",lazy=True)(pname=(ns,"waitForHeartbeat"), aname="_waitForHeartbeat", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"startAction"), aname="_startAction", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"stopDelay"), aname="_stopDelay", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"stopAction"), aname="_stopAction", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AutoStartPowerInfo_Def.__bases__:
                bases = list(ns0.AutoStartPowerInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AutoStartPowerInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfAutoStartPowerInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfAutoStartPowerInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfAutoStartPowerInfo_Def.schema
            TClist = [GTD("urn:vim25","AutoStartPowerInfo",lazy=True)(pname=(ns,"AutoStartPowerInfo"), aname="_AutoStartPowerInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._AutoStartPowerInfo = []
                    return
            Holder.__name__ = "ArrayOfAutoStartPowerInfo_Holder"
            self.pyclass = Holder

    class HostAutoStartManagerConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostAutoStartManagerConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostAutoStartManagerConfig_Def.schema
            TClist = [GTD("urn:vim25","AutoStartDefaults",lazy=True)(pname=(ns,"defaults"), aname="_defaults", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AutoStartPowerInfo",lazy=True)(pname=(ns,"powerInfo"), aname="_powerInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostAutoStartManagerConfig_Def.__bases__:
                bases = list(ns0.HostAutoStartManagerConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostAutoStartManagerConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostBootDeviceInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostBootDeviceInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostBootDeviceInfo_Def.schema
            TClist = [GTD("urn:vim25","HostBootDevice",lazy=True)(pname=(ns,"bootDevices"), aname="_bootDevices", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"currentBootDeviceKey"), aname="_currentBootDeviceKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostBootDeviceInfo_Def.__bases__:
                bases = list(ns0.HostBootDeviceInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostBootDeviceInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostBootDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostBootDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostBootDevice_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostBootDevice_Def.__bases__:
                bases = list(ns0.HostBootDevice_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostBootDevice_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostBootDevice_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostBootDevice")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostBootDevice_Def.schema
            TClist = [GTD("urn:vim25","HostBootDevice",lazy=True)(pname=(ns,"HostBootDevice"), aname="_HostBootDevice", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostBootDevice = []
                    return
            Holder.__name__ = "ArrayOfHostBootDevice_Holder"
            self.pyclass = Holder

    class HostCacheConfigurationSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCacheConfigurationSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCacheConfigurationSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"swapSize"), aname="_swapSize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostCacheConfigurationSpec_Def.__bases__:
                bases = list(ns0.HostCacheConfigurationSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostCacheConfigurationSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCacheConfigurationInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCacheConfigurationInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCacheConfigurationInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"swapSize"), aname="_swapSize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostCacheConfigurationInfo_Def.__bases__:
                bases = list(ns0.HostCacheConfigurationInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostCacheConfigurationInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostCacheConfigurationInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostCacheConfigurationInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostCacheConfigurationInfo_Def.schema
            TClist = [GTD("urn:vim25","HostCacheConfigurationInfo",lazy=True)(pname=(ns,"HostCacheConfigurationInfo"), aname="_HostCacheConfigurationInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostCacheConfigurationInfo = []
                    return
            Holder.__name__ = "ArrayOfHostCacheConfigurationInfo_Holder"
            self.pyclass = Holder

    class HostReplayUnsupportedReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostReplayUnsupportedReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostCapabilityFtUnsupportedReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostCapabilityFtUnsupportedReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostCapabilityVmDirectPathGen2UnsupportedReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostCapabilityVmDirectPathGen2UnsupportedReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostCapabilityUnmapMethodSupported_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostCapabilityUnmapMethodSupported")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"recursiveResourcePoolsSupported"), aname="_recursiveResourcePoolsSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cpuMemoryResourceConfigurationSupported"), aname="_cpuMemoryResourceConfigurationSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"rebootSupported"), aname="_rebootSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"shutdownSupported"), aname="_shutdownSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmotionSupported"), aname="_vmotionSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"standbySupported"), aname="_standbySupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipmiSupported"), aname="_ipmiSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxSupportedVMs"), aname="_maxSupportedVMs", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxRunningVMs"), aname="_maxRunningVMs", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxSupportedVcpus"), aname="_maxSupportedVcpus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxRegisteredVMs"), aname="_maxRegisteredVMs", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"datastorePrincipalSupported"), aname="_datastorePrincipalSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"sanSupported"), aname="_sanSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"nfsSupported"), aname="_nfsSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"iscsiSupported"), aname="_iscsiSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vlanTaggingSupported"), aname="_vlanTaggingSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"nicTeamingSupported"), aname="_nicTeamingSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"highGuestMemSupported"), aname="_highGuestMemSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"maintenanceModeSupported"), aname="_maintenanceModeSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"suspendedRelocateSupported"), aname="_suspendedRelocateSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"restrictedSnapshotRelocateSupported"), aname="_restrictedSnapshotRelocateSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"perVmSwapFiles"), aname="_perVmSwapFiles", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"localSwapDatastoreSupported"), aname="_localSwapDatastoreSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"unsharedSwapVMotionSupported"), aname="_unsharedSwapVMotionSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"backgroundSnapshotsSupported"), aname="_backgroundSnapshotsSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"preAssignedPCIUnitNumbersSupported"), aname="_preAssignedPCIUnitNumbersSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"screenshotSupported"), aname="_screenshotSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"scaledScreenshotSupported"), aname="_scaledScreenshotSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"storageVMotionSupported"), aname="_storageVMotionSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmotionWithStorageVMotionSupported"), aname="_vmotionWithStorageVMotionSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmotionAcrossNetworkSupported"), aname="_vmotionAcrossNetworkSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxNumDisksSVMotion"), aname="_maxNumDisksSVMotion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hbrNicSelectionSupported"), aname="_hbrNicSelectionSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vrNfcNicSelectionSupported"), aname="_vrNfcNicSelectionSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"recordReplaySupported"), aname="_recordReplaySupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ftSupported"), aname="_ftSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"replayUnsupportedReason"), aname="_replayUnsupportedReason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"replayCompatibilityIssues"), aname="_replayCompatibilityIssues", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"smpFtSupported"), aname="_smpFtSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ftCompatibilityIssues"), aname="_ftCompatibilityIssues", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"smpFtCompatibilityIssues"), aname="_smpFtCompatibilityIssues", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxVcpusPerFtVm"), aname="_maxVcpusPerFtVm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"loginBySSLThumbprintSupported"), aname="_loginBySSLThumbprintSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cloneFromSnapshotSupported"), aname="_cloneFromSnapshotSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"deltaDiskBackingsSupported"), aname="_deltaDiskBackingsSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"perVMNetworkTrafficShapingSupported"), aname="_perVMNetworkTrafficShapingSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"tpmSupported"), aname="_tpmSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"tpmVersion"), aname="_tpmVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"txtEnabled"), aname="_txtEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostCpuIdInfo",lazy=True)(pname=(ns,"supportedCpuFeature"), aname="_supportedCpuFeature", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"virtualExecUsageSupported"), aname="_virtualExecUsageSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"storageIORMSupported"), aname="_storageIORMSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmDirectPathGen2Supported"), aname="_vmDirectPathGen2Supported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmDirectPathGen2UnsupportedReason"), aname="_vmDirectPathGen2UnsupportedReason", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmDirectPathGen2UnsupportedReasonExtended"), aname="_vmDirectPathGen2UnsupportedReasonExtended", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"supportedVmfsMajorVersion"), aname="_supportedVmfsMajorVersion", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vStorageCapable"), aname="_vStorageCapable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"snapshotRelayoutSupported"), aname="_snapshotRelayoutSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"firewallIpRulesSupported"), aname="_firewallIpRulesSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"servicePackageInfoSupported"), aname="_servicePackageInfoSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxHostRunningVms"), aname="_maxHostRunningVms", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxHostSupportedVcpus"), aname="_maxHostSupportedVcpus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmfsDatastoreMountCapable"), aname="_vmfsDatastoreMountCapable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"eightPlusHostVmfsSharedAccessSupported"), aname="_eightPlusHostVmfsSharedAccessSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"nestedHVSupported"), aname="_nestedHVSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vPMCSupported"), aname="_vPMCSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"interVMCommunicationThroughVMCISupported"), aname="_interVMCommunicationThroughVMCISupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"scheduledHardwareUpgradeSupported"), aname="_scheduledHardwareUpgradeSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"featureCapabilitiesSupported"), aname="_featureCapabilitiesSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"latencySensitivitySupported"), aname="_latencySensitivitySupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"storagePolicySupported"), aname="_storagePolicySupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"accel3dSupported"), aname="_accel3dSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"reliableMemoryAware"), aname="_reliableMemoryAware", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"multipleNetworkStackInstanceSupported"), aname="_multipleNetworkStackInstanceSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"messageBusProxySupported"), aname="_messageBusProxySupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vsanSupported"), aname="_vsanSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vFlashSupported"), aname="_vFlashSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hostAccessManagerSupported"), aname="_hostAccessManagerSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"provisioningNicSelectionSupported"), aname="_provisioningNicSelectionSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"nfs41Supported"), aname="_nfs41Supported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"nfs41Krb5iSupported"), aname="_nfs41Krb5iSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"turnDiskLocatorLedSupported"), aname="_turnDiskLocatorLedSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"virtualVolumeDatastoreSupported"), aname="_virtualVolumeDatastoreSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"markAsSsdSupported"), aname="_markAsSsdSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"markAsLocalSupported"), aname="_markAsLocalSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"smartCardAuthenticationSupported"), aname="_smartCardAuthenticationSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"pMemSupported"), aname="_pMemSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"pMemSnapshotSupported"), aname="_pMemSnapshotSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cryptoSupported"), aname="_cryptoSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"oneKVolumeAPIsSupported"), aname="_oneKVolumeAPIsSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"gatewayOnNicSupported"), aname="_gatewayOnNicSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"upitSupported"), aname="_upitSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cpuHwMmuSupported"), aname="_cpuHwMmuSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encryptedVMotionSupported"), aname="_encryptedVMotionSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encryptionChangeOnAddRemoveSupported"), aname="_encryptionChangeOnAddRemoveSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encryptionHotOperationSupported"), aname="_encryptionHotOperationSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encryptionWithSnapshotsSupported"), aname="_encryptionWithSnapshotsSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encryptionFaultToleranceSupported"), aname="_encryptionFaultToleranceSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encryptionMemorySaveSupported"), aname="_encryptionMemorySaveSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encryptionRDMSupported"), aname="_encryptionRDMSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encryptionVFlashSupported"), aname="_encryptionVFlashSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encryptionCBRCSupported"), aname="_encryptionCBRCSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encryptionHBRSupported"), aname="_encryptionHBRSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ftEfiSupported"), aname="_ftEfiSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"unmapMethodSupported"), aname="_unmapMethodSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxMemMBPerFtVm"), aname="_maxMemMBPerFtVm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"virtualMmuUsageIgnored"), aname="_virtualMmuUsageIgnored", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"virtualExecUsageIgnored"), aname="_virtualExecUsageIgnored", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmCreateDateSupported"), aname="_vmCreateDateSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmfs3EOLSupported"), aname="_vmfs3EOLSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ftVmcpSupported"), aname="_ftVmcpSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostCapability_Def.__bases__:
                bases = list(ns0.HostCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCertificateManagerCertificateInfoCertificateStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostCertificateManagerCertificateInfoCertificateStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostCertificateManagerCertificateInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCertificateManagerCertificateInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCertificateManagerCertificateInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"issuer"), aname="_issuer", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"notBefore"), aname="_notBefore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"notAfter"), aname="_notAfter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"subject"), aname="_subject", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostCertificateManagerCertificateInfo_Def.__bases__:
                bases = list(ns0.HostCertificateManagerCertificateInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostCertificateManagerCertificateInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostConfigChangeMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostConfigChangeMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostConfigChangeOperation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostConfigChangeOperation")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostConfigChange_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostConfigChange")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostConfigChange_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostConfigChange_Def.__bases__:
                bases = list(ns0.HostConfigChange_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostConfigChange_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AboutInfo",lazy=True)(pname=(ns,"product"), aname="_product", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDeploymentInfo",lazy=True)(pname=(ns,"deploymentInfo"), aname="_deploymentInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostHyperThreadScheduleInfo",lazy=True)(pname=(ns,"hyperThread"), aname="_hyperThread", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ServiceConsoleReservationInfo",lazy=True)(pname=(ns,"consoleReservation"), aname="_consoleReservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineMemoryReservationInfo",lazy=True)(pname=(ns,"virtualMachineReservation"), aname="_virtualMachineReservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostStorageDeviceInfo",lazy=True)(pname=(ns,"storageDevice"), aname="_storageDevice", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostMultipathStateInfo",lazy=True)(pname=(ns,"multipathState"), aname="_multipathState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFileSystemVolumeInfo",lazy=True)(pname=(ns,"fileSystemVolume"), aname="_fileSystemVolume", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"systemFile"), aname="_systemFile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNetworkInfo",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVMotionInfo",lazy=True)(pname=(ns,"vmotion"), aname="_vmotion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicManagerInfo",lazy=True)(pname=(ns,"virtualNicManagerInfo"), aname="_virtualNicManagerInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNetCapabilities",lazy=True)(pname=(ns,"capabilities"), aname="_capabilities", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDatastoreSystemCapabilities",lazy=True)(pname=(ns,"datastoreCapabilities"), aname="_datastoreCapabilities", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNetOffloadCapabilities",lazy=True)(pname=(ns,"offloadCapabilities"), aname="_offloadCapabilities", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostServiceInfo",lazy=True)(pname=(ns,"service"), aname="_service", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFirewallInfo",lazy=True)(pname=(ns,"firewall"), aname="_firewall", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostAutoStartManagerConfig",lazy=True)(pname=(ns,"autoStart"), aname="_autoStart", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiagnosticPartition",lazy=True)(pname=(ns,"activeDiagnosticPartition"), aname="_activeDiagnosticPartition", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"option"), aname="_option", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionDef",lazy=True)(pname=(ns,"optionDef"), aname="_optionDef", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastorePrincipal"), aname="_datastorePrincipal", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"localSwapDatastore"), aname="_localSwapDatastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSystemSwapConfiguration",lazy=True)(pname=(ns,"systemSwapConfiguration"), aname="_systemSwapConfiguration", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSystemResourceInfo",lazy=True)(pname=(ns,"systemResources"), aname="_systemResources", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDateTimeInfo",lazy=True)(pname=(ns,"dateTimeInfo"), aname="_dateTimeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFlagInfo",lazy=True)(pname=(ns,"flags"), aname="_flags", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"adminDisabled"), aname="_adminDisabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostLockdownMode",lazy=True)(pname=(ns,"lockdownMode"), aname="_lockdownMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpmiInfo",lazy=True)(pname=(ns,"ipmi"), aname="_ipmi", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSslThumbprintInfo",lazy=True)(pname=(ns,"sslThumbprintInfo"), aname="_sslThumbprintInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSslThumbprintInfo",lazy=True)(pname=(ns,"sslThumbprintData"), aname="_sslThumbprintData", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"certificate"), aname="_certificate", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPciPassthruInfo",lazy=True)(pname=(ns,"pciPassthruInfo"), aname="_pciPassthruInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostAuthenticationManagerInfo",lazy=True)(pname=(ns,"authenticationManagerInfo"), aname="_authenticationManagerInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFeatureVersionInfo",lazy=True)(pname=(ns,"featureVersion"), aname="_featureVersion", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PowerSystemCapability",lazy=True)(pname=(ns,"powerSystemCapability"), aname="_powerSystemCapability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PowerSystemInfo",lazy=True)(pname=(ns,"powerSystemInfo"), aname="_powerSystemInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostCacheConfigurationInfo",lazy=True)(pname=(ns,"cacheConfigurationInfo"), aname="_cacheConfigurationInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"wakeOnLanCapable"), aname="_wakeOnLanCapable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFeatureCapability",lazy=True)(pname=(ns,"featureCapability"), aname="_featureCapability", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFeatureCapability",lazy=True)(pname=(ns,"maskedFeatureCapability"), aname="_maskedFeatureCapability", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVFlashManagerVFlashConfigInfo",lazy=True)(pname=(ns,"vFlashConfigInfo"), aname="_vFlashConfigInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostConfigInfo",lazy=True)(pname=(ns,"vsanHostConfig"), aname="_vsanHostConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"domainList"), aname="_domainList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Base64String(pname=(ns,"scriptCheckSum"), aname="_scriptCheckSum", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Base64String(pname=(ns,"hostConfigCheckSum"), aname="_hostConfigCheckSum", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostGraphicsInfo",lazy=True)(pname=(ns,"graphicsInfo"), aname="_graphicsInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sharedPassthruGpuTypes"), aname="_sharedPassthruGpuTypes", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostGraphicsConfig",lazy=True)(pname=(ns,"graphicsConfig"), aname="_graphicsConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSharedGpuCapabilities",lazy=True)(pname=(ns,"sharedGpuCapabilities"), aname="_sharedGpuCapabilities", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIoFilterInfo",lazy=True)(pname=(ns,"ioFilterInfo"), aname="_ioFilterInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSriovDevicePoolInfo",lazy=True)(pname=(ns,"sriovDevicePool"), aname="_sriovDevicePool", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostConfigInfo_Def.__bases__:
                bases = list(ns0.HostConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostConfigManager_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostConfigManager")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostConfigManager_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"cpuScheduler"), aname="_cpuScheduler", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastoreSystem"), aname="_datastoreSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"memoryManager"), aname="_memoryManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"storageSystem"), aname="_storageSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"networkSystem"), aname="_networkSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vmotionSystem"), aname="_vmotionSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"virtualNicManager"), aname="_virtualNicManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"serviceSystem"), aname="_serviceSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"firewallSystem"), aname="_firewallSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"advancedOption"), aname="_advancedOption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"diagnosticSystem"), aname="_diagnosticSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"autoStartManager"), aname="_autoStartManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"snmpSystem"), aname="_snmpSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"dateTimeSystem"), aname="_dateTimeSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"patchManager"), aname="_patchManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"imageConfigManager"), aname="_imageConfigManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"bootDeviceSystem"), aname="_bootDeviceSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"firmwareSystem"), aname="_firmwareSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"healthStatusSystem"), aname="_healthStatusSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pciPassthruSystem"), aname="_pciPassthruSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"licenseManager"), aname="_licenseManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"kernelModuleSystem"), aname="_kernelModuleSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"authenticationManager"), aname="_authenticationManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"powerSystem"), aname="_powerSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"cacheConfigurationManager"), aname="_cacheConfigurationManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"esxAgentHostManager"), aname="_esxAgentHostManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"iscsiManager"), aname="_iscsiManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vFlashManager"), aname="_vFlashManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vsanSystem"), aname="_vsanSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"messageBusProxy"), aname="_messageBusProxy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"userDirectory"), aname="_userDirectory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"accountManager"), aname="_accountManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hostAccessManager"), aname="_hostAccessManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"graphicsManager"), aname="_graphicsManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vsanInternalSystem"), aname="_vsanInternalSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"certificateManager"), aname="_certificateManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"cryptoManager"), aname="_cryptoManager", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"nvdimmSystem"), aname="_nvdimmSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostConfigManager_Def.__bases__:
                bases = list(ns0.HostConfigManager_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostConfigManager_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","HostNasVolumeConfig",lazy=True)(pname=(ns,"nasDatastore"), aname="_nasDatastore", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNetworkConfig",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicManagerNicTypeSelection",lazy=True)(pname=(ns,"nicTypeSelection"), aname="_nicTypeSelection", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostServiceConfig",lazy=True)(pname=(ns,"service"), aname="_service", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFirewallConfig",lazy=True)(pname=(ns,"firewall"), aname="_firewall", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"option"), aname="_option", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastorePrincipal"), aname="_datastorePrincipal", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastorePrincipalPasswd"), aname="_datastorePrincipalPasswd", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDateTimeConfig",lazy=True)(pname=(ns,"datetime"), aname="_datetime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostStorageDeviceInfo",lazy=True)(pname=(ns,"storageDevice"), aname="_storageDevice", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostLicenseSpec",lazy=True)(pname=(ns,"license"), aname="_license", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSecuritySpec",lazy=True)(pname=(ns,"security"), aname="_security", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostAccountSpec",lazy=True)(pname=(ns,"userAccount"), aname="_userAccount", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostAccountSpec",lazy=True)(pname=(ns,"usergroupAccount"), aname="_usergroupAccount", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostMemorySpec",lazy=True)(pname=(ns,"memory"), aname="_memory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostActiveDirectory",lazy=True)(pname=(ns,"activeDirectory"), aname="_activeDirectory", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"genericConfig"), aname="_genericConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostGraphicsConfig",lazy=True)(pname=(ns,"graphicsConfig"), aname="_graphicsConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostConfigSpec_Def.__bases__:
                bases = list(ns0.HostConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostConnectInfoNetworkInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostConnectInfoNetworkInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostConnectInfoNetworkInfo_Def.schema
            TClist = [GTD("urn:vim25","NetworkSummary",lazy=True)(pname=(ns,"summary"), aname="_summary", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostConnectInfoNetworkInfo_Def.__bases__:
                bases = list(ns0.HostConnectInfoNetworkInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostConnectInfoNetworkInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostConnectInfoNetworkInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostConnectInfoNetworkInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostConnectInfoNetworkInfo_Def.schema
            TClist = [GTD("urn:vim25","HostConnectInfoNetworkInfo",lazy=True)(pname=(ns,"HostConnectInfoNetworkInfo"), aname="_HostConnectInfoNetworkInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostConnectInfoNetworkInfo = []
                    return
            Holder.__name__ = "ArrayOfHostConnectInfoNetworkInfo_Holder"
            self.pyclass = Holder

    class HostNewNetworkConnectInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNewNetworkConnectInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNewNetworkConnectInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostConnectInfoNetworkInfo_Def not in ns0.HostNewNetworkConnectInfo_Def.__bases__:
                bases = list(ns0.HostNewNetworkConnectInfo_Def.__bases__)
                bases.insert(0, ns0.HostConnectInfoNetworkInfo_Def)
                ns0.HostNewNetworkConnectInfo_Def.__bases__ = tuple(bases)

            ns0.HostConnectInfoNetworkInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDatastoreConnectInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDatastoreConnectInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDatastoreConnectInfo_Def.schema
            TClist = [GTD("urn:vim25","DatastoreSummary",lazy=True)(pname=(ns,"summary"), aname="_summary", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDatastoreConnectInfo_Def.__bases__:
                bases = list(ns0.HostDatastoreConnectInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDatastoreConnectInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostDatastoreConnectInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostDatastoreConnectInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostDatastoreConnectInfo_Def.schema
            TClist = [GTD("urn:vim25","HostDatastoreConnectInfo",lazy=True)(pname=(ns,"HostDatastoreConnectInfo"), aname="_HostDatastoreConnectInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostDatastoreConnectInfo = []
                    return
            Holder.__name__ = "ArrayOfHostDatastoreConnectInfo_Holder"
            self.pyclass = Holder

    class HostDatastoreExistsConnectInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDatastoreExistsConnectInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDatastoreExistsConnectInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"newDatastoreName"), aname="_newDatastoreName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDatastoreConnectInfo_Def not in ns0.HostDatastoreExistsConnectInfo_Def.__bases__:
                bases = list(ns0.HostDatastoreExistsConnectInfo_Def.__bases__)
                bases.insert(0, ns0.HostDatastoreConnectInfo_Def)
                ns0.HostDatastoreExistsConnectInfo_Def.__bases__ = tuple(bases)

            ns0.HostDatastoreConnectInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDatastoreNameConflictConnectInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDatastoreNameConflictConnectInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDatastoreNameConflictConnectInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"newDatastoreName"), aname="_newDatastoreName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDatastoreConnectInfo_Def not in ns0.HostDatastoreNameConflictConnectInfo_Def.__bases__:
                bases = list(ns0.HostDatastoreNameConflictConnectInfo_Def.__bases__)
                bases.insert(0, ns0.HostDatastoreConnectInfo_Def)
                ns0.HostDatastoreNameConflictConnectInfo_Def.__bases__ = tuple(bases)

            ns0.HostDatastoreConnectInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostLicenseConnectInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLicenseConnectInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLicenseConnectInfo_Def.schema
            TClist = [GTD("urn:vim25","LicenseManagerLicenseInfo",lazy=True)(pname=(ns,"license"), aname="_license", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LicenseManagerEvaluationInfo",lazy=True)(pname=(ns,"evaluation"), aname="_evaluation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostLicensableResourceInfo",lazy=True)(pname=(ns,"resource"), aname="_resource", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostLicenseConnectInfo_Def.__bases__:
                bases = list(ns0.HostLicenseConnectInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostLicenseConnectInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostConnectInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostConnectInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostConnectInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"serverIp"), aname="_serverIp", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"inDasCluster"), aname="_inDasCluster", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostListSummary",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineSummary",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vimAccountNameRequired"), aname="_vimAccountNameRequired", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"clusterSupported"), aname="_clusterSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostConnectInfoNetworkInfo",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDatastoreConnectInfo",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostLicenseConnectInfo",lazy=True)(pname=(ns,"license"), aname="_license", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostCapability",lazy=True)(pname=(ns,"capability"), aname="_capability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostConnectInfo_Def.__bases__:
                bases = list(ns0.HostConnectInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostConnectInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostConnectSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostConnectSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostConnectSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sslThumbprint"), aname="_sslThumbprint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vmFolder"), aname="_vmFolder", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vimAccountName"), aname="_vimAccountName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vimAccountPassword"), aname="_vimAccountPassword", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"managementIp"), aname="_managementIp", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostLockdownMode",lazy=True)(pname=(ns,"lockdownMode"), aname="_lockdownMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostGatewaySpec",lazy=True)(pname=(ns,"hostGateway"), aname="_hostGateway", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostConnectSpec_Def.__bases__:
                bases = list(ns0.HostConnectSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostConnectSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCpuIdInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCpuIdInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCpuIdInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"level"), aname="_level", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendor"), aname="_vendor", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"eax"), aname="_eax", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ebx"), aname="_ebx", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ecx"), aname="_ecx", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"edx"), aname="_edx", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostCpuIdInfo_Def.__bases__:
                bases = list(ns0.HostCpuIdInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostCpuIdInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostCpuIdInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostCpuIdInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostCpuIdInfo_Def.schema
            TClist = [GTD("urn:vim25","HostCpuIdInfo",lazy=True)(pname=(ns,"HostCpuIdInfo"), aname="_HostCpuIdInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostCpuIdInfo = []
                    return
            Holder.__name__ = "ArrayOfHostCpuIdInfo_Holder"
            self.pyclass = Holder

    class HostHyperThreadScheduleInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostHyperThreadScheduleInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostHyperThreadScheduleInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"available"), aname="_available", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"active"), aname="_active", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostHyperThreadScheduleInfo_Def.__bases__:
                bases = list(ns0.HostHyperThreadScheduleInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostHyperThreadScheduleInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FileQueryFlags_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FileQueryFlags")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FileQueryFlags_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"fileType"), aname="_fileType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"fileSize"), aname="_fileSize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"modification"), aname="_modification", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"fileOwner"), aname="_fileOwner", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FileQueryFlags_Def.__bases__:
                bases = list(ns0.FileQueryFlags_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FileQueryFlags_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FileInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"friendlyName"), aname="_friendlyName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"fileSize"), aname="_fileSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"modification"), aname="_modification", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"owner"), aname="_owner", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FileInfo_Def.__bases__:
                bases = list(ns0.FileInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FileInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfFileInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfFileInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfFileInfo_Def.schema
            TClist = [GTD("urn:vim25","FileInfo",lazy=True)(pname=(ns,"FileInfo"), aname="_FileInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._FileInfo = []
                    return
            Holder.__name__ = "ArrayOfFileInfo_Holder"
            self.pyclass = Holder

    class FileQuery_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FileQuery")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FileQuery_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FileQuery_Def.__bases__:
                bases = list(ns0.FileQuery_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FileQuery_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfFileQuery_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfFileQuery")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfFileQuery_Def.schema
            TClist = [GTD("urn:vim25","FileQuery",lazy=True)(pname=(ns,"FileQuery"), aname="_FileQuery", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._FileQuery = []
                    return
            Holder.__name__ = "ArrayOfFileQuery_Holder"
            self.pyclass = Holder

    class VmConfigFileQueryFilter_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmConfigFileQueryFilter")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmConfigFileQueryFilter_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"matchConfigVersion"), aname="_matchConfigVersion", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encrypted"), aname="_encrypted", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VmConfigFileQueryFilter_Def.__bases__:
                bases = list(ns0.VmConfigFileQueryFilter_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VmConfigFileQueryFilter_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmConfigFileQueryFlags_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmConfigFileQueryFlags")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmConfigFileQueryFlags_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"configVersion"), aname="_configVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encryption"), aname="_encryption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VmConfigFileQueryFlags_Def.__bases__:
                bases = list(ns0.VmConfigFileQueryFlags_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VmConfigFileQueryFlags_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmConfigFileQuery_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmConfigFileQuery")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmConfigFileQuery_Def.schema
            TClist = [GTD("urn:vim25","VmConfigFileQueryFilter",lazy=True)(pname=(ns,"filter"), aname="_filter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmConfigFileQueryFlags",lazy=True)(pname=(ns,"details"), aname="_details", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileQuery_Def not in ns0.VmConfigFileQuery_Def.__bases__:
                bases = list(ns0.VmConfigFileQuery_Def.__bases__)
                bases.insert(0, ns0.FileQuery_Def)
                ns0.VmConfigFileQuery_Def.__bases__ = tuple(bases)

            ns0.FileQuery_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TemplateConfigFileQuery_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TemplateConfigFileQuery")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TemplateConfigFileQuery_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFileQuery_Def not in ns0.TemplateConfigFileQuery_Def.__bases__:
                bases = list(ns0.TemplateConfigFileQuery_Def.__bases__)
                bases.insert(0, ns0.VmConfigFileQuery_Def)
                ns0.TemplateConfigFileQuery_Def.__bases__ = tuple(bases)

            ns0.VmConfigFileQuery_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDiskFileQueryFilter_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDiskFileQueryFilter")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDiskFileQueryFilter_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskType"), aname="_diskType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"matchHardwareVersion"), aname="_matchHardwareVersion", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"controllerType"), aname="_controllerType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"thin"), aname="_thin", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encrypted"), aname="_encrypted", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VmDiskFileQueryFilter_Def.__bases__:
                bases = list(ns0.VmDiskFileQueryFilter_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VmDiskFileQueryFilter_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDiskFileQueryFlags_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDiskFileQueryFlags")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDiskFileQueryFlags_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"diskType"), aname="_diskType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"capacityKb"), aname="_capacityKb", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hardwareVersion"), aname="_hardwareVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"controllerType"), aname="_controllerType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"diskExtents"), aname="_diskExtents", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"thin"), aname="_thin", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"encryption"), aname="_encryption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VmDiskFileQueryFlags_Def.__bases__:
                bases = list(ns0.VmDiskFileQueryFlags_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VmDiskFileQueryFlags_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDiskFileQuery_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDiskFileQuery")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDiskFileQuery_Def.schema
            TClist = [GTD("urn:vim25","VmDiskFileQueryFilter",lazy=True)(pname=(ns,"filter"), aname="_filter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmDiskFileQueryFlags",lazy=True)(pname=(ns,"details"), aname="_details", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileQuery_Def not in ns0.VmDiskFileQuery_Def.__bases__:
                bases = list(ns0.VmDiskFileQuery_Def.__bases__)
                bases.insert(0, ns0.FileQuery_Def)
                ns0.VmDiskFileQuery_Def.__bases__ = tuple(bases)

            ns0.FileQuery_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FolderFileQuery_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FolderFileQuery")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FolderFileQuery_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileQuery_Def not in ns0.FolderFileQuery_Def.__bases__:
                bases = list(ns0.FolderFileQuery_Def.__bases__)
                bases.insert(0, ns0.FileQuery_Def)
                ns0.FolderFileQuery_Def.__bases__ = tuple(bases)

            ns0.FileQuery_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmSnapshotFileQuery_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmSnapshotFileQuery")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmSnapshotFileQuery_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileQuery_Def not in ns0.VmSnapshotFileQuery_Def.__bases__:
                bases = list(ns0.VmSnapshotFileQuery_Def.__bases__)
                bases.insert(0, ns0.FileQuery_Def)
                ns0.VmSnapshotFileQuery_Def.__bases__ = tuple(bases)

            ns0.FileQuery_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IsoImageFileQuery_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IsoImageFileQuery")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IsoImageFileQuery_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileQuery_Def not in ns0.IsoImageFileQuery_Def.__bases__:
                bases = list(ns0.IsoImageFileQuery_Def.__bases__)
                bases.insert(0, ns0.FileQuery_Def)
                ns0.IsoImageFileQuery_Def.__bases__ = tuple(bases)

            ns0.FileQuery_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FloppyImageFileQuery_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FloppyImageFileQuery")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FloppyImageFileQuery_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileQuery_Def not in ns0.FloppyImageFileQuery_Def.__bases__:
                bases = list(ns0.FloppyImageFileQuery_Def.__bases__)
                bases.insert(0, ns0.FileQuery_Def)
                ns0.FloppyImageFileQuery_Def.__bases__ = tuple(bases)

            ns0.FileQuery_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmNvramFileQuery_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmNvramFileQuery")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmNvramFileQuery_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileQuery_Def not in ns0.VmNvramFileQuery_Def.__bases__:
                bases = list(ns0.VmNvramFileQuery_Def.__bases__)
                bases.insert(0, ns0.FileQuery_Def)
                ns0.VmNvramFileQuery_Def.__bases__ = tuple(bases)

            ns0.FileQuery_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmLogFileQuery_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmLogFileQuery")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmLogFileQuery_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileQuery_Def not in ns0.VmLogFileQuery_Def.__bases__:
                bases = list(ns0.VmLogFileQuery_Def.__bases__)
                bases.insert(0, ns0.FileQuery_Def)
                ns0.VmLogFileQuery_Def.__bases__ = tuple(bases)

            ns0.FileQuery_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmConfigFileEncryptionInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmConfigFileEncryptionInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmConfigFileEncryptionInfo_Def.schema
            TClist = [GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"keyId"), aname="_keyId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VmConfigFileEncryptionInfo_Def.__bases__:
                bases = list(ns0.VmConfigFileEncryptionInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VmConfigFileEncryptionInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmConfigFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmConfigFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmConfigFileInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"configVersion"), aname="_configVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmConfigFileEncryptionInfo",lazy=True)(pname=(ns,"encryption"), aname="_encryption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileInfo_Def not in ns0.VmConfigFileInfo_Def.__bases__:
                bases = list(ns0.VmConfigFileInfo_Def.__bases__)
                bases.insert(0, ns0.FileInfo_Def)
                ns0.VmConfigFileInfo_Def.__bases__ = tuple(bases)

            ns0.FileInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TemplateConfigFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TemplateConfigFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TemplateConfigFileInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigFileInfo_Def not in ns0.TemplateConfigFileInfo_Def.__bases__:
                bases = list(ns0.TemplateConfigFileInfo_Def.__bases__)
                bases.insert(0, ns0.VmConfigFileInfo_Def)
                ns0.TemplateConfigFileInfo_Def.__bases__ = tuple(bases)

            ns0.VmConfigFileInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDiskFileEncryptionInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDiskFileEncryptionInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDiskFileEncryptionInfo_Def.schema
            TClist = [GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"keyId"), aname="_keyId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VmDiskFileEncryptionInfo_Def.__bases__:
                bases = list(ns0.VmDiskFileEncryptionInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VmDiskFileEncryptionInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmDiskFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmDiskFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmDiskFileInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskType"), aname="_diskType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacityKb"), aname="_capacityKb", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"hardwareVersion"), aname="_hardwareVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"controllerType"), aname="_controllerType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diskExtents"), aname="_diskExtents", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"thin"), aname="_thin", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmDiskFileEncryptionInfo",lazy=True)(pname=(ns,"encryption"), aname="_encryption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileInfo_Def not in ns0.VmDiskFileInfo_Def.__bases__:
                bases = list(ns0.VmDiskFileInfo_Def.__bases__)
                bases.insert(0, ns0.FileInfo_Def)
                ns0.VmDiskFileInfo_Def.__bases__ = tuple(bases)

            ns0.FileInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FolderFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FolderFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FolderFileInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileInfo_Def not in ns0.FolderFileInfo_Def.__bases__:
                bases = list(ns0.FolderFileInfo_Def.__bases__)
                bases.insert(0, ns0.FileInfo_Def)
                ns0.FolderFileInfo_Def.__bases__ = tuple(bases)

            ns0.FileInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmSnapshotFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmSnapshotFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmSnapshotFileInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileInfo_Def not in ns0.VmSnapshotFileInfo_Def.__bases__:
                bases = list(ns0.VmSnapshotFileInfo_Def.__bases__)
                bases.insert(0, ns0.FileInfo_Def)
                ns0.VmSnapshotFileInfo_Def.__bases__ = tuple(bases)

            ns0.FileInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IsoImageFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IsoImageFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IsoImageFileInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileInfo_Def not in ns0.IsoImageFileInfo_Def.__bases__:
                bases = list(ns0.IsoImageFileInfo_Def.__bases__)
                bases.insert(0, ns0.FileInfo_Def)
                ns0.IsoImageFileInfo_Def.__bases__ = tuple(bases)

            ns0.FileInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FloppyImageFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FloppyImageFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FloppyImageFileInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileInfo_Def not in ns0.FloppyImageFileInfo_Def.__bases__:
                bases = list(ns0.FloppyImageFileInfo_Def.__bases__)
                bases.insert(0, ns0.FileInfo_Def)
                ns0.FloppyImageFileInfo_Def.__bases__ = tuple(bases)

            ns0.FileInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmNvramFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmNvramFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmNvramFileInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileInfo_Def not in ns0.VmNvramFileInfo_Def.__bases__:
                bases = list(ns0.VmNvramFileInfo_Def.__bases__)
                bases.insert(0, ns0.FileInfo_Def)
                ns0.VmNvramFileInfo_Def.__bases__ = tuple(bases)

            ns0.FileInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmLogFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmLogFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmLogFileInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FileInfo_Def not in ns0.VmLogFileInfo_Def.__bases__:
                bases = list(ns0.VmLogFileInfo_Def.__bases__)
                bases.insert(0, ns0.FileInfo_Def)
                ns0.VmLogFileInfo_Def.__bases__ = tuple(bases)

            ns0.FileInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDatastoreBrowserSearchSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDatastoreBrowserSearchSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDatastoreBrowserSearchSpec_Def.schema
            TClist = [GTD("urn:vim25","FileQuery",lazy=True)(pname=(ns,"query"), aname="_query", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FileQueryFlags",lazy=True)(pname=(ns,"details"), aname="_details", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"searchCaseInsensitive"), aname="_searchCaseInsensitive", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"matchPattern"), aname="_matchPattern", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"sortFoldersFirst"), aname="_sortFoldersFirst", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDatastoreBrowserSearchSpec_Def.__bases__:
                bases = list(ns0.HostDatastoreBrowserSearchSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDatastoreBrowserSearchSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDatastoreBrowserSearchResults_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDatastoreBrowserSearchResults")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDatastoreBrowserSearchResults_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"folderPath"), aname="_folderPath", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FileInfo",lazy=True)(pname=(ns,"file"), aname="_file", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDatastoreBrowserSearchResults_Def.__bases__:
                bases = list(ns0.HostDatastoreBrowserSearchResults_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDatastoreBrowserSearchResults_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostDatastoreBrowserSearchResults_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostDatastoreBrowserSearchResults")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostDatastoreBrowserSearchResults_Def.schema
            TClist = [GTD("urn:vim25","HostDatastoreBrowserSearchResults",lazy=True)(pname=(ns,"HostDatastoreBrowserSearchResults"), aname="_HostDatastoreBrowserSearchResults", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostDatastoreBrowserSearchResults = []
                    return
            Holder.__name__ = "ArrayOfHostDatastoreBrowserSearchResults_Holder"
            self.pyclass = Holder

    class HostDatastoreSystemCapabilities_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDatastoreSystemCapabilities")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDatastoreSystemCapabilities_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"nfsMountCreationRequired"), aname="_nfsMountCreationRequired", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"nfsMountCreationSupported"), aname="_nfsMountCreationSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"localDatastoreSupported"), aname="_localDatastoreSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmfsExtentExpansionSupported"), aname="_vmfsExtentExpansionSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDatastoreSystemCapabilities_Def.__bases__:
                bases = list(ns0.HostDatastoreSystemCapabilities_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDatastoreSystemCapabilities_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDatastoreSystemVvolDatastoreSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDatastoreSystemVvolDatastoreSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDatastoreSystemVvolDatastoreSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"scId"), aname="_scId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDatastoreSystemVvolDatastoreSpec_Def.__bases__:
                bases = list(ns0.HostDatastoreSystemVvolDatastoreSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDatastoreSystemVvolDatastoreSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDatastoreSystemDatastoreResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDatastoreSystemDatastoreResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDatastoreSystemDatastoreResult_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDatastoreSystemDatastoreResult_Def.__bases__:
                bases = list(ns0.HostDatastoreSystemDatastoreResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDatastoreSystemDatastoreResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostDatastoreSystemDatastoreResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostDatastoreSystemDatastoreResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostDatastoreSystemDatastoreResult_Def.schema
            TClist = [GTD("urn:vim25","HostDatastoreSystemDatastoreResult",lazy=True)(pname=(ns,"HostDatastoreSystemDatastoreResult"), aname="_HostDatastoreSystemDatastoreResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostDatastoreSystemDatastoreResult = []
                    return
            Holder.__name__ = "ArrayOfHostDatastoreSystemDatastoreResult_Holder"
            self.pyclass = Holder

    class VmfsDatastoreInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsDatastoreInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsDatastoreInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"maxPhysicalRDMFileSize"), aname="_maxPhysicalRDMFileSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"maxVirtualRDMFileSize"), aname="_maxVirtualRDMFileSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVmfsVolume",lazy=True)(pname=(ns,"vmfs"), aname="_vmfs", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreInfo_Def not in ns0.VmfsDatastoreInfo_Def.__bases__:
                bases = list(ns0.VmfsDatastoreInfo_Def.__bases__)
                bases.insert(0, ns0.DatastoreInfo_Def)
                ns0.VmfsDatastoreInfo_Def.__bases__ = tuple(bases)

            ns0.DatastoreInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NasDatastoreInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NasDatastoreInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NasDatastoreInfo_Def.schema
            TClist = [GTD("urn:vim25","HostNasVolume",lazy=True)(pname=(ns,"nas"), aname="_nas", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreInfo_Def not in ns0.NasDatastoreInfo_Def.__bases__:
                bases = list(ns0.NasDatastoreInfo_Def.__bases__)
                bases.insert(0, ns0.DatastoreInfo_Def)
                ns0.NasDatastoreInfo_Def.__bases__ = tuple(bases)

            ns0.DatastoreInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LocalDatastoreInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LocalDatastoreInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LocalDatastoreInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreInfo_Def not in ns0.LocalDatastoreInfo_Def.__bases__:
                bases = list(ns0.LocalDatastoreInfo_Def.__bases__)
                bases.insert(0, ns0.DatastoreInfo_Def)
                ns0.LocalDatastoreInfo_Def.__bases__ = tuple(bases)

            ns0.DatastoreInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmfsDatastoreSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsDatastoreSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsDatastoreSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskUuid"), aname="_diskUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VmfsDatastoreSpec_Def.__bases__:
                bases = list(ns0.VmfsDatastoreSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VmfsDatastoreSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmfsDatastoreCreateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsDatastoreCreateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsDatastoreCreateSpec_Def.schema
            TClist = [GTD("urn:vim25","HostDiskPartitionSpec",lazy=True)(pname=(ns,"partition"), aname="_partition", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVmfsSpec",lazy=True)(pname=(ns,"vmfs"), aname="_vmfs", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDiskPartition",lazy=True)(pname=(ns,"extent"), aname="_extent", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmfsDatastoreSpec_Def not in ns0.VmfsDatastoreCreateSpec_Def.__bases__:
                bases = list(ns0.VmfsDatastoreCreateSpec_Def.__bases__)
                bases.insert(0, ns0.VmfsDatastoreSpec_Def)
                ns0.VmfsDatastoreCreateSpec_Def.__bases__ = tuple(bases)

            ns0.VmfsDatastoreSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmfsDatastoreExtendSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsDatastoreExtendSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsDatastoreExtendSpec_Def.schema
            TClist = [GTD("urn:vim25","HostDiskPartitionSpec",lazy=True)(pname=(ns,"partition"), aname="_partition", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDiskPartition",lazy=True)(pname=(ns,"extent"), aname="_extent", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmfsDatastoreSpec_Def not in ns0.VmfsDatastoreExtendSpec_Def.__bases__:
                bases = list(ns0.VmfsDatastoreExtendSpec_Def.__bases__)
                bases.insert(0, ns0.VmfsDatastoreSpec_Def)
                ns0.VmfsDatastoreExtendSpec_Def.__bases__ = tuple(bases)

            ns0.VmfsDatastoreSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmfsDatastoreExpandSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsDatastoreExpandSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsDatastoreExpandSpec_Def.schema
            TClist = [GTD("urn:vim25","HostDiskPartitionSpec",lazy=True)(pname=(ns,"partition"), aname="_partition", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDiskPartition",lazy=True)(pname=(ns,"extent"), aname="_extent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmfsDatastoreSpec_Def not in ns0.VmfsDatastoreExpandSpec_Def.__bases__:
                bases = list(ns0.VmfsDatastoreExpandSpec_Def.__bases__)
                bases.insert(0, ns0.VmfsDatastoreSpec_Def)
                ns0.VmfsDatastoreExpandSpec_Def.__bases__ = tuple(bases)

            ns0.VmfsDatastoreSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmfsDatastoreBaseOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsDatastoreBaseOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsDatastoreBaseOption_Def.schema
            TClist = [GTD("urn:vim25","HostDiskPartitionLayout",lazy=True)(pname=(ns,"layout"), aname="_layout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"partitionFormatChange"), aname="_partitionFormatChange", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VmfsDatastoreBaseOption_Def.__bases__:
                bases = list(ns0.VmfsDatastoreBaseOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VmfsDatastoreBaseOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmfsDatastoreSingleExtentOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsDatastoreSingleExtentOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsDatastoreSingleExtentOption_Def.schema
            TClist = [GTD("urn:vim25","HostDiskPartitionBlockRange",lazy=True)(pname=(ns,"vmfsExtent"), aname="_vmfsExtent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmfsDatastoreBaseOption_Def not in ns0.VmfsDatastoreSingleExtentOption_Def.__bases__:
                bases = list(ns0.VmfsDatastoreSingleExtentOption_Def.__bases__)
                bases.insert(0, ns0.VmfsDatastoreBaseOption_Def)
                ns0.VmfsDatastoreSingleExtentOption_Def.__bases__ = tuple(bases)

            ns0.VmfsDatastoreBaseOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmfsDatastoreAllExtentOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsDatastoreAllExtentOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsDatastoreAllExtentOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmfsDatastoreSingleExtentOption_Def not in ns0.VmfsDatastoreAllExtentOption_Def.__bases__:
                bases = list(ns0.VmfsDatastoreAllExtentOption_Def.__bases__)
                bases.insert(0, ns0.VmfsDatastoreSingleExtentOption_Def)
                ns0.VmfsDatastoreAllExtentOption_Def.__bases__ = tuple(bases)

            ns0.VmfsDatastoreSingleExtentOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmfsDatastoreMultipleExtentOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsDatastoreMultipleExtentOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsDatastoreMultipleExtentOption_Def.schema
            TClist = [GTD("urn:vim25","HostDiskPartitionBlockRange",lazy=True)(pname=(ns,"vmfsExtent"), aname="_vmfsExtent", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmfsDatastoreBaseOption_Def not in ns0.VmfsDatastoreMultipleExtentOption_Def.__bases__:
                bases = list(ns0.VmfsDatastoreMultipleExtentOption_Def.__bases__)
                bases.insert(0, ns0.VmfsDatastoreBaseOption_Def)
                ns0.VmfsDatastoreMultipleExtentOption_Def.__bases__ = tuple(bases)

            ns0.VmfsDatastoreBaseOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmfsDatastoreOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsDatastoreOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsDatastoreOption_Def.schema
            TClist = [GTD("urn:vim25","VmfsDatastoreBaseOption",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmfsDatastoreSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VmfsDatastoreOption_Def.__bases__:
                bases = list(ns0.VmfsDatastoreOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VmfsDatastoreOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVmfsDatastoreOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVmfsDatastoreOption")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVmfsDatastoreOption_Def.schema
            TClist = [GTD("urn:vim25","VmfsDatastoreOption",lazy=True)(pname=(ns,"VmfsDatastoreOption"), aname="_VmfsDatastoreOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VmfsDatastoreOption = []
                    return
            Holder.__name__ = "ArrayOfVmfsDatastoreOption_Holder"
            self.pyclass = Holder

    class VvolDatastoreInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VvolDatastoreInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VvolDatastoreInfo_Def.schema
            TClist = [GTD("urn:vim25","HostVvolVolume",lazy=True)(pname=(ns,"vvolDS"), aname="_vvolDS", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreInfo_Def not in ns0.VvolDatastoreInfo_Def.__bases__:
                bases = list(ns0.VvolDatastoreInfo_Def.__bases__)
                bases.insert(0, ns0.DatastoreInfo_Def)
                ns0.VvolDatastoreInfo_Def.__bases__ = tuple(bases)

            ns0.DatastoreInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PMemDatastoreInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PMemDatastoreInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PMemDatastoreInfo_Def.schema
            TClist = [GTD("urn:vim25","HostPMemVolume",lazy=True)(pname=(ns,"pmem"), aname="_pmem", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DatastoreInfo_Def not in ns0.PMemDatastoreInfo_Def.__bases__:
                bases = list(ns0.PMemDatastoreInfo_Def.__bases__)
                bases.insert(0, ns0.DatastoreInfo_Def)
                ns0.PMemDatastoreInfo_Def.__bases__ = tuple(bases)

            ns0.DatastoreInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDateTimeConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDateTimeConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDateTimeConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"timeZone"), aname="_timeZone", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNtpConfig",lazy=True)(pname=(ns,"ntpConfig"), aname="_ntpConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDateTimeConfig_Def.__bases__:
                bases = list(ns0.HostDateTimeConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDateTimeConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDateTimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDateTimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDateTimeInfo_Def.schema
            TClist = [GTD("urn:vim25","HostDateTimeSystemTimeZone",lazy=True)(pname=(ns,"timeZone"), aname="_timeZone", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNtpConfig",lazy=True)(pname=(ns,"ntpConfig"), aname="_ntpConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDateTimeInfo_Def.__bases__:
                bases = list(ns0.HostDateTimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDateTimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDateTimeSystemTimeZone_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDateTimeSystemTimeZone")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDateTimeSystemTimeZone_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"gmtOffset"), aname="_gmtOffset", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDateTimeSystemTimeZone_Def.__bases__:
                bases = list(ns0.HostDateTimeSystemTimeZone_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDateTimeSystemTimeZone_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostDateTimeSystemTimeZone_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostDateTimeSystemTimeZone")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostDateTimeSystemTimeZone_Def.schema
            TClist = [GTD("urn:vim25","HostDateTimeSystemTimeZone",lazy=True)(pname=(ns,"HostDateTimeSystemTimeZone"), aname="_HostDateTimeSystemTimeZone", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostDateTimeSystemTimeZone = []
                    return
            Holder.__name__ = "ArrayOfHostDateTimeSystemTimeZone_Holder"
            self.pyclass = Holder

    class HostDeploymentInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDeploymentInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDeploymentInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"bootedFromStatelessCache"), aname="_bootedFromStatelessCache", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDeploymentInfo_Def.__bases__:
                bases = list(ns0.HostDeploymentInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDeploymentInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDevice_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"deviceName"), aname="_deviceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deviceType"), aname="_deviceType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDevice_Def.__bases__:
                bases = list(ns0.HostDevice_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDevice_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDhcpServiceSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDhcpServiceSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDhcpServiceSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"virtualSwitch"), aname="_virtualSwitch", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"defaultLeaseDuration"), aname="_defaultLeaseDuration", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"leaseBeginIp"), aname="_leaseBeginIp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"leaseEndIp"), aname="_leaseEndIp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxLeaseDuration"), aname="_maxLeaseDuration", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"unlimitedLease"), aname="_unlimitedLease", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipSubnetAddr"), aname="_ipSubnetAddr", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipSubnetMask"), aname="_ipSubnetMask", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDhcpServiceSpec_Def.__bases__:
                bases = list(ns0.HostDhcpServiceSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDhcpServiceSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDhcpServiceConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDhcpServiceConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDhcpServiceConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"changeOperation"), aname="_changeOperation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDhcpServiceSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDhcpServiceConfig_Def.__bases__:
                bases = list(ns0.HostDhcpServiceConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDhcpServiceConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostDhcpServiceConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostDhcpServiceConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostDhcpServiceConfig_Def.schema
            TClist = [GTD("urn:vim25","HostDhcpServiceConfig",lazy=True)(pname=(ns,"HostDhcpServiceConfig"), aname="_HostDhcpServiceConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostDhcpServiceConfig = []
                    return
            Holder.__name__ = "ArrayOfHostDhcpServiceConfig_Holder"
            self.pyclass = Holder

    class HostDhcpService_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDhcpService")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDhcpService_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDhcpServiceSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDhcpService_Def.__bases__:
                bases = list(ns0.HostDhcpService_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDhcpService_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostDhcpService_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostDhcpService")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostDhcpService_Def.schema
            TClist = [GTD("urn:vim25","HostDhcpService",lazy=True)(pname=(ns,"HostDhcpService"), aname="_HostDhcpService", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostDhcpService = []
                    return
            Holder.__name__ = "ArrayOfHostDhcpService_Holder"
            self.pyclass = Holder

    class DiagnosticPartitionStorageType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DiagnosticPartitionStorageType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class DiagnosticPartitionType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DiagnosticPartitionType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostDiagnosticPartitionCreateOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiagnosticPartitionCreateOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiagnosticPartitionCreateOption_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"storageType"), aname="_storageType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diagnosticType"), aname="_diagnosticType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDisk",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiagnosticPartitionCreateOption_Def.__bases__:
                bases = list(ns0.HostDiagnosticPartitionCreateOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiagnosticPartitionCreateOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostDiagnosticPartitionCreateOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostDiagnosticPartitionCreateOption")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostDiagnosticPartitionCreateOption_Def.schema
            TClist = [GTD("urn:vim25","HostDiagnosticPartitionCreateOption",lazy=True)(pname=(ns,"HostDiagnosticPartitionCreateOption"), aname="_HostDiagnosticPartitionCreateOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostDiagnosticPartitionCreateOption = []
                    return
            Holder.__name__ = "ArrayOfHostDiagnosticPartitionCreateOption_Holder"
            self.pyclass = Holder

    class HostDiagnosticPartitionCreateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiagnosticPartitionCreateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiagnosticPartitionCreateSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"storageType"), aname="_storageType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diagnosticType"), aname="_diagnosticType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDiskPartition",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiskPartitionSpec",lazy=True)(pname=(ns,"partition"), aname="_partition", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"active"), aname="_active", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiagnosticPartitionCreateSpec_Def.__bases__:
                bases = list(ns0.HostDiagnosticPartitionCreateSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiagnosticPartitionCreateSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDiagnosticPartitionCreateDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiagnosticPartitionCreateDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiagnosticPartitionCreateDescription_Def.schema
            TClist = [GTD("urn:vim25","HostDiskPartitionLayout",lazy=True)(pname=(ns,"layout"), aname="_layout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diskUuid"), aname="_diskUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiagnosticPartitionCreateSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiagnosticPartitionCreateDescription_Def.__bases__:
                bases = list(ns0.HostDiagnosticPartitionCreateDescription_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiagnosticPartitionCreateDescription_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDiagnosticPartition_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiagnosticPartition")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiagnosticPartition_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"storageType"), aname="_storageType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diagnosticType"), aname="_diagnosticType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"slots"), aname="_slots", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDiskPartition",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiagnosticPartition_Def.__bases__:
                bases = list(ns0.HostDiagnosticPartition_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiagnosticPartition_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostDiagnosticPartition_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostDiagnosticPartition")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostDiagnosticPartition_Def.schema
            TClist = [GTD("urn:vim25","HostDiagnosticPartition",lazy=True)(pname=(ns,"HostDiagnosticPartition"), aname="_HostDiagnosticPartition", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostDiagnosticPartition = []
                    return
            Holder.__name__ = "ArrayOfHostDiagnosticPartition_Holder"
            self.pyclass = Holder

    class HostDirectoryStoreInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDirectoryStoreInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDirectoryStoreInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostAuthenticationStoreInfo_Def not in ns0.HostDirectoryStoreInfo_Def.__bases__:
                bases = list(ns0.HostDirectoryStoreInfo_Def.__bases__)
                bases.insert(0, ns0.HostAuthenticationStoreInfo_Def)
                ns0.HostDirectoryStoreInfo_Def.__bases__ = tuple(bases)

            ns0.HostAuthenticationStoreInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDiskConfigurationResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiskConfigurationResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiskConfigurationResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"devicePath"), aname="_devicePath", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"success"), aname="_success", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiskConfigurationResult_Def.__bases__:
                bases = list(ns0.HostDiskConfigurationResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiskConfigurationResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostDiskConfigurationResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostDiskConfigurationResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostDiskConfigurationResult_Def.schema
            TClist = [GTD("urn:vim25","HostDiskConfigurationResult",lazy=True)(pname=(ns,"HostDiskConfigurationResult"), aname="_HostDiskConfigurationResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostDiskConfigurationResult = []
                    return
            Holder.__name__ = "ArrayOfHostDiskConfigurationResult_Holder"
            self.pyclass = Holder

    class HostDiskDimensionsChs_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiskDimensionsChs")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiskDimensionsChs_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"cylinder"), aname="_cylinder", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"head"), aname="_head", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"sector"), aname="_sector", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiskDimensionsChs_Def.__bases__:
                bases = list(ns0.HostDiskDimensionsChs_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiskDimensionsChs_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDiskDimensionsLba_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiskDimensionsLba")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiskDimensionsLba_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"blockSize"), aname="_blockSize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"block"), aname="_block", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiskDimensionsLba_Def.__bases__:
                bases = list(ns0.HostDiskDimensionsLba_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiskDimensionsLba_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDiskDimensions_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiskDimensions")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiskDimensions_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiskDimensions_Def.__bases__:
                bases = list(ns0.HostDiskDimensions_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiskDimensions_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDiskPartitionInfoPartitionFormat_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostDiskPartitionInfoPartitionFormat")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostDiskPartitionInfoType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostDiskPartitionInfoType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostDiskPartitionAttributes_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiskPartitionAttributes")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiskPartitionAttributes_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"partition"), aname="_partition", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"startSector"), aname="_startSector", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"endSector"), aname="_endSector", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guid"), aname="_guid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"logical"), aname="_logical", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"attributes"), aname="_attributes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"partitionAlignment"), aname="_partitionAlignment", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiskPartitionAttributes_Def.__bases__:
                bases = list(ns0.HostDiskPartitionAttributes_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiskPartitionAttributes_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostDiskPartitionAttributes_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostDiskPartitionAttributes")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostDiskPartitionAttributes_Def.schema
            TClist = [GTD("urn:vim25","HostDiskPartitionAttributes",lazy=True)(pname=(ns,"HostDiskPartitionAttributes"), aname="_HostDiskPartitionAttributes", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostDiskPartitionAttributes = []
                    return
            Holder.__name__ = "ArrayOfHostDiskPartitionAttributes_Holder"
            self.pyclass = Holder

    class HostDiskPartitionBlockRange_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiskPartitionBlockRange")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiskPartitionBlockRange_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"partition"), aname="_partition", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiskDimensionsLba",lazy=True)(pname=(ns,"start"), aname="_start", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiskDimensionsLba",lazy=True)(pname=(ns,"end"), aname="_end", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiskPartitionBlockRange_Def.__bases__:
                bases = list(ns0.HostDiskPartitionBlockRange_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiskPartitionBlockRange_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostDiskPartitionBlockRange_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostDiskPartitionBlockRange")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostDiskPartitionBlockRange_Def.schema
            TClist = [GTD("urn:vim25","HostDiskPartitionBlockRange",lazy=True)(pname=(ns,"HostDiskPartitionBlockRange"), aname="_HostDiskPartitionBlockRange", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostDiskPartitionBlockRange = []
                    return
            Holder.__name__ = "ArrayOfHostDiskPartitionBlockRange_Holder"
            self.pyclass = Holder

    class HostDiskPartitionSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiskPartitionSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiskPartitionSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"partitionFormat"), aname="_partitionFormat", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiskDimensionsChs",lazy=True)(pname=(ns,"chs"), aname="_chs", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"totalSectors"), aname="_totalSectors", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiskPartitionAttributes",lazy=True)(pname=(ns,"partition"), aname="_partition", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiskPartitionSpec_Def.__bases__:
                bases = list(ns0.HostDiskPartitionSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiskPartitionSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDiskPartitionLayout_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiskPartitionLayout")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiskPartitionLayout_Def.schema
            TClist = [GTD("urn:vim25","HostDiskDimensionsLba",lazy=True)(pname=(ns,"total"), aname="_total", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiskPartitionBlockRange",lazy=True)(pname=(ns,"partition"), aname="_partition", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiskPartitionLayout_Def.__bases__:
                bases = list(ns0.HostDiskPartitionLayout_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiskPartitionLayout_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDiskPartitionInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiskPartitionInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiskPartitionInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"deviceName"), aname="_deviceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiskPartitionSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiskPartitionLayout",lazy=True)(pname=(ns,"layout"), aname="_layout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiskPartitionInfo_Def.__bases__:
                bases = list(ns0.HostDiskPartitionInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiskPartitionInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostDiskPartitionInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostDiskPartitionInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostDiskPartitionInfo_Def.schema
            TClist = [GTD("urn:vim25","HostDiskPartitionInfo",lazy=True)(pname=(ns,"HostDiskPartitionInfo"), aname="_HostDiskPartitionInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostDiskPartitionInfo = []
                    return
            Holder.__name__ = "ArrayOfHostDiskPartitionInfo_Holder"
            self.pyclass = Holder

    class HostDnsConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDnsConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDnsConfig_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"dhcp"), aname="_dhcp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"virtualNicDevice"), aname="_virtualNicDevice", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipv6VirtualNicDevice"), aname="_ipv6VirtualNicDevice", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"domainName"), aname="_domainName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"address"), aname="_address", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"searchDomain"), aname="_searchDomain", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDnsConfig_Def.__bases__:
                bases = list(ns0.HostDnsConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDnsConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDnsConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDnsConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDnsConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","HostVirtualNicConnection",lazy=True)(pname=(ns,"virtualNicConnection"), aname="_virtualNicConnection", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicConnection",lazy=True)(pname=(ns,"virtualNicConnectionV6"), aname="_virtualNicConnectionV6", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDnsConfig_Def not in ns0.HostDnsConfigSpec_Def.__bases__:
                bases = list(ns0.HostDnsConfigSpec_Def.__bases__)
                bases.insert(0, ns0.HostDnsConfig_Def)
                ns0.HostDnsConfigSpec_Def.__bases__ = tuple(bases)

            ns0.HostDnsConfig_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostEnterMaintenanceResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostEnterMaintenanceResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostEnterMaintenanceResult_Def.schema
            TClist = [GTD("urn:vim25","FaultsByVM",lazy=True)(pname=(ns,"vmFaults"), aname="_vmFaults", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FaultsByHost",lazy=True)(pname=(ns,"hostFaults"), aname="_hostFaults", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostEnterMaintenanceResult_Def.__bases__:
                bases = list(ns0.HostEnterMaintenanceResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostEnterMaintenanceResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostEsxAgentHostManagerConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostEsxAgentHostManagerConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostEsxAgentHostManagerConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"agentVmDatastore"), aname="_agentVmDatastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"agentVmNetwork"), aname="_agentVmNetwork", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostEsxAgentHostManagerConfigInfo_Def.__bases__:
                bases = list(ns0.HostEsxAgentHostManagerConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostEsxAgentHostManagerConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFaultToleranceManagerComponentHealthInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFaultToleranceManagerComponentHealthInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFaultToleranceManagerComponentHealthInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"isStorageHealthy"), aname="_isStorageHealthy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"isNetworkHealthy"), aname="_isNetworkHealthy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFaultToleranceManagerComponentHealthInfo_Def.__bases__:
                bases = list(ns0.HostFaultToleranceManagerComponentHealthInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFaultToleranceManagerComponentHealthInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FcoeConfigVlanRange_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FcoeConfigVlanRange")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FcoeConfigVlanRange_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vlanLow"), aname="_vlanLow", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vlanHigh"), aname="_vlanHigh", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FcoeConfigVlanRange_Def.__bases__:
                bases = list(ns0.FcoeConfigVlanRange_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FcoeConfigVlanRange_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfFcoeConfigVlanRange_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfFcoeConfigVlanRange")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfFcoeConfigVlanRange_Def.schema
            TClist = [GTD("urn:vim25","FcoeConfigVlanRange",lazy=True)(pname=(ns,"FcoeConfigVlanRange"), aname="_FcoeConfigVlanRange", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._FcoeConfigVlanRange = []
                    return
            Holder.__name__ = "ArrayOfFcoeConfigVlanRange_Holder"
            self.pyclass = Holder

    class FcoeConfigFcoeCapabilities_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FcoeConfigFcoeCapabilities")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FcoeConfigFcoeCapabilities_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"priorityClass"), aname="_priorityClass", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"sourceMacAddress"), aname="_sourceMacAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vlanRange"), aname="_vlanRange", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FcoeConfigFcoeCapabilities_Def.__bases__:
                bases = list(ns0.FcoeConfigFcoeCapabilities_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FcoeConfigFcoeCapabilities_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FcoeConfigFcoeSpecification_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FcoeConfigFcoeSpecification")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FcoeConfigFcoeSpecification_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"underlyingPnic"), aname="_underlyingPnic", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"priorityClass"), aname="_priorityClass", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sourceMac"), aname="_sourceMac", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FcoeConfigVlanRange",lazy=True)(pname=(ns,"vlanRange"), aname="_vlanRange", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FcoeConfigFcoeSpecification_Def.__bases__:
                bases = list(ns0.FcoeConfigFcoeSpecification_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FcoeConfigFcoeSpecification_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FcoeConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FcoeConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FcoeConfig_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"priorityClass"), aname="_priorityClass", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sourceMac"), aname="_sourceMac", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FcoeConfigVlanRange",lazy=True)(pname=(ns,"vlanRange"), aname="_vlanRange", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FcoeConfigFcoeCapabilities",lazy=True)(pname=(ns,"capabilities"), aname="_capabilities", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"fcoeActive"), aname="_fcoeActive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FcoeConfig_Def.__bases__:
                bases = list(ns0.FcoeConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FcoeConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFeatureCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFeatureCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFeatureCapability_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"featureName"), aname="_featureName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFeatureCapability_Def.__bases__:
                bases = list(ns0.HostFeatureCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFeatureCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostFeatureCapability_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostFeatureCapability")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostFeatureCapability_Def.schema
            TClist = [GTD("urn:vim25","HostFeatureCapability",lazy=True)(pname=(ns,"HostFeatureCapability"), aname="_HostFeatureCapability", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostFeatureCapability = []
                    return
            Holder.__name__ = "ArrayOfHostFeatureCapability_Holder"
            self.pyclass = Holder

    class HostFeatureMask_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFeatureMask")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFeatureMask_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"featureName"), aname="_featureName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFeatureMask_Def.__bases__:
                bases = list(ns0.HostFeatureMask_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFeatureMask_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostFeatureMask_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostFeatureMask")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostFeatureMask_Def.schema
            TClist = [GTD("urn:vim25","HostFeatureMask",lazy=True)(pname=(ns,"HostFeatureMask"), aname="_HostFeatureMask", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostFeatureMask = []
                    return
            Holder.__name__ = "ArrayOfHostFeatureMask_Holder"
            self.pyclass = Holder

    class HostFeatureVersionKey_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostFeatureVersionKey")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostFeatureVersionInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFeatureVersionInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFeatureVersionInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFeatureVersionInfo_Def.__bases__:
                bases = list(ns0.HostFeatureVersionInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFeatureVersionInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostFeatureVersionInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostFeatureVersionInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostFeatureVersionInfo_Def.schema
            TClist = [GTD("urn:vim25","HostFeatureVersionInfo",lazy=True)(pname=(ns,"HostFeatureVersionInfo"), aname="_HostFeatureVersionInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostFeatureVersionInfo = []
                    return
            Holder.__name__ = "ArrayOfHostFeatureVersionInfo_Holder"
            self.pyclass = Holder

    class ModeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ModeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ModeInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"browse"), aname="_browse", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"read"), aname="_read", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"modify"), aname="_modify", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"use"), aname="_use", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"admin"), aname="_admin", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"full"), aname="_full", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ModeInfo_Def.__bases__:
                bases = list(ns0.ModeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ModeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFileAccess_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFileAccess")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFileAccess_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"who"), aname="_who", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"what"), aname="_what", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFileAccess_Def.__bases__:
                bases = list(ns0.HostFileAccess_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFileAccess_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFileSystemVolumeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFileSystemVolumeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFileSystemVolumeInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"volumeTypeList"), aname="_volumeTypeList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFileSystemMountInfo",lazy=True)(pname=(ns,"mountInfo"), aname="_mountInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFileSystemVolumeInfo_Def.__bases__:
                bases = list(ns0.HostFileSystemVolumeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFileSystemVolumeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FileSystemMountInfoVStorageSupportStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FileSystemMountInfoVStorageSupportStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostFileSystemMountInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFileSystemMountInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFileSystemMountInfo_Def.schema
            TClist = [GTD("urn:vim25","HostMountInfo",lazy=True)(pname=(ns,"mountInfo"), aname="_mountInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFileSystemVolume",lazy=True)(pname=(ns,"volume"), aname="_volume", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vStorageSupport"), aname="_vStorageSupport", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFileSystemMountInfo_Def.__bases__:
                bases = list(ns0.HostFileSystemMountInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFileSystemMountInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostFileSystemMountInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostFileSystemMountInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostFileSystemMountInfo_Def.schema
            TClist = [GTD("urn:vim25","HostFileSystemMountInfo",lazy=True)(pname=(ns,"HostFileSystemMountInfo"), aname="_HostFileSystemMountInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostFileSystemMountInfo = []
                    return
            Holder.__name__ = "ArrayOfHostFileSystemMountInfo_Holder"
            self.pyclass = Holder

    class HostFileSystemVolumeFileSystemType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostFileSystemVolumeFileSystemType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostFileSystemVolume_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFileSystemVolume")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFileSystemVolume_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacity"), aname="_capacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFileSystemVolume_Def.__bases__:
                bases = list(ns0.HostFileSystemVolume_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFileSystemVolume_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNasVolumeUserInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNasVolumeUserInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNasVolumeUserInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"user"), aname="_user", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNasVolumeUserInfo_Def.__bases__:
                bases = list(ns0.HostNasVolumeUserInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNasVolumeUserInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNasVolumeSecurityType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostNasVolumeSecurityType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostNasVolumeSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNasVolumeSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNasVolumeSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"remoteHost"), aname="_remoteHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"remotePath"), aname="_remotePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"localPath"), aname="_localPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"accessMode"), aname="_accessMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"remoteHostNames"), aname="_remoteHostNames", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"securityType"), aname="_securityType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNasVolumeSpec_Def.__bases__:
                bases = list(ns0.HostNasVolumeSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNasVolumeSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNasVolumeConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNasVolumeConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNasVolumeConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"changeOperation"), aname="_changeOperation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNasVolumeSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNasVolumeConfig_Def.__bases__:
                bases = list(ns0.HostNasVolumeConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNasVolumeConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostNasVolumeConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostNasVolumeConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostNasVolumeConfig_Def.schema
            TClist = [GTD("urn:vim25","HostNasVolumeConfig",lazy=True)(pname=(ns,"HostNasVolumeConfig"), aname="_HostNasVolumeConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostNasVolumeConfig = []
                    return
            Holder.__name__ = "ArrayOfHostNasVolumeConfig_Holder"
            self.pyclass = Holder

    class HostNasVolume_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNasVolume")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNasVolume_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"remoteHost"), aname="_remoteHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"remotePath"), aname="_remotePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"remoteHostNames"), aname="_remoteHostNames", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"securityType"), aname="_securityType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"protocolEndpoint"), aname="_protocolEndpoint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostFileSystemVolume_Def not in ns0.HostNasVolume_Def.__bases__:
                bases = list(ns0.HostNasVolume_Def.__bases__)
                bases.insert(0, ns0.HostFileSystemVolume_Def)
                ns0.HostNasVolume_Def.__bases__ = tuple(bases)

            ns0.HostFileSystemVolume_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostLocalFileSystemVolumeSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLocalFileSystemVolumeSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLocalFileSystemVolumeSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"localPath"), aname="_localPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostLocalFileSystemVolumeSpec_Def.__bases__:
                bases = list(ns0.HostLocalFileSystemVolumeSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostLocalFileSystemVolumeSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostLocalFileSystemVolume_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLocalFileSystemVolume")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLocalFileSystemVolume_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostFileSystemVolume_Def not in ns0.HostLocalFileSystemVolume_Def.__bases__:
                bases = list(ns0.HostLocalFileSystemVolume_Def.__bases__)
                bases.insert(0, ns0.HostFileSystemVolume_Def)
                ns0.HostLocalFileSystemVolume_Def.__bases__ = tuple(bases)

            ns0.HostFileSystemVolume_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVfatVolume_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVfatVolume")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVfatVolume_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostFileSystemVolume_Def not in ns0.HostVfatVolume_Def.__bases__:
                bases = list(ns0.HostVfatVolume_Def.__bases__)
                bases.insert(0, ns0.HostFileSystemVolume_Def)
                ns0.HostVfatVolume_Def.__bases__ = tuple(bases)

            ns0.HostFileSystemVolume_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFirewallConfigRuleSetConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFirewallConfigRuleSetConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFirewallConfigRuleSetConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"rulesetId"), aname="_rulesetId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFirewallRulesetIpList",lazy=True)(pname=(ns,"allowedHosts"), aname="_allowedHosts", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFirewallConfigRuleSetConfig_Def.__bases__:
                bases = list(ns0.HostFirewallConfigRuleSetConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFirewallConfigRuleSetConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostFirewallConfigRuleSetConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostFirewallConfigRuleSetConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostFirewallConfigRuleSetConfig_Def.schema
            TClist = [GTD("urn:vim25","HostFirewallConfigRuleSetConfig",lazy=True)(pname=(ns,"HostFirewallConfigRuleSetConfig"), aname="_HostFirewallConfigRuleSetConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostFirewallConfigRuleSetConfig = []
                    return
            Holder.__name__ = "ArrayOfHostFirewallConfigRuleSetConfig_Holder"
            self.pyclass = Holder

    class HostFirewallConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFirewallConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFirewallConfig_Def.schema
            TClist = [GTD("urn:vim25","HostFirewallConfigRuleSetConfig",lazy=True)(pname=(ns,"rule"), aname="_rule", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFirewallDefaultPolicy",lazy=True)(pname=(ns,"defaultBlockingPolicy"), aname="_defaultBlockingPolicy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFirewallConfig_Def.__bases__:
                bases = list(ns0.HostFirewallConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFirewallConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFirewallDefaultPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFirewallDefaultPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFirewallDefaultPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"incomingBlocked"), aname="_incomingBlocked", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"outgoingBlocked"), aname="_outgoingBlocked", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFirewallDefaultPolicy_Def.__bases__:
                bases = list(ns0.HostFirewallDefaultPolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFirewallDefaultPolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFirewallInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFirewallInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFirewallInfo_Def.schema
            TClist = [GTD("urn:vim25","HostFirewallDefaultPolicy",lazy=True)(pname=(ns,"defaultPolicy"), aname="_defaultPolicy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFirewallRuleset",lazy=True)(pname=(ns,"ruleset"), aname="_ruleset", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFirewallInfo_Def.__bases__:
                bases = list(ns0.HostFirewallInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFirewallInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFlagInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFlagInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFlagInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"backgroundSnapshotsEnabled"), aname="_backgroundSnapshotsEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFlagInfo_Def.__bases__:
                bases = list(ns0.HostFlagInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFlagInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostForceMountedInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostForceMountedInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostForceMountedInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"persist"), aname="_persist", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"mounted"), aname="_mounted", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostForceMountedInfo_Def.__bases__:
                bases = list(ns0.HostForceMountedInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostForceMountedInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostGatewaySpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostGatewaySpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostGatewaySpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"gatewayType"), aname="_gatewayType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"gatewayId"), aname="_gatewayId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"trustVerificationToken"), aname="_trustVerificationToken", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"hostAuthParams"), aname="_hostAuthParams", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostGatewaySpec_Def.__bases__:
                bases = list(ns0.HostGatewaySpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostGatewaySpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostGraphicsConfigGraphicsType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostGraphicsConfigGraphicsType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostGraphicsConfigSharedPassthruAssignmentPolicy_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostGraphicsConfigSharedPassthruAssignmentPolicy")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostGraphicsConfigDeviceType_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostGraphicsConfigDeviceType")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostGraphicsConfigDeviceType_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"deviceId"), aname="_deviceId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"graphicsType"), aname="_graphicsType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostGraphicsConfigDeviceType_Def.__bases__:
                bases = list(ns0.HostGraphicsConfigDeviceType_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostGraphicsConfigDeviceType_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostGraphicsConfigDeviceType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostGraphicsConfigDeviceType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostGraphicsConfigDeviceType_Def.schema
            TClist = [GTD("urn:vim25","HostGraphicsConfigDeviceType",lazy=True)(pname=(ns,"HostGraphicsConfigDeviceType"), aname="_HostGraphicsConfigDeviceType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostGraphicsConfigDeviceType = []
                    return
            Holder.__name__ = "ArrayOfHostGraphicsConfigDeviceType_Holder"
            self.pyclass = Holder

    class HostGraphicsConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostGraphicsConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostGraphicsConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostDefaultGraphicsType"), aname="_hostDefaultGraphicsType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sharedPassthruAssignmentPolicy"), aname="_sharedPassthruAssignmentPolicy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostGraphicsConfigDeviceType",lazy=True)(pname=(ns,"deviceType"), aname="_deviceType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostGraphicsConfig_Def.__bases__:
                bases = list(ns0.HostGraphicsConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostGraphicsConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostGraphicsInfoGraphicsType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostGraphicsInfoGraphicsType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostGraphicsInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostGraphicsInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostGraphicsInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"deviceName"), aname="_deviceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendorName"), aname="_vendorName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pciId"), aname="_pciId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"graphicsType"), aname="_graphicsType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"memorySizeInKB"), aname="_memorySizeInKB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostGraphicsInfo_Def.__bases__:
                bases = list(ns0.HostGraphicsInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostGraphicsInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostGraphicsInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostGraphicsInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostGraphicsInfo_Def.schema
            TClist = [GTD("urn:vim25","HostGraphicsInfo",lazy=True)(pname=(ns,"HostGraphicsInfo"), aname="_HostGraphicsInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostGraphicsInfo = []
                    return
            Holder.__name__ = "ArrayOfHostGraphicsInfo_Holder"
            self.pyclass = Holder

    class HostHardwareInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostHardwareInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostHardwareInfo_Def.schema
            TClist = [GTD("urn:vim25","HostSystemInfo",lazy=True)(pname=(ns,"systemInfo"), aname="_systemInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostCpuPowerManagementInfo",lazy=True)(pname=(ns,"cpuPowerManagementInfo"), aname="_cpuPowerManagementInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostCpuInfo",lazy=True)(pname=(ns,"cpuInfo"), aname="_cpuInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostCpuPackage",lazy=True)(pname=(ns,"cpuPkg"), aname="_cpuPkg", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"memorySize"), aname="_memorySize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNumaInfo",lazy=True)(pname=(ns,"numaInfo"), aname="_numaInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"smcPresent"), aname="_smcPresent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPciDevice",lazy=True)(pname=(ns,"pciDevice"), aname="_pciDevice", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostCpuIdInfo",lazy=True)(pname=(ns,"cpuFeature"), aname="_cpuFeature", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostBIOSInfo",lazy=True)(pname=(ns,"biosInfo"), aname="_biosInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostReliableMemoryInfo",lazy=True)(pname=(ns,"reliableMemoryInfo"), aname="_reliableMemoryInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPersistentMemoryInfo",lazy=True)(pname=(ns,"persistentMemoryInfo"), aname="_persistentMemoryInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostHardwareInfo_Def.__bases__:
                bases = list(ns0.HostHardwareInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostHardwareInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSystemInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSystemInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSystemInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vendor"), aname="_vendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"model"), aname="_model", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSystemIdentificationInfo",lazy=True)(pname=(ns,"otherIdentifyingInfo"), aname="_otherIdentifyingInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"serialNumber"), aname="_serialNumber", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSystemInfo_Def.__bases__:
                bases = list(ns0.HostSystemInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSystemInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCpuPowerManagementInfoPolicyType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostCpuPowerManagementInfoPolicyType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostCpuPowerManagementInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCpuPowerManagementInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCpuPowerManagementInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"currentPolicy"), aname="_currentPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hardwareSupport"), aname="_hardwareSupport", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostCpuPowerManagementInfo_Def.__bases__:
                bases = list(ns0.HostCpuPowerManagementInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostCpuPowerManagementInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCpuInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCpuInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCpuInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"numCpuPackages"), aname="_numCpuPackages", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"numCpuCores"), aname="_numCpuCores", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"numCpuThreads"), aname="_numCpuThreads", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"hz"), aname="_hz", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostCpuInfo_Def.__bases__:
                bases = list(ns0.HostCpuInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostCpuInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostCpuPackageVendor_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostCpuPackageVendor")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostCpuPackage_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostCpuPackage")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostCpuPackage_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"index"), aname="_index", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendor"), aname="_vendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"hz"), aname="_hz", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"busHz"), aname="_busHz", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"threadId"), aname="_threadId", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostCpuIdInfo",lazy=True)(pname=(ns,"cpuFeature"), aname="_cpuFeature", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostCpuPackage_Def.__bases__:
                bases = list(ns0.HostCpuPackage_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostCpuPackage_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostCpuPackage_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostCpuPackage")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostCpuPackage_Def.schema
            TClist = [GTD("urn:vim25","HostCpuPackage",lazy=True)(pname=(ns,"HostCpuPackage"), aname="_HostCpuPackage", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostCpuPackage = []
                    return
            Holder.__name__ = "ArrayOfHostCpuPackage_Holder"
            self.pyclass = Holder

    class HostNumaInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNumaInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNumaInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numNodes"), aname="_numNodes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNumaNode",lazy=True)(pname=(ns,"numaNode"), aname="_numaNode", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNumaInfo_Def.__bases__:
                bases = list(ns0.HostNumaInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNumaInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNumaNode_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNumaNode")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNumaNode_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"typeId"), aname="_typeId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"cpuID"), aname="_cpuID", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"memoryRangeBegin"), aname="_memoryRangeBegin", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"memoryRangeLength"), aname="_memoryRangeLength", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pciId"), aname="_pciId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNumaNode_Def.__bases__:
                bases = list(ns0.HostNumaNode_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNumaNode_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostNumaNode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostNumaNode")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostNumaNode_Def.schema
            TClist = [GTD("urn:vim25","HostNumaNode",lazy=True)(pname=(ns,"HostNumaNode"), aname="_HostNumaNode", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostNumaNode = []
                    return
            Holder.__name__ = "ArrayOfHostNumaNode_Holder"
            self.pyclass = Holder

    class HostBIOSInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostBIOSInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostBIOSInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"biosVersion"), aname="_biosVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"releaseDate"), aname="_releaseDate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendor"), aname="_vendor", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"majorRelease"), aname="_majorRelease", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"minorRelease"), aname="_minorRelease", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"firmwareMajorRelease"), aname="_firmwareMajorRelease", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"firmwareMinorRelease"), aname="_firmwareMinorRelease", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostBIOSInfo_Def.__bases__:
                bases = list(ns0.HostBIOSInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostBIOSInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostReliableMemoryInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostReliableMemoryInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostReliableMemoryInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"memorySize"), aname="_memorySize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostReliableMemoryInfo_Def.__bases__:
                bases = list(ns0.HostReliableMemoryInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostReliableMemoryInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostHardwareElementStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostHardwareElementStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostHardwareElementInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostHardwareElementInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostHardwareElementInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostHardwareElementInfo_Def.__bases__:
                bases = list(ns0.HostHardwareElementInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostHardwareElementInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostHardwareElementInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostHardwareElementInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostHardwareElementInfo_Def.schema
            TClist = [GTD("urn:vim25","HostHardwareElementInfo",lazy=True)(pname=(ns,"HostHardwareElementInfo"), aname="_HostHardwareElementInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostHardwareElementInfo = []
                    return
            Holder.__name__ = "ArrayOfHostHardwareElementInfo_Holder"
            self.pyclass = Holder

    class HostStorageOperationalInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostStorageOperationalInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostStorageOperationalInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"property"), aname="_property", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostStorageOperationalInfo_Def.__bases__:
                bases = list(ns0.HostStorageOperationalInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostStorageOperationalInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostStorageOperationalInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostStorageOperationalInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostStorageOperationalInfo_Def.schema
            TClist = [GTD("urn:vim25","HostStorageOperationalInfo",lazy=True)(pname=(ns,"HostStorageOperationalInfo"), aname="_HostStorageOperationalInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostStorageOperationalInfo = []
                    return
            Holder.__name__ = "ArrayOfHostStorageOperationalInfo_Holder"
            self.pyclass = Holder

    class HostStorageElementInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostStorageElementInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostStorageElementInfo_Def.schema
            TClist = [GTD("urn:vim25","HostStorageOperationalInfo",lazy=True)(pname=(ns,"operationalInfo"), aname="_operationalInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostHardwareElementInfo_Def not in ns0.HostStorageElementInfo_Def.__bases__:
                bases = list(ns0.HostStorageElementInfo_Def.__bases__)
                bases.insert(0, ns0.HostHardwareElementInfo_Def)
                ns0.HostStorageElementInfo_Def.__bases__ = tuple(bases)

            ns0.HostHardwareElementInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostStorageElementInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostStorageElementInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostStorageElementInfo_Def.schema
            TClist = [GTD("urn:vim25","HostStorageElementInfo",lazy=True)(pname=(ns,"HostStorageElementInfo"), aname="_HostStorageElementInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostStorageElementInfo = []
                    return
            Holder.__name__ = "ArrayOfHostStorageElementInfo_Holder"
            self.pyclass = Holder

    class HostHardwareStatusInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostHardwareStatusInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostHardwareStatusInfo_Def.schema
            TClist = [GTD("urn:vim25","HostHardwareElementInfo",lazy=True)(pname=(ns,"memoryStatusInfo"), aname="_memoryStatusInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostHardwareElementInfo",lazy=True)(pname=(ns,"cpuStatusInfo"), aname="_cpuStatusInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostStorageElementInfo",lazy=True)(pname=(ns,"storageStatusInfo"), aname="_storageStatusInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostHardwareStatusInfo_Def.__bases__:
                bases = list(ns0.HostHardwareStatusInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostHardwareStatusInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HealthSystemRuntime_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HealthSystemRuntime")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HealthSystemRuntime_Def.schema
            TClist = [GTD("urn:vim25","HostSystemHealthInfo",lazy=True)(pname=(ns,"systemHealthInfo"), aname="_systemHealthInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostHardwareStatusInfo",lazy=True)(pname=(ns,"hardwareStatusInfo"), aname="_hardwareStatusInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HealthSystemRuntime_Def.__bases__:
                bases = list(ns0.HealthSystemRuntime_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HealthSystemRuntime_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostAccessMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostAccessMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostAccessControlEntry_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostAccessControlEntry")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostAccessControlEntry_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"principal"), aname="_principal", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"group"), aname="_group", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostAccessMode",lazy=True)(pname=(ns,"accessMode"), aname="_accessMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostAccessControlEntry_Def.__bases__:
                bases = list(ns0.HostAccessControlEntry_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostAccessControlEntry_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostAccessControlEntry_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostAccessControlEntry")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostAccessControlEntry_Def.schema
            TClist = [GTD("urn:vim25","HostAccessControlEntry",lazy=True)(pname=(ns,"HostAccessControlEntry"), aname="_HostAccessControlEntry", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostAccessControlEntry = []
                    return
            Holder.__name__ = "ArrayOfHostAccessControlEntry_Holder"
            self.pyclass = Holder

    class HostLockdownMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostLockdownMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostHostBusAdapter_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostHostBusAdapter")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostHostBusAdapter_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"bus"), aname="_bus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"model"), aname="_model", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"driver"), aname="_driver", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pci"), aname="_pci", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostHostBusAdapter_Def.__bases__:
                bases = list(ns0.HostHostBusAdapter_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostHostBusAdapter_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostHostBusAdapter_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostHostBusAdapter")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostHostBusAdapter_Def.schema
            TClist = [GTD("urn:vim25","HostHostBusAdapter",lazy=True)(pname=(ns,"HostHostBusAdapter"), aname="_HostHostBusAdapter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostHostBusAdapter = []
                    return
            Holder.__name__ = "ArrayOfHostHostBusAdapter_Holder"
            self.pyclass = Holder

    class HostParallelScsiHba_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostParallelScsiHba")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostParallelScsiHba_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostHostBusAdapter_Def not in ns0.HostParallelScsiHba_Def.__bases__:
                bases = list(ns0.HostParallelScsiHba_Def.__bases__)
                bases.insert(0, ns0.HostHostBusAdapter_Def)
                ns0.HostParallelScsiHba_Def.__bases__ = tuple(bases)

            ns0.HostHostBusAdapter_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSerialAttachedHba_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSerialAttachedHba")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSerialAttachedHba_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"nodeWorldWideName"), aname="_nodeWorldWideName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostHostBusAdapter_Def not in ns0.HostSerialAttachedHba_Def.__bases__:
                bases = list(ns0.HostSerialAttachedHba_Def.__bases__)
                bases.insert(0, ns0.HostHostBusAdapter_Def)
                ns0.HostSerialAttachedHba_Def.__bases__ = tuple(bases)

            ns0.HostHostBusAdapter_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostBlockHba_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostBlockHba")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostBlockHba_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostHostBusAdapter_Def not in ns0.HostBlockHba_Def.__bases__:
                bases = list(ns0.HostBlockHba_Def.__bases__)
                bases.insert(0, ns0.HostHostBusAdapter_Def)
                ns0.HostBlockHba_Def.__bases__ = tuple(bases)

            ns0.HostHostBusAdapter_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FibreChannelPortType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FibreChannelPortType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostFibreChannelHba_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFibreChannelHba")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFibreChannelHba_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"portWorldWideName"), aname="_portWorldWideName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"nodeWorldWideName"), aname="_nodeWorldWideName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FibreChannelPortType",lazy=True)(pname=(ns,"portType"), aname="_portType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"speed"), aname="_speed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostHostBusAdapter_Def not in ns0.HostFibreChannelHba_Def.__bases__:
                bases = list(ns0.HostFibreChannelHba_Def.__bases__)
                bases.insert(0, ns0.HostHostBusAdapter_Def)
                ns0.HostFibreChannelHba_Def.__bases__ = tuple(bases)

            ns0.HostHostBusAdapter_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInternetScsiHbaParamValue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaParamValue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHbaParamValue_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"isInherited"), aname="_isInherited", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OptionValue_Def not in ns0.HostInternetScsiHbaParamValue_Def.__bases__:
                bases = list(ns0.HostInternetScsiHbaParamValue_Def.__bases__)
                bases.insert(0, ns0.OptionValue_Def)
                ns0.HostInternetScsiHbaParamValue_Def.__bases__ = tuple(bases)

            ns0.OptionValue_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostInternetScsiHbaParamValue_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostInternetScsiHbaParamValue")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostInternetScsiHbaParamValue_Def.schema
            TClist = [GTD("urn:vim25","HostInternetScsiHbaParamValue",lazy=True)(pname=(ns,"HostInternetScsiHbaParamValue"), aname="_HostInternetScsiHbaParamValue", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostInternetScsiHbaParamValue = []
                    return
            Holder.__name__ = "ArrayOfHostInternetScsiHbaParamValue_Holder"
            self.pyclass = Holder

    class HostInternetScsiHbaDiscoveryCapabilities_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaDiscoveryCapabilities")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHbaDiscoveryCapabilities_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"iSnsDiscoverySettable"), aname="_iSnsDiscoverySettable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"slpDiscoverySettable"), aname="_slpDiscoverySettable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"staticTargetDiscoverySettable"), aname="_staticTargetDiscoverySettable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"sendTargetsDiscoverySettable"), aname="_sendTargetsDiscoverySettable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostInternetScsiHbaDiscoveryCapabilities_Def.__bases__:
                bases = list(ns0.HostInternetScsiHbaDiscoveryCapabilities_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostInternetScsiHbaDiscoveryCapabilities_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InternetScsiSnsDiscoveryMethod_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "InternetScsiSnsDiscoveryMethod")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class SlpDiscoveryMethod_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SlpDiscoveryMethod")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostInternetScsiHbaDiscoveryProperties_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaDiscoveryProperties")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHbaDiscoveryProperties_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"iSnsDiscoveryEnabled"), aname="_iSnsDiscoveryEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iSnsDiscoveryMethod"), aname="_iSnsDiscoveryMethod", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iSnsHost"), aname="_iSnsHost", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"slpDiscoveryEnabled"), aname="_slpDiscoveryEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"slpDiscoveryMethod"), aname="_slpDiscoveryMethod", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"slpHost"), aname="_slpHost", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"staticTargetDiscoveryEnabled"), aname="_staticTargetDiscoveryEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"sendTargetsDiscoveryEnabled"), aname="_sendTargetsDiscoveryEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostInternetScsiHbaDiscoveryProperties_Def.__bases__:
                bases = list(ns0.HostInternetScsiHbaDiscoveryProperties_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostInternetScsiHbaDiscoveryProperties_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInternetScsiHbaChapAuthenticationType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaChapAuthenticationType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostInternetScsiHbaAuthenticationCapabilities_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaAuthenticationCapabilities")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHbaAuthenticationCapabilities_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"chapAuthSettable"), aname="_chapAuthSettable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"krb5AuthSettable"), aname="_krb5AuthSettable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"srpAuthSettable"), aname="_srpAuthSettable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"spkmAuthSettable"), aname="_spkmAuthSettable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"mutualChapSettable"), aname="_mutualChapSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"targetChapSettable"), aname="_targetChapSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"targetMutualChapSettable"), aname="_targetMutualChapSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostInternetScsiHbaAuthenticationCapabilities_Def.__bases__:
                bases = list(ns0.HostInternetScsiHbaAuthenticationCapabilities_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostInternetScsiHbaAuthenticationCapabilities_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInternetScsiHbaAuthenticationProperties_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaAuthenticationProperties")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHbaAuthenticationProperties_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"chapAuthEnabled"), aname="_chapAuthEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"chapName"), aname="_chapName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"chapSecret"), aname="_chapSecret", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"chapAuthenticationType"), aname="_chapAuthenticationType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"chapInherited"), aname="_chapInherited", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mutualChapName"), aname="_mutualChapName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mutualChapSecret"), aname="_mutualChapSecret", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mutualChapAuthenticationType"), aname="_mutualChapAuthenticationType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"mutualChapInherited"), aname="_mutualChapInherited", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostInternetScsiHbaAuthenticationProperties_Def.__bases__:
                bases = list(ns0.HostInternetScsiHbaAuthenticationProperties_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostInternetScsiHbaAuthenticationProperties_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInternetScsiHbaDigestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaDigestType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostInternetScsiHbaDigestCapabilities_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaDigestCapabilities")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHbaDigestCapabilities_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"headerDigestSettable"), aname="_headerDigestSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"dataDigestSettable"), aname="_dataDigestSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"targetHeaderDigestSettable"), aname="_targetHeaderDigestSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"targetDataDigestSettable"), aname="_targetDataDigestSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostInternetScsiHbaDigestCapabilities_Def.__bases__:
                bases = list(ns0.HostInternetScsiHbaDigestCapabilities_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostInternetScsiHbaDigestCapabilities_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInternetScsiHbaDigestProperties_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaDigestProperties")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHbaDigestProperties_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"headerDigestType"), aname="_headerDigestType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"headerDigestInherited"), aname="_headerDigestInherited", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dataDigestType"), aname="_dataDigestType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"dataDigestInherited"), aname="_dataDigestInherited", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostInternetScsiHbaDigestProperties_Def.__bases__:
                bases = list(ns0.HostInternetScsiHbaDigestProperties_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostInternetScsiHbaDigestProperties_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInternetScsiHbaIPCapabilities_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaIPCapabilities")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHbaIPCapabilities_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"addressSettable"), aname="_addressSettable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipConfigurationMethodSettable"), aname="_ipConfigurationMethodSettable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"subnetMaskSettable"), aname="_subnetMaskSettable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"defaultGatewaySettable"), aname="_defaultGatewaySettable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"primaryDnsServerAddressSettable"), aname="_primaryDnsServerAddressSettable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"alternateDnsServerAddressSettable"), aname="_alternateDnsServerAddressSettable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipv6Supported"), aname="_ipv6Supported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"arpRedirectSettable"), aname="_arpRedirectSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"mtuSettable"), aname="_mtuSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hostNameAsTargetAddress"), aname="_hostNameAsTargetAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"nameAliasSettable"), aname="_nameAliasSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipv4EnableSettable"), aname="_ipv4EnableSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipv6EnableSettable"), aname="_ipv6EnableSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipv6PrefixLengthSettable"), aname="_ipv6PrefixLengthSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"ipv6PrefixLength"), aname="_ipv6PrefixLength", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipv6DhcpConfigurationSettable"), aname="_ipv6DhcpConfigurationSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipv6LinkLocalAutoConfigurationSettable"), aname="_ipv6LinkLocalAutoConfigurationSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipv6RouterAdvertisementConfigurationSettable"), aname="_ipv6RouterAdvertisementConfigurationSettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipv6DefaultGatewaySettable"), aname="_ipv6DefaultGatewaySettable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"ipv6MaxStaticAddressesSupported"), aname="_ipv6MaxStaticAddressesSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostInternetScsiHbaIPCapabilities_Def.__bases__:
                bases = list(ns0.HostInternetScsiHbaIPCapabilities_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostInternetScsiHbaIPCapabilities_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostInternetScsiHbaIscsiIpv6Address_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaIscsiIpv6Address")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHbaIscsiIpv6Address_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"address"), aname="_address", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"prefixLength"), aname="_prefixLength", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"origin"), aname="_origin", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostInternetScsiHbaIscsiIpv6Address_Def.__bases__:
                bases = list(ns0.HostInternetScsiHbaIscsiIpv6Address_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostInternetScsiHbaIscsiIpv6Address_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostInternetScsiHbaIscsiIpv6Address_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostInternetScsiHbaIscsiIpv6Address")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostInternetScsiHbaIscsiIpv6Address_Def.schema
            TClist = [GTD("urn:vim25","HostInternetScsiHbaIscsiIpv6Address",lazy=True)(pname=(ns,"HostInternetScsiHbaIscsiIpv6Address"), aname="_HostInternetScsiHbaIscsiIpv6Address", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostInternetScsiHbaIscsiIpv6Address = []
                    return
            Holder.__name__ = "ArrayOfHostInternetScsiHbaIscsiIpv6Address_Holder"
            self.pyclass = Holder

    class HostInternetScsiHbaIPv6Properties_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaIPv6Properties")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHbaIPv6Properties_Def.schema
            TClist = [GTD("urn:vim25","HostInternetScsiHbaIscsiIpv6Address",lazy=True)(pname=(ns,"iscsiIpv6Address"), aname="_iscsiIpv6Address", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipv6DhcpConfigurationEnabled"), aname="_ipv6DhcpConfigurationEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipv6LinkLocalAutoConfigurationEnabled"), aname="_ipv6LinkLocalAutoConfigurationEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipv6RouterAdvertisementConfigurationEnabled"), aname="_ipv6RouterAdvertisementConfigurationEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipv6DefaultGateway"), aname="_ipv6DefaultGateway", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostInternetScsiHbaIPv6Properties_Def.__bases__:
                bases = list(ns0.HostInternetScsiHbaIPv6Properties_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostInternetScsiHbaIPv6Properties_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInternetScsiHbaIPProperties_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaIPProperties")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHbaIPProperties_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"mac"), aname="_mac", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"address"), aname="_address", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"dhcpConfigurationEnabled"), aname="_dhcpConfigurationEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"subnetMask"), aname="_subnetMask", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"defaultGateway"), aname="_defaultGateway", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"primaryDnsServerAddress"), aname="_primaryDnsServerAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"alternateDnsServerAddress"), aname="_alternateDnsServerAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipv6Address"), aname="_ipv6Address", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipv6SubnetMask"), aname="_ipv6SubnetMask", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipv6DefaultGateway"), aname="_ipv6DefaultGateway", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"arpRedirectEnabled"), aname="_arpRedirectEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"mtu"), aname="_mtu", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"jumboFramesEnabled"), aname="_jumboFramesEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipv4Enabled"), aname="_ipv4Enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipv6Enabled"), aname="_ipv6Enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaIPv6Properties",lazy=True)(pname=(ns,"ipv6properties"), aname="_ipv6properties", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostInternetScsiHbaIPProperties_Def.__bases__:
                bases = list(ns0.HostInternetScsiHbaIPProperties_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostInternetScsiHbaIPProperties_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInternetScsiHbaSendTarget_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaSendTarget")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHbaSendTarget_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"address"), aname="_address", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaAuthenticationProperties",lazy=True)(pname=(ns,"authenticationProperties"), aname="_authenticationProperties", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaDigestProperties",lazy=True)(pname=(ns,"digestProperties"), aname="_digestProperties", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionDef",lazy=True)(pname=(ns,"supportedAdvancedOptions"), aname="_supportedAdvancedOptions", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaParamValue",lazy=True)(pname=(ns,"advancedOptions"), aname="_advancedOptions", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"parent"), aname="_parent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostInternetScsiHbaSendTarget_Def.__bases__:
                bases = list(ns0.HostInternetScsiHbaSendTarget_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostInternetScsiHbaSendTarget_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostInternetScsiHbaSendTarget_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostInternetScsiHbaSendTarget")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostInternetScsiHbaSendTarget_Def.schema
            TClist = [GTD("urn:vim25","HostInternetScsiHbaSendTarget",lazy=True)(pname=(ns,"HostInternetScsiHbaSendTarget"), aname="_HostInternetScsiHbaSendTarget", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostInternetScsiHbaSendTarget = []
                    return
            Holder.__name__ = "ArrayOfHostInternetScsiHbaSendTarget_Holder"
            self.pyclass = Holder

    class HostInternetScsiHbaStaticTargetTargetDiscoveryMethod_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaStaticTargetTargetDiscoveryMethod")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostInternetScsiHbaStaticTarget_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaStaticTarget")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHbaStaticTarget_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"address"), aname="_address", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiName"), aname="_iScsiName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"discoveryMethod"), aname="_discoveryMethod", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaAuthenticationProperties",lazy=True)(pname=(ns,"authenticationProperties"), aname="_authenticationProperties", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaDigestProperties",lazy=True)(pname=(ns,"digestProperties"), aname="_digestProperties", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionDef",lazy=True)(pname=(ns,"supportedAdvancedOptions"), aname="_supportedAdvancedOptions", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaParamValue",lazy=True)(pname=(ns,"advancedOptions"), aname="_advancedOptions", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"parent"), aname="_parent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostInternetScsiHbaStaticTarget_Def.__bases__:
                bases = list(ns0.HostInternetScsiHbaStaticTarget_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostInternetScsiHbaStaticTarget_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostInternetScsiHbaStaticTarget_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostInternetScsiHbaStaticTarget")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostInternetScsiHbaStaticTarget_Def.schema
            TClist = [GTD("urn:vim25","HostInternetScsiHbaStaticTarget",lazy=True)(pname=(ns,"HostInternetScsiHbaStaticTarget"), aname="_HostInternetScsiHbaStaticTarget", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostInternetScsiHbaStaticTarget = []
                    return
            Holder.__name__ = "ArrayOfHostInternetScsiHbaStaticTarget_Holder"
            self.pyclass = Holder

    class HostInternetScsiHbaTargetSet_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaTargetSet")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHbaTargetSet_Def.schema
            TClist = [GTD("urn:vim25","HostInternetScsiHbaStaticTarget",lazy=True)(pname=(ns,"staticTargets"), aname="_staticTargets", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaSendTarget",lazy=True)(pname=(ns,"sendTargets"), aname="_sendTargets", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostInternetScsiHbaTargetSet_Def.__bases__:
                bases = list(ns0.HostInternetScsiHbaTargetSet_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostInternetScsiHbaTargetSet_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInternetScsiHbaNetworkBindingSupportType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHbaNetworkBindingSupportType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostInternetScsiHba_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiHba")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiHba_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"isSoftwareBased"), aname="_isSoftwareBased", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"canBeDisabled"), aname="_canBeDisabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaNetworkBindingSupportType",lazy=True)(pname=(ns,"networkBindingSupport"), aname="_networkBindingSupport", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaDiscoveryCapabilities",lazy=True)(pname=(ns,"discoveryCapabilities"), aname="_discoveryCapabilities", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaDiscoveryProperties",lazy=True)(pname=(ns,"discoveryProperties"), aname="_discoveryProperties", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaAuthenticationCapabilities",lazy=True)(pname=(ns,"authenticationCapabilities"), aname="_authenticationCapabilities", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaAuthenticationProperties",lazy=True)(pname=(ns,"authenticationProperties"), aname="_authenticationProperties", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaDigestCapabilities",lazy=True)(pname=(ns,"digestCapabilities"), aname="_digestCapabilities", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaDigestProperties",lazy=True)(pname=(ns,"digestProperties"), aname="_digestProperties", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaIPCapabilities",lazy=True)(pname=(ns,"ipCapabilities"), aname="_ipCapabilities", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaIPProperties",lazy=True)(pname=(ns,"ipProperties"), aname="_ipProperties", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionDef",lazy=True)(pname=(ns,"supportedAdvancedOptions"), aname="_supportedAdvancedOptions", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaParamValue",lazy=True)(pname=(ns,"advancedOptions"), aname="_advancedOptions", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiName"), aname="_iScsiName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiAlias"), aname="_iScsiAlias", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaSendTarget",lazy=True)(pname=(ns,"configuredSendTarget"), aname="_configuredSendTarget", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaStaticTarget",lazy=True)(pname=(ns,"configuredStaticTarget"), aname="_configuredStaticTarget", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxSpeedMb"), aname="_maxSpeedMb", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"currentSpeedMb"), aname="_currentSpeedMb", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostHostBusAdapter_Def not in ns0.HostInternetScsiHba_Def.__bases__:
                bases = list(ns0.HostInternetScsiHba_Def.__bases__)
                bases.insert(0, ns0.HostHostBusAdapter_Def)
                ns0.HostInternetScsiHba_Def.__bases__ = tuple(bases)

            ns0.HostHostBusAdapter_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFibreChannelOverEthernetHbaLinkInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFibreChannelOverEthernetHbaLinkInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFibreChannelOverEthernetHbaLinkInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnportMac"), aname="_vnportMac", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fcfMac"), aname="_fcfMac", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vlanId"), aname="_vlanId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFibreChannelOverEthernetHbaLinkInfo_Def.__bases__:
                bases = list(ns0.HostFibreChannelOverEthernetHbaLinkInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFibreChannelOverEthernetHbaLinkInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFibreChannelOverEthernetHba_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFibreChannelOverEthernetHba")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFibreChannelOverEthernetHba_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"underlyingNic"), aname="_underlyingNic", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFibreChannelOverEthernetHbaLinkInfo",lazy=True)(pname=(ns,"linkInfo"), aname="_linkInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"isSoftwareFcoe"), aname="_isSoftwareFcoe", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"markedForRemoval"), aname="_markedForRemoval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostFibreChannelHba_Def not in ns0.HostFibreChannelOverEthernetHba_Def.__bases__:
                bases = list(ns0.HostFibreChannelOverEthernetHba_Def.__bases__)
                bases.insert(0, ns0.HostFibreChannelHba_Def)
                ns0.HostFibreChannelOverEthernetHba_Def.__bases__ = tuple(bases)

            ns0.HostFibreChannelHba_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostProxySwitchSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProxySwitchSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProxySwitchSpec_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchHostMemberBacking",lazy=True)(pname=(ns,"backing"), aname="_backing", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostProxySwitchSpec_Def.__bases__:
                bases = list(ns0.HostProxySwitchSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostProxySwitchSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostProxySwitchConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProxySwitchConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProxySwitchConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"changeOperation"), aname="_changeOperation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostProxySwitchSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostProxySwitchConfig_Def.__bases__:
                bases = list(ns0.HostProxySwitchConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostProxySwitchConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostProxySwitchConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostProxySwitchConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostProxySwitchConfig_Def.schema
            TClist = [GTD("urn:vim25","HostProxySwitchConfig",lazy=True)(pname=(ns,"HostProxySwitchConfig"), aname="_HostProxySwitchConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostProxySwitchConfig = []
                    return
            Holder.__name__ = "ArrayOfHostProxySwitchConfig_Holder"
            self.pyclass = Holder

    class HostProxySwitchHostLagConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProxySwitchHostLagConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProxySwitchHostLagConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"lagKey"), aname="_lagKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lagName"), aname="_lagName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"uplinkPort"), aname="_uplinkPort", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostProxySwitchHostLagConfig_Def.__bases__:
                bases = list(ns0.HostProxySwitchHostLagConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostProxySwitchHostLagConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostProxySwitchHostLagConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostProxySwitchHostLagConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostProxySwitchHostLagConfig_Def.schema
            TClist = [GTD("urn:vim25","HostProxySwitchHostLagConfig",lazy=True)(pname=(ns,"HostProxySwitchHostLagConfig"), aname="_HostProxySwitchHostLagConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostProxySwitchHostLagConfig = []
                    return
            Holder.__name__ = "ArrayOfHostProxySwitchHostLagConfig_Holder"
            self.pyclass = Holder

    class HostProxySwitch_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProxySwitch")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProxySwitch_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"dvsUuid"), aname="_dvsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dvsName"), aname="_dvsName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numPorts"), aname="_numPorts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"configNumPorts"), aname="_configNumPorts", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numPortsAvailable"), aname="_numPortsAvailable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"uplinkPort"), aname="_uplinkPort", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"mtu"), aname="_mtu", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pnic"), aname="_pnic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostProxySwitchSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostProxySwitchHostLagConfig",lazy=True)(pname=(ns,"hostLag"), aname="_hostLag", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"networkReservationSupported"), aname="_networkReservationSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostProxySwitch_Def.__bases__:
                bases = list(ns0.HostProxySwitch_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostProxySwitch_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostProxySwitch_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostProxySwitch")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostProxySwitch_Def.schema
            TClist = [GTD("urn:vim25","HostProxySwitch",lazy=True)(pname=(ns,"HostProxySwitch"), aname="_HostProxySwitch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostProxySwitch = []
                    return
            Holder.__name__ = "ArrayOfHostProxySwitch_Holder"
            self.pyclass = Holder

    class HostImageAcceptanceLevel_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostImageAcceptanceLevel")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostImageProfileSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostImageProfileSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostImageProfileSummary_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendor"), aname="_vendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostImageProfileSummary_Def.__bases__:
                bases = list(ns0.HostImageProfileSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostImageProfileSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostIpConfigIpV6AddressConfigType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostIpConfigIpV6AddressConfigType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostIpConfigIpV6AddressStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostIpConfigIpV6AddressStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostIpConfigIpV6Address_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIpConfigIpV6Address")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIpConfigIpV6Address_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"prefixLength"), aname="_prefixLength", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"origin"), aname="_origin", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dadState"), aname="_dadState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"lifetime"), aname="_lifetime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostIpConfigIpV6Address_Def.__bases__:
                bases = list(ns0.HostIpConfigIpV6Address_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostIpConfigIpV6Address_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostIpConfigIpV6Address_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostIpConfigIpV6Address")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostIpConfigIpV6Address_Def.schema
            TClist = [GTD("urn:vim25","HostIpConfigIpV6Address",lazy=True)(pname=(ns,"HostIpConfigIpV6Address"), aname="_HostIpConfigIpV6Address", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostIpConfigIpV6Address = []
                    return
            Holder.__name__ = "ArrayOfHostIpConfigIpV6Address_Holder"
            self.pyclass = Holder

    class HostIpConfigIpV6AddressConfiguration_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIpConfigIpV6AddressConfiguration")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIpConfigIpV6AddressConfiguration_Def.schema
            TClist = [GTD("urn:vim25","HostIpConfigIpV6Address",lazy=True)(pname=(ns,"ipV6Address"), aname="_ipV6Address", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"autoConfigurationEnabled"), aname="_autoConfigurationEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"dhcpV6Enabled"), aname="_dhcpV6Enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostIpConfigIpV6AddressConfiguration_Def.__bases__:
                bases = list(ns0.HostIpConfigIpV6AddressConfiguration_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostIpConfigIpV6AddressConfiguration_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostIpConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIpConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIpConfig_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"dhcp"), aname="_dhcp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"subnetMask"), aname="_subnetMask", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpConfigIpV6AddressConfiguration",lazy=True)(pname=(ns,"ipV6Config"), aname="_ipV6Config", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostIpConfig_Def.__bases__:
                bases = list(ns0.HostIpConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostIpConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostIpRouteConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIpRouteConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIpRouteConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"defaultGateway"), aname="_defaultGateway", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"gatewayDevice"), aname="_gatewayDevice", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipV6DefaultGateway"), aname="_ipV6DefaultGateway", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipV6GatewayDevice"), aname="_ipV6GatewayDevice", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostIpRouteConfig_Def.__bases__:
                bases = list(ns0.HostIpRouteConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostIpRouteConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostIpRouteConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIpRouteConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIpRouteConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","HostVirtualNicConnection",lazy=True)(pname=(ns,"gatewayDeviceConnection"), aname="_gatewayDeviceConnection", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicConnection",lazy=True)(pname=(ns,"ipV6GatewayDeviceConnection"), aname="_ipV6GatewayDeviceConnection", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostIpRouteConfig_Def not in ns0.HostIpRouteConfigSpec_Def.__bases__:
                bases = list(ns0.HostIpRouteConfigSpec_Def.__bases__)
                bases.insert(0, ns0.HostIpRouteConfig_Def)
                ns0.HostIpRouteConfigSpec_Def.__bases__ = tuple(bases)

            ns0.HostIpRouteConfig_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostIpRouteEntry_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIpRouteEntry")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIpRouteEntry_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"network"), aname="_network", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"prefixLength"), aname="_prefixLength", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"gateway"), aname="_gateway", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deviceName"), aname="_deviceName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostIpRouteEntry_Def.__bases__:
                bases = list(ns0.HostIpRouteEntry_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostIpRouteEntry_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostIpRouteEntry_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostIpRouteEntry")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostIpRouteEntry_Def.schema
            TClist = [GTD("urn:vim25","HostIpRouteEntry",lazy=True)(pname=(ns,"HostIpRouteEntry"), aname="_HostIpRouteEntry", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostIpRouteEntry = []
                    return
            Holder.__name__ = "ArrayOfHostIpRouteEntry_Holder"
            self.pyclass = Holder

    class HostIpRouteOp_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIpRouteOp")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIpRouteOp_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"changeOperation"), aname="_changeOperation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpRouteEntry",lazy=True)(pname=(ns,"route"), aname="_route", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostIpRouteOp_Def.__bases__:
                bases = list(ns0.HostIpRouteOp_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostIpRouteOp_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostIpRouteOp_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostIpRouteOp")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostIpRouteOp_Def.schema
            TClist = [GTD("urn:vim25","HostIpRouteOp",lazy=True)(pname=(ns,"HostIpRouteOp"), aname="_HostIpRouteOp", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostIpRouteOp = []
                    return
            Holder.__name__ = "ArrayOfHostIpRouteOp_Holder"
            self.pyclass = Holder

    class HostIpRouteTableConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIpRouteTableConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIpRouteTableConfig_Def.schema
            TClist = [GTD("urn:vim25","HostIpRouteOp",lazy=True)(pname=(ns,"ipRoute"), aname="_ipRoute", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpRouteOp",lazy=True)(pname=(ns,"ipv6Route"), aname="_ipv6Route", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostIpRouteTableConfig_Def.__bases__:
                bases = list(ns0.HostIpRouteTableConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostIpRouteTableConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostIpRouteTableInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIpRouteTableInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIpRouteTableInfo_Def.schema
            TClist = [GTD("urn:vim25","HostIpRouteEntry",lazy=True)(pname=(ns,"ipRoute"), aname="_ipRoute", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpRouteEntry",lazy=True)(pname=(ns,"ipv6Route"), aname="_ipv6Route", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostIpRouteTableInfo_Def.__bases__:
                bases = list(ns0.HostIpRouteTableInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostIpRouteTableInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostIpmiInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostIpmiInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostIpmiInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"bmcIpAddress"), aname="_bmcIpAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"bmcMacAddress"), aname="_bmcMacAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"login"), aname="_login", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostIpmiInfo_Def.__bases__:
                bases = list(ns0.HostIpmiInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostIpmiInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IscsiStatus_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiStatus")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiStatus_Def.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.IscsiStatus_Def.__bases__:
                bases = list(ns0.IscsiStatus_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.IscsiStatus_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IscsiPortInfoPathStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "IscsiPortInfoPathStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class IscsiPortInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiPortInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiPortInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNic",lazy=True)(pname=(ns,"vnic"), aname="_vnic", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pnicDevice"), aname="_pnicDevice", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNic",lazy=True)(pname=(ns,"pnic"), aname="_pnic", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"switchName"), aname="_switchName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"switchUuid"), aname="_switchUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupName"), aname="_portgroupName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupKey"), aname="_portgroupKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"opaqueNetworkId"), aname="_opaqueNetworkId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"opaqueNetworkType"), aname="_opaqueNetworkType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"opaqueNetworkName"), aname="_opaqueNetworkName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"externalId"), aname="_externalId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IscsiStatus",lazy=True)(pname=(ns,"complianceStatus"), aname="_complianceStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pathStatus"), aname="_pathStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.IscsiPortInfo_Def.__bases__:
                bases = list(ns0.IscsiPortInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.IscsiPortInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfIscsiPortInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfIscsiPortInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfIscsiPortInfo_Def.schema
            TClist = [GTD("urn:vim25","IscsiPortInfo",lazy=True)(pname=(ns,"IscsiPortInfo"), aname="_IscsiPortInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._IscsiPortInfo = []
                    return
            Holder.__name__ = "ArrayOfIscsiPortInfo_Holder"
            self.pyclass = Holder

    class IscsiDependencyEntity_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiDependencyEntity")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiDependencyEntity_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"pnicDevice"), aname="_pnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmhbaName"), aname="_vmhbaName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.IscsiDependencyEntity_Def.__bases__:
                bases = list(ns0.IscsiDependencyEntity_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.IscsiDependencyEntity_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfIscsiDependencyEntity_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfIscsiDependencyEntity")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfIscsiDependencyEntity_Def.schema
            TClist = [GTD("urn:vim25","IscsiDependencyEntity",lazy=True)(pname=(ns,"IscsiDependencyEntity"), aname="_IscsiDependencyEntity", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._IscsiDependencyEntity = []
                    return
            Holder.__name__ = "ArrayOfIscsiDependencyEntity_Holder"
            self.pyclass = Holder

    class IscsiMigrationDependency_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IscsiMigrationDependency")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IscsiMigrationDependency_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"migrationAllowed"), aname="_migrationAllowed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IscsiStatus",lazy=True)(pname=(ns,"disallowReason"), aname="_disallowReason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IscsiDependencyEntity",lazy=True)(pname=(ns,"dependency"), aname="_dependency", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.IscsiMigrationDependency_Def.__bases__:
                bases = list(ns0.IscsiMigrationDependency_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.IscsiMigrationDependency_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class KernelModuleSectionInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "KernelModuleSectionInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.KernelModuleSectionInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"address"), aname="_address", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"length"), aname="_length", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.KernelModuleSectionInfo_Def.__bases__:
                bases = list(ns0.KernelModuleSectionInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.KernelModuleSectionInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class KernelModuleInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "KernelModuleInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.KernelModuleInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filename"), aname="_filename", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"optionString"), aname="_optionString", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"loaded"), aname="_loaded", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"useCount"), aname="_useCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KernelModuleSectionInfo",lazy=True)(pname=(ns,"readOnlySection"), aname="_readOnlySection", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KernelModuleSectionInfo",lazy=True)(pname=(ns,"writableSection"), aname="_writableSection", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KernelModuleSectionInfo",lazy=True)(pname=(ns,"textSection"), aname="_textSection", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KernelModuleSectionInfo",lazy=True)(pname=(ns,"dataSection"), aname="_dataSection", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KernelModuleSectionInfo",lazy=True)(pname=(ns,"bssSection"), aname="_bssSection", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.KernelModuleInfo_Def.__bases__:
                bases = list(ns0.KernelModuleInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.KernelModuleInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfKernelModuleInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfKernelModuleInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfKernelModuleInfo_Def.schema
            TClist = [GTD("urn:vim25","KernelModuleInfo",lazy=True)(pname=(ns,"KernelModuleInfo"), aname="_KernelModuleInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._KernelModuleInfo = []
                    return
            Holder.__name__ = "ArrayOfKernelModuleInfo_Holder"
            self.pyclass = Holder

    class HostLicenseSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLicenseSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLicenseSpec_Def.schema
            TClist = [GTD("urn:vim25","LicenseSource",lazy=True)(pname=(ns,"source"), aname="_source", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"editionKey"), aname="_editionKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"disabledFeatureKey"), aname="_disabledFeatureKey", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"enabledFeatureKey"), aname="_enabledFeatureKey", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostLicenseSpec_Def.__bases__:
                bases = list(ns0.HostLicenseSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostLicenseSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LinkDiscoveryProtocolConfigProtocolType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LinkDiscoveryProtocolConfigProtocolType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class LinkDiscoveryProtocolConfigOperationType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LinkDiscoveryProtocolConfigOperationType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class LinkDiscoveryProtocolConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LinkDiscoveryProtocolConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LinkDiscoveryProtocolConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"protocol"), aname="_protocol", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LinkDiscoveryProtocolConfig_Def.__bases__:
                bases = list(ns0.LinkDiscoveryProtocolConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LinkDiscoveryProtocolConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostAccountSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostAccountSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostAccountSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostAccountSpec_Def.__bases__:
                bases = list(ns0.HostAccountSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostAccountSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostAccountSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostAccountSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostAccountSpec_Def.schema
            TClist = [GTD("urn:vim25","HostAccountSpec",lazy=True)(pname=(ns,"HostAccountSpec"), aname="_HostAccountSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostAccountSpec = []
                    return
            Holder.__name__ = "ArrayOfHostAccountSpec_Holder"
            self.pyclass = Holder

    class HostPosixAccountSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPosixAccountSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPosixAccountSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"posixId"), aname="_posixId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"shellAccess"), aname="_shellAccess", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostAccountSpec_Def not in ns0.HostPosixAccountSpec_Def.__bases__:
                bases = list(ns0.HostPosixAccountSpec_Def.__bases__)
                bases.insert(0, ns0.HostAccountSpec_Def)
                ns0.HostPosixAccountSpec_Def.__bases__ = tuple(bases)

            ns0.HostAccountSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostLocalAuthenticationInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLocalAuthenticationInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLocalAuthenticationInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostAuthenticationStoreInfo_Def not in ns0.HostLocalAuthenticationInfo_Def.__bases__:
                bases = list(ns0.HostLocalAuthenticationInfo_Def.__bases__)
                bases.insert(0, ns0.HostAuthenticationStoreInfo_Def)
                ns0.HostLocalAuthenticationInfo_Def.__bases__ = tuple(bases)

            ns0.HostAuthenticationStoreInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostLowLevelProvisioningManagerVmRecoveryInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLowLevelProvisioningManagerVmRecoveryInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLowLevelProvisioningManagerVmRecoveryInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"biosUUID"), aname="_biosUUID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceUUID"), aname="_instanceUUID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FaultToleranceConfigInfo",lazy=True)(pname=(ns,"ftInfo"), aname="_ftInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostLowLevelProvisioningManagerVmRecoveryInfo_Def.__bases__:
                bases = list(ns0.HostLowLevelProvisioningManagerVmRecoveryInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostLowLevelProvisioningManagerVmRecoveryInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostLowLevelProvisioningManagerVmMigrationStatus_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLowLevelProvisioningManagerVmMigrationStatus")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLowLevelProvisioningManagerVmMigrationStatus_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"migrationId"), aname="_migrationId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"source"), aname="_source", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"consideredSuccessful"), aname="_consideredSuccessful", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostLowLevelProvisioningManagerVmMigrationStatus_Def.__bases__:
                bases = list(ns0.HostLowLevelProvisioningManagerVmMigrationStatus_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostLowLevelProvisioningManagerVmMigrationStatus_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostLowLevelProvisioningManagerReloadTarget_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostLowLevelProvisioningManagerReloadTarget")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostLowLevelProvisioningManagerDiskLayoutSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLowLevelProvisioningManagerDiskLayoutSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLowLevelProvisioningManagerDiskLayoutSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"controllerType"), aname="_controllerType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"busNumber"), aname="_busNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"unitNumber"), aname="_unitNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"srcFilename"), aname="_srcFilename", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dstFilename"), aname="_dstFilename", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostLowLevelProvisioningManagerDiskLayoutSpec_Def.__bases__:
                bases = list(ns0.HostLowLevelProvisioningManagerDiskLayoutSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostLowLevelProvisioningManagerDiskLayoutSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostLowLevelProvisioningManagerDiskLayoutSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostLowLevelProvisioningManagerDiskLayoutSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostLowLevelProvisioningManagerDiskLayoutSpec_Def.schema
            TClist = [GTD("urn:vim25","HostLowLevelProvisioningManagerDiskLayoutSpec",lazy=True)(pname=(ns,"HostLowLevelProvisioningManagerDiskLayoutSpec"), aname="_HostLowLevelProvisioningManagerDiskLayoutSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostLowLevelProvisioningManagerDiskLayoutSpec = []
                    return
            Holder.__name__ = "ArrayOfHostLowLevelProvisioningManagerDiskLayoutSpec_Holder"
            self.pyclass = Holder

    class HostLowLevelProvisioningManagerSnapshotLayoutSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLowLevelProvisioningManagerSnapshotLayoutSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLowLevelProvisioningManagerSnapshotLayoutSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"srcFilename"), aname="_srcFilename", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dstFilename"), aname="_dstFilename", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostLowLevelProvisioningManagerDiskLayoutSpec",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostLowLevelProvisioningManagerSnapshotLayoutSpec_Def.__bases__:
                bases = list(ns0.HostLowLevelProvisioningManagerSnapshotLayoutSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostLowLevelProvisioningManagerSnapshotLayoutSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostLowLevelProvisioningManagerSnapshotLayoutSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostLowLevelProvisioningManagerSnapshotLayoutSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostLowLevelProvisioningManagerSnapshotLayoutSpec_Def.schema
            TClist = [GTD("urn:vim25","HostLowLevelProvisioningManagerSnapshotLayoutSpec",lazy=True)(pname=(ns,"HostLowLevelProvisioningManagerSnapshotLayoutSpec"), aname="_HostLowLevelProvisioningManagerSnapshotLayoutSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostLowLevelProvisioningManagerSnapshotLayoutSpec = []
                    return
            Holder.__name__ = "ArrayOfHostLowLevelProvisioningManagerSnapshotLayoutSpec_Holder"
            self.pyclass = Holder

    class HostLowLevelProvisioningManagerFileType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostLowLevelProvisioningManagerFileType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostLowLevelProvisioningManagerFileReserveSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLowLevelProvisioningManagerFileReserveSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLowLevelProvisioningManagerFileReserveSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"baseName"), aname="_baseName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"parentDir"), aname="_parentDir", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fileType"), aname="_fileType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"storageProfile"), aname="_storageProfile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostLowLevelProvisioningManagerFileReserveSpec_Def.__bases__:
                bases = list(ns0.HostLowLevelProvisioningManagerFileReserveSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostLowLevelProvisioningManagerFileReserveSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostLowLevelProvisioningManagerFileReserveSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostLowLevelProvisioningManagerFileReserveSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostLowLevelProvisioningManagerFileReserveSpec_Def.schema
            TClist = [GTD("urn:vim25","HostLowLevelProvisioningManagerFileReserveSpec",lazy=True)(pname=(ns,"HostLowLevelProvisioningManagerFileReserveSpec"), aname="_HostLowLevelProvisioningManagerFileReserveSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostLowLevelProvisioningManagerFileReserveSpec = []
                    return
            Holder.__name__ = "ArrayOfHostLowLevelProvisioningManagerFileReserveSpec_Holder"
            self.pyclass = Holder

    class HostLowLevelProvisioningManagerFileReserveResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLowLevelProvisioningManagerFileReserveResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLowLevelProvisioningManagerFileReserveResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"baseName"), aname="_baseName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"parentDir"), aname="_parentDir", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reservedName"), aname="_reservedName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostLowLevelProvisioningManagerFileReserveResult_Def.__bases__:
                bases = list(ns0.HostLowLevelProvisioningManagerFileReserveResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostLowLevelProvisioningManagerFileReserveResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostLowLevelProvisioningManagerFileReserveResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostLowLevelProvisioningManagerFileReserveResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostLowLevelProvisioningManagerFileReserveResult_Def.schema
            TClist = [GTD("urn:vim25","HostLowLevelProvisioningManagerFileReserveResult",lazy=True)(pname=(ns,"HostLowLevelProvisioningManagerFileReserveResult"), aname="_HostLowLevelProvisioningManagerFileReserveResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostLowLevelProvisioningManagerFileReserveResult = []
                    return
            Holder.__name__ = "ArrayOfHostLowLevelProvisioningManagerFileReserveResult_Holder"
            self.pyclass = Holder

    class HostLowLevelProvisioningManagerFileDeleteSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLowLevelProvisioningManagerFileDeleteSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLowLevelProvisioningManagerFileDeleteSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"fileName"), aname="_fileName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fileType"), aname="_fileType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostLowLevelProvisioningManagerFileDeleteSpec_Def.__bases__:
                bases = list(ns0.HostLowLevelProvisioningManagerFileDeleteSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostLowLevelProvisioningManagerFileDeleteSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostLowLevelProvisioningManagerFileDeleteSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostLowLevelProvisioningManagerFileDeleteSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostLowLevelProvisioningManagerFileDeleteSpec_Def.schema
            TClist = [GTD("urn:vim25","HostLowLevelProvisioningManagerFileDeleteSpec",lazy=True)(pname=(ns,"HostLowLevelProvisioningManagerFileDeleteSpec"), aname="_HostLowLevelProvisioningManagerFileDeleteSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostLowLevelProvisioningManagerFileDeleteSpec = []
                    return
            Holder.__name__ = "ArrayOfHostLowLevelProvisioningManagerFileDeleteSpec_Holder"
            self.pyclass = Holder

    class HostLowLevelProvisioningManagerFileDeleteResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostLowLevelProvisioningManagerFileDeleteResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostLowLevelProvisioningManagerFileDeleteResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"fileName"), aname="_fileName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostLowLevelProvisioningManagerFileDeleteResult_Def.__bases__:
                bases = list(ns0.HostLowLevelProvisioningManagerFileDeleteResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostLowLevelProvisioningManagerFileDeleteResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostLowLevelProvisioningManagerFileDeleteResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostLowLevelProvisioningManagerFileDeleteResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostLowLevelProvisioningManagerFileDeleteResult_Def.schema
            TClist = [GTD("urn:vim25","HostLowLevelProvisioningManagerFileDeleteResult",lazy=True)(pname=(ns,"HostLowLevelProvisioningManagerFileDeleteResult"), aname="_HostLowLevelProvisioningManagerFileDeleteResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostLowLevelProvisioningManagerFileDeleteResult = []
                    return
            Holder.__name__ = "ArrayOfHostLowLevelProvisioningManagerFileDeleteResult_Holder"
            self.pyclass = Holder

    class HostMaintenanceSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMaintenanceSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMaintenanceSpec_Def.schema
            TClist = [GTD("urn:vim25","VsanHostDecommissionMode",lazy=True)(pname=(ns,"vsanMode"), aname="_vsanMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostMaintenanceSpec_Def.__bases__:
                bases = list(ns0.HostMaintenanceSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostMaintenanceSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ServiceConsoleReservationInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ServiceConsoleReservationInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ServiceConsoleReservationInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"serviceConsoleReservedCfg"), aname="_serviceConsoleReservedCfg", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"serviceConsoleReserved"), aname="_serviceConsoleReserved", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"unreserved"), aname="_unreserved", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ServiceConsoleReservationInfo_Def.__bases__:
                bases = list(ns0.ServiceConsoleReservationInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ServiceConsoleReservationInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineMemoryAllocationPolicy_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineMemoryAllocationPolicy")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineMemoryReservationInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineMemoryReservationInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineMemoryReservationInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"virtualMachineMin"), aname="_virtualMachineMin", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"virtualMachineMax"), aname="_virtualMachineMax", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"virtualMachineReserved"), aname="_virtualMachineReserved", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"allocationPolicy"), aname="_allocationPolicy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineMemoryReservationInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineMemoryReservationInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineMemoryReservationInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineMemoryReservationSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineMemoryReservationSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineMemoryReservationSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"virtualMachineReserved"), aname="_virtualMachineReserved", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"allocationPolicy"), aname="_allocationPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineMemoryReservationSpec_Def.__bases__:
                bases = list(ns0.VirtualMachineMemoryReservationSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineMemoryReservationSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostMemorySpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMemorySpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMemorySpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"serviceConsoleReservation"), aname="_serviceConsoleReservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostMemorySpec_Def.__bases__:
                bases = list(ns0.HostMemorySpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostMemorySpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostMountMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostMountMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostMountInfoInaccessibleReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostMountInfoInaccessibleReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostMountInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMountInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMountInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"accessMode"), aname="_accessMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"mounted"), aname="_mounted", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"accessible"), aname="_accessible", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"inaccessibleReason"), aname="_inaccessibleReason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostMountInfo_Def.__bases__:
                bases = list(ns0.HostMountInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostMountInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MultipathState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MultipathState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostMultipathInfoLogicalUnitPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMultipathInfoLogicalUnitPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMultipathInfoLogicalUnitPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"policy"), aname="_policy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostMultipathInfoLogicalUnitPolicy_Def.__bases__:
                bases = list(ns0.HostMultipathInfoLogicalUnitPolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostMultipathInfoLogicalUnitPolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostMultipathInfoLogicalUnitStorageArrayTypePolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMultipathInfoLogicalUnitStorageArrayTypePolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMultipathInfoLogicalUnitStorageArrayTypePolicy_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"policy"), aname="_policy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostMultipathInfoLogicalUnitStorageArrayTypePolicy_Def.__bases__:
                bases = list(ns0.HostMultipathInfoLogicalUnitStorageArrayTypePolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostMultipathInfoLogicalUnitStorageArrayTypePolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostMultipathInfoFixedLogicalUnitPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMultipathInfoFixedLogicalUnitPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMultipathInfoFixedLogicalUnitPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"prefer"), aname="_prefer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostMultipathInfoLogicalUnitPolicy_Def not in ns0.HostMultipathInfoFixedLogicalUnitPolicy_Def.__bases__:
                bases = list(ns0.HostMultipathInfoFixedLogicalUnitPolicy_Def.__bases__)
                bases.insert(0, ns0.HostMultipathInfoLogicalUnitPolicy_Def)
                ns0.HostMultipathInfoFixedLogicalUnitPolicy_Def.__bases__ = tuple(bases)

            ns0.HostMultipathInfoLogicalUnitPolicy_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostMultipathInfoLogicalUnit_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMultipathInfoLogicalUnit")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMultipathInfoLogicalUnit_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lun"), aname="_lun", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostMultipathInfoPath",lazy=True)(pname=(ns,"path"), aname="_path", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostMultipathInfoLogicalUnitPolicy",lazy=True)(pname=(ns,"policy"), aname="_policy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostMultipathInfoLogicalUnitStorageArrayTypePolicy",lazy=True)(pname=(ns,"storageArrayTypePolicy"), aname="_storageArrayTypePolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostMultipathInfoLogicalUnit_Def.__bases__:
                bases = list(ns0.HostMultipathInfoLogicalUnit_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostMultipathInfoLogicalUnit_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostMultipathInfoLogicalUnit_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostMultipathInfoLogicalUnit")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostMultipathInfoLogicalUnit_Def.schema
            TClist = [GTD("urn:vim25","HostMultipathInfoLogicalUnit",lazy=True)(pname=(ns,"HostMultipathInfoLogicalUnit"), aname="_HostMultipathInfoLogicalUnit", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostMultipathInfoLogicalUnit = []
                    return
            Holder.__name__ = "ArrayOfHostMultipathInfoLogicalUnit_Holder"
            self.pyclass = Holder

    class HostMultipathInfoPath_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMultipathInfoPath")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMultipathInfoPath_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pathState"), aname="_pathState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"isWorkingPath"), aname="_isWorkingPath", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"adapter"), aname="_adapter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lun"), aname="_lun", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostTargetTransport",lazy=True)(pname=(ns,"transport"), aname="_transport", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostMultipathInfoPath_Def.__bases__:
                bases = list(ns0.HostMultipathInfoPath_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostMultipathInfoPath_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostMultipathInfoPath_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostMultipathInfoPath")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostMultipathInfoPath_Def.schema
            TClist = [GTD("urn:vim25","HostMultipathInfoPath",lazy=True)(pname=(ns,"HostMultipathInfoPath"), aname="_HostMultipathInfoPath", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostMultipathInfoPath = []
                    return
            Holder.__name__ = "ArrayOfHostMultipathInfoPath_Holder"
            self.pyclass = Holder

    class HostMultipathInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMultipathInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMultipathInfo_Def.schema
            TClist = [GTD("urn:vim25","HostMultipathInfoLogicalUnit",lazy=True)(pname=(ns,"lun"), aname="_lun", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostMultipathInfo_Def.__bases__:
                bases = list(ns0.HostMultipathInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostMultipathInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostMultipathStateInfoPath_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMultipathStateInfoPath")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMultipathStateInfoPath_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pathState"), aname="_pathState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostMultipathStateInfoPath_Def.__bases__:
                bases = list(ns0.HostMultipathStateInfoPath_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostMultipathStateInfoPath_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostMultipathStateInfoPath_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostMultipathStateInfoPath")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostMultipathStateInfoPath_Def.schema
            TClist = [GTD("urn:vim25","HostMultipathStateInfoPath",lazy=True)(pname=(ns,"HostMultipathStateInfoPath"), aname="_HostMultipathStateInfoPath", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostMultipathStateInfoPath = []
                    return
            Holder.__name__ = "ArrayOfHostMultipathStateInfoPath_Holder"
            self.pyclass = Holder

    class HostMultipathStateInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMultipathStateInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMultipathStateInfo_Def.schema
            TClist = [GTD("urn:vim25","HostMultipathStateInfoPath",lazy=True)(pname=(ns,"path"), aname="_path", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostMultipathStateInfo_Def.__bases__:
                bases = list(ns0.HostMultipathStateInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostMultipathStateInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNatServicePortForwardSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNatServicePortForwardSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNatServicePortForwardSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"hostPort"), aname="_hostPort", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"guestPort"), aname="_guestPort", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestIpAddress"), aname="_guestIpAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNatServicePortForwardSpec_Def.__bases__:
                bases = list(ns0.HostNatServicePortForwardSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNatServicePortForwardSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostNatServicePortForwardSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostNatServicePortForwardSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostNatServicePortForwardSpec_Def.schema
            TClist = [GTD("urn:vim25","HostNatServicePortForwardSpec",lazy=True)(pname=(ns,"HostNatServicePortForwardSpec"), aname="_HostNatServicePortForwardSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostNatServicePortForwardSpec = []
                    return
            Holder.__name__ = "ArrayOfHostNatServicePortForwardSpec_Holder"
            self.pyclass = Holder

    class HostNatServiceNameServiceSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNatServiceNameServiceSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNatServiceNameServiceSpec_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"dnsAutoDetect"), aname="_dnsAutoDetect", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dnsPolicy"), aname="_dnsPolicy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"dnsRetries"), aname="_dnsRetries", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"dnsTimeout"), aname="_dnsTimeout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dnsNameServer"), aname="_dnsNameServer", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"nbdsTimeout"), aname="_nbdsTimeout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"nbnsRetries"), aname="_nbnsRetries", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"nbnsTimeout"), aname="_nbnsTimeout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNatServiceNameServiceSpec_Def.__bases__:
                bases = list(ns0.HostNatServiceNameServiceSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNatServiceNameServiceSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNatServiceSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNatServiceSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNatServiceSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"virtualSwitch"), aname="_virtualSwitch", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"activeFtp"), aname="_activeFtp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"allowAnyOui"), aname="_allowAnyOui", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"configPort"), aname="_configPort", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipGatewayAddress"), aname="_ipGatewayAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"udpTimeout"), aname="_udpTimeout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNatServicePortForwardSpec",lazy=True)(pname=(ns,"portForward"), aname="_portForward", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNatServiceNameServiceSpec",lazy=True)(pname=(ns,"nameService"), aname="_nameService", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNatServiceSpec_Def.__bases__:
                bases = list(ns0.HostNatServiceSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNatServiceSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNatServiceConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNatServiceConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNatServiceConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"changeOperation"), aname="_changeOperation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNatServiceSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNatServiceConfig_Def.__bases__:
                bases = list(ns0.HostNatServiceConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNatServiceConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostNatServiceConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostNatServiceConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostNatServiceConfig_Def.schema
            TClist = [GTD("urn:vim25","HostNatServiceConfig",lazy=True)(pname=(ns,"HostNatServiceConfig"), aname="_HostNatServiceConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostNatServiceConfig = []
                    return
            Holder.__name__ = "ArrayOfHostNatServiceConfig_Holder"
            self.pyclass = Holder

    class HostNatService_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNatService")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNatService_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNatServiceSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNatService_Def.__bases__:
                bases = list(ns0.HostNatService_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNatService_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostNatService_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostNatService")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostNatService_Def.schema
            TClist = [GTD("urn:vim25","HostNatService",lazy=True)(pname=(ns,"HostNatService"), aname="_HostNatService", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostNatService = []
                    return
            Holder.__name__ = "ArrayOfHostNatService_Holder"
            self.pyclass = Holder

    class HostNetCapabilities_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNetCapabilities")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNetCapabilities_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"canSetPhysicalNicLinkSpeed"), aname="_canSetPhysicalNicLinkSpeed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supportsNicTeaming"), aname="_supportsNicTeaming", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nicTeamingPolicy"), aname="_nicTeamingPolicy", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supportsVlan"), aname="_supportsVlan", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"usesServiceConsoleNic"), aname="_usesServiceConsoleNic", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supportsNetworkHints"), aname="_supportsNetworkHints", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxPortGroupsPerVswitch"), aname="_maxPortGroupsPerVswitch", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vswitchConfigSupported"), aname="_vswitchConfigSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vnicConfigSupported"), aname="_vnicConfigSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipRouteConfigSupported"), aname="_ipRouteConfigSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"dnsConfigSupported"), aname="_dnsConfigSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"dhcpOnVnicSupported"), aname="_dhcpOnVnicSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipV6Supported"), aname="_ipV6Supported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNetCapabilities_Def.__bases__:
                bases = list(ns0.HostNetCapabilities_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNetCapabilities_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNetOffloadCapabilities_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNetOffloadCapabilities")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNetOffloadCapabilities_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"csumOffload"), aname="_csumOffload", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"tcpSegmentation"), aname="_tcpSegmentation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"zeroCopyXmit"), aname="_zeroCopyXmit", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNetOffloadCapabilities_Def.__bases__:
                bases = list(ns0.HostNetOffloadCapabilities_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNetOffloadCapabilities_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNetStackInstanceSystemStackKey_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostNetStackInstanceSystemStackKey")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostNetStackInstanceCongestionControlAlgorithmType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostNetStackInstanceCongestionControlAlgorithmType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostNetStackInstance_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNetStackInstance")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNetStackInstance_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDnsConfig",lazy=True)(pname=(ns,"dnsConfig"), aname="_dnsConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpRouteConfig",lazy=True)(pname=(ns,"ipRouteConfig"), aname="_ipRouteConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"requestedMaxNumberOfConnections"), aname="_requestedMaxNumberOfConnections", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"congestionControlAlgorithm"), aname="_congestionControlAlgorithm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipV6Enabled"), aname="_ipV6Enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpRouteTableConfig",lazy=True)(pname=(ns,"routeTableConfig"), aname="_routeTableConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNetStackInstance_Def.__bases__:
                bases = list(ns0.HostNetStackInstance_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNetStackInstance_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostNetStackInstance_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostNetStackInstance")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostNetStackInstance_Def.schema
            TClist = [GTD("urn:vim25","HostNetStackInstance",lazy=True)(pname=(ns,"HostNetStackInstance"), aname="_HostNetStackInstance", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostNetStackInstance = []
                    return
            Holder.__name__ = "ArrayOfHostNetStackInstance_Holder"
            self.pyclass = Holder

    class HostNetworkConfigResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNetworkConfigResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNetworkConfigResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"consoleVnicDevice"), aname="_consoleVnicDevice", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNetworkConfigResult_Def.__bases__:
                bases = list(ns0.HostNetworkConfigResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNetworkConfigResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNetworkConfigNetStackSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNetworkConfigNetStackSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNetworkConfigNetStackSpec_Def.schema
            TClist = [GTD("urn:vim25","HostNetStackInstance",lazy=True)(pname=(ns,"netStackInstance"), aname="_netStackInstance", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNetworkConfigNetStackSpec_Def.__bases__:
                bases = list(ns0.HostNetworkConfigNetStackSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNetworkConfigNetStackSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostNetworkConfigNetStackSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostNetworkConfigNetStackSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostNetworkConfigNetStackSpec_Def.schema
            TClist = [GTD("urn:vim25","HostNetworkConfigNetStackSpec",lazy=True)(pname=(ns,"HostNetworkConfigNetStackSpec"), aname="_HostNetworkConfigNetStackSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostNetworkConfigNetStackSpec = []
                    return
            Holder.__name__ = "ArrayOfHostNetworkConfigNetStackSpec_Holder"
            self.pyclass = Holder

    class HostNetworkConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNetworkConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNetworkConfig_Def.schema
            TClist = [GTD("urn:vim25","HostVirtualSwitchConfig",lazy=True)(pname=(ns,"vswitch"), aname="_vswitch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostProxySwitchConfig",lazy=True)(pname=(ns,"proxySwitch"), aname="_proxySwitch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPortGroupConfig",lazy=True)(pname=(ns,"portgroup"), aname="_portgroup", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNicConfig",lazy=True)(pname=(ns,"pnic"), aname="_pnic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicConfig",lazy=True)(pname=(ns,"vnic"), aname="_vnic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicConfig",lazy=True)(pname=(ns,"consoleVnic"), aname="_consoleVnic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDnsConfig",lazy=True)(pname=(ns,"dnsConfig"), aname="_dnsConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpRouteConfig",lazy=True)(pname=(ns,"ipRouteConfig"), aname="_ipRouteConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpRouteConfig",lazy=True)(pname=(ns,"consoleIpRouteConfig"), aname="_consoleIpRouteConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpRouteTableConfig",lazy=True)(pname=(ns,"routeTableConfig"), aname="_routeTableConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDhcpServiceConfig",lazy=True)(pname=(ns,"dhcp"), aname="_dhcp", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNatServiceConfig",lazy=True)(pname=(ns,"nat"), aname="_nat", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipV6Enabled"), aname="_ipV6Enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNetworkConfigNetStackSpec",lazy=True)(pname=(ns,"netStackSpec"), aname="_netStackSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNetworkConfig_Def.__bases__:
                bases = list(ns0.HostNetworkConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNetworkConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNetworkInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNetworkInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNetworkInfo_Def.schema
            TClist = [GTD("urn:vim25","HostVirtualSwitch",lazy=True)(pname=(ns,"vswitch"), aname="_vswitch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostProxySwitch",lazy=True)(pname=(ns,"proxySwitch"), aname="_proxySwitch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPortGroup",lazy=True)(pname=(ns,"portgroup"), aname="_portgroup", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNic",lazy=True)(pname=(ns,"pnic"), aname="_pnic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNic",lazy=True)(pname=(ns,"vnic"), aname="_vnic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNic",lazy=True)(pname=(ns,"consoleVnic"), aname="_consoleVnic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDnsConfig",lazy=True)(pname=(ns,"dnsConfig"), aname="_dnsConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpRouteConfig",lazy=True)(pname=(ns,"ipRouteConfig"), aname="_ipRouteConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpRouteConfig",lazy=True)(pname=(ns,"consoleIpRouteConfig"), aname="_consoleIpRouteConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpRouteTableInfo",lazy=True)(pname=(ns,"routeTableInfo"), aname="_routeTableInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDhcpService",lazy=True)(pname=(ns,"dhcp"), aname="_dhcp", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNatService",lazy=True)(pname=(ns,"nat"), aname="_nat", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipV6Enabled"), aname="_ipV6Enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"atBootIpV6Enabled"), aname="_atBootIpV6Enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNetStackInstance",lazy=True)(pname=(ns,"netStackInstance"), aname="_netStackInstance", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostOpaqueSwitch",lazy=True)(pname=(ns,"opaqueSwitch"), aname="_opaqueSwitch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostOpaqueNetworkInfo",lazy=True)(pname=(ns,"opaqueNetwork"), aname="_opaqueNetwork", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNetworkInfo_Def.__bases__:
                bases = list(ns0.HostNetworkInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNetworkInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNetworkSecurityPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNetworkSecurityPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNetworkSecurityPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"allowPromiscuous"), aname="_allowPromiscuous", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"macChanges"), aname="_macChanges", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"forgedTransmits"), aname="_forgedTransmits", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNetworkSecurityPolicy_Def.__bases__:
                bases = list(ns0.HostNetworkSecurityPolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNetworkSecurityPolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNetworkTrafficShapingPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNetworkTrafficShapingPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNetworkTrafficShapingPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"averageBandwidth"), aname="_averageBandwidth", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"peakBandwidth"), aname="_peakBandwidth", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"burstSize"), aname="_burstSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNetworkTrafficShapingPolicy_Def.__bases__:
                bases = list(ns0.HostNetworkTrafficShapingPolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNetworkTrafficShapingPolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNicFailureCriteria_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNicFailureCriteria")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNicFailureCriteria_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"checkSpeed"), aname="_checkSpeed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"speed"), aname="_speed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"checkDuplex"), aname="_checkDuplex", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"fullDuplex"), aname="_fullDuplex", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"checkErrorPercent"), aname="_checkErrorPercent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"percentage"), aname="_percentage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"checkBeacon"), aname="_checkBeacon", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNicFailureCriteria_Def.__bases__:
                bases = list(ns0.HostNicFailureCriteria_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNicFailureCriteria_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNicOrderPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNicOrderPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNicOrderPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"activeNic"), aname="_activeNic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"standbyNic"), aname="_standbyNic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNicOrderPolicy_Def.__bases__:
                bases = list(ns0.HostNicOrderPolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNicOrderPolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNicTeamingPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNicTeamingPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNicTeamingPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"policy"), aname="_policy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"reversePolicy"), aname="_reversePolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"notifySwitches"), aname="_notifySwitches", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"rollingOrder"), aname="_rollingOrder", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNicFailureCriteria",lazy=True)(pname=(ns,"failureCriteria"), aname="_failureCriteria", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNicOrderPolicy",lazy=True)(pname=(ns,"nicOrder"), aname="_nicOrder", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNicTeamingPolicy_Def.__bases__:
                bases = list(ns0.HostNicTeamingPolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNicTeamingPolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNetworkPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNetworkPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNetworkPolicy_Def.schema
            TClist = [GTD("urn:vim25","HostNetworkSecurityPolicy",lazy=True)(pname=(ns,"security"), aname="_security", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNicTeamingPolicy",lazy=True)(pname=(ns,"nicTeaming"), aname="_nicTeaming", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNetOffloadCapabilities",lazy=True)(pname=(ns,"offloadPolicy"), aname="_offloadPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNetworkTrafficShapingPolicy",lazy=True)(pname=(ns,"shapingPolicy"), aname="_shapingPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNetworkPolicy_Def.__bases__:
                bases = list(ns0.HostNetworkPolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNetworkPolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNtpConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNtpConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNtpConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"server"), aname="_server", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configFile"), aname="_configFile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNtpConfig_Def.__bases__:
                bases = list(ns0.HostNtpConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNtpConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostNumericSensorHealthState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostNumericSensorHealthState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostNumericSensorType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostNumericSensorType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostNumericSensorInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNumericSensorInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNumericSensorInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"healthState"), aname="_healthState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"currentReading"), aname="_currentReading", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"unitModifier"), aname="_unitModifier", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"baseUnits"), aname="_baseUnits", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"rateUnits"), aname="_rateUnits", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sensorType"), aname="_sensorType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"timeStamp"), aname="_timeStamp", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNumericSensorInfo_Def.__bases__:
                bases = list(ns0.HostNumericSensorInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNumericSensorInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostNumericSensorInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostNumericSensorInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostNumericSensorInfo_Def.schema
            TClist = [GTD("urn:vim25","HostNumericSensorInfo",lazy=True)(pname=(ns,"HostNumericSensorInfo"), aname="_HostNumericSensorInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostNumericSensorInfo = []
                    return
            Holder.__name__ = "ArrayOfHostNumericSensorInfo_Holder"
            self.pyclass = Holder

    class NvdimmRangeType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "NvdimmRangeType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class NvdimmNamespaceType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "NvdimmNamespaceType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class NvdimmNvdimmHealthInfoState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "NvdimmNvdimmHealthInfoState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class NvdimmHealthInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NvdimmHealthInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NvdimmHealthInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"healthStatus"), aname="_healthStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"healthInformation"), aname="_healthInformation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"stateFlagInfo"), aname="_stateFlagInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"dimmTemperature"), aname="_dimmTemperature", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"dimmTemperatureThreshold"), aname="_dimmTemperatureThreshold", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"spareBlocksPercentage"), aname="_spareBlocksPercentage", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"spareBlockThreshold"), aname="_spareBlockThreshold", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"dimmLifespanPercentage"), aname="_dimmLifespanPercentage", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"esTemperature"), aname="_esTemperature", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"esTemperatureThreshold"), aname="_esTemperatureThreshold", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"esLifespanPercentage"), aname="_esLifespanPercentage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NvdimmHealthInfo_Def.__bases__:
                bases = list(ns0.NvdimmHealthInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NvdimmHealthInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NvdimmRegionInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NvdimmRegionInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NvdimmRegionInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"regionId"), aname="_regionId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"setId"), aname="_setId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"rangeType"), aname="_rangeType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"startAddr"), aname="_startAddr", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"size"), aname="_size", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"offset"), aname="_offset", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NvdimmRegionInfo_Def.__bases__:
                bases = list(ns0.NvdimmRegionInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NvdimmRegionInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNvdimmRegionInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNvdimmRegionInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNvdimmRegionInfo_Def.schema
            TClist = [GTD("urn:vim25","NvdimmRegionInfo",lazy=True)(pname=(ns,"NvdimmRegionInfo"), aname="_NvdimmRegionInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NvdimmRegionInfo = []
                    return
            Holder.__name__ = "ArrayOfNvdimmRegionInfo_Holder"
            self.pyclass = Holder

    class NvdimmSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NvdimmSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NvdimmSummary_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numDimms"), aname="_numDimms", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"healthStatus"), aname="_healthStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"totalCapacity"), aname="_totalCapacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"persistentCapacity"), aname="_persistentCapacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"blockCapacity"), aname="_blockCapacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"availableCapacity"), aname="_availableCapacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numInterleavesets"), aname="_numInterleavesets", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numNamespaces"), aname="_numNamespaces", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NvdimmSummary_Def.__bases__:
                bases = list(ns0.NvdimmSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NvdimmSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NvdimmDimmInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NvdimmDimmInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NvdimmDimmInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"dimmHandle"), aname="_dimmHandle", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NvdimmHealthInfo",lazy=True)(pname=(ns,"healthInfo"), aname="_healthInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"totalCapacity"), aname="_totalCapacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"persistentCapacity"), aname="_persistentCapacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"availablePersistentCapacity"), aname="_availablePersistentCapacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"volatileCapacity"), aname="_volatileCapacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"availableVolatileCapacity"), aname="_availableVolatileCapacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"blockCapacity"), aname="_blockCapacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NvdimmRegionInfo",lazy=True)(pname=(ns,"regionInfo"), aname="_regionInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"representationString"), aname="_representationString", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NvdimmDimmInfo_Def.__bases__:
                bases = list(ns0.NvdimmDimmInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NvdimmDimmInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNvdimmDimmInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNvdimmDimmInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNvdimmDimmInfo_Def.schema
            TClist = [GTD("urn:vim25","NvdimmDimmInfo",lazy=True)(pname=(ns,"NvdimmDimmInfo"), aname="_NvdimmDimmInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NvdimmDimmInfo = []
                    return
            Holder.__name__ = "ArrayOfNvdimmDimmInfo_Holder"
            self.pyclass = Holder

    class NvdimmInterleaveSetState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "NvdimmInterleaveSetState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class NvdimmInterleaveSetInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NvdimmInterleaveSetInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NvdimmInterleaveSetInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"setId"), aname="_setId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"rangeType"), aname="_rangeType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"baseAddress"), aname="_baseAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"size"), aname="_size", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"availableSize"), aname="_availableSize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"deviceList"), aname="_deviceList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NvdimmInterleaveSetInfo_Def.__bases__:
                bases = list(ns0.NvdimmInterleaveSetInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NvdimmInterleaveSetInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNvdimmInterleaveSetInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNvdimmInterleaveSetInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNvdimmInterleaveSetInfo_Def.schema
            TClist = [GTD("urn:vim25","NvdimmInterleaveSetInfo",lazy=True)(pname=(ns,"NvdimmInterleaveSetInfo"), aname="_NvdimmInterleaveSetInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NvdimmInterleaveSetInfo = []
                    return
            Holder.__name__ = "ArrayOfNvdimmInterleaveSetInfo_Holder"
            self.pyclass = Holder

    class NvdimmGuid_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NvdimmGuid")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NvdimmGuid_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NvdimmGuid_Def.__bases__:
                bases = list(ns0.NvdimmGuid_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NvdimmGuid_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNvdimmGuid_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNvdimmGuid")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNvdimmGuid_Def.schema
            TClist = [GTD("urn:vim25","NvdimmGuid",lazy=True)(pname=(ns,"NvdimmGuid"), aname="_NvdimmGuid", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NvdimmGuid = []
                    return
            Holder.__name__ = "ArrayOfNvdimmGuid_Holder"
            self.pyclass = Holder

    class NvdimmNamespaceHealthStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "NvdimmNamespaceHealthStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class NvdimmNamespaceState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "NvdimmNamespaceState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class NvdimmNamespaceInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NvdimmNamespaceInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NvdimmNamespaceInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"friendlyName"), aname="_friendlyName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"blockSize"), aname="_blockSize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"blockCount"), aname="_blockCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"namespaceHealthStatus"), aname="_namespaceHealthStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"locationID"), aname="_locationID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NvdimmNamespaceInfo_Def.__bases__:
                bases = list(ns0.NvdimmNamespaceInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NvdimmNamespaceInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNvdimmNamespaceInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNvdimmNamespaceInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNvdimmNamespaceInfo_Def.schema
            TClist = [GTD("urn:vim25","NvdimmNamespaceInfo",lazy=True)(pname=(ns,"NvdimmNamespaceInfo"), aname="_NvdimmNamespaceInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NvdimmNamespaceInfo = []
                    return
            Holder.__name__ = "ArrayOfNvdimmNamespaceInfo_Holder"
            self.pyclass = Holder

    class NvdimmNamespaceCreateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NvdimmNamespaceCreateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NvdimmNamespaceCreateSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"friendlyName"), aname="_friendlyName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"blockSize"), aname="_blockSize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"blockCount"), aname="_blockCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"locationID"), aname="_locationID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NvdimmNamespaceCreateSpec_Def.__bases__:
                bases = list(ns0.NvdimmNamespaceCreateSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NvdimmNamespaceCreateSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NvdimmNamespaceDeleteSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NvdimmNamespaceDeleteSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NvdimmNamespaceDeleteSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NvdimmNamespaceDeleteSpec_Def.__bases__:
                bases = list(ns0.NvdimmNamespaceDeleteSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NvdimmNamespaceDeleteSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NvdimmSystemInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NvdimmSystemInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NvdimmSystemInfo_Def.schema
            TClist = [GTD("urn:vim25","NvdimmSummary",lazy=True)(pname=(ns,"summary"), aname="_summary", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"dimms"), aname="_dimms", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NvdimmDimmInfo",lazy=True)(pname=(ns,"dimmInfo"), aname="_dimmInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"interleaveSet"), aname="_interleaveSet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NvdimmInterleaveSetInfo",lazy=True)(pname=(ns,"iSetInfo"), aname="_iSetInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NvdimmGuid",lazy=True)(pname=(ns,"namespace"), aname="_namespace", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NvdimmNamespaceInfo",lazy=True)(pname=(ns,"nsInfo"), aname="_nsInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NvdimmSystemInfo_Def.__bases__:
                bases = list(ns0.NvdimmSystemInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NvdimmSystemInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostOpaqueNetworkInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostOpaqueNetworkInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostOpaqueNetworkInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"opaqueNetworkId"), aname="_opaqueNetworkId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"opaqueNetworkName"), aname="_opaqueNetworkName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"opaqueNetworkType"), aname="_opaqueNetworkType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pnicZone"), aname="_pnicZone", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OpaqueNetworkCapability",lazy=True)(pname=(ns,"capability"), aname="_capability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"extraConfig"), aname="_extraConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostOpaqueNetworkInfo_Def.__bases__:
                bases = list(ns0.HostOpaqueNetworkInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostOpaqueNetworkInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostOpaqueNetworkInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostOpaqueNetworkInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostOpaqueNetworkInfo_Def.schema
            TClist = [GTD("urn:vim25","HostOpaqueNetworkInfo",lazy=True)(pname=(ns,"HostOpaqueNetworkInfo"), aname="_HostOpaqueNetworkInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostOpaqueNetworkInfo = []
                    return
            Holder.__name__ = "ArrayOfHostOpaqueNetworkInfo_Holder"
            self.pyclass = Holder

    class HostOpaqueSwitchOpaqueSwitchState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostOpaqueSwitchOpaqueSwitchState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostOpaqueSwitchPhysicalNicZone_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostOpaqueSwitchPhysicalNicZone")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostOpaqueSwitchPhysicalNicZone_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pnicDevice"), aname="_pnicDevice", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostOpaqueSwitchPhysicalNicZone_Def.__bases__:
                bases = list(ns0.HostOpaqueSwitchPhysicalNicZone_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostOpaqueSwitchPhysicalNicZone_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostOpaqueSwitchPhysicalNicZone_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostOpaqueSwitchPhysicalNicZone")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostOpaqueSwitchPhysicalNicZone_Def.schema
            TClist = [GTD("urn:vim25","HostOpaqueSwitchPhysicalNicZone",lazy=True)(pname=(ns,"HostOpaqueSwitchPhysicalNicZone"), aname="_HostOpaqueSwitchPhysicalNicZone", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostOpaqueSwitchPhysicalNicZone = []
                    return
            Holder.__name__ = "ArrayOfHostOpaqueSwitchPhysicalNicZone_Holder"
            self.pyclass = Holder

    class HostOpaqueSwitch_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostOpaqueSwitch")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostOpaqueSwitch_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pnic"), aname="_pnic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostOpaqueSwitchPhysicalNicZone",lazy=True)(pname=(ns,"pnicZone"), aname="_pnicZone", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"status"), aname="_status", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNic",lazy=True)(pname=(ns,"vtep"), aname="_vtep", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"extraConfig"), aname="_extraConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFeatureCapability",lazy=True)(pname=(ns,"featureCapability"), aname="_featureCapability", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostOpaqueSwitch_Def.__bases__:
                bases = list(ns0.HostOpaqueSwitch_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostOpaqueSwitch_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostOpaqueSwitch_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostOpaqueSwitch")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostOpaqueSwitch_Def.schema
            TClist = [GTD("urn:vim25","HostOpaqueSwitch",lazy=True)(pname=(ns,"HostOpaqueSwitch"), aname="_HostOpaqueSwitch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostOpaqueSwitch = []
                    return
            Holder.__name__ = "ArrayOfHostOpaqueSwitch_Holder"
            self.pyclass = Holder

    class HostPMemVolume_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPMemVolume")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPMemVolume_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostFileSystemVolume_Def not in ns0.HostPMemVolume_Def.__bases__:
                bases = list(ns0.HostPMemVolume_Def.__bases__)
                bases.insert(0, ns0.HostFileSystemVolume_Def)
                ns0.HostPMemVolume_Def.__bases__ = tuple(bases)

            ns0.HostFileSystemVolume_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostPatchManagerResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPatchManagerResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPatchManagerResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPatchManagerStatus",lazy=True)(pname=(ns,"status"), aname="_status", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"xmlResult"), aname="_xmlResult", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPatchManagerResult_Def.__bases__:
                bases = list(ns0.HostPatchManagerResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPatchManagerResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostPatchManagerReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostPatchManagerReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostPatchManagerIntegrityStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostPatchManagerIntegrityStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostPatchManagerInstallState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostPatchManagerInstallState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostPatchManagerStatusPrerequisitePatch_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPatchManagerStatusPrerequisitePatch")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPatchManagerStatusPrerequisitePatch_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"installState"), aname="_installState", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPatchManagerStatusPrerequisitePatch_Def.__bases__:
                bases = list(ns0.HostPatchManagerStatusPrerequisitePatch_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPatchManagerStatusPrerequisitePatch_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPatchManagerStatusPrerequisitePatch_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPatchManagerStatusPrerequisitePatch")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPatchManagerStatusPrerequisitePatch_Def.schema
            TClist = [GTD("urn:vim25","HostPatchManagerStatusPrerequisitePatch",lazy=True)(pname=(ns,"HostPatchManagerStatusPrerequisitePatch"), aname="_HostPatchManagerStatusPrerequisitePatch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPatchManagerStatusPrerequisitePatch = []
                    return
            Holder.__name__ = "ArrayOfHostPatchManagerStatusPrerequisitePatch_Holder"
            self.pyclass = Holder

    class HostPatchManagerStatus_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPatchManagerStatus")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPatchManagerStatus_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"applicable"), aname="_applicable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"integrity"), aname="_integrity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"installed"), aname="_installed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"installState"), aname="_installState", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPatchManagerStatusPrerequisitePatch",lazy=True)(pname=(ns,"prerequisitePatch"), aname="_prerequisitePatch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"restartRequired"), aname="_restartRequired", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"reconnectRequired"), aname="_reconnectRequired", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmOffRequired"), aname="_vmOffRequired", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supersededPatchIds"), aname="_supersededPatchIds", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPatchManagerStatus_Def.__bases__:
                bases = list(ns0.HostPatchManagerStatus_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPatchManagerStatus_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPatchManagerStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPatchManagerStatus")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPatchManagerStatus_Def.schema
            TClist = [GTD("urn:vim25","HostPatchManagerStatus",lazy=True)(pname=(ns,"HostPatchManagerStatus"), aname="_HostPatchManagerStatus", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPatchManagerStatus = []
                    return
            Holder.__name__ = "ArrayOfHostPatchManagerStatus_Holder"
            self.pyclass = Holder

    class HostPatchManagerLocator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPatchManagerLocator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPatchManagerLocator_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"proxy"), aname="_proxy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPatchManagerLocator_Def.__bases__:
                bases = list(ns0.HostPatchManagerLocator_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPatchManagerLocator_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostPatchManagerPatchManagerOperationSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPatchManagerPatchManagerOperationSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPatchManagerPatchManagerOperationSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"proxy"), aname="_proxy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"cmdOption"), aname="_cmdOption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPatchManagerPatchManagerOperationSpec_Def.__bases__:
                bases = list(ns0.HostPatchManagerPatchManagerOperationSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPatchManagerPatchManagerOperationSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostPathSelectionPolicyOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPathSelectionPolicyOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPathSelectionPolicyOption_Def.schema
            TClist = [GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"policy"), aname="_policy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPathSelectionPolicyOption_Def.__bases__:
                bases = list(ns0.HostPathSelectionPolicyOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPathSelectionPolicyOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPathSelectionPolicyOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPathSelectionPolicyOption")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPathSelectionPolicyOption_Def.schema
            TClist = [GTD("urn:vim25","HostPathSelectionPolicyOption",lazy=True)(pname=(ns,"HostPathSelectionPolicyOption"), aname="_HostPathSelectionPolicyOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPathSelectionPolicyOption = []
                    return
            Holder.__name__ = "ArrayOfHostPathSelectionPolicyOption_Holder"
            self.pyclass = Holder

    class HostPciDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPciDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPciDevice_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"classId"), aname="_classId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"bus"), aname="_bus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"slot"), aname="_slot", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"function"), aname="_function", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"vendorId"), aname="_vendorId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"subVendorId"), aname="_subVendorId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendorName"), aname="_vendorName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"deviceId"), aname="_deviceId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"subDeviceId"), aname="_subDeviceId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"parentBridge"), aname="_parentBridge", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deviceName"), aname="_deviceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPciDevice_Def.__bases__:
                bases = list(ns0.HostPciDevice_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPciDevice_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPciDevice_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPciDevice")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPciDevice_Def.schema
            TClist = [GTD("urn:vim25","HostPciDevice",lazy=True)(pname=(ns,"HostPciDevice"), aname="_HostPciDevice", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPciDevice = []
                    return
            Holder.__name__ = "ArrayOfHostPciDevice_Holder"
            self.pyclass = Holder

    class HostPciPassthruConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPciPassthruConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPciPassthruConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"passthruEnabled"), aname="_passthruEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPciPassthruConfig_Def.__bases__:
                bases = list(ns0.HostPciPassthruConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPciPassthruConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPciPassthruConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPciPassthruConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPciPassthruConfig_Def.schema
            TClist = [GTD("urn:vim25","HostPciPassthruConfig",lazy=True)(pname=(ns,"HostPciPassthruConfig"), aname="_HostPciPassthruConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPciPassthruConfig = []
                    return
            Holder.__name__ = "ArrayOfHostPciPassthruConfig_Holder"
            self.pyclass = Holder

    class HostPciPassthruInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPciPassthruInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPciPassthruInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dependentDevice"), aname="_dependentDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"passthruEnabled"), aname="_passthruEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"passthruCapable"), aname="_passthruCapable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"passthruActive"), aname="_passthruActive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPciPassthruInfo_Def.__bases__:
                bases = list(ns0.HostPciPassthruInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPciPassthruInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPciPassthruInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPciPassthruInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPciPassthruInfo_Def.schema
            TClist = [GTD("urn:vim25","HostPciPassthruInfo",lazy=True)(pname=(ns,"HostPciPassthruInfo"), aname="_HostPciPassthruInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPciPassthruInfo = []
                    return
            Holder.__name__ = "ArrayOfHostPciPassthruInfo_Holder"
            self.pyclass = Holder

    class HostPersistentMemoryInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPersistentMemoryInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPersistentMemoryInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacityInMB"), aname="_capacityInMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"volumeUUID"), aname="_volumeUUID", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPersistentMemoryInfo_Def.__bases__:
                bases = list(ns0.HostPersistentMemoryInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPersistentMemoryInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PhysicalNicSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PhysicalNicSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PhysicalNicSpec_Def.schema
            TClist = [GTD("urn:vim25","HostIpConfig",lazy=True)(pname=(ns,"ip"), aname="_ip", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNicLinkInfo",lazy=True)(pname=(ns,"linkSpeed"), aname="_linkSpeed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enableEnhancedNetworkingStack"), aname="_enableEnhancedNetworkingStack", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PhysicalNicSpec_Def.__bases__:
                bases = list(ns0.PhysicalNicSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PhysicalNicSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PhysicalNicConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PhysicalNicConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PhysicalNicConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNicSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PhysicalNicConfig_Def.__bases__:
                bases = list(ns0.PhysicalNicConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PhysicalNicConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPhysicalNicConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPhysicalNicConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPhysicalNicConfig_Def.schema
            TClist = [GTD("urn:vim25","PhysicalNicConfig",lazy=True)(pname=(ns,"PhysicalNicConfig"), aname="_PhysicalNicConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PhysicalNicConfig = []
                    return
            Holder.__name__ = "ArrayOfPhysicalNicConfig_Holder"
            self.pyclass = Holder

    class PhysicalNicLinkInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PhysicalNicLinkInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PhysicalNicLinkInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"speedMb"), aname="_speedMb", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"duplex"), aname="_duplex", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PhysicalNicLinkInfo_Def.__bases__:
                bases = list(ns0.PhysicalNicLinkInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PhysicalNicLinkInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPhysicalNicLinkInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPhysicalNicLinkInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPhysicalNicLinkInfo_Def.schema
            TClist = [GTD("urn:vim25","PhysicalNicLinkInfo",lazy=True)(pname=(ns,"PhysicalNicLinkInfo"), aname="_PhysicalNicLinkInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PhysicalNicLinkInfo = []
                    return
            Holder.__name__ = "ArrayOfPhysicalNicLinkInfo_Holder"
            self.pyclass = Holder

    class PhysicalNicHint_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PhysicalNicHint")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PhysicalNicHint_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vlanId"), aname="_vlanId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PhysicalNicHint_Def.__bases__:
                bases = list(ns0.PhysicalNicHint_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PhysicalNicHint_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PhysicalNicIpHint_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PhysicalNicIpHint")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PhysicalNicIpHint_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipSubnet"), aname="_ipSubnet", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PhysicalNicHint_Def not in ns0.PhysicalNicIpHint_Def.__bases__:
                bases = list(ns0.PhysicalNicIpHint_Def.__bases__)
                bases.insert(0, ns0.PhysicalNicHint_Def)
                ns0.PhysicalNicIpHint_Def.__bases__ = tuple(bases)

            ns0.PhysicalNicHint_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPhysicalNicIpHint_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPhysicalNicIpHint")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPhysicalNicIpHint_Def.schema
            TClist = [GTD("urn:vim25","PhysicalNicIpHint",lazy=True)(pname=(ns,"PhysicalNicIpHint"), aname="_PhysicalNicIpHint", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PhysicalNicIpHint = []
                    return
            Holder.__name__ = "ArrayOfPhysicalNicIpHint_Holder"
            self.pyclass = Holder

    class PhysicalNicNameHint_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PhysicalNicNameHint")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PhysicalNicNameHint_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"network"), aname="_network", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PhysicalNicHint_Def not in ns0.PhysicalNicNameHint_Def.__bases__:
                bases = list(ns0.PhysicalNicNameHint_Def.__bases__)
                bases.insert(0, ns0.PhysicalNicHint_Def)
                ns0.PhysicalNicNameHint_Def.__bases__ = tuple(bases)

            ns0.PhysicalNicHint_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPhysicalNicNameHint_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPhysicalNicNameHint")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPhysicalNicNameHint_Def.schema
            TClist = [GTD("urn:vim25","PhysicalNicNameHint",lazy=True)(pname=(ns,"PhysicalNicNameHint"), aname="_PhysicalNicNameHint", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PhysicalNicNameHint = []
                    return
            Holder.__name__ = "ArrayOfPhysicalNicNameHint_Holder"
            self.pyclass = Holder

    class PhysicalNicHintInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PhysicalNicHintInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PhysicalNicHintInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNicIpHint",lazy=True)(pname=(ns,"subnet"), aname="_subnet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNicNameHint",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNicCdpInfo",lazy=True)(pname=(ns,"connectedSwitchPort"), aname="_connectedSwitchPort", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LinkLayerDiscoveryProtocolInfo",lazy=True)(pname=(ns,"lldpInfo"), aname="_lldpInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PhysicalNicHintInfo_Def.__bases__:
                bases = list(ns0.PhysicalNicHintInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PhysicalNicHintInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPhysicalNicHintInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPhysicalNicHintInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPhysicalNicHintInfo_Def.schema
            TClist = [GTD("urn:vim25","PhysicalNicHintInfo",lazy=True)(pname=(ns,"PhysicalNicHintInfo"), aname="_PhysicalNicHintInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PhysicalNicHintInfo = []
                    return
            Holder.__name__ = "ArrayOfPhysicalNicHintInfo_Holder"
            self.pyclass = Holder

    class PhysicalNicCdpDeviceCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PhysicalNicCdpDeviceCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PhysicalNicCdpDeviceCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"router"), aname="_router", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"transparentBridge"), aname="_transparentBridge", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"sourceRouteBridge"), aname="_sourceRouteBridge", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"networkSwitch"), aname="_networkSwitch", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"igmpEnabled"), aname="_igmpEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"repeater"), aname="_repeater", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PhysicalNicCdpDeviceCapability_Def.__bases__:
                bases = list(ns0.PhysicalNicCdpDeviceCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PhysicalNicCdpDeviceCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PhysicalNicCdpInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PhysicalNicCdpInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PhysicalNicCdpInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"cdpVersion"), aname="_cdpVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"timeout"), aname="_timeout", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"ttl"), aname="_ttl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"samples"), aname="_samples", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"devId"), aname="_devId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"address"), aname="_address", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portId"), aname="_portId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNicCdpDeviceCapability",lazy=True)(pname=(ns,"deviceCapability"), aname="_deviceCapability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"softwareVersion"), aname="_softwareVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hardwarePlatform"), aname="_hardwarePlatform", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipPrefix"), aname="_ipPrefix", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"ipPrefixLen"), aname="_ipPrefixLen", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vlan"), aname="_vlan", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"fullDuplex"), aname="_fullDuplex", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"mtu"), aname="_mtu", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"systemName"), aname="_systemName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"systemOID"), aname="_systemOID", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mgmtAddr"), aname="_mgmtAddr", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"location"), aname="_location", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PhysicalNicCdpInfo_Def.__bases__:
                bases = list(ns0.PhysicalNicCdpInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PhysicalNicCdpInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LinkLayerDiscoveryProtocolInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LinkLayerDiscoveryProtocolInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LinkLayerDiscoveryProtocolInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"chassisId"), aname="_chassisId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portId"), aname="_portId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"timeToLive"), aname="_timeToLive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"parameter"), aname="_parameter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.LinkLayerDiscoveryProtocolInfo_Def.__bases__:
                bases = list(ns0.LinkLayerDiscoveryProtocolInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.LinkLayerDiscoveryProtocolInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PhysicalNicVmDirectPathGen2SupportedMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PhysicalNicVmDirectPathGen2SupportedMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class PhysicalNicResourcePoolSchedulerDisallowedReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PhysicalNicResourcePoolSchedulerDisallowedReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class PhysicalNic_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PhysicalNic")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PhysicalNic_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pci"), aname="_pci", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"driver"), aname="_driver", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNicLinkInfo",lazy=True)(pname=(ns,"linkSpeed"), aname="_linkSpeed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNicLinkInfo",lazy=True)(pname=(ns,"validLinkSpecification"), aname="_validLinkSpecification", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNicSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"wakeOnLanSupported"), aname="_wakeOnLanSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mac"), aname="_mac", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FcoeConfig",lazy=True)(pname=(ns,"fcoeConfiguration"), aname="_fcoeConfiguration", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmDirectPathGen2Supported"), aname="_vmDirectPathGen2Supported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmDirectPathGen2SupportedMode"), aname="_vmDirectPathGen2SupportedMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"resourcePoolSchedulerAllowed"), aname="_resourcePoolSchedulerAllowed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"resourcePoolSchedulerDisallowedReason"), aname="_resourcePoolSchedulerDisallowedReason", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"autoNegotiateSupported"), aname="_autoNegotiateSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enhancedNetworkingStackSupported"), aname="_enhancedNetworkingStackSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PhysicalNic_Def.__bases__:
                bases = list(ns0.PhysicalNic_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PhysicalNic_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPhysicalNic_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPhysicalNic")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPhysicalNic_Def.schema
            TClist = [GTD("urn:vim25","PhysicalNic",lazy=True)(pname=(ns,"PhysicalNic"), aname="_PhysicalNic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PhysicalNic = []
                    return
            Holder.__name__ = "ArrayOfPhysicalNic_Holder"
            self.pyclass = Holder

    class HostPlugStoreTopologyAdapter_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPlugStoreTopologyAdapter")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPlugStoreTopologyAdapter_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"adapter"), aname="_adapter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPlugStoreTopologyAdapter_Def.__bases__:
                bases = list(ns0.HostPlugStoreTopologyAdapter_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPlugStoreTopologyAdapter_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPlugStoreTopologyAdapter_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPlugStoreTopologyAdapter")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPlugStoreTopologyAdapter_Def.schema
            TClist = [GTD("urn:vim25","HostPlugStoreTopologyAdapter",lazy=True)(pname=(ns,"HostPlugStoreTopologyAdapter"), aname="_HostPlugStoreTopologyAdapter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPlugStoreTopologyAdapter = []
                    return
            Holder.__name__ = "ArrayOfHostPlugStoreTopologyAdapter_Holder"
            self.pyclass = Holder

    class HostPlugStoreTopologyPath_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPlugStoreTopologyPath")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPlugStoreTopologyPath_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"channelNumber"), aname="_channelNumber", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"targetNumber"), aname="_targetNumber", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"lunNumber"), aname="_lunNumber", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"adapter"), aname="_adapter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"target"), aname="_target", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPlugStoreTopologyPath_Def.__bases__:
                bases = list(ns0.HostPlugStoreTopologyPath_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPlugStoreTopologyPath_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPlugStoreTopologyPath_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPlugStoreTopologyPath")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPlugStoreTopologyPath_Def.schema
            TClist = [GTD("urn:vim25","HostPlugStoreTopologyPath",lazy=True)(pname=(ns,"HostPlugStoreTopologyPath"), aname="_HostPlugStoreTopologyPath", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPlugStoreTopologyPath = []
                    return
            Holder.__name__ = "ArrayOfHostPlugStoreTopologyPath_Holder"
            self.pyclass = Holder

    class HostPlugStoreTopologyDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPlugStoreTopologyDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPlugStoreTopologyDevice_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lun"), aname="_lun", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPlugStoreTopologyDevice_Def.__bases__:
                bases = list(ns0.HostPlugStoreTopologyDevice_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPlugStoreTopologyDevice_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPlugStoreTopologyDevice_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPlugStoreTopologyDevice")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPlugStoreTopologyDevice_Def.schema
            TClist = [GTD("urn:vim25","HostPlugStoreTopologyDevice",lazy=True)(pname=(ns,"HostPlugStoreTopologyDevice"), aname="_HostPlugStoreTopologyDevice", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPlugStoreTopologyDevice = []
                    return
            Holder.__name__ = "ArrayOfHostPlugStoreTopologyDevice_Holder"
            self.pyclass = Holder

    class HostPlugStoreTopologyPlugin_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPlugStoreTopologyPlugin")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPlugStoreTopologyPlugin_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"claimedPath"), aname="_claimedPath", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPlugStoreTopologyPlugin_Def.__bases__:
                bases = list(ns0.HostPlugStoreTopologyPlugin_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPlugStoreTopologyPlugin_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPlugStoreTopologyPlugin_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPlugStoreTopologyPlugin")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPlugStoreTopologyPlugin_Def.schema
            TClist = [GTD("urn:vim25","HostPlugStoreTopologyPlugin",lazy=True)(pname=(ns,"HostPlugStoreTopologyPlugin"), aname="_HostPlugStoreTopologyPlugin", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPlugStoreTopologyPlugin = []
                    return
            Holder.__name__ = "ArrayOfHostPlugStoreTopologyPlugin_Holder"
            self.pyclass = Holder

    class HostPlugStoreTopologyTarget_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPlugStoreTopologyTarget")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPlugStoreTopologyTarget_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostTargetTransport",lazy=True)(pname=(ns,"transport"), aname="_transport", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPlugStoreTopologyTarget_Def.__bases__:
                bases = list(ns0.HostPlugStoreTopologyTarget_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPlugStoreTopologyTarget_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPlugStoreTopologyTarget_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPlugStoreTopologyTarget")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPlugStoreTopologyTarget_Def.schema
            TClist = [GTD("urn:vim25","HostPlugStoreTopologyTarget",lazy=True)(pname=(ns,"HostPlugStoreTopologyTarget"), aname="_HostPlugStoreTopologyTarget", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPlugStoreTopologyTarget = []
                    return
            Holder.__name__ = "ArrayOfHostPlugStoreTopologyTarget_Holder"
            self.pyclass = Holder

    class HostPlugStoreTopology_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPlugStoreTopology")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPlugStoreTopology_Def.schema
            TClist = [GTD("urn:vim25","HostPlugStoreTopologyAdapter",lazy=True)(pname=(ns,"adapter"), aname="_adapter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPlugStoreTopologyPath",lazy=True)(pname=(ns,"path"), aname="_path", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPlugStoreTopologyTarget",lazy=True)(pname=(ns,"target"), aname="_target", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPlugStoreTopologyDevice",lazy=True)(pname=(ns,"device"), aname="_device", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPlugStoreTopologyPlugin",lazy=True)(pname=(ns,"plugin"), aname="_plugin", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPlugStoreTopology_Def.__bases__:
                bases = list(ns0.HostPlugStoreTopology_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPlugStoreTopology_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PortGroupConnecteeType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PortGroupConnecteeType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostPortGroupSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPortGroupSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPortGroupSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vlanId"), aname="_vlanId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vswitchName"), aname="_vswitchName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNetworkPolicy",lazy=True)(pname=(ns,"policy"), aname="_policy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPortGroupSpec_Def.__bases__:
                bases = list(ns0.HostPortGroupSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPortGroupSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostPortGroupConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPortGroupConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPortGroupConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"changeOperation"), aname="_changeOperation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPortGroupSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPortGroupConfig_Def.__bases__:
                bases = list(ns0.HostPortGroupConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPortGroupConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPortGroupConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPortGroupConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPortGroupConfig_Def.schema
            TClist = [GTD("urn:vim25","HostPortGroupConfig",lazy=True)(pname=(ns,"HostPortGroupConfig"), aname="_HostPortGroupConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPortGroupConfig = []
                    return
            Holder.__name__ = "ArrayOfHostPortGroupConfig_Holder"
            self.pyclass = Holder

    class HostPortGroupPort_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPortGroupPort")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPortGroupPort_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mac"), aname="_mac", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPortGroupPort_Def.__bases__:
                bases = list(ns0.HostPortGroupPort_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPortGroupPort_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPortGroupPort_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPortGroupPort")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPortGroupPort_Def.schema
            TClist = [GTD("urn:vim25","HostPortGroupPort",lazy=True)(pname=(ns,"HostPortGroupPort"), aname="_HostPortGroupPort", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPortGroupPort = []
                    return
            Holder.__name__ = "ArrayOfHostPortGroupPort_Holder"
            self.pyclass = Holder

    class HostPortGroup_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPortGroup")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPortGroup_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPortGroupPort",lazy=True)(pname=(ns,"port"), aname="_port", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vswitch"), aname="_vswitch", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNetworkPolicy",lazy=True)(pname=(ns,"computedPolicy"), aname="_computedPolicy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPortGroupSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPortGroup_Def.__bases__:
                bases = list(ns0.HostPortGroup_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPortGroup_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPortGroup_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPortGroup")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPortGroup_Def.schema
            TClist = [GTD("urn:vim25","HostPortGroup",lazy=True)(pname=(ns,"HostPortGroup"), aname="_HostPortGroup", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPortGroup = []
                    return
            Holder.__name__ = "ArrayOfHostPortGroup_Holder"
            self.pyclass = Holder

    class HostPowerPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPowerPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPowerPolicy_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"shortName"), aname="_shortName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPowerPolicy_Def.__bases__:
                bases = list(ns0.HostPowerPolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPowerPolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPowerPolicy_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPowerPolicy")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPowerPolicy_Def.schema
            TClist = [GTD("urn:vim25","HostPowerPolicy",lazy=True)(pname=(ns,"HostPowerPolicy"), aname="_HostPowerPolicy", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPowerPolicy = []
                    return
            Holder.__name__ = "ArrayOfHostPowerPolicy_Holder"
            self.pyclass = Holder

    class PowerSystemCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PowerSystemCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PowerSystemCapability_Def.schema
            TClist = [GTD("urn:vim25","HostPowerPolicy",lazy=True)(pname=(ns,"availablePolicy"), aname="_availablePolicy", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PowerSystemCapability_Def.__bases__:
                bases = list(ns0.PowerSystemCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PowerSystemCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PowerSystemInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PowerSystemInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PowerSystemInfo_Def.schema
            TClist = [GTD("urn:vim25","HostPowerPolicy",lazy=True)(pname=(ns,"currentPolicy"), aname="_currentPolicy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PowerSystemInfo_Def.__bases__:
                bases = list(ns0.PowerSystemInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PowerSystemInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostProtocolEndpointPEType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostProtocolEndpointPEType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostProtocolEndpointProtocolEndpointType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostProtocolEndpointProtocolEndpointType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostProtocolEndpoint_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProtocolEndpoint")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProtocolEndpoint_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"peType"), aname="_peType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hostKey"), aname="_hostKey", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"storageArray"), aname="_storageArray", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nfsServer"), aname="_nfsServer", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nfsDir"), aname="_nfsDir", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nfsServerScope"), aname="_nfsServerScope", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nfsServerMajor"), aname="_nfsServerMajor", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nfsServerAuthType"), aname="_nfsServerAuthType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nfsServerUser"), aname="_nfsServerUser", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deviceId"), aname="_deviceId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostProtocolEndpoint_Def.__bases__:
                bases = list(ns0.HostProtocolEndpoint_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostProtocolEndpoint_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostProtocolEndpoint_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostProtocolEndpoint")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostProtocolEndpoint_Def.schema
            TClist = [GTD("urn:vim25","HostProtocolEndpoint",lazy=True)(pname=(ns,"HostProtocolEndpoint"), aname="_HostProtocolEndpoint", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostProtocolEndpoint = []
                    return
            Holder.__name__ = "ArrayOfHostProtocolEndpoint_Holder"
            self.pyclass = Holder

    class HostResignatureRescanResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostResignatureRescanResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostResignatureRescanResult_Def.schema
            TClist = [GTD("urn:vim25","HostVmfsRescanResult",lazy=True)(pname=(ns,"rescan"), aname="_rescan", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"result"), aname="_result", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostResignatureRescanResult_Def.__bases__:
                bases = list(ns0.HostResignatureRescanResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostResignatureRescanResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFirewallRulesetIpNetwork_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFirewallRulesetIpNetwork")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFirewallRulesetIpNetwork_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"network"), aname="_network", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"prefixLength"), aname="_prefixLength", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFirewallRulesetIpNetwork_Def.__bases__:
                bases = list(ns0.HostFirewallRulesetIpNetwork_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFirewallRulesetIpNetwork_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostFirewallRulesetIpNetwork_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostFirewallRulesetIpNetwork")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostFirewallRulesetIpNetwork_Def.schema
            TClist = [GTD("urn:vim25","HostFirewallRulesetIpNetwork",lazy=True)(pname=(ns,"HostFirewallRulesetIpNetwork"), aname="_HostFirewallRulesetIpNetwork", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostFirewallRulesetIpNetwork = []
                    return
            Holder.__name__ = "ArrayOfHostFirewallRulesetIpNetwork_Holder"
            self.pyclass = Holder

    class HostFirewallRulesetIpList_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFirewallRulesetIpList")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFirewallRulesetIpList_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFirewallRulesetIpNetwork",lazy=True)(pname=(ns,"ipNetwork"), aname="_ipNetwork", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"allIp"), aname="_allIp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFirewallRulesetIpList_Def.__bases__:
                bases = list(ns0.HostFirewallRulesetIpList_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFirewallRulesetIpList_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFirewallRulesetRulesetSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFirewallRulesetRulesetSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFirewallRulesetRulesetSpec_Def.schema
            TClist = [GTD("urn:vim25","HostFirewallRulesetIpList",lazy=True)(pname=(ns,"allowedHosts"), aname="_allowedHosts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFirewallRulesetRulesetSpec_Def.__bases__:
                bases = list(ns0.HostFirewallRulesetRulesetSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFirewallRulesetRulesetSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFirewallRuleDirection_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostFirewallRuleDirection")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostFirewallRulePortType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostFirewallRulePortType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostFirewallRuleProtocol_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostFirewallRuleProtocol")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostFirewallRule_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFirewallRule")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFirewallRule_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"endPort"), aname="_endPort", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFirewallRuleDirection",lazy=True)(pname=(ns,"direction"), aname="_direction", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFirewallRulePortType",lazy=True)(pname=(ns,"portType"), aname="_portType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"protocol"), aname="_protocol", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFirewallRule_Def.__bases__:
                bases = list(ns0.HostFirewallRule_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFirewallRule_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostFirewallRule_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostFirewallRule")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostFirewallRule_Def.schema
            TClist = [GTD("urn:vim25","HostFirewallRule",lazy=True)(pname=(ns,"HostFirewallRule"), aname="_HostFirewallRule", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostFirewallRule = []
                    return
            Holder.__name__ = "ArrayOfHostFirewallRule_Holder"
            self.pyclass = Holder

    class HostFirewallRuleset_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFirewallRuleset")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFirewallRuleset_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"label"), aname="_label", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"required"), aname="_required", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFirewallRule",lazy=True)(pname=(ns,"rule"), aname="_rule", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"service"), aname="_service", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFirewallRulesetIpList",lazy=True)(pname=(ns,"allowedHosts"), aname="_allowedHosts", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostFirewallRuleset_Def.__bases__:
                bases = list(ns0.HostFirewallRuleset_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostFirewallRuleset_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostFirewallRuleset_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostFirewallRuleset")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostFirewallRuleset_Def.schema
            TClist = [GTD("urn:vim25","HostFirewallRuleset",lazy=True)(pname=(ns,"HostFirewallRuleset"), aname="_HostFirewallRuleset", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostFirewallRuleset = []
                    return
            Holder.__name__ = "ArrayOfHostFirewallRuleset_Holder"
            self.pyclass = Holder

    class HostRuntimeInfoNetStackInstanceRuntimeInfoState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostRuntimeInfoNetStackInstanceRuntimeInfoState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostRuntimeInfoNetStackInstanceRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostRuntimeInfoNetStackInstanceRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostRuntimeInfoNetStackInstanceRuntimeInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"netStackInstanceKey"), aname="_netStackInstanceKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmknicKeys"), aname="_vmknicKeys", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxNumberOfConnections"), aname="_maxNumberOfConnections", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"currentIpV6Enabled"), aname="_currentIpV6Enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostRuntimeInfoNetStackInstanceRuntimeInfo_Def.__bases__:
                bases = list(ns0.HostRuntimeInfoNetStackInstanceRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostRuntimeInfoNetStackInstanceRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostRuntimeInfoNetStackInstanceRuntimeInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostRuntimeInfoNetStackInstanceRuntimeInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostRuntimeInfoNetStackInstanceRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","HostRuntimeInfoNetStackInstanceRuntimeInfo",lazy=True)(pname=(ns,"HostRuntimeInfoNetStackInstanceRuntimeInfo"), aname="_HostRuntimeInfoNetStackInstanceRuntimeInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostRuntimeInfoNetStackInstanceRuntimeInfo = []
                    return
            Holder.__name__ = "ArrayOfHostRuntimeInfoNetStackInstanceRuntimeInfo_Holder"
            self.pyclass = Holder

    class HostPlacedVirtualNicIdentifier_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPlacedVirtualNicIdentifier")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPlacedVirtualNicIdentifier_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vnicKey"), aname="_vnicKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"reservation"), aname="_reservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPlacedVirtualNicIdentifier_Def.__bases__:
                bases = list(ns0.HostPlacedVirtualNicIdentifier_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPlacedVirtualNicIdentifier_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPlacedVirtualNicIdentifier_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPlacedVirtualNicIdentifier")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPlacedVirtualNicIdentifier_Def.schema
            TClist = [GTD("urn:vim25","HostPlacedVirtualNicIdentifier",lazy=True)(pname=(ns,"HostPlacedVirtualNicIdentifier"), aname="_HostPlacedVirtualNicIdentifier", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPlacedVirtualNicIdentifier = []
                    return
            Holder.__name__ = "ArrayOfHostPlacedVirtualNicIdentifier_Holder"
            self.pyclass = Holder

    class HostPnicNetworkResourceInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPnicNetworkResourceInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPnicNetworkResourceInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"pnicDevice"), aname="_pnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"availableBandwidthForVMTraffic"), aname="_availableBandwidthForVMTraffic", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"unusedBandwidthForVMTraffic"), aname="_unusedBandwidthForVMTraffic", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPlacedVirtualNicIdentifier",lazy=True)(pname=(ns,"placedVirtualNics"), aname="_placedVirtualNics", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostPnicNetworkResourceInfo_Def.__bases__:
                bases = list(ns0.HostPnicNetworkResourceInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostPnicNetworkResourceInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPnicNetworkResourceInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPnicNetworkResourceInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPnicNetworkResourceInfo_Def.schema
            TClist = [GTD("urn:vim25","HostPnicNetworkResourceInfo",lazy=True)(pname=(ns,"HostPnicNetworkResourceInfo"), aname="_HostPnicNetworkResourceInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPnicNetworkResourceInfo = []
                    return
            Holder.__name__ = "ArrayOfHostPnicNetworkResourceInfo_Holder"
            self.pyclass = Holder

    class HostNetworkResourceRuntime_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostNetworkResourceRuntime")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostNetworkResourceRuntime_Def.schema
            TClist = [GTD("urn:vim25","HostPnicNetworkResourceInfo",lazy=True)(pname=(ns,"pnicResourceInfo"), aname="_pnicResourceInfo", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostNetworkResourceRuntime_Def.__bases__:
                bases = list(ns0.HostNetworkResourceRuntime_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostNetworkResourceRuntime_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostRuntimeInfoNetworkRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostRuntimeInfoNetworkRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostRuntimeInfoNetworkRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","HostRuntimeInfoNetStackInstanceRuntimeInfo",lazy=True)(pname=(ns,"netStackInstanceRuntimeInfo"), aname="_netStackInstanceRuntimeInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNetworkResourceRuntime",lazy=True)(pname=(ns,"networkResourceRuntime"), aname="_networkResourceRuntime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostRuntimeInfoNetworkRuntimeInfo_Def.__bases__:
                bases = list(ns0.HostRuntimeInfoNetworkRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostRuntimeInfoNetworkRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","HostSystemConnectionState",lazy=True)(pname=(ns,"connectionState"), aname="_connectionState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSystemPowerState",lazy=True)(pname=(ns,"powerState"), aname="_powerState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"standbyMode"), aname="_standbyMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"inMaintenanceMode"), aname="_inMaintenanceMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"inQuarantineMode"), aname="_inQuarantineMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"bootTime"), aname="_bootTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HealthSystemRuntime",lazy=True)(pname=(ns,"healthSystemRuntime"), aname="_healthSystemRuntime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDasFdmHostState",lazy=True)(pname=(ns,"dasHostState"), aname="_dasHostState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostTpmDigestInfo",lazy=True)(pname=(ns,"tpmPcrValues"), aname="_tpmPcrValues", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostRuntimeInfo",lazy=True)(pname=(ns,"vsanRuntimeInfo"), aname="_vsanRuntimeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostRuntimeInfoNetworkRuntimeInfo",lazy=True)(pname=(ns,"networkRuntimeInfo"), aname="_networkRuntimeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVFlashManagerVFlashResourceRunTimeInfo",lazy=True)(pname=(ns,"vFlashResourceRuntimeInfo"), aname="_vFlashResourceRuntimeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"hostMaxVirtualDiskCapacity"), aname="_hostMaxVirtualDiskCapacity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"cryptoState"), aname="_cryptoState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"cryptoKeyId"), aname="_cryptoKeyId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostRuntimeInfo_Def.__bases__:
                bases = list(ns0.HostRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostScsiDiskPartition_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostScsiDiskPartition")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostScsiDiskPartition_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskName"), aname="_diskName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"partition"), aname="_partition", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostScsiDiskPartition_Def.__bases__:
                bases = list(ns0.HostScsiDiskPartition_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostScsiDiskPartition_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostScsiDiskPartition_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostScsiDiskPartition")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostScsiDiskPartition_Def.schema
            TClist = [GTD("urn:vim25","HostScsiDiskPartition",lazy=True)(pname=(ns,"HostScsiDiskPartition"), aname="_HostScsiDiskPartition", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostScsiDiskPartition = []
                    return
            Holder.__name__ = "ArrayOfHostScsiDiskPartition_Holder"
            self.pyclass = Holder

    class ScsiDiskType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ScsiDiskType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostScsiDisk_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostScsiDisk")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostScsiDisk_Def.schema
            TClist = [GTD("urn:vim25","HostDiskDimensionsLba",lazy=True)(pname=(ns,"capacity"), aname="_capacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"devicePath"), aname="_devicePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ssd"), aname="_ssd", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"localDisk"), aname="_localDisk", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"physicalLocation"), aname="_physicalLocation", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"emulatedDIXDIFEnabled"), aname="_emulatedDIXDIFEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostVsanDiskInfo",lazy=True)(pname=(ns,"vsanDiskInfo"), aname="_vsanDiskInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"scsiDiskType"), aname="_scsiDiskType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ScsiLun_Def not in ns0.HostScsiDisk_Def.__bases__:
                bases = list(ns0.HostScsiDisk_Def.__bases__)
                bases.insert(0, ns0.ScsiLun_Def)
                ns0.HostScsiDisk_Def.__bases__ = tuple(bases)

            ns0.ScsiLun_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostScsiDisk_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostScsiDisk")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostScsiDisk_Def.schema
            TClist = [GTD("urn:vim25","HostScsiDisk",lazy=True)(pname=(ns,"HostScsiDisk"), aname="_HostScsiDisk", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostScsiDisk = []
                    return
            Holder.__name__ = "ArrayOfHostScsiDisk_Holder"
            self.pyclass = Holder

    class ScsiLunType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ScsiLunType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ScsiLunCapabilities_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScsiLunCapabilities")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScsiLunCapabilities_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"updateDisplayNameSupported"), aname="_updateDisplayNameSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ScsiLunCapabilities_Def.__bases__:
                bases = list(ns0.ScsiLunCapabilities_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ScsiLunCapabilities_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ScsiLunDurableName_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScsiLunDurableName")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScsiLunDurableName_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"namespace"), aname="_namespace", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"namespaceId"), aname="_namespaceId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"data"), aname="_data", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ScsiLunDurableName_Def.__bases__:
                bases = list(ns0.ScsiLunDurableName_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ScsiLunDurableName_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfScsiLunDurableName_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfScsiLunDurableName")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfScsiLunDurableName_Def.schema
            TClist = [GTD("urn:vim25","ScsiLunDurableName",lazy=True)(pname=(ns,"ScsiLunDurableName"), aname="_ScsiLunDurableName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ScsiLunDurableName = []
                    return
            Holder.__name__ = "ArrayOfScsiLunDurableName_Holder"
            self.pyclass = Holder

    class ScsiLunState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ScsiLunState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ScsiLunDescriptorQuality_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ScsiLunDescriptorQuality")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ScsiLunDescriptor_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScsiLunDescriptor")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScsiLunDescriptor_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"quality"), aname="_quality", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ScsiLunDescriptor_Def.__bases__:
                bases = list(ns0.ScsiLunDescriptor_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ScsiLunDescriptor_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfScsiLunDescriptor_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfScsiLunDescriptor")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfScsiLunDescriptor_Def.schema
            TClist = [GTD("urn:vim25","ScsiLunDescriptor",lazy=True)(pname=(ns,"ScsiLunDescriptor"), aname="_ScsiLunDescriptor", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ScsiLunDescriptor = []
                    return
            Holder.__name__ = "ArrayOfScsiLunDescriptor_Holder"
            self.pyclass = Holder

    class ScsiLunVStorageSupportStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ScsiLunVStorageSupportStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ScsiLun_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScsiLun")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScsiLun_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ScsiLunDescriptor",lazy=True)(pname=(ns,"descriptor"), aname="_descriptor", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"canonicalName"), aname="_canonicalName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"displayName"), aname="_displayName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lunType"), aname="_lunType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendor"), aname="_vendor", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"model"), aname="_model", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"revision"), aname="_revision", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"scsiLevel"), aname="_scsiLevel", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"serialNumber"), aname="_serialNumber", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ScsiLunDurableName",lazy=True)(pname=(ns,"durableName"), aname="_durableName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ScsiLunDurableName",lazy=True)(pname=(ns,"alternateName"), aname="_alternateName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"standardInquiry"), aname="_standardInquiry", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"queueDepth"), aname="_queueDepth", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"operationalState"), aname="_operationalState", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ScsiLunCapabilities",lazy=True)(pname=(ns,"capabilities"), aname="_capabilities", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vStorageSupport"), aname="_vStorageSupport", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"protocolEndpoint"), aname="_protocolEndpoint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDevice_Def not in ns0.ScsiLun_Def.__bases__:
                bases = list(ns0.ScsiLun_Def.__bases__)
                bases.insert(0, ns0.HostDevice_Def)
                ns0.ScsiLun_Def.__bases__ = tuple(bases)

            ns0.HostDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfScsiLun_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfScsiLun")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfScsiLun_Def.schema
            TClist = [GTD("urn:vim25","ScsiLun",lazy=True)(pname=(ns,"ScsiLun"), aname="_ScsiLun", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ScsiLun = []
                    return
            Holder.__name__ = "ArrayOfScsiLun_Holder"
            self.pyclass = Holder

    class HostScsiTopologyInterface_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostScsiTopologyInterface")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostScsiTopologyInterface_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"adapter"), aname="_adapter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiTopologyTarget",lazy=True)(pname=(ns,"target"), aname="_target", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostScsiTopologyInterface_Def.__bases__:
                bases = list(ns0.HostScsiTopologyInterface_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostScsiTopologyInterface_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostScsiTopologyInterface_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostScsiTopologyInterface")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostScsiTopologyInterface_Def.schema
            TClist = [GTD("urn:vim25","HostScsiTopologyInterface",lazy=True)(pname=(ns,"HostScsiTopologyInterface"), aname="_HostScsiTopologyInterface", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostScsiTopologyInterface = []
                    return
            Holder.__name__ = "ArrayOfHostScsiTopologyInterface_Holder"
            self.pyclass = Holder

    class HostScsiTopologyTarget_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostScsiTopologyTarget")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostScsiTopologyTarget_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"target"), aname="_target", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiTopologyLun",lazy=True)(pname=(ns,"lun"), aname="_lun", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostTargetTransport",lazy=True)(pname=(ns,"transport"), aname="_transport", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostScsiTopologyTarget_Def.__bases__:
                bases = list(ns0.HostScsiTopologyTarget_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostScsiTopologyTarget_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostScsiTopologyTarget_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostScsiTopologyTarget")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostScsiTopologyTarget_Def.schema
            TClist = [GTD("urn:vim25","HostScsiTopologyTarget",lazy=True)(pname=(ns,"HostScsiTopologyTarget"), aname="_HostScsiTopologyTarget", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostScsiTopologyTarget = []
                    return
            Holder.__name__ = "ArrayOfHostScsiTopologyTarget_Holder"
            self.pyclass = Holder

    class HostScsiTopologyLun_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostScsiTopologyLun")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostScsiTopologyLun_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"lun"), aname="_lun", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"scsiLun"), aname="_scsiLun", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostScsiTopologyLun_Def.__bases__:
                bases = list(ns0.HostScsiTopologyLun_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostScsiTopologyLun_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostScsiTopologyLun_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostScsiTopologyLun")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostScsiTopologyLun_Def.schema
            TClist = [GTD("urn:vim25","HostScsiTopologyLun",lazy=True)(pname=(ns,"HostScsiTopologyLun"), aname="_HostScsiTopologyLun", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostScsiTopologyLun = []
                    return
            Holder.__name__ = "ArrayOfHostScsiTopologyLun_Holder"
            self.pyclass = Holder

    class HostScsiTopology_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostScsiTopology")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostScsiTopology_Def.schema
            TClist = [GTD("urn:vim25","HostScsiTopologyInterface",lazy=True)(pname=(ns,"adapter"), aname="_adapter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostScsiTopology_Def.__bases__:
                bases = list(ns0.HostScsiTopology_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostScsiTopology_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSecuritySpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSecuritySpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSecuritySpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"adminPassword"), aname="_adminPassword", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Permission",lazy=True)(pname=(ns,"removePermission"), aname="_removePermission", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Permission",lazy=True)(pname=(ns,"addPermission"), aname="_addPermission", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSecuritySpec_Def.__bases__:
                bases = list(ns0.HostSecuritySpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSecuritySpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostServicePolicy_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostServicePolicy")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostServiceSourcePackage_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostServiceSourcePackage")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostServiceSourcePackage_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"sourcePackageName"), aname="_sourcePackageName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostServiceSourcePackage_Def.__bases__:
                bases = list(ns0.HostServiceSourcePackage_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostServiceSourcePackage_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostService_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostService")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostService_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"label"), aname="_label", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"required"), aname="_required", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"uninstallable"), aname="_uninstallable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"running"), aname="_running", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ruleset"), aname="_ruleset", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"policy"), aname="_policy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostServiceSourcePackage",lazy=True)(pname=(ns,"sourcePackage"), aname="_sourcePackage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostService_Def.__bases__:
                bases = list(ns0.HostService_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostService_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostService_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostService")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostService_Def.schema
            TClist = [GTD("urn:vim25","HostService",lazy=True)(pname=(ns,"HostService"), aname="_HostService", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostService = []
                    return
            Holder.__name__ = "ArrayOfHostService_Holder"
            self.pyclass = Holder

    class HostServiceConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostServiceConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostServiceConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"serviceId"), aname="_serviceId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"startupPolicy"), aname="_startupPolicy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostServiceConfig_Def.__bases__:
                bases = list(ns0.HostServiceConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostServiceConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostServiceConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostServiceConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostServiceConfig_Def.schema
            TClist = [GTD("urn:vim25","HostServiceConfig",lazy=True)(pname=(ns,"HostServiceConfig"), aname="_HostServiceConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostServiceConfig = []
                    return
            Holder.__name__ = "ArrayOfHostServiceConfig_Holder"
            self.pyclass = Holder

    class HostServiceInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostServiceInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostServiceInfo_Def.schema
            TClist = [GTD("urn:vim25","HostService",lazy=True)(pname=(ns,"service"), aname="_service", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostServiceInfo_Def.__bases__:
                bases = list(ns0.HostServiceInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostServiceInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSharedGpuCapabilities_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSharedGpuCapabilities")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSharedGpuCapabilities_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vgpu"), aname="_vgpu", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"diskSnapshotSupported"), aname="_diskSnapshotSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"memorySnapshotSupported"), aname="_memorySnapshotSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"suspendSupported"), aname="_suspendSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"migrateSupported"), aname="_migrateSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSharedGpuCapabilities_Def.__bases__:
                bases = list(ns0.HostSharedGpuCapabilities_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSharedGpuCapabilities_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostSharedGpuCapabilities_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostSharedGpuCapabilities")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostSharedGpuCapabilities_Def.schema
            TClist = [GTD("urn:vim25","HostSharedGpuCapabilities",lazy=True)(pname=(ns,"HostSharedGpuCapabilities"), aname="_HostSharedGpuCapabilities", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostSharedGpuCapabilities = []
                    return
            Holder.__name__ = "ArrayOfHostSharedGpuCapabilities_Holder"
            self.pyclass = Holder

    class HostSnmpDestination_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSnmpDestination")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSnmpDestination_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"community"), aname="_community", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSnmpDestination_Def.__bases__:
                bases = list(ns0.HostSnmpDestination_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSnmpDestination_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostSnmpDestination_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostSnmpDestination")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostSnmpDestination_Def.schema
            TClist = [GTD("urn:vim25","HostSnmpDestination",lazy=True)(pname=(ns,"HostSnmpDestination"), aname="_HostSnmpDestination", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostSnmpDestination = []
                    return
            Holder.__name__ = "ArrayOfHostSnmpDestination_Holder"
            self.pyclass = Holder

    class HostSnmpConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSnmpConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSnmpConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"readOnlyCommunities"), aname="_readOnlyCommunities", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSnmpDestination",lazy=True)(pname=(ns,"trapTargets"), aname="_trapTargets", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"option"), aname="_option", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSnmpConfigSpec_Def.__bases__:
                bases = list(ns0.HostSnmpConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSnmpConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSnmpAgentCapability_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostSnmpAgentCapability")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostSnmpSystemAgentLimits_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSnmpSystemAgentLimits")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSnmpSystemAgentLimits_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxReadOnlyCommunities"), aname="_maxReadOnlyCommunities", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxTrapDestinations"), aname="_maxTrapDestinations", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxCommunityLength"), aname="_maxCommunityLength", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxBufferSize"), aname="_maxBufferSize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSnmpAgentCapability",lazy=True)(pname=(ns,"capability"), aname="_capability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSnmpSystemAgentLimits_Def.__bases__:
                bases = list(ns0.HostSnmpSystemAgentLimits_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSnmpSystemAgentLimits_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SoftwarePackageVibType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SoftwarePackageVibType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class SoftwarePackageCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SoftwarePackageCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SoftwarePackageCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"liveInstallAllowed"), aname="_liveInstallAllowed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"liveRemoveAllowed"), aname="_liveRemoveAllowed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"statelessReady"), aname="_statelessReady", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"overlay"), aname="_overlay", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.SoftwarePackageCapability_Def.__bases__:
                bases = list(ns0.SoftwarePackageCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.SoftwarePackageCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SoftwarePackageConstraint_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SoftwarePackageConstraint")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class Relation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "Relation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.Relation_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"constraint"), aname="_constraint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.Relation_Def.__bases__:
                bases = list(ns0.Relation_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.Relation_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfRelation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfRelation")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfRelation_Def.schema
            TClist = [GTD("urn:vim25","Relation",lazy=True)(pname=(ns,"Relation"), aname="_Relation", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._Relation = []
                    return
            Holder.__name__ = "ArrayOfRelation_Holder"
            self.pyclass = Holder

    class SoftwarePackage_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SoftwarePackage")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SoftwarePackage_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendor"), aname="_vendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"acceptanceLevel"), aname="_acceptanceLevel", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"summary"), aname="_summary", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"referenceURL"), aname="_referenceURL", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"creationDate"), aname="_creationDate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Relation",lazy=True)(pname=(ns,"depends"), aname="_depends", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Relation",lazy=True)(pname=(ns,"conflicts"), aname="_conflicts", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Relation",lazy=True)(pname=(ns,"replaces"), aname="_replaces", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"provides"), aname="_provides", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"maintenanceModeRequired"), aname="_maintenanceModeRequired", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hardwarePlatformsRequired"), aname="_hardwarePlatformsRequired", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SoftwarePackageCapability",lazy=True)(pname=(ns,"capability"), aname="_capability", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"tag"), aname="_tag", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"payload"), aname="_payload", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.SoftwarePackage_Def.__bases__:
                bases = list(ns0.SoftwarePackage_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.SoftwarePackage_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfSoftwarePackage_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfSoftwarePackage")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfSoftwarePackage_Def.schema
            TClist = [GTD("urn:vim25","SoftwarePackage",lazy=True)(pname=(ns,"SoftwarePackage"), aname="_SoftwarePackage", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._SoftwarePackage = []
                    return
            Holder.__name__ = "ArrayOfSoftwarePackage_Holder"
            self.pyclass = Holder

    class HostSriovConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSriovConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSriovConfig_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"sriovEnabled"), aname="_sriovEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numVirtualFunction"), aname="_numVirtualFunction", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostPciPassthruConfig_Def not in ns0.HostSriovConfig_Def.__bases__:
                bases = list(ns0.HostSriovConfig_Def.__bases__)
                bases.insert(0, ns0.HostPciPassthruConfig_Def)
                ns0.HostSriovConfig_Def.__bases__ = tuple(bases)

            ns0.HostPciPassthruConfig_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSriovDevicePoolInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSriovDevicePoolInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSriovDevicePoolInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSriovDevicePoolInfo_Def.__bases__:
                bases = list(ns0.HostSriovDevicePoolInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSriovDevicePoolInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostSriovDevicePoolInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostSriovDevicePoolInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostSriovDevicePoolInfo_Def.schema
            TClist = [GTD("urn:vim25","HostSriovDevicePoolInfo",lazy=True)(pname=(ns,"HostSriovDevicePoolInfo"), aname="_HostSriovDevicePoolInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostSriovDevicePoolInfo = []
                    return
            Holder.__name__ = "ArrayOfHostSriovDevicePoolInfo_Holder"
            self.pyclass = Holder

    class HostSriovInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSriovInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSriovInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"sriovEnabled"), aname="_sriovEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"sriovCapable"), aname="_sriovCapable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"sriovActive"), aname="_sriovActive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numVirtualFunctionRequested"), aname="_numVirtualFunctionRequested", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numVirtualFunction"), aname="_numVirtualFunction", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxVirtualFunctionSupported"), aname="_maxVirtualFunctionSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostPciPassthruInfo_Def not in ns0.HostSriovInfo_Def.__bases__:
                bases = list(ns0.HostSriovInfo_Def.__bases__)
                bases.insert(0, ns0.HostPciPassthruInfo_Def)
                ns0.HostSriovInfo_Def.__bases__ = tuple(bases)

            ns0.HostPciPassthruInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSriovNetworkDevicePoolInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSriovNetworkDevicePoolInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSriovNetworkDevicePoolInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"switchKey"), aname="_switchKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"switchUuid"), aname="_switchUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNic",lazy=True)(pname=(ns,"pnic"), aname="_pnic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostSriovDevicePoolInfo_Def not in ns0.HostSriovNetworkDevicePoolInfo_Def.__bases__:
                bases = list(ns0.HostSriovNetworkDevicePoolInfo_Def.__bases__)
                bases.insert(0, ns0.HostSriovDevicePoolInfo_Def)
                ns0.HostSriovNetworkDevicePoolInfo_Def.__bases__ = tuple(bases)

            ns0.HostSriovDevicePoolInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSslThumbprintInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSslThumbprintInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSslThumbprintInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"principal"), aname="_principal", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ownerTag"), aname="_ownerTag", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sslThumbprints"), aname="_sslThumbprints", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSslThumbprintInfo_Def.__bases__:
                bases = list(ns0.HostSslThumbprintInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSslThumbprintInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostSslThumbprintInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostSslThumbprintInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostSslThumbprintInfo_Def.schema
            TClist = [GTD("urn:vim25","HostSslThumbprintInfo",lazy=True)(pname=(ns,"HostSslThumbprintInfo"), aname="_HostSslThumbprintInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostSslThumbprintInfo = []
                    return
            Holder.__name__ = "ArrayOfHostSslThumbprintInfo_Holder"
            self.pyclass = Holder

    class HostStorageArrayTypePolicyOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostStorageArrayTypePolicyOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostStorageArrayTypePolicyOption_Def.schema
            TClist = [GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"policy"), aname="_policy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostStorageArrayTypePolicyOption_Def.__bases__:
                bases = list(ns0.HostStorageArrayTypePolicyOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostStorageArrayTypePolicyOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostStorageArrayTypePolicyOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostStorageArrayTypePolicyOption")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostStorageArrayTypePolicyOption_Def.schema
            TClist = [GTD("urn:vim25","HostStorageArrayTypePolicyOption",lazy=True)(pname=(ns,"HostStorageArrayTypePolicyOption"), aname="_HostStorageArrayTypePolicyOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostStorageArrayTypePolicyOption = []
                    return
            Holder.__name__ = "ArrayOfHostStorageArrayTypePolicyOption_Holder"
            self.pyclass = Holder

    class HostStorageDeviceInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostStorageDeviceInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostStorageDeviceInfo_Def.schema
            TClist = [GTD("urn:vim25","HostHostBusAdapter",lazy=True)(pname=(ns,"hostBusAdapter"), aname="_hostBusAdapter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ScsiLun",lazy=True)(pname=(ns,"scsiLun"), aname="_scsiLun", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiTopology",lazy=True)(pname=(ns,"scsiTopology"), aname="_scsiTopology", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostMultipathInfo",lazy=True)(pname=(ns,"multipathInfo"), aname="_multipathInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPlugStoreTopology",lazy=True)(pname=(ns,"plugStoreTopology"), aname="_plugStoreTopology", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"softwareInternetScsiEnabled"), aname="_softwareInternetScsiEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostStorageDeviceInfo_Def.__bases__:
                bases = list(ns0.HostStorageDeviceInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostStorageDeviceInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostStorageSystemVmfsVolumeResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostStorageSystemVmfsVolumeResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostStorageSystemVmfsVolumeResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostStorageSystemVmfsVolumeResult_Def.__bases__:
                bases = list(ns0.HostStorageSystemVmfsVolumeResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostStorageSystemVmfsVolumeResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostStorageSystemVmfsVolumeResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostStorageSystemVmfsVolumeResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostStorageSystemVmfsVolumeResult_Def.schema
            TClist = [GTD("urn:vim25","HostStorageSystemVmfsVolumeResult",lazy=True)(pname=(ns,"HostStorageSystemVmfsVolumeResult"), aname="_HostStorageSystemVmfsVolumeResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostStorageSystemVmfsVolumeResult = []
                    return
            Holder.__name__ = "ArrayOfHostStorageSystemVmfsVolumeResult_Holder"
            self.pyclass = Holder

    class HostStorageSystemScsiLunResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostStorageSystemScsiLunResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostStorageSystemScsiLunResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostStorageSystemScsiLunResult_Def.__bases__:
                bases = list(ns0.HostStorageSystemScsiLunResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostStorageSystemScsiLunResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostStorageSystemScsiLunResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostStorageSystemScsiLunResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostStorageSystemScsiLunResult_Def.schema
            TClist = [GTD("urn:vim25","HostStorageSystemScsiLunResult",lazy=True)(pname=(ns,"HostStorageSystemScsiLunResult"), aname="_HostStorageSystemScsiLunResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostStorageSystemScsiLunResult = []
                    return
            Holder.__name__ = "ArrayOfHostStorageSystemScsiLunResult_Holder"
            self.pyclass = Holder

    class HostStorageSystemDiskLocatorLedResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostStorageSystemDiskLocatorLedResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostStorageSystemDiskLocatorLedResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostStorageSystemDiskLocatorLedResult_Def.__bases__:
                bases = list(ns0.HostStorageSystemDiskLocatorLedResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostStorageSystemDiskLocatorLedResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostStorageSystemDiskLocatorLedResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostStorageSystemDiskLocatorLedResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostStorageSystemDiskLocatorLedResult_Def.schema
            TClist = [GTD("urn:vim25","HostStorageSystemDiskLocatorLedResult",lazy=True)(pname=(ns,"HostStorageSystemDiskLocatorLedResult"), aname="_HostStorageSystemDiskLocatorLedResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostStorageSystemDiskLocatorLedResult = []
                    return
            Holder.__name__ = "ArrayOfHostStorageSystemDiskLocatorLedResult_Holder"
            self.pyclass = Holder

    class HostHardwareSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostHardwareSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostHardwareSummary_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vendor"), aname="_vendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"model"), aname="_model", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSystemIdentificationInfo",lazy=True)(pname=(ns,"otherIdentifyingInfo"), aname="_otherIdentifyingInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"memorySize"), aname="_memorySize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"cpuModel"), aname="_cpuModel", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"cpuMhz"), aname="_cpuMhz", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"numCpuPkgs"), aname="_numCpuPkgs", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"numCpuCores"), aname="_numCpuCores", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"numCpuThreads"), aname="_numCpuThreads", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numNics"), aname="_numNics", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numHBAs"), aname="_numHBAs", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostHardwareSummary_Def.__bases__:
                bases = list(ns0.HostHardwareSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostHardwareSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostListSummaryQuickStats_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostListSummaryQuickStats")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostListSummaryQuickStats_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"overallCpuUsage"), aname="_overallCpuUsage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"overallMemoryUsage"), aname="_overallMemoryUsage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"distributedCpuFairness"), aname="_distributedCpuFairness", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"distributedMemoryFairness"), aname="_distributedMemoryFairness", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"availablePMemCapacity"), aname="_availablePMemCapacity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"uptime"), aname="_uptime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostListSummaryQuickStats_Def.__bases__:
                bases = list(ns0.HostListSummaryQuickStats_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostListSummaryQuickStats_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostConfigSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostConfigSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostConfigSummary_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sslThumbprint"), aname="_sslThumbprint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AboutInfo",lazy=True)(pname=(ns,"product"), aname="_product", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmotionEnabled"), aname="_vmotionEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"faultToleranceEnabled"), aname="_faultToleranceEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFeatureVersionInfo",lazy=True)(pname=(ns,"featureVersion"), aname="_featureVersion", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"agentVmDatastore"), aname="_agentVmDatastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"agentVmNetwork"), aname="_agentVmNetwork", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostConfigSummary_Def.__bases__:
                bases = list(ns0.HostConfigSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostConfigSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostListSummaryGatewaySummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostListSummaryGatewaySummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostListSummaryGatewaySummary_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"gatewayType"), aname="_gatewayType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"gatewayId"), aname="_gatewayId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostListSummaryGatewaySummary_Def.__bases__:
                bases = list(ns0.HostListSummaryGatewaySummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostListSummaryGatewaySummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostListSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostListSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostListSummary_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostHardwareSummary",lazy=True)(pname=(ns,"hardware"), aname="_hardware", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostRuntimeInfo",lazy=True)(pname=(ns,"runtime"), aname="_runtime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostConfigSummary",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostListSummaryQuickStats",lazy=True)(pname=(ns,"quickStats"), aname="_quickStats", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"overallStatus"), aname="_overallStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"rebootRequired"), aname="_rebootRequired", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomFieldValue",lazy=True)(pname=(ns,"customValue"), aname="_customValue", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"managementServerIp"), aname="_managementServerIp", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"maxEVCModeKey"), aname="_maxEVCModeKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"currentEVCModeKey"), aname="_currentEVCModeKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostListSummaryGatewaySummary",lazy=True)(pname=(ns,"gateway"), aname="_gateway", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostTpmAttestationInfo",lazy=True)(pname=(ns,"tpmAttestation"), aname="_tpmAttestation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostListSummary_Def.__bases__:
                bases = list(ns0.HostListSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostListSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SystemEventInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SystemEventInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SystemEventInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"recordId"), aname="_recordId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"when"), aname="_when", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"selType"), aname="_selType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"sensorNumber"), aname="_sensorNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.SystemEventInfo_Def.__bases__:
                bases = list(ns0.SystemEventInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.SystemEventInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfSystemEventInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfSystemEventInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfSystemEventInfo_Def.schema
            TClist = [GTD("urn:vim25","SystemEventInfo",lazy=True)(pname=(ns,"SystemEventInfo"), aname="_SystemEventInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._SystemEventInfo = []
                    return
            Holder.__name__ = "ArrayOfSystemEventInfo_Holder"
            self.pyclass = Holder

    class HostSystemHealthInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSystemHealthInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSystemHealthInfo_Def.schema
            TClist = [GTD("urn:vim25","HostNumericSensorInfo",lazy=True)(pname=(ns,"numericSensorInfo"), aname="_numericSensorInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSystemHealthInfo_Def.__bases__:
                bases = list(ns0.HostSystemHealthInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSystemHealthInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSystemIdentificationInfoIdentifier_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostSystemIdentificationInfoIdentifier")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostSystemIdentificationInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSystemIdentificationInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSystemIdentificationInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"identifierValue"), aname="_identifierValue", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"identifierType"), aname="_identifierType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSystemIdentificationInfo_Def.__bases__:
                bases = list(ns0.HostSystemIdentificationInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSystemIdentificationInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostSystemIdentificationInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostSystemIdentificationInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostSystemIdentificationInfo_Def.schema
            TClist = [GTD("urn:vim25","HostSystemIdentificationInfo",lazy=True)(pname=(ns,"HostSystemIdentificationInfo"), aname="_HostSystemIdentificationInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostSystemIdentificationInfo = []
                    return
            Holder.__name__ = "ArrayOfHostSystemIdentificationInfo_Holder"
            self.pyclass = Holder

    class HostSystemResourceInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSystemResourceInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSystemResourceInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceConfigSpec",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSystemResourceInfo",lazy=True)(pname=(ns,"child"), aname="_child", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSystemResourceInfo_Def.__bases__:
                bases = list(ns0.HostSystemResourceInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSystemResourceInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostSystemResourceInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostSystemResourceInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostSystemResourceInfo_Def.schema
            TClist = [GTD("urn:vim25","HostSystemResourceInfo",lazy=True)(pname=(ns,"HostSystemResourceInfo"), aname="_HostSystemResourceInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostSystemResourceInfo = []
                    return
            Holder.__name__ = "ArrayOfHostSystemResourceInfo_Holder"
            self.pyclass = Holder

    class HostSystemSwapConfigurationSystemSwapOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSystemSwapConfigurationSystemSwapOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSystemSwapConfigurationSystemSwapOption_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSystemSwapConfigurationSystemSwapOption_Def.__bases__:
                bases = list(ns0.HostSystemSwapConfigurationSystemSwapOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSystemSwapConfigurationSystemSwapOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostSystemSwapConfigurationSystemSwapOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostSystemSwapConfigurationSystemSwapOption")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostSystemSwapConfigurationSystemSwapOption_Def.schema
            TClist = [GTD("urn:vim25","HostSystemSwapConfigurationSystemSwapOption",lazy=True)(pname=(ns,"HostSystemSwapConfigurationSystemSwapOption"), aname="_HostSystemSwapConfigurationSystemSwapOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostSystemSwapConfigurationSystemSwapOption = []
                    return
            Holder.__name__ = "ArrayOfHostSystemSwapConfigurationSystemSwapOption_Holder"
            self.pyclass = Holder

    class HostSystemSwapConfigurationDisabledOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSystemSwapConfigurationDisabledOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSystemSwapConfigurationDisabledOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostSystemSwapConfigurationSystemSwapOption_Def not in ns0.HostSystemSwapConfigurationDisabledOption_Def.__bases__:
                bases = list(ns0.HostSystemSwapConfigurationDisabledOption_Def.__bases__)
                bases.insert(0, ns0.HostSystemSwapConfigurationSystemSwapOption_Def)
                ns0.HostSystemSwapConfigurationDisabledOption_Def.__bases__ = tuple(bases)

            ns0.HostSystemSwapConfigurationSystemSwapOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSystemSwapConfigurationHostCacheOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSystemSwapConfigurationHostCacheOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSystemSwapConfigurationHostCacheOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostSystemSwapConfigurationSystemSwapOption_Def not in ns0.HostSystemSwapConfigurationHostCacheOption_Def.__bases__:
                bases = list(ns0.HostSystemSwapConfigurationHostCacheOption_Def.__bases__)
                bases.insert(0, ns0.HostSystemSwapConfigurationSystemSwapOption_Def)
                ns0.HostSystemSwapConfigurationHostCacheOption_Def.__bases__ = tuple(bases)

            ns0.HostSystemSwapConfigurationSystemSwapOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSystemSwapConfigurationHostLocalSwapOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSystemSwapConfigurationHostLocalSwapOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSystemSwapConfigurationHostLocalSwapOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostSystemSwapConfigurationSystemSwapOption_Def not in ns0.HostSystemSwapConfigurationHostLocalSwapOption_Def.__bases__:
                bases = list(ns0.HostSystemSwapConfigurationHostLocalSwapOption_Def.__bases__)
                bases.insert(0, ns0.HostSystemSwapConfigurationSystemSwapOption_Def)
                ns0.HostSystemSwapConfigurationHostLocalSwapOption_Def.__bases__ = tuple(bases)

            ns0.HostSystemSwapConfigurationSystemSwapOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSystemSwapConfigurationDatastoreOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSystemSwapConfigurationDatastoreOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSystemSwapConfigurationDatastoreOption_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostSystemSwapConfigurationSystemSwapOption_Def not in ns0.HostSystemSwapConfigurationDatastoreOption_Def.__bases__:
                bases = list(ns0.HostSystemSwapConfigurationDatastoreOption_Def.__bases__)
                bases.insert(0, ns0.HostSystemSwapConfigurationSystemSwapOption_Def)
                ns0.HostSystemSwapConfigurationDatastoreOption_Def.__bases__ = tuple(bases)

            ns0.HostSystemSwapConfigurationSystemSwapOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSystemSwapConfiguration_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSystemSwapConfiguration")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSystemSwapConfiguration_Def.schema
            TClist = [GTD("urn:vim25","HostSystemSwapConfigurationSystemSwapOption",lazy=True)(pname=(ns,"option"), aname="_option", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSystemSwapConfiguration_Def.__bases__:
                bases = list(ns0.HostSystemSwapConfiguration_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSystemSwapConfiguration_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostTargetTransport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostTargetTransport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostTargetTransport_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostTargetTransport_Def.__bases__:
                bases = list(ns0.HostTargetTransport_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostTargetTransport_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostParallelScsiTargetTransport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostParallelScsiTargetTransport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostParallelScsiTargetTransport_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostTargetTransport_Def not in ns0.HostParallelScsiTargetTransport_Def.__bases__:
                bases = list(ns0.HostParallelScsiTargetTransport_Def.__bases__)
                bases.insert(0, ns0.HostTargetTransport_Def)
                ns0.HostParallelScsiTargetTransport_Def.__bases__ = tuple(bases)

            ns0.HostTargetTransport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostBlockAdapterTargetTransport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostBlockAdapterTargetTransport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostBlockAdapterTargetTransport_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostTargetTransport_Def not in ns0.HostBlockAdapterTargetTransport_Def.__bases__:
                bases = list(ns0.HostBlockAdapterTargetTransport_Def.__bases__)
                bases.insert(0, ns0.HostTargetTransport_Def)
                ns0.HostBlockAdapterTargetTransport_Def.__bases__ = tuple(bases)

            ns0.HostTargetTransport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSerialAttachedTargetTransport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSerialAttachedTargetTransport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSerialAttachedTargetTransport_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostTargetTransport_Def not in ns0.HostSerialAttachedTargetTransport_Def.__bases__:
                bases = list(ns0.HostSerialAttachedTargetTransport_Def.__bases__)
                bases.insert(0, ns0.HostTargetTransport_Def)
                ns0.HostSerialAttachedTargetTransport_Def.__bases__ = tuple(bases)

            ns0.HostTargetTransport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFibreChannelTargetTransport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFibreChannelTargetTransport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFibreChannelTargetTransport_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"portWorldWideName"), aname="_portWorldWideName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"nodeWorldWideName"), aname="_nodeWorldWideName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostTargetTransport_Def not in ns0.HostFibreChannelTargetTransport_Def.__bases__:
                bases = list(ns0.HostFibreChannelTargetTransport_Def.__bases__)
                bases.insert(0, ns0.HostTargetTransport_Def)
                ns0.HostFibreChannelTargetTransport_Def.__bases__ = tuple(bases)

            ns0.HostTargetTransport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostInternetScsiTargetTransport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostInternetScsiTargetTransport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostInternetScsiTargetTransport_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"iScsiName"), aname="_iScsiName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiAlias"), aname="_iScsiAlias", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"address"), aname="_address", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostTargetTransport_Def not in ns0.HostInternetScsiTargetTransport_Def.__bases__:
                bases = list(ns0.HostInternetScsiTargetTransport_Def.__bases__)
                bases.insert(0, ns0.HostTargetTransport_Def)
                ns0.HostInternetScsiTargetTransport_Def.__bases__ = tuple(bases)

            ns0.HostTargetTransport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostFibreChannelOverEthernetTargetTransport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostFibreChannelOverEthernetTargetTransport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostFibreChannelOverEthernetTargetTransport_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vnportMac"), aname="_vnportMac", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fcfMac"), aname="_fcfMac", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vlanId"), aname="_vlanId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostFibreChannelTargetTransport_Def not in ns0.HostFibreChannelOverEthernetTargetTransport_Def.__bases__:
                bases = list(ns0.HostFibreChannelOverEthernetTargetTransport_Def.__bases__)
                bases.insert(0, ns0.HostFibreChannelTargetTransport_Def)
                ns0.HostFibreChannelOverEthernetTargetTransport_Def.__bases__ = tuple(bases)

            ns0.HostFibreChannelTargetTransport_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostTpmAttestationInfoAcceptanceStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostTpmAttestationInfoAcceptanceStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostTpmAttestationInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostTpmAttestationInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostTpmAttestationInfo_Def.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"time"), aname="_time", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostTpmAttestationInfoAcceptanceStatus",lazy=True)(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"message"), aname="_message", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostTpmAttestationInfo_Def.__bases__:
                bases = list(ns0.HostTpmAttestationInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostTpmAttestationInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostTpmAttestationReport_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostTpmAttestationReport")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostTpmAttestationReport_Def.schema
            TClist = [GTD("urn:vim25","HostTpmDigestInfo",lazy=True)(pname=(ns,"tpmPcrValues"), aname="_tpmPcrValues", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostTpmEventLogEntry",lazy=True)(pname=(ns,"tpmEvents"), aname="_tpmEvents", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"tpmLogReliable"), aname="_tpmLogReliable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostTpmAttestationReport_Def.__bases__:
                bases = list(ns0.HostTpmAttestationReport_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostTpmAttestationReport_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostTpmBootSecurityOptionEventDetails_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostTpmBootSecurityOptionEventDetails")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostTpmBootSecurityOptionEventDetails_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"bootSecurityOption"), aname="_bootSecurityOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostTpmEventDetails_Def not in ns0.HostTpmBootSecurityOptionEventDetails_Def.__bases__:
                bases = list(ns0.HostTpmBootSecurityOptionEventDetails_Def.__bases__)
                bases.insert(0, ns0.HostTpmEventDetails_Def)
                ns0.HostTpmBootSecurityOptionEventDetails_Def.__bases__ = tuple(bases)

            ns0.HostTpmEventDetails_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostTpmCommandEventDetails_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostTpmCommandEventDetails")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostTpmCommandEventDetails_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"commandLine"), aname="_commandLine", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostTpmEventDetails_Def not in ns0.HostTpmCommandEventDetails_Def.__bases__:
                bases = list(ns0.HostTpmCommandEventDetails_Def.__bases__)
                bases.insert(0, ns0.HostTpmEventDetails_Def)
                ns0.HostTpmCommandEventDetails_Def.__bases__ = tuple(bases)

            ns0.HostTpmEventDetails_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDigestInfoDigestMethodType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostDigestInfoDigestMethodType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostDigestInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDigestInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDigestInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"digestMethod"), aname="_digestMethod", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"digestValue"), aname="_digestValue", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"objectName"), aname="_objectName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDigestInfo_Def.__bases__:
                bases = list(ns0.HostDigestInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDigestInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostTpmDigestInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostTpmDigestInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostTpmDigestInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"pcrNumber"), aname="_pcrNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostDigestInfo_Def not in ns0.HostTpmDigestInfo_Def.__bases__:
                bases = list(ns0.HostTpmDigestInfo_Def.__bases__)
                bases.insert(0, ns0.HostDigestInfo_Def)
                ns0.HostTpmDigestInfo_Def.__bases__ = tuple(bases)

            ns0.HostDigestInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostTpmDigestInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostTpmDigestInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostTpmDigestInfo_Def.schema
            TClist = [GTD("urn:vim25","HostTpmDigestInfo",lazy=True)(pname=(ns,"HostTpmDigestInfo"), aname="_HostTpmDigestInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostTpmDigestInfo = []
                    return
            Holder.__name__ = "ArrayOfHostTpmDigestInfo_Holder"
            self.pyclass = Holder

    class HostTpmEventDetails_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostTpmEventDetails")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostTpmEventDetails_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"dataHash"), aname="_dataHash", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dataHashMethod"), aname="_dataHashMethod", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostTpmEventDetails_Def.__bases__:
                bases = list(ns0.HostTpmEventDetails_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostTpmEventDetails_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostTpmEventLogEntry_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostTpmEventLogEntry")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostTpmEventLogEntry_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"pcrIndex"), aname="_pcrIndex", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostTpmEventDetails",lazy=True)(pname=(ns,"eventDetails"), aname="_eventDetails", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostTpmEventLogEntry_Def.__bases__:
                bases = list(ns0.HostTpmEventLogEntry_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostTpmEventLogEntry_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostTpmEventLogEntry_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostTpmEventLogEntry")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostTpmEventLogEntry_Def.schema
            TClist = [GTD("urn:vim25","HostTpmEventLogEntry",lazy=True)(pname=(ns,"HostTpmEventLogEntry"), aname="_HostTpmEventLogEntry", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostTpmEventLogEntry = []
                    return
            Holder.__name__ = "ArrayOfHostTpmEventLogEntry_Holder"
            self.pyclass = Holder

    class HostTpmOptionEventDetails_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostTpmOptionEventDetails")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostTpmOptionEventDetails_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"optionsFileName"), aname="_optionsFileName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"bootOptions"), aname="_bootOptions", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostTpmEventDetails_Def not in ns0.HostTpmOptionEventDetails_Def.__bases__:
                bases = list(ns0.HostTpmOptionEventDetails_Def.__bases__)
                bases.insert(0, ns0.HostTpmEventDetails_Def)
                ns0.HostTpmOptionEventDetails_Def.__bases__ = tuple(bases)

            ns0.HostTpmEventDetails_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostTpmSoftwareComponentEventDetails_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostTpmSoftwareComponentEventDetails")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostTpmSoftwareComponentEventDetails_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"componentName"), aname="_componentName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vibName"), aname="_vibName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vibVersion"), aname="_vibVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vibVendor"), aname="_vibVendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostTpmEventDetails_Def not in ns0.HostTpmSoftwareComponentEventDetails_Def.__bases__:
                bases = list(ns0.HostTpmSoftwareComponentEventDetails_Def.__bases__)
                bases.insert(0, ns0.HostTpmEventDetails_Def)
                ns0.HostTpmSoftwareComponentEventDetails_Def.__bases__ = tuple(bases)

            ns0.HostTpmEventDetails_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostUnresolvedVmfsExtentUnresolvedReason_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostUnresolvedVmfsExtentUnresolvedReason")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostUnresolvedVmfsExtent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostUnresolvedVmfsExtent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostUnresolvedVmfsExtent_Def.schema
            TClist = [GTD("urn:vim25","HostScsiDiskPartition",lazy=True)(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"devicePath"), aname="_devicePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsUuid"), aname="_vmfsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"isHeadExtent"), aname="_isHeadExtent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"ordinal"), aname="_ordinal", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"startBlock"), aname="_startBlock", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"endBlock"), aname="_endBlock", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reason"), aname="_reason", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostUnresolvedVmfsExtent_Def.__bases__:
                bases = list(ns0.HostUnresolvedVmfsExtent_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostUnresolvedVmfsExtent_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostUnresolvedVmfsExtent_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostUnresolvedVmfsExtent")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostUnresolvedVmfsExtent_Def.schema
            TClist = [GTD("urn:vim25","HostUnresolvedVmfsExtent",lazy=True)(pname=(ns,"HostUnresolvedVmfsExtent"), aname="_HostUnresolvedVmfsExtent", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostUnresolvedVmfsExtent = []
                    return
            Holder.__name__ = "ArrayOfHostUnresolvedVmfsExtent_Holder"
            self.pyclass = Holder

    class HostUnresolvedVmfsResignatureSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostUnresolvedVmfsResignatureSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostUnresolvedVmfsResignatureSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"extentDevicePath"), aname="_extentDevicePath", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostUnresolvedVmfsResignatureSpec_Def.__bases__:
                bases = list(ns0.HostUnresolvedVmfsResignatureSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostUnresolvedVmfsResignatureSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostUnresolvedVmfsResolutionResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostUnresolvedVmfsResolutionResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostUnresolvedVmfsResolutionResult_Def.schema
            TClist = [GTD("urn:vim25","HostUnresolvedVmfsResolutionSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVmfsVolume",lazy=True)(pname=(ns,"vmfs"), aname="_vmfs", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostUnresolvedVmfsResolutionResult_Def.__bases__:
                bases = list(ns0.HostUnresolvedVmfsResolutionResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostUnresolvedVmfsResolutionResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostUnresolvedVmfsResolutionResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostUnresolvedVmfsResolutionResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostUnresolvedVmfsResolutionResult_Def.schema
            TClist = [GTD("urn:vim25","HostUnresolvedVmfsResolutionResult",lazy=True)(pname=(ns,"HostUnresolvedVmfsResolutionResult"), aname="_HostUnresolvedVmfsResolutionResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostUnresolvedVmfsResolutionResult = []
                    return
            Holder.__name__ = "ArrayOfHostUnresolvedVmfsResolutionResult_Holder"
            self.pyclass = Holder

    class HostUnresolvedVmfsResolutionSpecVmfsUuidResolution_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostUnresolvedVmfsResolutionSpecVmfsUuidResolution")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostUnresolvedVmfsResolutionSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostUnresolvedVmfsResolutionSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostUnresolvedVmfsResolutionSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"extentDevicePath"), aname="_extentDevicePath", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuidResolution"), aname="_uuidResolution", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostUnresolvedVmfsResolutionSpec_Def.__bases__:
                bases = list(ns0.HostUnresolvedVmfsResolutionSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostUnresolvedVmfsResolutionSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostUnresolvedVmfsResolutionSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostUnresolvedVmfsResolutionSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostUnresolvedVmfsResolutionSpec_Def.schema
            TClist = [GTD("urn:vim25","HostUnresolvedVmfsResolutionSpec",lazy=True)(pname=(ns,"HostUnresolvedVmfsResolutionSpec"), aname="_HostUnresolvedVmfsResolutionSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostUnresolvedVmfsResolutionSpec = []
                    return
            Holder.__name__ = "ArrayOfHostUnresolvedVmfsResolutionSpec_Holder"
            self.pyclass = Holder

    class HostUnresolvedVmfsVolumeResolveStatus_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostUnresolvedVmfsVolumeResolveStatus")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostUnresolvedVmfsVolumeResolveStatus_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"resolvable"), aname="_resolvable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"incompleteExtents"), aname="_incompleteExtents", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"multipleCopies"), aname="_multipleCopies", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostUnresolvedVmfsVolumeResolveStatus_Def.__bases__:
                bases = list(ns0.HostUnresolvedVmfsVolumeResolveStatus_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostUnresolvedVmfsVolumeResolveStatus_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostUnresolvedVmfsVolume_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostUnresolvedVmfsVolume")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostUnresolvedVmfsVolume_Def.schema
            TClist = [GTD("urn:vim25","HostUnresolvedVmfsExtent",lazy=True)(pname=(ns,"extent"), aname="_extent", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsLabel"), aname="_vmfsLabel", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsUuid"), aname="_vmfsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"totalBlocks"), aname="_totalBlocks", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostUnresolvedVmfsVolumeResolveStatus",lazy=True)(pname=(ns,"resolveStatus"), aname="_resolveStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostUnresolvedVmfsVolume_Def.__bases__:
                bases = list(ns0.HostUnresolvedVmfsVolume_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostUnresolvedVmfsVolume_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostUnresolvedVmfsVolume_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostUnresolvedVmfsVolume")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostUnresolvedVmfsVolume_Def.schema
            TClist = [GTD("urn:vim25","HostUnresolvedVmfsVolume",lazy=True)(pname=(ns,"HostUnresolvedVmfsVolume"), aname="_HostUnresolvedVmfsVolume", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostUnresolvedVmfsVolume = []
                    return
            Holder.__name__ = "ArrayOfHostUnresolvedVmfsVolume_Holder"
            self.pyclass = Holder

    class HostVFlashManagerVFlashResourceConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVFlashManagerVFlashResourceConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVFlashManagerVFlashResourceConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vffsUuid"), aname="_vffsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVFlashManagerVFlashResourceConfigSpec_Def.__bases__:
                bases = list(ns0.HostVFlashManagerVFlashResourceConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVFlashManagerVFlashResourceConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVFlashManagerVFlashResourceConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVFlashManagerVFlashResourceConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVFlashManagerVFlashResourceConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","HostVffsVolume",lazy=True)(pname=(ns,"vffs"), aname="_vffs", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacity"), aname="_capacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVFlashManagerVFlashResourceConfigInfo_Def.__bases__:
                bases = list(ns0.HostVFlashManagerVFlashResourceConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVFlashManagerVFlashResourceConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVFlashManagerVFlashResourceRunTimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVFlashManagerVFlashResourceRunTimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVFlashManagerVFlashResourceRunTimeInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"usage"), aname="_usage", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacity"), aname="_capacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"accessible"), aname="_accessible", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacityForVmCache"), aname="_capacityForVmCache", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"freeForVmCache"), aname="_freeForVmCache", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVFlashManagerVFlashResourceRunTimeInfo_Def.__bases__:
                bases = list(ns0.HostVFlashManagerVFlashResourceRunTimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVFlashManagerVFlashResourceRunTimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVFlashManagerVFlashCacheConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVFlashManagerVFlashCacheConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVFlashManagerVFlashCacheConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"defaultVFlashModule"), aname="_defaultVFlashModule", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"swapCacheReservationInGB"), aname="_swapCacheReservationInGB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVFlashManagerVFlashCacheConfigSpec_Def.__bases__:
                bases = list(ns0.HostVFlashManagerVFlashCacheConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVFlashManagerVFlashCacheConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vFlashModule"), aname="_vFlashModule", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vFlashModuleVersion"), aname="_vFlashModuleVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"minSupportedModuleVersion"), aname="_minSupportedModuleVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"cacheConsistencyType"), aname="_cacheConsistencyType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"cacheMode"), aname="_cacheMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"blockSizeInKBOption"), aname="_blockSizeInKBOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"reservationInMBOption"), aname="_reservationInMBOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"maxDiskSizeInKB"), aname="_maxDiskSizeInKB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption_Def.__bases__:
                bases = list(ns0.HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption_Def.schema
            TClist = [GTD("urn:vim25","HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption",lazy=True)(pname=(ns,"HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption"), aname="_HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption = []
                    return
            Holder.__name__ = "ArrayOfHostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption_Holder"
            self.pyclass = Holder

    class HostVFlashManagerVFlashCacheConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVFlashManagerVFlashCacheConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVFlashManagerVFlashCacheConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption",lazy=True)(pname=(ns,"vFlashModuleConfigOption"), aname="_vFlashModuleConfigOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"defaultVFlashModule"), aname="_defaultVFlashModule", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"swapCacheReservationInGB"), aname="_swapCacheReservationInGB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVFlashManagerVFlashCacheConfigInfo_Def.__bases__:
                bases = list(ns0.HostVFlashManagerVFlashCacheConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVFlashManagerVFlashCacheConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVFlashManagerVFlashConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVFlashManagerVFlashConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVFlashManagerVFlashConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","HostVFlashManagerVFlashResourceConfigInfo",lazy=True)(pname=(ns,"vFlashResourceConfigInfo"), aname="_vFlashResourceConfigInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVFlashManagerVFlashCacheConfigInfo",lazy=True)(pname=(ns,"vFlashCacheConfigInfo"), aname="_vFlashCacheConfigInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVFlashManagerVFlashConfigInfo_Def.__bases__:
                bases = list(ns0.HostVFlashManagerVFlashConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVFlashManagerVFlashConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVFlashResourceConfigurationResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVFlashResourceConfigurationResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVFlashResourceConfigurationResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"devicePath"), aname="_devicePath", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVffsVolume",lazy=True)(pname=(ns,"vffs"), aname="_vffs", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiskConfigurationResult",lazy=True)(pname=(ns,"diskConfigurationResult"), aname="_diskConfigurationResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVFlashResourceConfigurationResult_Def.__bases__:
                bases = list(ns0.HostVFlashResourceConfigurationResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVFlashResourceConfigurationResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVMotionConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVMotionConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVMotionConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmotionNicKey"), aname="_vmotionNicKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVMotionConfig_Def.__bases__:
                bases = list(ns0.HostVMotionConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVMotionConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVMotionInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVMotionInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVMotionInfo_Def.schema
            TClist = [GTD("urn:vim25","HostVMotionNetConfig",lazy=True)(pname=(ns,"netConfig"), aname="_netConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpConfig",lazy=True)(pname=(ns,"ipConfig"), aname="_ipConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVMotionInfo_Def.__bases__:
                bases = list(ns0.HostVMotionInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVMotionInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVMotionNetConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVMotionNetConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVMotionNetConfig_Def.schema
            TClist = [GTD("urn:vim25","HostVirtualNic",lazy=True)(pname=(ns,"candidateVnic"), aname="_candidateVnic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"selectedVnic"), aname="_selectedVnic", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVMotionNetConfig_Def.__bases__:
                bases = list(ns0.HostVMotionNetConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVMotionNetConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVffsSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVffsSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVffsSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"devicePath"), aname="_devicePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiskPartitionSpec",lazy=True)(pname=(ns,"partition"), aname="_partition", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"majorVersion"), aname="_majorVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"volumeName"), aname="_volumeName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVffsSpec_Def.__bases__:
                bases = list(ns0.HostVffsSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVffsSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVffsVolume_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVffsVolume")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVffsVolume_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"majorVersion"), aname="_majorVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDiskPartition",lazy=True)(pname=(ns,"extent"), aname="_extent", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostFileSystemVolume_Def not in ns0.HostVffsVolume_Def.__bases__:
                bases = list(ns0.HostVffsVolume_Def.__bases__)
                bases.insert(0, ns0.HostFileSystemVolume_Def)
                ns0.HostVffsVolume_Def.__bases__ = tuple(bases)

            ns0.HostFileSystemVolume_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVirtualNicSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualNicSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualNicSpec_Def.schema
            TClist = [GTD("urn:vim25","HostIpConfig",lazy=True)(pname=(ns,"ip"), aname="_ip", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mac"), aname="_mac", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchPortConnection",lazy=True)(pname=(ns,"distributedVirtualPort"), aname="_distributedVirtualPort", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroup"), aname="_portgroup", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"mtu"), aname="_mtu", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"tsoEnabled"), aname="_tsoEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"netStackInstanceKey"), aname="_netStackInstanceKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicOpaqueNetworkSpec",lazy=True)(pname=(ns,"opaqueNetwork"), aname="_opaqueNetwork", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"externalId"), aname="_externalId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pinnedPnic"), aname="_pinnedPnic", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicIpRouteSpec",lazy=True)(pname=(ns,"ipRouteSpec"), aname="_ipRouteSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVirtualNicSpec_Def.__bases__:
                bases = list(ns0.HostVirtualNicSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVirtualNicSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVirtualNicConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualNicConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualNicConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"changeOperation"), aname="_changeOperation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroup"), aname="_portgroup", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVirtualNicConfig_Def.__bases__:
                bases = list(ns0.HostVirtualNicConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVirtualNicConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostVirtualNicConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostVirtualNicConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostVirtualNicConfig_Def.schema
            TClist = [GTD("urn:vim25","HostVirtualNicConfig",lazy=True)(pname=(ns,"HostVirtualNicConfig"), aname="_HostVirtualNicConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostVirtualNicConfig = []
                    return
            Holder.__name__ = "ArrayOfHostVirtualNicConfig_Holder"
            self.pyclass = Holder

    class HostVirtualNicOpaqueNetworkSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualNicOpaqueNetworkSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualNicOpaqueNetworkSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"opaqueNetworkId"), aname="_opaqueNetworkId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"opaqueNetworkType"), aname="_opaqueNetworkType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVirtualNicOpaqueNetworkSpec_Def.__bases__:
                bases = list(ns0.HostVirtualNicOpaqueNetworkSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVirtualNicOpaqueNetworkSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVirtualNicIpRouteSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualNicIpRouteSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualNicIpRouteSpec_Def.schema
            TClist = [GTD("urn:vim25","HostIpRouteConfig",lazy=True)(pname=(ns,"ipRouteConfig"), aname="_ipRouteConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVirtualNicIpRouteSpec_Def.__bases__:
                bases = list(ns0.HostVirtualNicIpRouteSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVirtualNicIpRouteSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVirtualNic_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualNic")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualNic_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroup"), aname="_portgroup", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"port"), aname="_port", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVirtualNic_Def.__bases__:
                bases = list(ns0.HostVirtualNic_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVirtualNic_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostVirtualNic_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostVirtualNic")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostVirtualNic_Def.schema
            TClist = [GTD("urn:vim25","HostVirtualNic",lazy=True)(pname=(ns,"HostVirtualNic"), aname="_HostVirtualNic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostVirtualNic = []
                    return
            Holder.__name__ = "ArrayOfHostVirtualNic_Holder"
            self.pyclass = Holder

    class HostVirtualNicConnection_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualNicConnection")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualNicConnection_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"portgroup"), aname="_portgroup", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchPortConnection",lazy=True)(pname=(ns,"dvPort"), aname="_dvPort", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicOpaqueNetworkSpec",lazy=True)(pname=(ns,"opNetwork"), aname="_opNetwork", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVirtualNicConnection_Def.__bases__:
                bases = list(ns0.HostVirtualNicConnection_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVirtualNicConnection_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVirtualNicManagerNicType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostVirtualNicManagerNicType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostVirtualNicManagerNicTypeSelection_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualNicManagerNicTypeSelection")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualNicManagerNicTypeSelection_Def.schema
            TClist = [GTD("urn:vim25","HostVirtualNicConnection",lazy=True)(pname=(ns,"vnic"), aname="_vnic", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nicType"), aname="_nicType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVirtualNicManagerNicTypeSelection_Def.__bases__:
                bases = list(ns0.HostVirtualNicManagerNicTypeSelection_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVirtualNicManagerNicTypeSelection_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostVirtualNicManagerNicTypeSelection_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostVirtualNicManagerNicTypeSelection")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostVirtualNicManagerNicTypeSelection_Def.schema
            TClist = [GTD("urn:vim25","HostVirtualNicManagerNicTypeSelection",lazy=True)(pname=(ns,"HostVirtualNicManagerNicTypeSelection"), aname="_HostVirtualNicManagerNicTypeSelection", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostVirtualNicManagerNicTypeSelection = []
                    return
            Holder.__name__ = "ArrayOfHostVirtualNicManagerNicTypeSelection_Holder"
            self.pyclass = Holder

    class VirtualNicManagerNetConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualNicManagerNetConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualNicManagerNetConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"nicType"), aname="_nicType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"multiSelectAllowed"), aname="_multiSelectAllowed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNic",lazy=True)(pname=(ns,"candidateVnic"), aname="_candidateVnic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"selectedVnic"), aname="_selectedVnic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualNicManagerNetConfig_Def.__bases__:
                bases = list(ns0.VirtualNicManagerNetConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualNicManagerNetConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualNicManagerNetConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualNicManagerNetConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualNicManagerNetConfig_Def.schema
            TClist = [GTD("urn:vim25","VirtualNicManagerNetConfig",lazy=True)(pname=(ns,"VirtualNicManagerNetConfig"), aname="_VirtualNicManagerNetConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualNicManagerNetConfig = []
                    return
            Holder.__name__ = "ArrayOfVirtualNicManagerNetConfig_Holder"
            self.pyclass = Holder

    class HostVirtualNicManagerInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualNicManagerInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualNicManagerInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualNicManagerNetConfig",lazy=True)(pname=(ns,"netConfig"), aname="_netConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVirtualNicManagerInfo_Def.__bases__:
                bases = list(ns0.HostVirtualNicManagerInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVirtualNicManagerInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVirtualSwitchBridge_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualSwitchBridge")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualSwitchBridge_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVirtualSwitchBridge_Def.__bases__:
                bases = list(ns0.HostVirtualSwitchBridge_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVirtualSwitchBridge_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVirtualSwitchAutoBridge_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualSwitchAutoBridge")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualSwitchAutoBridge_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"excludedNicDevice"), aname="_excludedNicDevice", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostVirtualSwitchBridge_Def not in ns0.HostVirtualSwitchAutoBridge_Def.__bases__:
                bases = list(ns0.HostVirtualSwitchAutoBridge_Def.__bases__)
                bases.insert(0, ns0.HostVirtualSwitchBridge_Def)
                ns0.HostVirtualSwitchAutoBridge_Def.__bases__ = tuple(bases)

            ns0.HostVirtualSwitchBridge_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVirtualSwitchSimpleBridge_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualSwitchSimpleBridge")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualSwitchSimpleBridge_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"nicDevice"), aname="_nicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostVirtualSwitchBridge_Def not in ns0.HostVirtualSwitchSimpleBridge_Def.__bases__:
                bases = list(ns0.HostVirtualSwitchSimpleBridge_Def.__bases__)
                bases.insert(0, ns0.HostVirtualSwitchBridge_Def)
                ns0.HostVirtualSwitchSimpleBridge_Def.__bases__ = tuple(bases)

            ns0.HostVirtualSwitchBridge_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVirtualSwitchBondBridge_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualSwitchBondBridge")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualSwitchBondBridge_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"nicDevice"), aname="_nicDevice", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualSwitchBeaconConfig",lazy=True)(pname=(ns,"beacon"), aname="_beacon", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LinkDiscoveryProtocolConfig",lazy=True)(pname=(ns,"linkDiscoveryProtocolConfig"), aname="_linkDiscoveryProtocolConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostVirtualSwitchBridge_Def not in ns0.HostVirtualSwitchBondBridge_Def.__bases__:
                bases = list(ns0.HostVirtualSwitchBondBridge_Def.__bases__)
                bases.insert(0, ns0.HostVirtualSwitchBridge_Def)
                ns0.HostVirtualSwitchBondBridge_Def.__bases__ = tuple(bases)

            ns0.HostVirtualSwitchBridge_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVirtualSwitchBeaconConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualSwitchBeaconConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualSwitchBeaconConfig_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"interval"), aname="_interval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVirtualSwitchBeaconConfig_Def.__bases__:
                bases = list(ns0.HostVirtualSwitchBeaconConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVirtualSwitchBeaconConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVirtualSwitchSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualSwitchSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualSwitchSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numPorts"), aname="_numPorts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualSwitchBridge",lazy=True)(pname=(ns,"bridge"), aname="_bridge", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNetworkPolicy",lazy=True)(pname=(ns,"policy"), aname="_policy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"mtu"), aname="_mtu", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVirtualSwitchSpec_Def.__bases__:
                bases = list(ns0.HostVirtualSwitchSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVirtualSwitchSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVirtualSwitchConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualSwitchConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualSwitchConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"changeOperation"), aname="_changeOperation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualSwitchSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVirtualSwitchConfig_Def.__bases__:
                bases = list(ns0.HostVirtualSwitchConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVirtualSwitchConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostVirtualSwitchConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostVirtualSwitchConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostVirtualSwitchConfig_Def.schema
            TClist = [GTD("urn:vim25","HostVirtualSwitchConfig",lazy=True)(pname=(ns,"HostVirtualSwitchConfig"), aname="_HostVirtualSwitchConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostVirtualSwitchConfig = []
                    return
            Holder.__name__ = "ArrayOfHostVirtualSwitchConfig_Holder"
            self.pyclass = Holder

    class HostVirtualSwitch_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVirtualSwitch")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVirtualSwitch_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numPorts"), aname="_numPorts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numPortsAvailable"), aname="_numPortsAvailable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"mtu"), aname="_mtu", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroup"), aname="_portgroup", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pnic"), aname="_pnic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualSwitchSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVirtualSwitch_Def.__bases__:
                bases = list(ns0.HostVirtualSwitch_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVirtualSwitch_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostVirtualSwitch_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostVirtualSwitch")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostVirtualSwitch_Def.schema
            TClist = [GTD("urn:vim25","HostVirtualSwitch",lazy=True)(pname=(ns,"HostVirtualSwitch"), aname="_HostVirtualSwitch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostVirtualSwitch = []
                    return
            Holder.__name__ = "ArrayOfHostVirtualSwitch_Holder"
            self.pyclass = Holder

    class HostVmciAccessManagerMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostVmciAccessManagerMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostVmciAccessManagerAccessSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVmciAccessManagerAccessSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVmciAccessManagerAccessSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"services"), aname="_services", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mode"), aname="_mode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVmciAccessManagerAccessSpec_Def.__bases__:
                bases = list(ns0.HostVmciAccessManagerAccessSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVmciAccessManagerAccessSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostVmciAccessManagerAccessSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostVmciAccessManagerAccessSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostVmciAccessManagerAccessSpec_Def.schema
            TClist = [GTD("urn:vim25","HostVmciAccessManagerAccessSpec",lazy=True)(pname=(ns,"HostVmciAccessManagerAccessSpec"), aname="_HostVmciAccessManagerAccessSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostVmciAccessManagerAccessSpec = []
                    return
            Holder.__name__ = "ArrayOfHostVmciAccessManagerAccessSpec_Holder"
            self.pyclass = Holder

    class HostVmfsRescanResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVmfsRescanResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVmfsRescanResult_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVmfsRescanResult_Def.__bases__:
                bases = list(ns0.HostVmfsRescanResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVmfsRescanResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostVmfsRescanResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostVmfsRescanResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostVmfsRescanResult_Def.schema
            TClist = [GTD("urn:vim25","HostVmfsRescanResult",lazy=True)(pname=(ns,"HostVmfsRescanResult"), aname="_HostVmfsRescanResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostVmfsRescanResult = []
                    return
            Holder.__name__ = "ArrayOfHostVmfsRescanResult_Holder"
            self.pyclass = Holder

    class HostVmfsSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVmfsSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVmfsSpec_Def.schema
            TClist = [GTD("urn:vim25","HostScsiDiskPartition",lazy=True)(pname=(ns,"extent"), aname="_extent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"blockSizeMb"), aname="_blockSizeMb", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"majorVersion"), aname="_majorVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"volumeName"), aname="_volumeName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"blockSize"), aname="_blockSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"unmapGranularity"), aname="_unmapGranularity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"unmapPriority"), aname="_unmapPriority", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmfsUnmapBandwidthSpec",lazy=True)(pname=(ns,"unmapBandwidthSpec"), aname="_unmapBandwidthSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVmfsSpec_Def.__bases__:
                bases = list(ns0.HostVmfsSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVmfsSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmfsUnmapBandwidthSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsUnmapBandwidthSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsUnmapBandwidthSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"policy"), aname="_policy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"fixedValue"), aname="_fixedValue", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"dynamicMin"), aname="_dynamicMin", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"dynamicMax"), aname="_dynamicMax", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VmfsUnmapBandwidthSpec_Def.__bases__:
                bases = list(ns0.VmfsUnmapBandwidthSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VmfsUnmapBandwidthSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVmfsVolumeUnmapPriority_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostVmfsVolumeUnmapPriority")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostVmfsVolumeUnmapBandwidthPolicy_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostVmfsVolumeUnmapBandwidthPolicy")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VmfsConfigOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmfsConfigOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmfsConfigOption_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"blockSizeOption"), aname="_blockSizeOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"unmapGranularityOption"), aname="_unmapGranularityOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"unmapBandwidthFixedValue"), aname="_unmapBandwidthFixedValue", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"unmapBandwidthDynamicMin"), aname="_unmapBandwidthDynamicMin", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"unmapBandwidthDynamicMax"), aname="_unmapBandwidthDynamicMax", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"unmapBandwidthIncrement"), aname="_unmapBandwidthIncrement", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VmfsConfigOption_Def.__bases__:
                bases = list(ns0.VmfsConfigOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VmfsConfigOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVmfsConfigOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVmfsConfigOption")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVmfsConfigOption_Def.schema
            TClist = [GTD("urn:vim25","VmfsConfigOption",lazy=True)(pname=(ns,"VmfsConfigOption"), aname="_VmfsConfigOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VmfsConfigOption = []
                    return
            Holder.__name__ = "ArrayOfVmfsConfigOption_Holder"
            self.pyclass = Holder

    class HostVmfsVolume_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVmfsVolume")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVmfsVolume_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"blockSizeMb"), aname="_blockSizeMb", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"blockSize"), aname="_blockSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"unmapGranularity"), aname="_unmapGranularity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"unmapPriority"), aname="_unmapPriority", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmfsUnmapBandwidthSpec",lazy=True)(pname=(ns,"unmapBandwidthSpec"), aname="_unmapBandwidthSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxBlocks"), aname="_maxBlocks", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"majorVersion"), aname="_majorVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDiskPartition",lazy=True)(pname=(ns,"extent"), aname="_extent", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmfsUpgradable"), aname="_vmfsUpgradable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostForceMountedInfo",lazy=True)(pname=(ns,"forceMountedInfo"), aname="_forceMountedInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ssd"), aname="_ssd", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"local"), aname="_local", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"scsiDiskType"), aname="_scsiDiskType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostFileSystemVolume_Def not in ns0.HostVmfsVolume_Def.__bases__:
                bases = list(ns0.HostVmfsVolume_Def.__bases__)
                bases.insert(0, ns0.HostFileSystemVolume_Def)
                ns0.HostVmfsVolume_Def.__bases__ = tuple(bases)

            ns0.HostFileSystemVolume_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostVsanInternalSystemCmmdsQuery_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVsanInternalSystemCmmdsQuery")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVsanInternalSystemCmmdsQuery_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"owner"), aname="_owner", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVsanInternalSystemCmmdsQuery_Def.__bases__:
                bases = list(ns0.HostVsanInternalSystemCmmdsQuery_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVsanInternalSystemCmmdsQuery_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostVsanInternalSystemCmmdsQuery_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostVsanInternalSystemCmmdsQuery")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostVsanInternalSystemCmmdsQuery_Def.schema
            TClist = [GTD("urn:vim25","HostVsanInternalSystemCmmdsQuery",lazy=True)(pname=(ns,"HostVsanInternalSystemCmmdsQuery"), aname="_HostVsanInternalSystemCmmdsQuery", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostVsanInternalSystemCmmdsQuery = []
                    return
            Holder.__name__ = "ArrayOfHostVsanInternalSystemCmmdsQuery_Holder"
            self.pyclass = Holder

    class VsanPolicyCost_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanPolicyCost")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanPolicyCost_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"changeDataSize"), aname="_changeDataSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"currentDataSize"), aname="_currentDataSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"tempDataSize"), aname="_tempDataSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"copyDataSize"), aname="_copyDataSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"changeFlashReadCacheSize"), aname="_changeFlashReadCacheSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"currentFlashReadCacheSize"), aname="_currentFlashReadCacheSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"currentDiskSpaceToAddressSpaceRatio"), aname="_currentDiskSpaceToAddressSpaceRatio", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"diskSpaceToAddressSpaceRatio"), aname="_diskSpaceToAddressSpaceRatio", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanPolicyCost_Def.__bases__:
                bases = list(ns0.VsanPolicyCost_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanPolicyCost_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanPolicySatisfiability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanPolicySatisfiability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanPolicySatisfiability_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"isSatisfiable"), aname="_isSatisfiable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"reason"), aname="_reason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanPolicyCost",lazy=True)(pname=(ns,"cost"), aname="_cost", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanPolicySatisfiability_Def.__bases__:
                bases = list(ns0.VsanPolicySatisfiability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanPolicySatisfiability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVsanPolicySatisfiability_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVsanPolicySatisfiability")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVsanPolicySatisfiability_Def.schema
            TClist = [GTD("urn:vim25","VsanPolicySatisfiability",lazy=True)(pname=(ns,"VsanPolicySatisfiability"), aname="_VsanPolicySatisfiability", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VsanPolicySatisfiability = []
                    return
            Holder.__name__ = "ArrayOfVsanPolicySatisfiability_Holder"
            self.pyclass = Holder

    class VsanPolicyChangeBatch_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanPolicyChangeBatch")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanPolicyChangeBatch_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"policy"), aname="_policy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanPolicyChangeBatch_Def.__bases__:
                bases = list(ns0.VsanPolicyChangeBatch_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanPolicyChangeBatch_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVsanPolicyChangeBatch_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVsanPolicyChangeBatch")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVsanPolicyChangeBatch_Def.schema
            TClist = [GTD("urn:vim25","VsanPolicyChangeBatch",lazy=True)(pname=(ns,"VsanPolicyChangeBatch"), aname="_VsanPolicyChangeBatch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VsanPolicyChangeBatch = []
                    return
            Holder.__name__ = "ArrayOfVsanPolicyChangeBatch_Holder"
            self.pyclass = Holder

    class VsanNewPolicyBatch_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanNewPolicyBatch")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanNewPolicyBatch_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"size"), aname="_size", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"policy"), aname="_policy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanNewPolicyBatch_Def.__bases__:
                bases = list(ns0.VsanNewPolicyBatch_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanNewPolicyBatch_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVsanNewPolicyBatch_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVsanNewPolicyBatch")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVsanNewPolicyBatch_Def.schema
            TClist = [GTD("urn:vim25","VsanNewPolicyBatch",lazy=True)(pname=(ns,"VsanNewPolicyBatch"), aname="_VsanNewPolicyBatch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VsanNewPolicyBatch = []
                    return
            Holder.__name__ = "ArrayOfVsanNewPolicyBatch_Holder"
            self.pyclass = Holder

    class HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskUuid"), aname="_diskUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"success"), aname="_success", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"failureReason"), aname="_failureReason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult_Def.__bases__:
                bases = list(ns0.HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult_Def.schema
            TClist = [GTD("urn:vim25","HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult",lazy=True)(pname=(ns,"HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult"), aname="_HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult = []
                    return
            Holder.__name__ = "ArrayOfHostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult_Holder"
            self.pyclass = Holder

    class HostVsanInternalSystemDeleteVsanObjectsResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVsanInternalSystemDeleteVsanObjectsResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVsanInternalSystemDeleteVsanObjectsResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"success"), aname="_success", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"failureReason"), aname="_failureReason", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVsanInternalSystemDeleteVsanObjectsResult_Def.__bases__:
                bases = list(ns0.HostVsanInternalSystemDeleteVsanObjectsResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVsanInternalSystemDeleteVsanObjectsResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostVsanInternalSystemDeleteVsanObjectsResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostVsanInternalSystemDeleteVsanObjectsResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostVsanInternalSystemDeleteVsanObjectsResult_Def.schema
            TClist = [GTD("urn:vim25","HostVsanInternalSystemDeleteVsanObjectsResult",lazy=True)(pname=(ns,"HostVsanInternalSystemDeleteVsanObjectsResult"), aname="_HostVsanInternalSystemDeleteVsanObjectsResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostVsanInternalSystemDeleteVsanObjectsResult = []
                    return
            Holder.__name__ = "ArrayOfHostVsanInternalSystemDeleteVsanObjectsResult_Holder"
            self.pyclass = Holder

    class HostVsanInternalSystemVsanObjectOperationResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVsanInternalSystemVsanObjectOperationResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVsanInternalSystemVsanObjectOperationResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"failureReason"), aname="_failureReason", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVsanInternalSystemVsanObjectOperationResult_Def.__bases__:
                bases = list(ns0.HostVsanInternalSystemVsanObjectOperationResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVsanInternalSystemVsanObjectOperationResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostVsanInternalSystemVsanObjectOperationResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostVsanInternalSystemVsanObjectOperationResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostVsanInternalSystemVsanObjectOperationResult_Def.schema
            TClist = [GTD("urn:vim25","HostVsanInternalSystemVsanObjectOperationResult",lazy=True)(pname=(ns,"HostVsanInternalSystemVsanObjectOperationResult"), aname="_HostVsanInternalSystemVsanObjectOperationResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostVsanInternalSystemVsanObjectOperationResult = []
                    return
            Holder.__name__ = "ArrayOfHostVsanInternalSystemVsanObjectOperationResult_Holder"
            self.pyclass = Holder

    class HostVvolVolumeSpecification_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVvolVolumeSpecification")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVvolVolumeSpecification_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"maxSizeInMB"), aname="_maxSizeInMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"volumeName"), aname="_volumeName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VimVasaProviderInfo",lazy=True)(pname=(ns,"vasaProviderInfo"), aname="_vasaProviderInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VASAStorageArray",lazy=True)(pname=(ns,"storageArray"), aname="_storageArray", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostVvolVolumeSpecification_Def.__bases__:
                bases = list(ns0.HostVvolVolumeSpecification_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostVvolVolumeSpecification_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VVolHostPE_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VVolHostPE")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VVolHostPE_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostProtocolEndpoint",lazy=True)(pname=(ns,"protocolEndpoint"), aname="_protocolEndpoint", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VVolHostPE_Def.__bases__:
                bases = list(ns0.VVolHostPE_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VVolHostPE_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVVolHostPE_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVVolHostPE")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVVolHostPE_Def.schema
            TClist = [GTD("urn:vim25","VVolHostPE",lazy=True)(pname=(ns,"VVolHostPE"), aname="_VVolHostPE", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VVolHostPE = []
                    return
            Holder.__name__ = "ArrayOfVVolHostPE_Holder"
            self.pyclass = Holder

    class HostVvolVolume_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostVvolVolume")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostVvolVolume_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"scId"), aname="_scId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VVolHostPE",lazy=True)(pname=(ns,"hostPE"), aname="_hostPE", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VimVasaProviderInfo",lazy=True)(pname=(ns,"vasaProviderInfo"), aname="_vasaProviderInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VASAStorageArray",lazy=True)(pname=(ns,"storageArray"), aname="_storageArray", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostFileSystemVolume_Def not in ns0.HostVvolVolume_Def.__bases__:
                bases = list(ns0.HostVvolVolume_Def.__bases__)
                bases.insert(0, ns0.HostFileSystemVolume_Def)
                ns0.HostVvolVolume_Def.__bases__ = tuple(bases)

            ns0.HostFileSystemVolume_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetDhcpConfigInfoDhcpOptions_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetDhcpConfigInfoDhcpOptions")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetDhcpConfigInfoDhcpOptions_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enable"), aname="_enable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetDhcpConfigInfoDhcpOptions_Def.__bases__:
                bases = list(ns0.NetDhcpConfigInfoDhcpOptions_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetDhcpConfigInfoDhcpOptions_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetDhcpConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetDhcpConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetDhcpConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","NetDhcpConfigInfoDhcpOptions",lazy=True)(pname=(ns,"ipv6"), aname="_ipv6", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetDhcpConfigInfoDhcpOptions",lazy=True)(pname=(ns,"ipv4"), aname="_ipv4", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetDhcpConfigInfo_Def.__bases__:
                bases = list(ns0.NetDhcpConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetDhcpConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetDhcpConfigSpecDhcpOptionsSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetDhcpConfigSpecDhcpOptionsSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetDhcpConfigSpecDhcpOptionsSpec_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enable"), aname="_enable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetDhcpConfigSpecDhcpOptionsSpec_Def.__bases__:
                bases = list(ns0.NetDhcpConfigSpecDhcpOptionsSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetDhcpConfigSpecDhcpOptionsSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetDhcpConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetDhcpConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetDhcpConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","NetDhcpConfigSpecDhcpOptionsSpec",lazy=True)(pname=(ns,"ipv6"), aname="_ipv6", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetDhcpConfigSpecDhcpOptionsSpec",lazy=True)(pname=(ns,"ipv4"), aname="_ipv4", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetDhcpConfigSpec_Def.__bases__:
                bases = list(ns0.NetDhcpConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetDhcpConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetDnsConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetDnsConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetDnsConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"dhcp"), aname="_dhcp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"domainName"), aname="_domainName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"searchDomain"), aname="_searchDomain", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetDnsConfigInfo_Def.__bases__:
                bases = list(ns0.NetDnsConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetDnsConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetDnsConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetDnsConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetDnsConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"dhcp"), aname="_dhcp", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"domainName"), aname="_domainName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"searchDomain"), aname="_searchDomain", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetDnsConfigSpec_Def.__bases__:
                bases = list(ns0.NetDnsConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetDnsConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetIpConfigInfoIpAddressOrigin_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "NetIpConfigInfoIpAddressOrigin")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class NetIpConfigInfoIpAddressStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "NetIpConfigInfoIpAddressStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class NetIpConfigInfoIpAddress_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetIpConfigInfoIpAddress")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetIpConfigInfoIpAddress_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"prefixLength"), aname="_prefixLength", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"origin"), aname="_origin", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"lifetime"), aname="_lifetime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetIpConfigInfoIpAddress_Def.__bases__:
                bases = list(ns0.NetIpConfigInfoIpAddress_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetIpConfigInfoIpAddress_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNetIpConfigInfoIpAddress_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNetIpConfigInfoIpAddress")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNetIpConfigInfoIpAddress_Def.schema
            TClist = [GTD("urn:vim25","NetIpConfigInfoIpAddress",lazy=True)(pname=(ns,"NetIpConfigInfoIpAddress"), aname="_NetIpConfigInfoIpAddress", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NetIpConfigInfoIpAddress = []
                    return
            Holder.__name__ = "ArrayOfNetIpConfigInfoIpAddress_Holder"
            self.pyclass = Holder

    class NetIpConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetIpConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetIpConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","NetIpConfigInfoIpAddress",lazy=True)(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetDhcpConfigInfo",lazy=True)(pname=(ns,"dhcp"), aname="_dhcp", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"autoConfigurationEnabled"), aname="_autoConfigurationEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetIpConfigInfo_Def.__bases__:
                bases = list(ns0.NetIpConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetIpConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetIpConfigSpecIpAddressSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetIpConfigSpecIpAddressSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetIpConfigSpecIpAddressSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"prefixLength"), aname="_prefixLength", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetIpConfigSpecIpAddressSpec_Def.__bases__:
                bases = list(ns0.NetIpConfigSpecIpAddressSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetIpConfigSpecIpAddressSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNetIpConfigSpecIpAddressSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNetIpConfigSpecIpAddressSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNetIpConfigSpecIpAddressSpec_Def.schema
            TClist = [GTD("urn:vim25","NetIpConfigSpecIpAddressSpec",lazy=True)(pname=(ns,"NetIpConfigSpecIpAddressSpec"), aname="_NetIpConfigSpecIpAddressSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NetIpConfigSpecIpAddressSpec = []
                    return
            Holder.__name__ = "ArrayOfNetIpConfigSpecIpAddressSpec_Holder"
            self.pyclass = Holder

    class NetIpConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetIpConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetIpConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","NetIpConfigSpecIpAddressSpec",lazy=True)(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetDhcpConfigSpec",lazy=True)(pname=(ns,"dhcp"), aname="_dhcp", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"autoConfigurationEnabled"), aname="_autoConfigurationEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetIpConfigSpec_Def.__bases__:
                bases = list(ns0.NetIpConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetIpConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetIpRouteConfigInfoGateway_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetIpRouteConfigInfoGateway")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetIpRouteConfigInfoGateway_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetIpRouteConfigInfoGateway_Def.__bases__:
                bases = list(ns0.NetIpRouteConfigInfoGateway_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetIpRouteConfigInfoGateway_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetIpRouteConfigInfoIpRoute_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetIpRouteConfigInfoIpRoute")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetIpRouteConfigInfoIpRoute_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"network"), aname="_network", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"prefixLength"), aname="_prefixLength", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetIpRouteConfigInfoGateway",lazy=True)(pname=(ns,"gateway"), aname="_gateway", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetIpRouteConfigInfoIpRoute_Def.__bases__:
                bases = list(ns0.NetIpRouteConfigInfoIpRoute_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetIpRouteConfigInfoIpRoute_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNetIpRouteConfigInfoIpRoute_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNetIpRouteConfigInfoIpRoute")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNetIpRouteConfigInfoIpRoute_Def.schema
            TClist = [GTD("urn:vim25","NetIpRouteConfigInfoIpRoute",lazy=True)(pname=(ns,"NetIpRouteConfigInfoIpRoute"), aname="_NetIpRouteConfigInfoIpRoute", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NetIpRouteConfigInfoIpRoute = []
                    return
            Holder.__name__ = "ArrayOfNetIpRouteConfigInfoIpRoute_Holder"
            self.pyclass = Holder

    class NetIpRouteConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetIpRouteConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetIpRouteConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","NetIpRouteConfigInfoIpRoute",lazy=True)(pname=(ns,"ipRoute"), aname="_ipRoute", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetIpRouteConfigInfo_Def.__bases__:
                bases = list(ns0.NetIpRouteConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetIpRouteConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetIpRouteConfigSpecGatewaySpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetIpRouteConfigSpecGatewaySpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetIpRouteConfigSpecGatewaySpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetIpRouteConfigSpecGatewaySpec_Def.__bases__:
                bases = list(ns0.NetIpRouteConfigSpecGatewaySpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetIpRouteConfigSpecGatewaySpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetIpRouteConfigSpecIpRouteSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetIpRouteConfigSpecIpRouteSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetIpRouteConfigSpecIpRouteSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"network"), aname="_network", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"prefixLength"), aname="_prefixLength", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetIpRouteConfigSpecGatewaySpec",lazy=True)(pname=(ns,"gateway"), aname="_gateway", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetIpRouteConfigSpecIpRouteSpec_Def.__bases__:
                bases = list(ns0.NetIpRouteConfigSpecIpRouteSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetIpRouteConfigSpecIpRouteSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNetIpRouteConfigSpecIpRouteSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNetIpRouteConfigSpecIpRouteSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNetIpRouteConfigSpecIpRouteSpec_Def.schema
            TClist = [GTD("urn:vim25","NetIpRouteConfigSpecIpRouteSpec",lazy=True)(pname=(ns,"NetIpRouteConfigSpecIpRouteSpec"), aname="_NetIpRouteConfigSpecIpRouteSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NetIpRouteConfigSpecIpRouteSpec = []
                    return
            Holder.__name__ = "ArrayOfNetIpRouteConfigSpecIpRouteSpec_Holder"
            self.pyclass = Holder

    class NetIpRouteConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetIpRouteConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetIpRouteConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","NetIpRouteConfigSpecIpRouteSpec",lazy=True)(pname=(ns,"ipRoute"), aname="_ipRoute", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetIpRouteConfigSpec_Def.__bases__:
                bases = list(ns0.NetIpRouteConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetIpRouteConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetIpStackInfoEntryType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "NetIpStackInfoEntryType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class NetIpStackInfoPreference_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "NetIpStackInfoPreference")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class NetIpStackInfoNetToMedia_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetIpStackInfoNetToMedia")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetIpStackInfoNetToMedia_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"physicalAddress"), aname="_physicalAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetIpStackInfoNetToMedia_Def.__bases__:
                bases = list(ns0.NetIpStackInfoNetToMedia_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetIpStackInfoNetToMedia_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNetIpStackInfoNetToMedia_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNetIpStackInfoNetToMedia")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNetIpStackInfoNetToMedia_Def.schema
            TClist = [GTD("urn:vim25","NetIpStackInfoNetToMedia",lazy=True)(pname=(ns,"NetIpStackInfoNetToMedia"), aname="_NetIpStackInfoNetToMedia", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NetIpStackInfoNetToMedia = []
                    return
            Holder.__name__ = "ArrayOfNetIpStackInfoNetToMedia_Holder"
            self.pyclass = Holder

    class NetIpStackInfoDefaultRouter_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetIpStackInfoDefaultRouter")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetIpStackInfoDefaultRouter_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"lifetime"), aname="_lifetime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"preference"), aname="_preference", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetIpStackInfoDefaultRouter_Def.__bases__:
                bases = list(ns0.NetIpStackInfoDefaultRouter_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetIpStackInfoDefaultRouter_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNetIpStackInfoDefaultRouter_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNetIpStackInfoDefaultRouter")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNetIpStackInfoDefaultRouter_Def.schema
            TClist = [GTD("urn:vim25","NetIpStackInfoDefaultRouter",lazy=True)(pname=(ns,"NetIpStackInfoDefaultRouter"), aname="_NetIpStackInfoDefaultRouter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NetIpStackInfoDefaultRouter = []
                    return
            Holder.__name__ = "ArrayOfNetIpStackInfoDefaultRouter_Holder"
            self.pyclass = Holder

    class NetIpStackInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetIpStackInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetIpStackInfo_Def.schema
            TClist = [GTD("urn:vim25","NetIpStackInfoNetToMedia",lazy=True)(pname=(ns,"neighbor"), aname="_neighbor", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetIpStackInfoDefaultRouter",lazy=True)(pname=(ns,"defaultRouter"), aname="_defaultRouter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetIpStackInfo_Def.__bases__:
                bases = list(ns0.NetIpStackInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetIpStackInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetBIOSConfigInfoMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "NetBIOSConfigInfoMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class NetBIOSConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetBIOSConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetBIOSConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"mode"), aname="_mode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NetBIOSConfigInfo_Def.__bases__:
                bases = list(ns0.NetBIOSConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NetBIOSConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class WinNetBIOSConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "WinNetBIOSConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.WinNetBIOSConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"primaryWINS"), aname="_primaryWINS", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"secondaryWINS"), aname="_secondaryWINS", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NetBIOSConfigInfo_Def not in ns0.WinNetBIOSConfigInfo_Def.__bases__:
                bases = list(ns0.WinNetBIOSConfigInfo_Def.__bases__)
                bases.insert(0, ns0.NetBIOSConfigInfo_Def)
                ns0.WinNetBIOSConfigInfo_Def.__bases__ = tuple(bases)

            ns0.NetBIOSConfigInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayUpdateOperation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayUpdateOperation")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ArrayUpdateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ArrayUpdateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ArrayUpdateSpec_Def.schema
            TClist = [GTD("urn:vim25","ArrayUpdateOperation",lazy=True)(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.AnyType(pname=(ns,"removeKey"), aname="_removeKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ArrayUpdateSpec_Def.__bases__:
                bases = list(ns0.ArrayUpdateSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ArrayUpdateSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class BoolOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "BoolOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.BoolOption_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"supported"), aname="_supported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"defaultValue"), aname="_defaultValue", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OptionType_Def not in ns0.BoolOption_Def.__bases__:
                bases = list(ns0.BoolOption_Def.__bases__)
                bases.insert(0, ns0.OptionType_Def)
                ns0.BoolOption_Def.__bases__ = tuple(bases)

            ns0.OptionType_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ChoiceOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ChoiceOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ChoiceOption_Def.schema
            TClist = [GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"choiceInfo"), aname="_choiceInfo", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"defaultIndex"), aname="_defaultIndex", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OptionType_Def not in ns0.ChoiceOption_Def.__bases__:
                bases = list(ns0.ChoiceOption_Def.__bases__)
                bases.insert(0, ns0.OptionType_Def)
                ns0.ChoiceOption_Def.__bases__ = tuple(bases)

            ns0.OptionType_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FloatOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FloatOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FloatOption_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"min"), aname="_min", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"max"), aname="_max", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"defaultValue"), aname="_defaultValue", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OptionType_Def not in ns0.FloatOption_Def.__bases__:
                bases = list(ns0.FloatOption_Def.__bases__)
                bases.insert(0, ns0.OptionType_Def)
                ns0.FloatOption_Def.__bases__ = tuple(bases)

            ns0.OptionType_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IntOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IntOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IntOption_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"min"), aname="_min", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"max"), aname="_max", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"defaultValue"), aname="_defaultValue", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OptionType_Def not in ns0.IntOption_Def.__bases__:
                bases = list(ns0.IntOption_Def.__bases__)
                bases.insert(0, ns0.OptionType_Def)
                ns0.IntOption_Def.__bases__ = tuple(bases)

            ns0.OptionType_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class LongOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LongOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LongOption_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"min"), aname="_min", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"max"), aname="_max", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"defaultValue"), aname="_defaultValue", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OptionType_Def not in ns0.LongOption_Def.__bases__:
                bases = list(ns0.LongOption_Def.__bases__)
                bases.insert(0, ns0.OptionType_Def)
                ns0.LongOption_Def.__bases__ = tuple(bases)

            ns0.OptionType_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OptionDef_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OptionDef")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OptionDef_Def.schema
            TClist = [GTD("urn:vim25","OptionType",lazy=True)(pname=(ns,"optionType"), aname="_optionType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ElementDescription_Def not in ns0.OptionDef_Def.__bases__:
                bases = list(ns0.OptionDef_Def.__bases__)
                bases.insert(0, ns0.ElementDescription_Def)
                ns0.OptionDef_Def.__bases__ = tuple(bases)

            ns0.ElementDescription_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfOptionDef_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfOptionDef")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfOptionDef_Def.schema
            TClist = [GTD("urn:vim25","OptionDef",lazy=True)(pname=(ns,"OptionDef"), aname="_OptionDef", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._OptionDef = []
                    return
            Holder.__name__ = "ArrayOfOptionDef_Holder"
            self.pyclass = Holder

    class OptionType_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OptionType")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OptionType_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"valueIsReadonly"), aname="_valueIsReadonly", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OptionType_Def.__bases__:
                bases = list(ns0.OptionType_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OptionType_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OptionValue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OptionValue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OptionValue_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.AnyType(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.OptionValue_Def.__bases__:
                bases = list(ns0.OptionValue_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.OptionValue_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfOptionValue_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfOptionValue")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfOptionValue_Def.schema
            TClist = [GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"OptionValue"), aname="_OptionValue", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._OptionValue = []
                    return
            Holder.__name__ = "ArrayOfOptionValue_Holder"
            self.pyclass = Holder

    class StringOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StringOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StringOption_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"defaultValue"), aname="_defaultValue", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"validCharacters"), aname="_validCharacters", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.OptionType_Def not in ns0.StringOption_Def.__bases__:
                bases = list(ns0.StringOption_Def.__bases__)
                bases.insert(0, ns0.OptionType_Def)
                ns0.StringOption_Def.__bases__ = tuple(bases)

            ns0.OptionType_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ApplyProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ApplyProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ApplyProfile_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfilePolicy",lazy=True)(pname=(ns,"policy"), aname="_policy", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"profileTypeName"), aname="_profileTypeName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"profileVersion"), aname="_profileVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileApplyProfileProperty",lazy=True)(pname=(ns,"property"), aname="_property", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"favorite"), aname="_favorite", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"toBeMerged"), aname="_toBeMerged", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"toReplaceWith"), aname="_toReplaceWith", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"toBeDeleted"), aname="_toBeDeleted", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"copyEnableStatus"), aname="_copyEnableStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hidden"), aname="_hidden", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ApplyProfile_Def.__bases__:
                bases = list(ns0.ApplyProfile_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ApplyProfile_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfApplyProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfApplyProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfApplyProfile_Def.schema
            TClist = [GTD("urn:vim25","ApplyProfile",lazy=True)(pname=(ns,"ApplyProfile"), aname="_ApplyProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ApplyProfile = []
                    return
            Holder.__name__ = "ArrayOfApplyProfile_Holder"
            self.pyclass = Holder

    class ProfileApplyProfileElement_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileApplyProfileElement")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileApplyProfileElement_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.ProfileApplyProfileElement_Def.__bases__:
                bases = list(ns0.ProfileApplyProfileElement_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.ProfileApplyProfileElement_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileApplyProfileProperty_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileApplyProfileProperty")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileApplyProfileProperty_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"propertyName"), aname="_propertyName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"array"), aname="_array", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ApplyProfile",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileApplyProfileProperty_Def.__bases__:
                bases = list(ns0.ProfileApplyProfileProperty_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileApplyProfileProperty_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfileApplyProfileProperty_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfileApplyProfileProperty")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfileApplyProfileProperty_Def.schema
            TClist = [GTD("urn:vim25","ProfileApplyProfileProperty",lazy=True)(pname=(ns,"ProfileApplyProfileProperty"), aname="_ProfileApplyProfileProperty", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfileApplyProfileProperty = []
                    return
            Holder.__name__ = "ArrayOfProfileApplyProfileProperty_Holder"
            self.pyclass = Holder

    class ComplianceLocator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ComplianceLocator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ComplianceLocator_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"expressionName"), aname="_expressionName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfilePropertyPath",lazy=True)(pname=(ns,"applyPath"), aname="_applyPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ComplianceLocator_Def.__bases__:
                bases = list(ns0.ComplianceLocator_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ComplianceLocator_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfComplianceLocator_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfComplianceLocator")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfComplianceLocator_Def.schema
            TClist = [GTD("urn:vim25","ComplianceLocator",lazy=True)(pname=(ns,"ComplianceLocator"), aname="_ComplianceLocator", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ComplianceLocator = []
                    return
            Holder.__name__ = "ArrayOfComplianceLocator_Holder"
            self.pyclass = Holder

    class ComplianceProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ComplianceProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ComplianceProfile_Def.schema
            TClist = [GTD("urn:vim25","ProfileExpression",lazy=True)(pname=(ns,"expression"), aname="_expression", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"rootExpression"), aname="_rootExpression", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ComplianceProfile_Def.__bases__:
                bases = list(ns0.ComplianceProfile_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ComplianceProfile_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ComplianceResultStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ComplianceResultStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ComplianceFailureComplianceFailureValues_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ComplianceFailureComplianceFailureValues")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ComplianceFailureComplianceFailureValues_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"comparisonIdentifier"), aname="_comparisonIdentifier", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"profileInstance"), aname="_profileInstance", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.AnyType(pname=(ns,"hostValue"), aname="_hostValue", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.AnyType(pname=(ns,"profileValue"), aname="_profileValue", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ComplianceFailureComplianceFailureValues_Def.__bases__:
                bases = list(ns0.ComplianceFailureComplianceFailureValues_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ComplianceFailureComplianceFailureValues_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfComplianceFailureComplianceFailureValues_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfComplianceFailureComplianceFailureValues")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfComplianceFailureComplianceFailureValues_Def.schema
            TClist = [GTD("urn:vim25","ComplianceFailureComplianceFailureValues",lazy=True)(pname=(ns,"ComplianceFailureComplianceFailureValues"), aname="_ComplianceFailureComplianceFailureValues", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ComplianceFailureComplianceFailureValues = []
                    return
            Holder.__name__ = "ArrayOfComplianceFailureComplianceFailureValues_Holder"
            self.pyclass = Holder

    class ComplianceFailure_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ComplianceFailure")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ComplianceFailure_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"failureType"), aname="_failureType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"message"), aname="_message", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"expressionName"), aname="_expressionName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ComplianceFailureComplianceFailureValues",lazy=True)(pname=(ns,"failureValues"), aname="_failureValues", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ComplianceFailure_Def.__bases__:
                bases = list(ns0.ComplianceFailure_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ComplianceFailure_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfComplianceFailure_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfComplianceFailure")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfComplianceFailure_Def.schema
            TClist = [GTD("urn:vim25","ComplianceFailure",lazy=True)(pname=(ns,"ComplianceFailure"), aname="_ComplianceFailure", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ComplianceFailure = []
                    return
            Holder.__name__ = "ArrayOfComplianceFailure_Holder"
            self.pyclass = Holder

    class ComplianceResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ComplianceResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ComplianceResult_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"complianceStatus"), aname="_complianceStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"checkTime"), aname="_checkTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ComplianceFailure",lazy=True)(pname=(ns,"failure"), aname="_failure", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ComplianceResult_Def.__bases__:
                bases = list(ns0.ComplianceResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ComplianceResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfComplianceResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfComplianceResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfComplianceResult_Def.schema
            TClist = [GTD("urn:vim25","ComplianceResult",lazy=True)(pname=(ns,"ComplianceResult"), aname="_ComplianceResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ComplianceResult = []
                    return
            Holder.__name__ = "ArrayOfComplianceResult_Holder"
            self.pyclass = Holder

    class ProfileDeferredPolicyOptionParameter_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileDeferredPolicyOptionParameter")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileDeferredPolicyOptionParameter_Def.schema
            TClist = [GTD("urn:vim25","ProfilePropertyPath",lazy=True)(pname=(ns,"inputPath"), aname="_inputPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"parameter"), aname="_parameter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileDeferredPolicyOptionParameter_Def.__bases__:
                bases = list(ns0.ProfileDeferredPolicyOptionParameter_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileDeferredPolicyOptionParameter_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfileDeferredPolicyOptionParameter_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfileDeferredPolicyOptionParameter")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfileDeferredPolicyOptionParameter_Def.schema
            TClist = [GTD("urn:vim25","ProfileDeferredPolicyOptionParameter",lazy=True)(pname=(ns,"ProfileDeferredPolicyOptionParameter"), aname="_ProfileDeferredPolicyOptionParameter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfileDeferredPolicyOptionParameter = []
                    return
            Holder.__name__ = "ArrayOfProfileDeferredPolicyOptionParameter_Holder"
            self.pyclass = Holder

    class ProfileExpression_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileExpression")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileExpression_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"displayName"), aname="_displayName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"negated"), aname="_negated", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileExpression_Def.__bases__:
                bases = list(ns0.ProfileExpression_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileExpression_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfileExpression_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfileExpression")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfileExpression_Def.schema
            TClist = [GTD("urn:vim25","ProfileExpression",lazy=True)(pname=(ns,"ProfileExpression"), aname="_ProfileExpression", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfileExpression = []
                    return
            Holder.__name__ = "ArrayOfProfileExpression_Holder"
            self.pyclass = Holder

    class ProfileSimpleExpression_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileSimpleExpression")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileSimpleExpression_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"expressionType"), aname="_expressionType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"parameter"), aname="_parameter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileExpression_Def not in ns0.ProfileSimpleExpression_Def.__bases__:
                bases = list(ns0.ProfileSimpleExpression_Def.__bases__)
                bases.insert(0, ns0.ProfileExpression_Def)
                ns0.ProfileSimpleExpression_Def.__bases__ = tuple(bases)

            ns0.ProfileExpression_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileCompositeExpression_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileCompositeExpression")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileCompositeExpression_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"operator"), aname="_operator", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"expressionName"), aname="_expressionName", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileExpression_Def not in ns0.ProfileCompositeExpression_Def.__bases__:
                bases = list(ns0.ProfileCompositeExpression_Def.__bases__)
                bases.insert(0, ns0.ProfileExpression_Def)
                ns0.ProfileCompositeExpression_Def.__bases__ = tuple(bases)

            ns0.ProfileExpression_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileExpressionMetadata_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileExpressionMetadata")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileExpressionMetadata_Def.schema
            TClist = [GTD("urn:vim25","ExtendedElementDescription",lazy=True)(pname=(ns,"expressionId"), aname="_expressionId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileParameterMetadata",lazy=True)(pname=(ns,"parameter"), aname="_parameter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileExpressionMetadata_Def.__bases__:
                bases = list(ns0.ProfileExpressionMetadata_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileExpressionMetadata_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfileExpressionMetadata_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfileExpressionMetadata")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfileExpressionMetadata_Def.schema
            TClist = [GTD("urn:vim25","ProfileExpressionMetadata",lazy=True)(pname=(ns,"ProfileExpressionMetadata"), aname="_ProfileExpressionMetadata", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfileExpressionMetadata = []
                    return
            Holder.__name__ = "ArrayOfProfileExpressionMetadata_Holder"
            self.pyclass = Holder

    class ProfileNumericComparator_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ProfileNumericComparator")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ProfileParameterMetadataRelationType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ProfileParameterMetadataRelationType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ProfileParameterMetadataParameterRelationMetadata_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileParameterMetadataParameterRelationMetadata")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileParameterMetadataParameterRelationMetadata_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"relationTypes"), aname="_relationTypes", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.AnyType(pname=(ns,"values"), aname="_values", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfilePropertyPath",lazy=True)(pname=(ns,"path"), aname="_path", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"minCount"), aname="_minCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxCount"), aname="_maxCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileParameterMetadataParameterRelationMetadata_Def.__bases__:
                bases = list(ns0.ProfileParameterMetadataParameterRelationMetadata_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileParameterMetadataParameterRelationMetadata_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfileParameterMetadataParameterRelationMetadata_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfileParameterMetadataParameterRelationMetadata")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfileParameterMetadataParameterRelationMetadata_Def.schema
            TClist = [GTD("urn:vim25","ProfileParameterMetadataParameterRelationMetadata",lazy=True)(pname=(ns,"ProfileParameterMetadataParameterRelationMetadata"), aname="_ProfileParameterMetadataParameterRelationMetadata", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfileParameterMetadataParameterRelationMetadata = []
                    return
            Holder.__name__ = "ArrayOfProfileParameterMetadataParameterRelationMetadata_Holder"
            self.pyclass = Holder

    class ProfileParameterMetadata_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileParameterMetadata")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileParameterMetadata_Def.schema
            TClist = [GTD("urn:vim25","ExtendedElementDescription",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"optional"), aname="_optional", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.AnyType(pname=(ns,"defaultValue"), aname="_defaultValue", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hidden"), aname="_hidden", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"securitySensitive"), aname="_securitySensitive", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"readOnly"), aname="_readOnly", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileParameterMetadataParameterRelationMetadata",lazy=True)(pname=(ns,"parameterRelations"), aname="_parameterRelations", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileParameterMetadata_Def.__bases__:
                bases = list(ns0.ProfileParameterMetadata_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileParameterMetadata_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfileParameterMetadata_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfileParameterMetadata")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfileParameterMetadata_Def.schema
            TClist = [GTD("urn:vim25","ProfileParameterMetadata",lazy=True)(pname=(ns,"ProfileParameterMetadata"), aname="_ProfileParameterMetadata", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfileParameterMetadata = []
                    return
            Holder.__name__ = "ArrayOfProfileParameterMetadata_Holder"
            self.pyclass = Holder

    class ProfilePolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfilePolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfilePolicy_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PolicyOption",lazy=True)(pname=(ns,"policyOption"), aname="_policyOption", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfilePolicy_Def.__bases__:
                bases = list(ns0.ProfilePolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfilePolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfilePolicy_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfilePolicy")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfilePolicy_Def.schema
            TClist = [GTD("urn:vim25","ProfilePolicy",lazy=True)(pname=(ns,"ProfilePolicy"), aname="_ProfilePolicy", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfilePolicy = []
                    return
            Holder.__name__ = "ArrayOfProfilePolicy_Holder"
            self.pyclass = Holder

    class ProfilePolicyOptionMetadata_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfilePolicyOptionMetadata")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfilePolicyOptionMetadata_Def.schema
            TClist = [GTD("urn:vim25","ExtendedElementDescription",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileParameterMetadata",lazy=True)(pname=(ns,"parameter"), aname="_parameter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfilePolicyOptionMetadata_Def.__bases__:
                bases = list(ns0.ProfilePolicyOptionMetadata_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfilePolicyOptionMetadata_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfilePolicyOptionMetadata_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfilePolicyOptionMetadata")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfilePolicyOptionMetadata_Def.schema
            TClist = [GTD("urn:vim25","ProfilePolicyOptionMetadata",lazy=True)(pname=(ns,"ProfilePolicyOptionMetadata"), aname="_ProfilePolicyOptionMetadata", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfilePolicyOptionMetadata = []
                    return
            Holder.__name__ = "ArrayOfProfilePolicyOptionMetadata_Holder"
            self.pyclass = Holder

    class ProfileCompositePolicyOptionMetadata_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileCompositePolicyOptionMetadata")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileCompositePolicyOptionMetadata_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"option"), aname="_option", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfilePolicyOptionMetadata_Def not in ns0.ProfileCompositePolicyOptionMetadata_Def.__bases__:
                bases = list(ns0.ProfileCompositePolicyOptionMetadata_Def.__bases__)
                bases.insert(0, ns0.ProfilePolicyOptionMetadata_Def)
                ns0.ProfileCompositePolicyOptionMetadata_Def.__bases__ = tuple(bases)

            ns0.ProfilePolicyOptionMetadata_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UserInputRequiredParameterMetadata_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UserInputRequiredParameterMetadata")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UserInputRequiredParameterMetadata_Def.schema
            TClist = [GTD("urn:vim25","ProfileParameterMetadata",lazy=True)(pname=(ns,"userInputParameter"), aname="_userInputParameter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfilePolicyOptionMetadata_Def not in ns0.UserInputRequiredParameterMetadata_Def.__bases__:
                bases = list(ns0.UserInputRequiredParameterMetadata_Def.__bases__)
                bases.insert(0, ns0.ProfilePolicyOptionMetadata_Def)
                ns0.UserInputRequiredParameterMetadata_Def.__bases__ = tuple(bases)

            ns0.ProfilePolicyOptionMetadata_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfilePolicyMetadata_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfilePolicyMetadata")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfilePolicyMetadata_Def.schema
            TClist = [GTD("urn:vim25","ExtendedElementDescription",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfilePolicyOptionMetadata",lazy=True)(pname=(ns,"possibleOption"), aname="_possibleOption", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfilePolicyMetadata_Def.__bases__:
                bases = list(ns0.ProfilePolicyMetadata_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfilePolicyMetadata_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfilePolicyMetadata_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfilePolicyMetadata")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfilePolicyMetadata_Def.schema
            TClist = [GTD("urn:vim25","ProfilePolicyMetadata",lazy=True)(pname=(ns,"ProfilePolicyMetadata"), aname="_ProfilePolicyMetadata", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfilePolicyMetadata = []
                    return
            Holder.__name__ = "ArrayOfProfilePolicyMetadata_Holder"
            self.pyclass = Holder

    class PolicyOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PolicyOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PolicyOption_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyAnyValue",lazy=True)(pname=(ns,"parameter"), aname="_parameter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PolicyOption_Def.__bases__:
                bases = list(ns0.PolicyOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PolicyOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPolicyOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPolicyOption")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPolicyOption_Def.schema
            TClist = [GTD("urn:vim25","PolicyOption",lazy=True)(pname=(ns,"PolicyOption"), aname="_PolicyOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PolicyOption = []
                    return
            Holder.__name__ = "ArrayOfPolicyOption_Holder"
            self.pyclass = Holder

    class CompositePolicyOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CompositePolicyOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CompositePolicyOption_Def.schema
            TClist = [GTD("urn:vim25","PolicyOption",lazy=True)(pname=(ns,"option"), aname="_option", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PolicyOption_Def not in ns0.CompositePolicyOption_Def.__bases__:
                bases = list(ns0.CompositePolicyOption_Def.__bases__)
                bases.insert(0, ns0.PolicyOption_Def)
                ns0.CompositePolicyOption_Def.__bases__ = tuple(bases)

            ns0.PolicyOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileCreateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileCreateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileCreateSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"annotation"), aname="_annotation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileCreateSpec_Def.__bases__:
                bases = list(ns0.ProfileCreateSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileCreateSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileSerializedCreateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileSerializedCreateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileSerializedCreateSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"profileConfigString"), aname="_profileConfigString", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileCreateSpec_Def not in ns0.ProfileSerializedCreateSpec_Def.__bases__:
                bases = list(ns0.ProfileSerializedCreateSpec_Def.__bases__)
                bases.insert(0, ns0.ProfileCreateSpec_Def)
                ns0.ProfileSerializedCreateSpec_Def.__bases__ = tuple(bases)

            ns0.ProfileCreateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"annotation"), aname="_annotation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileConfigInfo_Def.__bases__:
                bases = list(ns0.ProfileConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileDescriptionSection_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileDescriptionSection")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileDescriptionSection_Def.schema
            TClist = [GTD("urn:vim25","ExtendedElementDescription",lazy=True)(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"message"), aname="_message", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileDescriptionSection_Def.__bases__:
                bases = list(ns0.ProfileDescriptionSection_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileDescriptionSection_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfileDescriptionSection_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfileDescriptionSection")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfileDescriptionSection_Def.schema
            TClist = [GTD("urn:vim25","ProfileDescriptionSection",lazy=True)(pname=(ns,"ProfileDescriptionSection"), aname="_ProfileDescriptionSection", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfileDescriptionSection = []
                    return
            Holder.__name__ = "ArrayOfProfileDescriptionSection_Holder"
            self.pyclass = Holder

    class ProfileDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileDescription_Def.schema
            TClist = [GTD("urn:vim25","ProfileDescriptionSection",lazy=True)(pname=(ns,"section"), aname="_section", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileDescription_Def.__bases__:
                bases = list(ns0.ProfileDescription_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileDescription_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileMetadataProfileSortSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileMetadataProfileSortSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileMetadataProfileSortSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"policyId"), aname="_policyId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"parameter"), aname="_parameter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileMetadataProfileSortSpec_Def.__bases__:
                bases = list(ns0.ProfileMetadataProfileSortSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileMetadataProfileSortSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfileMetadataProfileSortSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfileMetadataProfileSortSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfileMetadataProfileSortSpec_Def.schema
            TClist = [GTD("urn:vim25","ProfileMetadataProfileSortSpec",lazy=True)(pname=(ns,"ProfileMetadataProfileSortSpec"), aname="_ProfileMetadataProfileSortSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfileMetadataProfileSortSpec = []
                    return
            Holder.__name__ = "ArrayOfProfileMetadataProfileSortSpec_Holder"
            self.pyclass = Holder

    class ProfileMetadataProfileOperationMessage_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileMetadataProfileOperationMessage")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileMetadataProfileOperationMessage_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"operationName"), aname="_operationName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"message"), aname="_message", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileMetadataProfileOperationMessage_Def.__bases__:
                bases = list(ns0.ProfileMetadataProfileOperationMessage_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileMetadataProfileOperationMessage_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfileMetadataProfileOperationMessage_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfileMetadataProfileOperationMessage")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfileMetadataProfileOperationMessage_Def.schema
            TClist = [GTD("urn:vim25","ProfileMetadataProfileOperationMessage",lazy=True)(pname=(ns,"ProfileMetadataProfileOperationMessage"), aname="_ProfileMetadataProfileOperationMessage", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfileMetadataProfileOperationMessage = []
                    return
            Holder.__name__ = "ArrayOfProfileMetadataProfileOperationMessage_Holder"
            self.pyclass = Holder

    class ProfileMetadata_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileMetadata")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileMetadata_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"profileTypeName"), aname="_profileTypeName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ExtendedDescription",lazy=True)(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileMetadataProfileSortSpec",lazy=True)(pname=(ns,"sortSpec"), aname="_sortSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"profileCategory"), aname="_profileCategory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"profileComponent"), aname="_profileComponent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileMetadataProfileOperationMessage",lazy=True)(pname=(ns,"operationMessages"), aname="_operationMessages", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileMetadata_Def.__bases__:
                bases = list(ns0.ProfileMetadata_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileMetadata_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfileMetadata_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfileMetadata")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfileMetadata_Def.schema
            TClist = [GTD("urn:vim25","ProfileMetadata",lazy=True)(pname=(ns,"ProfileMetadata"), aname="_ProfileMetadata", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfileMetadata = []
                    return
            Holder.__name__ = "ArrayOfProfileMetadata_Holder"
            self.pyclass = Holder

    class ProfilePropertyPath_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfilePropertyPath")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfilePropertyPath_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"profilePath"), aname="_profilePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"policyId"), aname="_policyId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"parameterId"), aname="_parameterId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"policyOptionId"), aname="_policyOptionId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfilePropertyPath_Def.__bases__:
                bases = list(ns0.ProfilePropertyPath_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfilePropertyPath_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfilePropertyPath_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfilePropertyPath")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfilePropertyPath_Def.schema
            TClist = [GTD("urn:vim25","ProfilePropertyPath",lazy=True)(pname=(ns,"ProfilePropertyPath"), aname="_ProfilePropertyPath", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfilePropertyPath = []
                    return
            Holder.__name__ = "ArrayOfProfilePropertyPath_Holder"
            self.pyclass = Holder

    class ProfileProfileStructure_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileProfileStructure")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileProfileStructure_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"profileTypeName"), aname="_profileTypeName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileProfileStructureProperty",lazy=True)(pname=(ns,"child"), aname="_child", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileProfileStructure_Def.__bases__:
                bases = list(ns0.ProfileProfileStructure_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileProfileStructure_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ProfileProfileStructureProperty_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileProfileStructureProperty")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileProfileStructureProperty_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"propertyName"), aname="_propertyName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"array"), aname="_array", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileProfileStructure",lazy=True)(pname=(ns,"element"), aname="_element", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileProfileStructureProperty_Def.__bases__:
                bases = list(ns0.ProfileProfileStructureProperty_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileProfileStructureProperty_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfileProfileStructureProperty_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfileProfileStructureProperty")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfileProfileStructureProperty_Def.schema
            TClist = [GTD("urn:vim25","ProfileProfileStructureProperty",lazy=True)(pname=(ns,"ProfileProfileStructureProperty"), aname="_ProfileProfileStructureProperty", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfileProfileStructureProperty = []
                    return
            Holder.__name__ = "ArrayOfProfileProfileStructureProperty_Holder"
            self.pyclass = Holder

    class ClusterProfileConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterProfileConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterProfileConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ComplianceProfile",lazy=True)(pname=(ns,"complyProfile"), aname="_complyProfile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileConfigInfo_Def not in ns0.ClusterProfileConfigInfo_Def.__bases__:
                bases = list(ns0.ClusterProfileConfigInfo_Def.__bases__)
                bases.insert(0, ns0.ProfileConfigInfo_Def)
                ns0.ClusterProfileConfigInfo_Def.__bases__ = tuple(bases)

            ns0.ProfileConfigInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterProfileCreateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterProfileCreateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterProfileCreateSpec_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileCreateSpec_Def not in ns0.ClusterProfileCreateSpec_Def.__bases__:
                bases = list(ns0.ClusterProfileCreateSpec_Def.__bases__)
                bases.insert(0, ns0.ProfileCreateSpec_Def)
                ns0.ClusterProfileCreateSpec_Def.__bases__ = tuple(bases)

            ns0.ProfileCreateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterProfileConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterProfileConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterProfileConfigSpec_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterProfileCreateSpec_Def not in ns0.ClusterProfileConfigSpec_Def.__bases__:
                bases = list(ns0.ClusterProfileConfigSpec_Def.__bases__)
                bases.insert(0, ns0.ClusterProfileCreateSpec_Def)
                ns0.ClusterProfileConfigSpec_Def.__bases__ = tuple(bases)

            ns0.ClusterProfileCreateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterProfileCompleteConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterProfileCompleteConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterProfileCompleteConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","ComplianceProfile",lazy=True)(pname=(ns,"complyProfile"), aname="_complyProfile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterProfileConfigSpec_Def not in ns0.ClusterProfileCompleteConfigSpec_Def.__bases__:
                bases = list(ns0.ClusterProfileCompleteConfigSpec_Def.__bases__)
                bases.insert(0, ns0.ClusterProfileConfigSpec_Def)
                ns0.ClusterProfileCompleteConfigSpec_Def.__bases__ = tuple(bases)

            ns0.ClusterProfileConfigSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ClusterProfileServiceType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterProfileServiceType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ClusterProfileConfigServiceCreateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterProfileConfigServiceCreateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterProfileConfigServiceCreateSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"serviceType"), aname="_serviceType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterProfileConfigSpec_Def not in ns0.ClusterProfileConfigServiceCreateSpec_Def.__bases__:
                bases = list(ns0.ClusterProfileConfigServiceCreateSpec_Def.__bases__)
                bases.insert(0, ns0.ClusterProfileConfigSpec_Def)
                ns0.ClusterProfileConfigServiceCreateSpec_Def.__bases__ = tuple(bases)

            ns0.ClusterProfileConfigSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AnswerFile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AnswerFile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AnswerFile_Def.schema
            TClist = [GTD("urn:vim25","ProfileDeferredPolicyOptionParameter",lazy=True)(pname=(ns,"userInput"), aname="_userInput", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"createdTime"), aname="_createdTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"modifiedTime"), aname="_modifiedTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AnswerFile_Def.__bases__:
                bases = list(ns0.AnswerFile_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AnswerFile_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AnswerFileStatusError_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AnswerFileStatusError")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AnswerFileStatusError_Def.schema
            TClist = [GTD("urn:vim25","ProfilePropertyPath",lazy=True)(pname=(ns,"userInputPath"), aname="_userInputPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"errMsg"), aname="_errMsg", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AnswerFileStatusError_Def.__bases__:
                bases = list(ns0.AnswerFileStatusError_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AnswerFileStatusError_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfAnswerFileStatusError_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfAnswerFileStatusError")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfAnswerFileStatusError_Def.schema
            TClist = [GTD("urn:vim25","AnswerFileStatusError",lazy=True)(pname=(ns,"AnswerFileStatusError"), aname="_AnswerFileStatusError", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._AnswerFileStatusError = []
                    return
            Holder.__name__ = "ArrayOfAnswerFileStatusError_Holder"
            self.pyclass = Holder

    class AnswerFileStatusResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AnswerFileStatusResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AnswerFileStatusResult_Def.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"checkedTime"), aname="_checkedTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AnswerFileStatusError",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AnswerFileStatusResult_Def.__bases__:
                bases = list(ns0.AnswerFileStatusResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AnswerFileStatusResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfAnswerFileStatusResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfAnswerFileStatusResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfAnswerFileStatusResult_Def.schema
            TClist = [GTD("urn:vim25","AnswerFileStatusResult",lazy=True)(pname=(ns,"AnswerFileStatusResult"), aname="_AnswerFileStatusResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._AnswerFileStatusResult = []
                    return
            Holder.__name__ = "ArrayOfAnswerFileStatusResult_Holder"
            self.pyclass = Holder

    class ProfileExecuteResultStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ProfileExecuteResultStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ProfileExecuteError_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileExecuteError")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileExecuteError_Def.schema
            TClist = [GTD("urn:vim25","ProfilePropertyPath",lazy=True)(pname=(ns,"path"), aname="_path", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"message"), aname="_message", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileExecuteError_Def.__bases__:
                bases = list(ns0.ProfileExecuteError_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileExecuteError_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfProfileExecuteError_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfProfileExecuteError")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfProfileExecuteError_Def.schema
            TClist = [GTD("urn:vim25","ProfileExecuteError",lazy=True)(pname=(ns,"ProfileExecuteError"), aname="_ProfileExecuteError", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ProfileExecuteError = []
                    return
            Holder.__name__ = "ArrayOfProfileExecuteError_Holder"
            self.pyclass = Holder

    class ProfileExecuteResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ProfileExecuteResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ProfileExecuteResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"inapplicablePath"), aname="_inapplicablePath", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileDeferredPolicyOptionParameter",lazy=True)(pname=(ns,"requireInput"), aname="_requireInput", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileExecuteError",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ProfileExecuteResult_Def.__bases__:
                bases = list(ns0.ProfileExecuteResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ProfileExecuteResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostApplyProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostApplyProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostApplyProfile_Def.schema
            TClist = [GTD("urn:vim25","HostMemoryProfile",lazy=True)(pname=(ns,"memory"), aname="_memory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageProfile",lazy=True)(pname=(ns,"storage"), aname="_storage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetworkProfile",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DateTimeProfile",lazy=True)(pname=(ns,"datetime"), aname="_datetime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FirewallProfile",lazy=True)(pname=(ns,"firewall"), aname="_firewall", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SecurityProfile",lazy=True)(pname=(ns,"security"), aname="_security", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ServiceProfile",lazy=True)(pname=(ns,"service"), aname="_service", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionProfile",lazy=True)(pname=(ns,"option"), aname="_option", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","UserProfile",lazy=True)(pname=(ns,"userAccount"), aname="_userAccount", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","UserGroupProfile",lazy=True)(pname=(ns,"usergroupAccount"), aname="_usergroupAccount", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AuthenticationProfile",lazy=True)(pname=(ns,"authentication"), aname="_authentication", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.HostApplyProfile_Def.__bases__:
                bases = list(ns0.HostApplyProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.HostApplyProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PhysicalNicProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PhysicalNicProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PhysicalNicProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.PhysicalNicProfile_Def.__bases__:
                bases = list(ns0.PhysicalNicProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.PhysicalNicProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPhysicalNicProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPhysicalNicProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPhysicalNicProfile_Def.schema
            TClist = [GTD("urn:vim25","PhysicalNicProfile",lazy=True)(pname=(ns,"PhysicalNicProfile"), aname="_PhysicalNicProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PhysicalNicProfile = []
                    return
            Holder.__name__ = "ArrayOfPhysicalNicProfile_Holder"
            self.pyclass = Holder

    class HostMemoryProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostMemoryProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostMemoryProfile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.HostMemoryProfile_Def.__bases__:
                bases = list(ns0.HostMemoryProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.HostMemoryProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UserProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UserProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UserProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.UserProfile_Def.__bases__:
                bases = list(ns0.UserProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.UserProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfUserProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfUserProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfUserProfile_Def.schema
            TClist = [GTD("urn:vim25","UserProfile",lazy=True)(pname=(ns,"UserProfile"), aname="_UserProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._UserProfile = []
                    return
            Holder.__name__ = "ArrayOfUserProfile_Holder"
            self.pyclass = Holder

    class UserGroupProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UserGroupProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UserGroupProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.UserGroupProfile_Def.__bases__:
                bases = list(ns0.UserGroupProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.UserGroupProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfUserGroupProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfUserGroupProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfUserGroupProfile_Def.schema
            TClist = [GTD("urn:vim25","UserGroupProfile",lazy=True)(pname=(ns,"UserGroupProfile"), aname="_UserGroupProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._UserGroupProfile = []
                    return
            Holder.__name__ = "ArrayOfUserGroupProfile_Holder"
            self.pyclass = Holder

    class SecurityProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SecurityProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SecurityProfile_Def.schema
            TClist = [GTD("urn:vim25","PermissionProfile",lazy=True)(pname=(ns,"permission"), aname="_permission", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.SecurityProfile_Def.__bases__:
                bases = list(ns0.SecurityProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.SecurityProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OptionProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OptionProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OptionProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.OptionProfile_Def.__bases__:
                bases = list(ns0.OptionProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.OptionProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfOptionProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfOptionProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfOptionProfile_Def.schema
            TClist = [GTD("urn:vim25","OptionProfile",lazy=True)(pname=(ns,"OptionProfile"), aname="_OptionProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._OptionProfile = []
                    return
            Holder.__name__ = "ArrayOfOptionProfile_Holder"
            self.pyclass = Holder

    class DateTimeProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DateTimeProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DateTimeProfile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.DateTimeProfile_Def.__bases__:
                bases = list(ns0.DateTimeProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.DateTimeProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ServiceProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ServiceProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ServiceProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.ServiceProfile_Def.__bases__:
                bases = list(ns0.ServiceProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.ServiceProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfServiceProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfServiceProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfServiceProfile_Def.schema
            TClist = [GTD("urn:vim25","ServiceProfile",lazy=True)(pname=(ns,"ServiceProfile"), aname="_ServiceProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ServiceProfile = []
                    return
            Holder.__name__ = "ArrayOfServiceProfile_Holder"
            self.pyclass = Holder

    class FirewallProfileRulesetProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FirewallProfileRulesetProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FirewallProfileRulesetProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.FirewallProfileRulesetProfile_Def.__bases__:
                bases = list(ns0.FirewallProfileRulesetProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.FirewallProfileRulesetProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfFirewallProfileRulesetProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfFirewallProfileRulesetProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfFirewallProfileRulesetProfile_Def.schema
            TClist = [GTD("urn:vim25","FirewallProfileRulesetProfile",lazy=True)(pname=(ns,"FirewallProfileRulesetProfile"), aname="_FirewallProfileRulesetProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._FirewallProfileRulesetProfile = []
                    return
            Holder.__name__ = "ArrayOfFirewallProfileRulesetProfile_Holder"
            self.pyclass = Holder

    class FirewallProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FirewallProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FirewallProfile_Def.schema
            TClist = [GTD("urn:vim25","FirewallProfileRulesetProfile",lazy=True)(pname=(ns,"ruleset"), aname="_ruleset", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.FirewallProfile_Def.__bases__:
                bases = list(ns0.FirewallProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.FirewallProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NasStorageProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NasStorageProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NasStorageProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.NasStorageProfile_Def.__bases__:
                bases = list(ns0.NasStorageProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.NasStorageProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNasStorageProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNasStorageProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNasStorageProfile_Def.schema
            TClist = [GTD("urn:vim25","NasStorageProfile",lazy=True)(pname=(ns,"NasStorageProfile"), aname="_NasStorageProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NasStorageProfile = []
                    return
            Holder.__name__ = "ArrayOfNasStorageProfile_Holder"
            self.pyclass = Holder

    class StorageProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageProfile_Def.schema
            TClist = [GTD("urn:vim25","NasStorageProfile",lazy=True)(pname=(ns,"nasStorage"), aname="_nasStorage", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.StorageProfile_Def.__bases__:
                bases = list(ns0.StorageProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.StorageProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetworkProfileDnsConfigProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetworkProfileDnsConfigProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetworkProfileDnsConfigProfile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.NetworkProfileDnsConfigProfile_Def.__bases__:
                bases = list(ns0.NetworkProfileDnsConfigProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.NetworkProfileDnsConfigProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NetworkProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetworkProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetworkProfile_Def.schema
            TClist = [GTD("urn:vim25","VirtualSwitchProfile",lazy=True)(pname=(ns,"vswitch"), aname="_vswitch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmPortGroupProfile",lazy=True)(pname=(ns,"vmPortGroup"), aname="_vmPortGroup", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPortGroupProfile",lazy=True)(pname=(ns,"hostPortGroup"), aname="_hostPortGroup", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ServiceConsolePortGroupProfile",lazy=True)(pname=(ns,"serviceConsolePortGroup"), aname="_serviceConsolePortGroup", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetworkProfileDnsConfigProfile",lazy=True)(pname=(ns,"dnsConfig"), aname="_dnsConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IpRouteProfile",lazy=True)(pname=(ns,"ipRouteConfig"), aname="_ipRouteConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IpRouteProfile",lazy=True)(pname=(ns,"consoleIpRouteConfig"), aname="_consoleIpRouteConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNicProfile",lazy=True)(pname=(ns,"pnic"), aname="_pnic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsProfile",lazy=True)(pname=(ns,"dvswitch"), aname="_dvswitch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsServiceConsoleVNicProfile",lazy=True)(pname=(ns,"dvsServiceConsoleNic"), aname="_dvsServiceConsoleNic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsHostVNicProfile",lazy=True)(pname=(ns,"dvsHostNic"), aname="_dvsHostNic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NsxHostVNicProfile",lazy=True)(pname=(ns,"nsxHostNic"), aname="_nsxHostNic", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetStackInstanceProfile",lazy=True)(pname=(ns,"netStackInstance"), aname="_netStackInstance", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.NetworkProfile_Def.__bases__:
                bases = list(ns0.NetworkProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.NetworkProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsVNicProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsVNicProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsVNicProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IpAddressProfile",lazy=True)(pname=(ns,"ipConfig"), aname="_ipConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.DvsVNicProfile_Def.__bases__:
                bases = list(ns0.DvsVNicProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.DvsVNicProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DvsServiceConsoleVNicProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsServiceConsoleVNicProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsServiceConsoleVNicProfile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsVNicProfile_Def not in ns0.DvsServiceConsoleVNicProfile_Def.__bases__:
                bases = list(ns0.DvsServiceConsoleVNicProfile_Def.__bases__)
                bases.insert(0, ns0.DvsVNicProfile_Def)
                ns0.DvsServiceConsoleVNicProfile_Def.__bases__ = tuple(bases)

            ns0.DvsVNicProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDvsServiceConsoleVNicProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDvsServiceConsoleVNicProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDvsServiceConsoleVNicProfile_Def.schema
            TClist = [GTD("urn:vim25","DvsServiceConsoleVNicProfile",lazy=True)(pname=(ns,"DvsServiceConsoleVNicProfile"), aname="_DvsServiceConsoleVNicProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DvsServiceConsoleVNicProfile = []
                    return
            Holder.__name__ = "ArrayOfDvsServiceConsoleVNicProfile_Holder"
            self.pyclass = Holder

    class DvsHostVNicProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsHostVNicProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsHostVNicProfile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DvsVNicProfile_Def not in ns0.DvsHostVNicProfile_Def.__bases__:
                bases = list(ns0.DvsHostVNicProfile_Def.__bases__)
                bases.insert(0, ns0.DvsVNicProfile_Def)
                ns0.DvsHostVNicProfile_Def.__bases__ = tuple(bases)

            ns0.DvsVNicProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDvsHostVNicProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDvsHostVNicProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDvsHostVNicProfile_Def.schema
            TClist = [GTD("urn:vim25","DvsHostVNicProfile",lazy=True)(pname=(ns,"DvsHostVNicProfile"), aname="_DvsHostVNicProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DvsHostVNicProfile = []
                    return
            Holder.__name__ = "ArrayOfDvsHostVNicProfile_Holder"
            self.pyclass = Holder

    class DvsProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DvsProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DvsProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PnicUplinkProfile",lazy=True)(pname=(ns,"uplink"), aname="_uplink", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.DvsProfile_Def.__bases__:
                bases = list(ns0.DvsProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.DvsProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfDvsProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfDvsProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfDvsProfile_Def.schema
            TClist = [GTD("urn:vim25","DvsProfile",lazy=True)(pname=(ns,"DvsProfile"), aname="_DvsProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._DvsProfile = []
                    return
            Holder.__name__ = "ArrayOfDvsProfile_Holder"
            self.pyclass = Holder

    class PnicUplinkProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PnicUplinkProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PnicUplinkProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.PnicUplinkProfile_Def.__bases__:
                bases = list(ns0.PnicUplinkProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.PnicUplinkProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPnicUplinkProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPnicUplinkProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPnicUplinkProfile_Def.schema
            TClist = [GTD("urn:vim25","PnicUplinkProfile",lazy=True)(pname=(ns,"PnicUplinkProfile"), aname="_PnicUplinkProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PnicUplinkProfile = []
                    return
            Holder.__name__ = "ArrayOfPnicUplinkProfile_Holder"
            self.pyclass = Holder

    class NsxHostVNicProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NsxHostVNicProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NsxHostVNicProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IpAddressProfile",lazy=True)(pname=(ns,"ipConfig"), aname="_ipConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.NsxHostVNicProfile_Def.__bases__:
                bases = list(ns0.NsxHostVNicProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.NsxHostVNicProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNsxHostVNicProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNsxHostVNicProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNsxHostVNicProfile_Def.schema
            TClist = [GTD("urn:vim25","NsxHostVNicProfile",lazy=True)(pname=(ns,"NsxHostVNicProfile"), aname="_NsxHostVNicProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NsxHostVNicProfile = []
                    return
            Holder.__name__ = "ArrayOfNsxHostVNicProfile_Holder"
            self.pyclass = Holder

    class IpRouteProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IpRouteProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IpRouteProfile_Def.schema
            TClist = [GTD("urn:vim25","StaticRouteProfile",lazy=True)(pname=(ns,"staticRoute"), aname="_staticRoute", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.IpRouteProfile_Def.__bases__:
                bases = list(ns0.IpRouteProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.IpRouteProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StaticRouteProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StaticRouteProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StaticRouteProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.StaticRouteProfile_Def.__bases__:
                bases = list(ns0.StaticRouteProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.StaticRouteProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfStaticRouteProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfStaticRouteProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfStaticRouteProfile_Def.schema
            TClist = [GTD("urn:vim25","StaticRouteProfile",lazy=True)(pname=(ns,"StaticRouteProfile"), aname="_StaticRouteProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._StaticRouteProfile = []
                    return
            Holder.__name__ = "ArrayOfStaticRouteProfile_Holder"
            self.pyclass = Holder

    class LinkProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "LinkProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.LinkProfile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.LinkProfile_Def.__bases__:
                bases = list(ns0.LinkProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.LinkProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NumPortsProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NumPortsProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NumPortsProfile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.NumPortsProfile_Def.__bases__:
                bases = list(ns0.NumPortsProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.NumPortsProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSwitchProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSwitchProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSwitchProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LinkProfile",lazy=True)(pname=(ns,"link"), aname="_link", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NumPortsProfile",lazy=True)(pname=(ns,"numPorts"), aname="_numPorts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetworkPolicyProfile",lazy=True)(pname=(ns,"networkPolicy"), aname="_networkPolicy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.VirtualSwitchProfile_Def.__bases__:
                bases = list(ns0.VirtualSwitchProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.VirtualSwitchProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualSwitchProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualSwitchProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualSwitchProfile_Def.schema
            TClist = [GTD("urn:vim25","VirtualSwitchProfile",lazy=True)(pname=(ns,"VirtualSwitchProfile"), aname="_VirtualSwitchProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualSwitchProfile = []
                    return
            Holder.__name__ = "ArrayOfVirtualSwitchProfile_Holder"
            self.pyclass = Holder

    class NetStackInstanceProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetStackInstanceProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetStackInstanceProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetworkProfileDnsConfigProfile",lazy=True)(pname=(ns,"dnsConfig"), aname="_dnsConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IpRouteProfile",lazy=True)(pname=(ns,"ipRouteConfig"), aname="_ipRouteConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.NetStackInstanceProfile_Def.__bases__:
                bases = list(ns0.NetStackInstanceProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.NetStackInstanceProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfNetStackInstanceProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfNetStackInstanceProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfNetStackInstanceProfile_Def.schema
            TClist = [GTD("urn:vim25","NetStackInstanceProfile",lazy=True)(pname=(ns,"NetStackInstanceProfile"), aname="_NetStackInstanceProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._NetStackInstanceProfile = []
                    return
            Holder.__name__ = "ArrayOfNetStackInstanceProfile_Holder"
            self.pyclass = Holder

    class VlanProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VlanProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VlanProfile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.VlanProfile_Def.__bases__:
                bases = list(ns0.VlanProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.VlanProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSwitchSelectionProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSwitchSelectionProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSwitchSelectionProfile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.VirtualSwitchSelectionProfile_Def.__bases__:
                bases = list(ns0.VirtualSwitchSelectionProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.VirtualSwitchSelectionProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PortGroupProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PortGroupProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PortGroupProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VlanProfile",lazy=True)(pname=(ns,"vlan"), aname="_vlan", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualSwitchSelectionProfile",lazy=True)(pname=(ns,"vswitch"), aname="_vswitch", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetworkPolicyProfile",lazy=True)(pname=(ns,"networkPolicy"), aname="_networkPolicy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.PortGroupProfile_Def.__bases__:
                bases = list(ns0.PortGroupProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.PortGroupProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmPortGroupProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmPortGroupProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmPortGroupProfile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PortGroupProfile_Def not in ns0.VmPortGroupProfile_Def.__bases__:
                bases = list(ns0.VmPortGroupProfile_Def.__bases__)
                bases.insert(0, ns0.PortGroupProfile_Def)
                ns0.VmPortGroupProfile_Def.__bases__ = tuple(bases)

            ns0.PortGroupProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVmPortGroupProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVmPortGroupProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVmPortGroupProfile_Def.schema
            TClist = [GTD("urn:vim25","VmPortGroupProfile",lazy=True)(pname=(ns,"VmPortGroupProfile"), aname="_VmPortGroupProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VmPortGroupProfile = []
                    return
            Holder.__name__ = "ArrayOfVmPortGroupProfile_Holder"
            self.pyclass = Holder

    class HostPortGroupProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostPortGroupProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostPortGroupProfile_Def.schema
            TClist = [GTD("urn:vim25","IpAddressProfile",lazy=True)(pname=(ns,"ipConfig"), aname="_ipConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PortGroupProfile_Def not in ns0.HostPortGroupProfile_Def.__bases__:
                bases = list(ns0.HostPortGroupProfile_Def.__bases__)
                bases.insert(0, ns0.PortGroupProfile_Def)
                ns0.HostPortGroupProfile_Def.__bases__ = tuple(bases)

            ns0.PortGroupProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostPortGroupProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostPortGroupProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostPortGroupProfile_Def.schema
            TClist = [GTD("urn:vim25","HostPortGroupProfile",lazy=True)(pname=(ns,"HostPortGroupProfile"), aname="_HostPortGroupProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostPortGroupProfile = []
                    return
            Holder.__name__ = "ArrayOfHostPortGroupProfile_Holder"
            self.pyclass = Holder

    class ServiceConsolePortGroupProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ServiceConsolePortGroupProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ServiceConsolePortGroupProfile_Def.schema
            TClist = [GTD("urn:vim25","IpAddressProfile",lazy=True)(pname=(ns,"ipConfig"), aname="_ipConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.PortGroupProfile_Def not in ns0.ServiceConsolePortGroupProfile_Def.__bases__:
                bases = list(ns0.ServiceConsolePortGroupProfile_Def.__bases__)
                bases.insert(0, ns0.PortGroupProfile_Def)
                ns0.ServiceConsolePortGroupProfile_Def.__bases__ = tuple(bases)

            ns0.PortGroupProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfServiceConsolePortGroupProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfServiceConsolePortGroupProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfServiceConsolePortGroupProfile_Def.schema
            TClist = [GTD("urn:vim25","ServiceConsolePortGroupProfile",lazy=True)(pname=(ns,"ServiceConsolePortGroupProfile"), aname="_ServiceConsolePortGroupProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ServiceConsolePortGroupProfile = []
                    return
            Holder.__name__ = "ArrayOfServiceConsolePortGroupProfile_Holder"
            self.pyclass = Holder

    class NetworkPolicyProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NetworkPolicyProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NetworkPolicyProfile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.NetworkPolicyProfile_Def.__bases__:
                bases = list(ns0.NetworkPolicyProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.NetworkPolicyProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IpAddressProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IpAddressProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IpAddressProfile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.IpAddressProfile_Def.__bases__:
                bases = list(ns0.IpAddressProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.IpAddressProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AuthenticationProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AuthenticationProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AuthenticationProfile_Def.schema
            TClist = [GTD("urn:vim25","ActiveDirectoryProfile",lazy=True)(pname=(ns,"activeDirectory"), aname="_activeDirectory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.AuthenticationProfile_Def.__bases__:
                bases = list(ns0.AuthenticationProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.AuthenticationProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ActiveDirectoryProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ActiveDirectoryProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ActiveDirectoryProfile_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.ActiveDirectoryProfile_Def.__bases__:
                bases = list(ns0.ActiveDirectoryProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.ActiveDirectoryProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PermissionProfile_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PermissionProfile")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PermissionProfile_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ApplyProfile_Def not in ns0.PermissionProfile_Def.__bases__:
                bases = list(ns0.PermissionProfile_Def.__bases__)
                bases.insert(0, ns0.ApplyProfile_Def)
                ns0.PermissionProfile_Def.__bases__ = tuple(bases)

            ns0.ApplyProfile_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPermissionProfile_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPermissionProfile")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPermissionProfile_Def.schema
            TClist = [GTD("urn:vim25","PermissionProfile",lazy=True)(pname=(ns,"PermissionProfile"), aname="_PermissionProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PermissionProfile = []
                    return
            Holder.__name__ = "ArrayOfPermissionProfile_Holder"
            self.pyclass = Holder

    class HostProfileConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProfileConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProfileConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"applyProfile"), aname="_applyProfile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ComplianceProfile",lazy=True)(pname=(ns,"defaultComplyProfile"), aname="_defaultComplyProfile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ComplianceLocator",lazy=True)(pname=(ns,"defaultComplyLocator"), aname="_defaultComplyLocator", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ComplianceProfile",lazy=True)(pname=(ns,"customComplyProfile"), aname="_customComplyProfile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"disabledExpressionList"), aname="_disabledExpressionList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileDescription",lazy=True)(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileConfigInfo_Def not in ns0.HostProfileConfigInfo_Def.__bases__:
                bases = list(ns0.HostProfileConfigInfo_Def.__bases__)
                bases.insert(0, ns0.ProfileConfigInfo_Def)
                ns0.HostProfileConfigInfo_Def.__bases__ = tuple(bases)

            ns0.ProfileConfigInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostProfileConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProfileConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProfileConfigSpec_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileCreateSpec_Def not in ns0.HostProfileConfigSpec_Def.__bases__:
                bases = list(ns0.HostProfileConfigSpec_Def.__bases__)
                bases.insert(0, ns0.ProfileCreateSpec_Def)
                ns0.HostProfileConfigSpec_Def.__bases__ = tuple(bases)

            ns0.ProfileCreateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostProfileSerializedHostProfileSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProfileSerializedHostProfileSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProfileSerializedHostProfileSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"validatorHost"), aname="_validatorHost", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"validating"), aname="_validating", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileSerializedCreateSpec_Def not in ns0.HostProfileSerializedHostProfileSpec_Def.__bases__:
                bases = list(ns0.HostProfileSerializedHostProfileSpec_Def.__bases__)
                bases.insert(0, ns0.ProfileSerializedCreateSpec_Def)
                ns0.HostProfileSerializedHostProfileSpec_Def.__bases__ = tuple(bases)

            ns0.ProfileSerializedCreateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostProfileCompleteConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProfileCompleteConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProfileCompleteConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"applyProfile"), aname="_applyProfile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ComplianceProfile",lazy=True)(pname=(ns,"customComplyProfile"), aname="_customComplyProfile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"disabledExpressionListChanged"), aname="_disabledExpressionListChanged", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"disabledExpressionList"), aname="_disabledExpressionList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"validatorHost"), aname="_validatorHost", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"validating"), aname="_validating", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostProfileConfigInfo",lazy=True)(pname=(ns,"hostConfig"), aname="_hostConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostProfileConfigSpec_Def not in ns0.HostProfileCompleteConfigSpec_Def.__bases__:
                bases = list(ns0.HostProfileCompleteConfigSpec_Def.__bases__)
                bases.insert(0, ns0.HostProfileConfigSpec_Def)
                ns0.HostProfileCompleteConfigSpec_Def.__bases__ = tuple(bases)

            ns0.HostProfileConfigSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostProfileHostBasedConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProfileHostBasedConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProfileHostBasedConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"useHostProfileEngine"), aname="_useHostProfileEngine", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostProfileConfigSpec_Def not in ns0.HostProfileHostBasedConfigSpec_Def.__bases__:
                bases = list(ns0.HostProfileHostBasedConfigSpec_Def.__bases__)
                bases.insert(0, ns0.HostProfileConfigSpec_Def)
                ns0.HostProfileHostBasedConfigSpec_Def.__bases__ = tuple(bases)

            ns0.HostProfileConfigSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostProfileValidationState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostProfileValidationState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostProfileValidationFailureInfoUpdateType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostProfileValidationFailureInfoUpdateType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostProfileValidationFailureInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProfileValidationFailureInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProfileValidationFailureInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"annotation"), aname="_annotation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"updateType"), aname="_updateType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"applyProfile"), aname="_applyProfile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileUpdateFailedUpdateFailure",lazy=True)(pname=(ns,"failures"), aname="_failures", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"faults"), aname="_faults", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostProfileValidationFailureInfo_Def.__bases__:
                bases = list(ns0.HostProfileValidationFailureInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostProfileValidationFailureInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSpecification_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSpecification")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSpecification_Def.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"createdTime"), aname="_createdTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"lastModified"), aname="_lastModified", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSubSpecification",lazy=True)(pname=(ns,"subSpecs"), aname="_subSpecs", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"changeID"), aname="_changeID", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSpecification_Def.__bases__:
                bases = list(ns0.HostSpecification_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSpecification_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostSubSpecification_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostSubSpecification")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostSubSpecification_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"createdTime"), aname="_createdTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"data"), aname="_data", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Base64String(pname=(ns,"binaryData"), aname="_binaryData", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostSubSpecification_Def.__bases__:
                bases = list(ns0.HostSubSpecification_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostSubSpecification_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostSubSpecification_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostSubSpecification")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostSubSpecification_Def.schema
            TClist = [GTD("urn:vim25","HostSubSpecification",lazy=True)(pname=(ns,"HostSubSpecification"), aname="_HostSubSpecification", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostSubSpecification = []
                    return
            Holder.__name__ = "ArrayOfHostSubSpecification_Holder"
            self.pyclass = Holder

    class HostProfileManagerTaskListRequirement_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostProfileManagerTaskListRequirement")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostProfileManagerConfigTaskList_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProfileManagerConfigTaskList")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProfileManagerConfigTaskList_Def.schema
            TClist = [GTD("urn:vim25","HostConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"taskDescription"), aname="_taskDescription", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"taskListRequirement"), aname="_taskListRequirement", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostProfileManagerConfigTaskList_Def.__bases__:
                bases = list(ns0.HostProfileManagerConfigTaskList_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostProfileManagerConfigTaskList_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AnswerFileCreateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AnswerFileCreateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AnswerFileCreateSpec_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"validating"), aname="_validating", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.AnswerFileCreateSpec_Def.__bases__:
                bases = list(ns0.AnswerFileCreateSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.AnswerFileCreateSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AnswerFileOptionsCreateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AnswerFileOptionsCreateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AnswerFileOptionsCreateSpec_Def.schema
            TClist = [GTD("urn:vim25","ProfileDeferredPolicyOptionParameter",lazy=True)(pname=(ns,"userInput"), aname="_userInput", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AnswerFileCreateSpec_Def not in ns0.AnswerFileOptionsCreateSpec_Def.__bases__:
                bases = list(ns0.AnswerFileOptionsCreateSpec_Def.__bases__)
                bases.insert(0, ns0.AnswerFileCreateSpec_Def)
                ns0.AnswerFileOptionsCreateSpec_Def.__bases__ = tuple(bases)

            ns0.AnswerFileCreateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AnswerFileSerializedCreateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AnswerFileSerializedCreateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AnswerFileSerializedCreateSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"answerFileConfigString"), aname="_answerFileConfigString", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.AnswerFileCreateSpec_Def not in ns0.AnswerFileSerializedCreateSpec_Def.__bases__:
                bases = list(ns0.AnswerFileSerializedCreateSpec_Def.__bases__)
                bases.insert(0, ns0.AnswerFileCreateSpec_Def)
                ns0.AnswerFileSerializedCreateSpec_Def.__bases__ = tuple(bases)

            ns0.AnswerFileCreateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostProfileManagerAnswerFileStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostProfileManagerAnswerFileStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostProfilesEntityCustomizations_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProfilesEntityCustomizations")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProfilesEntityCustomizations_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostProfilesEntityCustomizations_Def.__bases__:
                bases = list(ns0.HostProfilesEntityCustomizations_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostProfilesEntityCustomizations_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostProfilesEntityCustomizations_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostProfilesEntityCustomizations")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostProfilesEntityCustomizations_Def.schema
            TClist = [GTD("urn:vim25","HostProfilesEntityCustomizations",lazy=True)(pname=(ns,"HostProfilesEntityCustomizations"), aname="_HostProfilesEntityCustomizations", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostProfilesEntityCustomizations = []
                    return
            Holder.__name__ = "ArrayOfHostProfilesEntityCustomizations_Holder"
            self.pyclass = Holder

    class StructuredCustomizations_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StructuredCustomizations")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StructuredCustomizations_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AnswerFile",lazy=True)(pname=(ns,"customizations"), aname="_customizations", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HostProfilesEntityCustomizations_Def not in ns0.StructuredCustomizations_Def.__bases__:
                bases = list(ns0.StructuredCustomizations_Def.__bases__)
                bases.insert(0, ns0.HostProfilesEntityCustomizations_Def)
                ns0.StructuredCustomizations_Def.__bases__ = tuple(bases)

            ns0.HostProfilesEntityCustomizations_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfStructuredCustomizations_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfStructuredCustomizations")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfStructuredCustomizations_Def.schema
            TClist = [GTD("urn:vim25","StructuredCustomizations",lazy=True)(pname=(ns,"StructuredCustomizations"), aname="_StructuredCustomizations", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._StructuredCustomizations = []
                    return
            Holder.__name__ = "ArrayOfStructuredCustomizations_Holder"
            self.pyclass = Holder

    class HostProfileManagerHostToConfigSpecMap_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProfileManagerHostToConfigSpecMap")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProfileManagerHostToConfigSpecMap_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AnswerFileCreateSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostProfileManagerHostToConfigSpecMap_Def.__bases__:
                bases = list(ns0.HostProfileManagerHostToConfigSpecMap_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostProfileManagerHostToConfigSpecMap_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostProfileManagerHostToConfigSpecMap_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostProfileManagerHostToConfigSpecMap")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostProfileManagerHostToConfigSpecMap_Def.schema
            TClist = [GTD("urn:vim25","HostProfileManagerHostToConfigSpecMap",lazy=True)(pname=(ns,"HostProfileManagerHostToConfigSpecMap"), aname="_HostProfileManagerHostToConfigSpecMap", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostProfileManagerHostToConfigSpecMap = []
                    return
            Holder.__name__ = "ArrayOfHostProfileManagerHostToConfigSpecMap_Holder"
            self.pyclass = Holder

    class ApplyHostProfileConfigurationSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ApplyHostProfileConfigurationSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ApplyHostProfileConfigurationSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"taskListRequirement"), aname="_taskListRequirement", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"taskDescription"), aname="_taskDescription", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"rebootStateless"), aname="_rebootStateless", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"rebootHost"), aname="_rebootHost", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"faultData"), aname="_faultData", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ProfileExecuteResult_Def not in ns0.ApplyHostProfileConfigurationSpec_Def.__bases__:
                bases = list(ns0.ApplyHostProfileConfigurationSpec_Def.__bases__)
                bases.insert(0, ns0.ProfileExecuteResult_Def)
                ns0.ApplyHostProfileConfigurationSpec_Def.__bases__ = tuple(bases)

            ns0.ProfileExecuteResult_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfApplyHostProfileConfigurationSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfApplyHostProfileConfigurationSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfApplyHostProfileConfigurationSpec_Def.schema
            TClist = [GTD("urn:vim25","ApplyHostProfileConfigurationSpec",lazy=True)(pname=(ns,"ApplyHostProfileConfigurationSpec"), aname="_ApplyHostProfileConfigurationSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ApplyHostProfileConfigurationSpec = []
                    return
            Holder.__name__ = "ArrayOfApplyHostProfileConfigurationSpec_Holder"
            self.pyclass = Holder

    class ApplyHostProfileConfigurationResultStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ApplyHostProfileConfigurationResultStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ApplyHostProfileConfigurationResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ApplyHostProfileConfigurationResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ApplyHostProfileConfigurationResult_Def.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"startTime"), aname="_startTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"completeTime"), aname="_completeTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"errors"), aname="_errors", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ApplyHostProfileConfigurationResult_Def.__bases__:
                bases = list(ns0.ApplyHostProfileConfigurationResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ApplyHostProfileConfigurationResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfApplyHostProfileConfigurationResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfApplyHostProfileConfigurationResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfApplyHostProfileConfigurationResult_Def.schema
            TClist = [GTD("urn:vim25","ApplyHostProfileConfigurationResult",lazy=True)(pname=(ns,"ApplyHostProfileConfigurationResult"), aname="_ApplyHostProfileConfigurationResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ApplyHostProfileConfigurationResult = []
                    return
            Holder.__name__ = "ArrayOfApplyHostProfileConfigurationResult_Holder"
            self.pyclass = Holder

    class HostProfileManagerCompositionValidationResultResultElementStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostProfileManagerCompositionValidationResultResultElementStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostProfileManagerCompositionValidationResultResultElement_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProfileManagerCompositionValidationResultResultElement")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProfileManagerCompositionValidationResultResultElement_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"target"), aname="_target", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"errors"), aname="_errors", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"sourceDiffForToBeMerged"), aname="_sourceDiffForToBeMerged", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"targetDiffForToBeMerged"), aname="_targetDiffForToBeMerged", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"toBeAdded"), aname="_toBeAdded", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"toBeDeleted"), aname="_toBeDeleted", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"toBeDisabled"), aname="_toBeDisabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"toBeEnabled"), aname="_toBeEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"toBeReenableCC"), aname="_toBeReenableCC", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostProfileManagerCompositionValidationResultResultElement_Def.__bases__:
                bases = list(ns0.HostProfileManagerCompositionValidationResultResultElement_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostProfileManagerCompositionValidationResultResultElement_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostProfileManagerCompositionValidationResultResultElement_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostProfileManagerCompositionValidationResultResultElement")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostProfileManagerCompositionValidationResultResultElement_Def.schema
            TClist = [GTD("urn:vim25","HostProfileManagerCompositionValidationResultResultElement",lazy=True)(pname=(ns,"HostProfileManagerCompositionValidationResultResultElement"), aname="_HostProfileManagerCompositionValidationResultResultElement", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostProfileManagerCompositionValidationResultResultElement = []
                    return
            Holder.__name__ = "ArrayOfHostProfileManagerCompositionValidationResultResultElement_Holder"
            self.pyclass = Holder

    class HostProfileManagerCompositionValidationResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProfileManagerCompositionValidationResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProfileManagerCompositionValidationResult_Def.schema
            TClist = [GTD("urn:vim25","HostProfileManagerCompositionValidationResultResultElement",lazy=True)(pname=(ns,"results"), aname="_results", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"errors"), aname="_errors", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostProfileManagerCompositionValidationResult_Def.__bases__:
                bases = list(ns0.HostProfileManagerCompositionValidationResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostProfileManagerCompositionValidationResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostProfileManagerCompositionResultResultElementStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostProfileManagerCompositionResultResultElementStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class HostProfileManagerCompositionResultResultElement_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProfileManagerCompositionResultResultElement")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProfileManagerCompositionResultResultElement_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"target"), aname="_target", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"status"), aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"errors"), aname="_errors", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostProfileManagerCompositionResultResultElement_Def.__bases__:
                bases = list(ns0.HostProfileManagerCompositionResultResultElement_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostProfileManagerCompositionResultResultElement_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostProfileManagerCompositionResultResultElement_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostProfileManagerCompositionResultResultElement")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostProfileManagerCompositionResultResultElement_Def.schema
            TClist = [GTD("urn:vim25","HostProfileManagerCompositionResultResultElement",lazy=True)(pname=(ns,"HostProfileManagerCompositionResultResultElement"), aname="_HostProfileManagerCompositionResultResultElement", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostProfileManagerCompositionResultResultElement = []
                    return
            Holder.__name__ = "ArrayOfHostProfileManagerCompositionResultResultElement_Holder"
            self.pyclass = Holder

    class HostProfileManagerCompositionResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostProfileManagerCompositionResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostProfileManagerCompositionResult_Def.schema
            TClist = [GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"errors"), aname="_errors", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostProfileManagerCompositionResultResultElement",lazy=True)(pname=(ns,"results"), aname="_results", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostProfileManagerCompositionResult_Def.__bases__:
                bases = list(ns0.HostProfileManagerCompositionResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostProfileManagerCompositionResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AnswerFileValidationInfoStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AnswerFileValidationInfoStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ScheduledTaskDetail_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledTaskDetail")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledTaskDetail_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"frequency"), aname="_frequency", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.TypeDescription_Def not in ns0.ScheduledTaskDetail_Def.__bases__:
                bases = list(ns0.ScheduledTaskDetail_Def.__bases__)
                bases.insert(0, ns0.TypeDescription_Def)
                ns0.ScheduledTaskDetail_Def.__bases__ = tuple(bases)

            ns0.TypeDescription_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfScheduledTaskDetail_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfScheduledTaskDetail")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfScheduledTaskDetail_Def.schema
            TClist = [GTD("urn:vim25","ScheduledTaskDetail",lazy=True)(pname=(ns,"ScheduledTaskDetail"), aname="_ScheduledTaskDetail", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ScheduledTaskDetail = []
                    return
            Holder.__name__ = "ArrayOfScheduledTaskDetail_Holder"
            self.pyclass = Holder

    class ScheduledTaskDescription_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledTaskDescription")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledTaskDescription_Def.schema
            TClist = [GTD("urn:vim25","TypeDescription",lazy=True)(pname=(ns,"action"), aname="_action", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ScheduledTaskDetail",lazy=True)(pname=(ns,"schedulerInfo"), aname="_schedulerInfo", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"dayOfWeek"), aname="_dayOfWeek", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ElementDescription",lazy=True)(pname=(ns,"weekOfMonth"), aname="_weekOfMonth", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ScheduledTaskDescription_Def.__bases__:
                bases = list(ns0.ScheduledTaskDescription_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ScheduledTaskDescription_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ScheduledTaskInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledTaskInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledTaskInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"scheduledTask"), aname="_scheduledTask", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"lastModifiedTime"), aname="_lastModifiedTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lastModifiedUser"), aname="_lastModifiedUser", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"nextRunTime"), aname="_nextRunTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"prevRunTime"), aname="_prevRunTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","TaskInfoState",lazy=True)(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.AnyType(pname=(ns,"result"), aname="_result", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"progress"), aname="_progress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"activeTask"), aname="_activeTask", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"taskObject"), aname="_taskObject", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ScheduledTaskSpec_Def not in ns0.ScheduledTaskInfo_Def.__bases__:
                bases = list(ns0.ScheduledTaskInfo_Def.__bases__)
                bases.insert(0, ns0.ScheduledTaskSpec_Def)
                ns0.ScheduledTaskInfo_Def.__bases__ = tuple(bases)

            ns0.ScheduledTaskSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TaskScheduler_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TaskScheduler")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TaskScheduler_Def.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"activeTime"), aname="_activeTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"expireTime"), aname="_expireTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.TaskScheduler_Def.__bases__:
                bases = list(ns0.TaskScheduler_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.TaskScheduler_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class AfterStartupTaskScheduler_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "AfterStartupTaskScheduler")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.AfterStartupTaskScheduler_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"minute"), aname="_minute", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.TaskScheduler_Def not in ns0.AfterStartupTaskScheduler_Def.__bases__:
                bases = list(ns0.AfterStartupTaskScheduler_Def.__bases__)
                bases.insert(0, ns0.TaskScheduler_Def)
                ns0.AfterStartupTaskScheduler_Def.__bases__ = tuple(bases)

            ns0.TaskScheduler_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OnceTaskScheduler_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OnceTaskScheduler")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OnceTaskScheduler_Def.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"runAt"), aname="_runAt", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.TaskScheduler_Def not in ns0.OnceTaskScheduler_Def.__bases__:
                bases = list(ns0.OnceTaskScheduler_Def.__bases__)
                bases.insert(0, ns0.TaskScheduler_Def)
                ns0.OnceTaskScheduler_Def.__bases__ = tuple(bases)

            ns0.TaskScheduler_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RecurrentTaskScheduler_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RecurrentTaskScheduler")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RecurrentTaskScheduler_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"interval"), aname="_interval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.TaskScheduler_Def not in ns0.RecurrentTaskScheduler_Def.__bases__:
                bases = list(ns0.RecurrentTaskScheduler_Def.__bases__)
                bases.insert(0, ns0.TaskScheduler_Def)
                ns0.RecurrentTaskScheduler_Def.__bases__ = tuple(bases)

            ns0.TaskScheduler_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HourlyTaskScheduler_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HourlyTaskScheduler")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HourlyTaskScheduler_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"minute"), aname="_minute", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.RecurrentTaskScheduler_Def not in ns0.HourlyTaskScheduler_Def.__bases__:
                bases = list(ns0.HourlyTaskScheduler_Def.__bases__)
                bases.insert(0, ns0.RecurrentTaskScheduler_Def)
                ns0.HourlyTaskScheduler_Def.__bases__ = tuple(bases)

            ns0.RecurrentTaskScheduler_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DailyTaskScheduler_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DailyTaskScheduler")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DailyTaskScheduler_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"hour"), aname="_hour", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.HourlyTaskScheduler_Def not in ns0.DailyTaskScheduler_Def.__bases__:
                bases = list(ns0.DailyTaskScheduler_Def.__bases__)
                bases.insert(0, ns0.HourlyTaskScheduler_Def)
                ns0.DailyTaskScheduler_Def.__bases__ = tuple(bases)

            ns0.HourlyTaskScheduler_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class WeeklyTaskScheduler_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "WeeklyTaskScheduler")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.WeeklyTaskScheduler_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"sunday"), aname="_sunday", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"monday"), aname="_monday", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"tuesday"), aname="_tuesday", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"wednesday"), aname="_wednesday", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"thursday"), aname="_thursday", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"friday"), aname="_friday", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"saturday"), aname="_saturday", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DailyTaskScheduler_Def not in ns0.WeeklyTaskScheduler_Def.__bases__:
                bases = list(ns0.WeeklyTaskScheduler_Def.__bases__)
                bases.insert(0, ns0.DailyTaskScheduler_Def)
                ns0.WeeklyTaskScheduler_Def.__bases__ = tuple(bases)

            ns0.DailyTaskScheduler_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MonthlyTaskScheduler_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MonthlyTaskScheduler")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MonthlyTaskScheduler_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DailyTaskScheduler_Def not in ns0.MonthlyTaskScheduler_Def.__bases__:
                bases = list(ns0.MonthlyTaskScheduler_Def.__bases__)
                bases.insert(0, ns0.DailyTaskScheduler_Def)
                ns0.MonthlyTaskScheduler_Def.__bases__ = tuple(bases)

            ns0.DailyTaskScheduler_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class MonthlyByDayTaskScheduler_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MonthlyByDayTaskScheduler")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MonthlyByDayTaskScheduler_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"day"), aname="_day", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MonthlyTaskScheduler_Def not in ns0.MonthlyByDayTaskScheduler_Def.__bases__:
                bases = list(ns0.MonthlyByDayTaskScheduler_Def.__bases__)
                bases.insert(0, ns0.MonthlyTaskScheduler_Def)
                ns0.MonthlyByDayTaskScheduler_Def.__bases__ = tuple(bases)

            ns0.MonthlyTaskScheduler_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DayOfWeek_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DayOfWeek")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class WeekOfMonth_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "WeekOfMonth")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class MonthlyByWeekdayTaskScheduler_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "MonthlyByWeekdayTaskScheduler")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.MonthlyByWeekdayTaskScheduler_Def.schema
            TClist = [GTD("urn:vim25","WeekOfMonth",lazy=True)(pname=(ns,"offset"), aname="_offset", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DayOfWeek",lazy=True)(pname=(ns,"weekday"), aname="_weekday", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.MonthlyTaskScheduler_Def not in ns0.MonthlyByWeekdayTaskScheduler_Def.__bases__:
                bases = list(ns0.MonthlyByWeekdayTaskScheduler_Def.__bases__)
                bases.insert(0, ns0.MonthlyTaskScheduler_Def)
                ns0.MonthlyByWeekdayTaskScheduler_Def.__bases__ = tuple(bases)

            ns0.MonthlyTaskScheduler_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ScheduledTaskSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledTaskSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledTaskSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","TaskScheduler",lazy=True)(pname=(ns,"scheduler"), aname="_scheduler", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Action",lazy=True)(pname=(ns,"action"), aname="_action", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"notification"), aname="_notification", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ScheduledTaskSpec_Def.__bases__:
                bases = list(ns0.ScheduledTaskSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ScheduledTaskSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ApplyStorageRecommendationResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ApplyStorageRecommendationResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ApplyStorageRecommendationResult_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ApplyStorageRecommendationResult_Def.__bases__:
                bases = list(ns0.ApplyStorageRecommendationResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ApplyStorageRecommendationResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","StorageDrsPodConfigInfo",lazy=True)(pname=(ns,"podConfig"), aname="_podConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageDrsVmConfigInfo",lazy=True)(pname=(ns,"vmConfig"), aname="_vmConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageDrsConfigInfo_Def.__bases__:
                bases = list(ns0.StorageDrsConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageDrsConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","StorageDrsPodConfigSpec",lazy=True)(pname=(ns,"podConfigSpec"), aname="_podConfigSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageDrsVmConfigSpec",lazy=True)(pname=(ns,"vmConfigSpec"), aname="_vmConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageDrsConfigSpec_Def.__bases__:
                bases = list(ns0.StorageDrsConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageDrsConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsVmConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsVmConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsVmConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","StorageDrsVmConfigInfo",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ArrayUpdateSpec_Def not in ns0.StorageDrsVmConfigSpec_Def.__bases__:
                bases = list(ns0.StorageDrsVmConfigSpec_Def.__bases__)
                bases.insert(0, ns0.ArrayUpdateSpec_Def)
                ns0.StorageDrsVmConfigSpec_Def.__bases__ = tuple(bases)

            ns0.ArrayUpdateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfStorageDrsVmConfigSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfStorageDrsVmConfigSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfStorageDrsVmConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","StorageDrsVmConfigSpec",lazy=True)(pname=(ns,"StorageDrsVmConfigSpec"), aname="_StorageDrsVmConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._StorageDrsVmConfigSpec = []
                    return
            Holder.__name__ = "ArrayOfStorageDrsVmConfigSpec_Holder"
            self.pyclass = Holder

    class HbrDiskMigrationAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HbrDiskMigrationAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HbrDiskMigrationAction_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"collectionId"), aname="_collectionId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"collectionName"), aname="_collectionName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diskIds"), aname="_diskIds", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"source"), aname="_source", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"destination"), aname="_destination", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"sizeTransferred"), aname="_sizeTransferred", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"spaceUtilSrcBefore"), aname="_spaceUtilSrcBefore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"spaceUtilDstBefore"), aname="_spaceUtilDstBefore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"spaceUtilSrcAfter"), aname="_spaceUtilSrcAfter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"spaceUtilDstAfter"), aname="_spaceUtilDstAfter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"ioLatencySrcBefore"), aname="_ioLatencySrcBefore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"ioLatencyDstBefore"), aname="_ioLatencyDstBefore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterAction_Def not in ns0.HbrDiskMigrationAction_Def.__bases__:
                bases = list(ns0.HbrDiskMigrationAction_Def.__bases__)
                bases.insert(0, ns0.ClusterAction_Def)
                ns0.HbrDiskMigrationAction_Def.__bases__ = tuple(bases)

            ns0.ClusterAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PlacementAffinityRuleRuleType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PlacementAffinityRuleRuleType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class PlacementAffinityRuleRuleScope_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PlacementAffinityRuleRuleScope")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class PlacementAffinityRule_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PlacementAffinityRule")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PlacementAffinityRule_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ruleType"), aname="_ruleType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ruleScope"), aname="_ruleScope", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vms"), aname="_vms", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"keys"), aname="_keys", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PlacementAffinityRule_Def.__bases__:
                bases = list(ns0.PlacementAffinityRule_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PlacementAffinityRule_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPlacementAffinityRule_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPlacementAffinityRule")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPlacementAffinityRule_Def.schema
            TClist = [GTD("urn:vim25","PlacementAffinityRule",lazy=True)(pname=(ns,"PlacementAffinityRule"), aname="_PlacementAffinityRule", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PlacementAffinityRule = []
                    return
            Holder.__name__ = "ArrayOfPlacementAffinityRule_Holder"
            self.pyclass = Holder

    class PlacementRankResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PlacementRankResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PlacementRankResult_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"candidate"), aname="_candidate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"reservedSpaceMB"), aname="_reservedSpaceMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"usedSpaceMB"), aname="_usedSpaceMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"totalSpaceMB"), aname="_totalSpaceMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPdouble(pname=(ns,"utilization"), aname="_utilization", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"faults"), aname="_faults", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PlacementRankResult_Def.__bases__:
                bases = list(ns0.PlacementRankResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PlacementRankResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PlacementRankSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PlacementRankSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PlacementRankSpec_Def.schema
            TClist = [GTD("urn:vim25","PlacementSpec",lazy=True)(pname=(ns,"specs"), aname="_specs", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"clusters"), aname="_clusters", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PlacementAffinityRule",lazy=True)(pname=(ns,"rules"), aname="_rules", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageDrsPlacementRankVmSpec",lazy=True)(pname=(ns,"placementRankByVm"), aname="_placementRankByVm", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PlacementRankSpec_Def.__bases__:
                bases = list(ns0.PlacementRankSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PlacementRankSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsPlacementRankVmSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsPlacementRankVmSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsPlacementRankVmSpec_Def.schema
            TClist = [GTD("urn:vim25","PlacementSpec",lazy=True)(pname=(ns,"vmPlacementSpec"), aname="_vmPlacementSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vmClusters"), aname="_vmClusters", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageDrsPlacementRankVmSpec_Def.__bases__:
                bases = list(ns0.StorageDrsPlacementRankVmSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageDrsPlacementRankVmSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfStorageDrsPlacementRankVmSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfStorageDrsPlacementRankVmSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfStorageDrsPlacementRankVmSpec_Def.schema
            TClist = [GTD("urn:vim25","StorageDrsPlacementRankVmSpec",lazy=True)(pname=(ns,"StorageDrsPlacementRankVmSpec"), aname="_StorageDrsPlacementRankVmSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._StorageDrsPlacementRankVmSpec = []
                    return
            Holder.__name__ = "ArrayOfStorageDrsPlacementRankVmSpec_Holder"
            self.pyclass = Holder

    class StorageDrsPodConfigInfoBehavior_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StorageDrsPodConfigInfoBehavior")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class StorageDrsPodConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsPodConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsPodConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ioLoadBalanceEnabled"), aname="_ioLoadBalanceEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"defaultVmBehavior"), aname="_defaultVmBehavior", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"loadBalanceInterval"), aname="_loadBalanceInterval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"defaultIntraVmAffinity"), aname="_defaultIntraVmAffinity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageDrsSpaceLoadBalanceConfig",lazy=True)(pname=(ns,"spaceLoadBalanceConfig"), aname="_spaceLoadBalanceConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageDrsIoLoadBalanceConfig",lazy=True)(pname=(ns,"ioLoadBalanceConfig"), aname="_ioLoadBalanceConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageDrsAutomationConfig",lazy=True)(pname=(ns,"automationOverrides"), aname="_automationOverrides", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterRuleInfo",lazy=True)(pname=(ns,"rule"), aname="_rule", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"option"), aname="_option", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageDrsPodConfigInfo_Def.__bases__:
                bases = list(ns0.StorageDrsPodConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageDrsPodConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class StorageDrsSpaceLoadBalanceConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsSpaceLoadBalanceConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsSpaceLoadBalanceConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"spaceThresholdMode"), aname="_spaceThresholdMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"spaceUtilizationThreshold"), aname="_spaceUtilizationThreshold", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"freeSpaceThresholdGB"), aname="_freeSpaceThresholdGB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"minSpaceUtilizationDifference"), aname="_minSpaceUtilizationDifference", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageDrsSpaceLoadBalanceConfig_Def.__bases__:
                bases = list(ns0.StorageDrsSpaceLoadBalanceConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageDrsSpaceLoadBalanceConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsIoLoadBalanceConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsIoLoadBalanceConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsIoLoadBalanceConfig_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"reservablePercentThreshold"), aname="_reservablePercentThreshold", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"reservableIopsThreshold"), aname="_reservableIopsThreshold", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reservableThresholdMode"), aname="_reservableThresholdMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"ioLatencyThreshold"), aname="_ioLatencyThreshold", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"ioLoadImbalanceThreshold"), aname="_ioLoadImbalanceThreshold", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageDrsIoLoadBalanceConfig_Def.__bases__:
                bases = list(ns0.StorageDrsIoLoadBalanceConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageDrsIoLoadBalanceConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsAutomationConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsAutomationConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsAutomationConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"spaceLoadBalanceAutomationMode"), aname="_spaceLoadBalanceAutomationMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ioLoadBalanceAutomationMode"), aname="_ioLoadBalanceAutomationMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ruleEnforcementAutomationMode"), aname="_ruleEnforcementAutomationMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"policyEnforcementAutomationMode"), aname="_policyEnforcementAutomationMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmEvacuationAutomationMode"), aname="_vmEvacuationAutomationMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageDrsAutomationConfig_Def.__bases__:
                bases = list(ns0.StorageDrsAutomationConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageDrsAutomationConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsPodConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsPodConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsPodConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ioLoadBalanceEnabled"), aname="_ioLoadBalanceEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"defaultVmBehavior"), aname="_defaultVmBehavior", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"loadBalanceInterval"), aname="_loadBalanceInterval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"defaultIntraVmAffinity"), aname="_defaultIntraVmAffinity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageDrsSpaceLoadBalanceConfig",lazy=True)(pname=(ns,"spaceLoadBalanceConfig"), aname="_spaceLoadBalanceConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageDrsIoLoadBalanceConfig",lazy=True)(pname=(ns,"ioLoadBalanceConfig"), aname="_ioLoadBalanceConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageDrsAutomationConfig",lazy=True)(pname=(ns,"automationOverrides"), aname="_automationOverrides", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterRuleSpec",lazy=True)(pname=(ns,"rule"), aname="_rule", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageDrsOptionSpec",lazy=True)(pname=(ns,"option"), aname="_option", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageDrsPodConfigSpec_Def.__bases__:
                bases = list(ns0.StorageDrsPodConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageDrsPodConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageDrsOptionSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsOptionSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsOptionSpec_Def.schema
            TClist = [GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"option"), aname="_option", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ArrayUpdateSpec_Def not in ns0.StorageDrsOptionSpec_Def.__bases__:
                bases = list(ns0.StorageDrsOptionSpec_Def.__bases__)
                bases.insert(0, ns0.ArrayUpdateSpec_Def)
                ns0.StorageDrsOptionSpec_Def.__bases__ = tuple(bases)

            ns0.ArrayUpdateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfStorageDrsOptionSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfStorageDrsOptionSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfStorageDrsOptionSpec_Def.schema
            TClist = [GTD("urn:vim25","StorageDrsOptionSpec",lazy=True)(pname=(ns,"StorageDrsOptionSpec"), aname="_StorageDrsOptionSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._StorageDrsOptionSpec = []
                    return
            Holder.__name__ = "ArrayOfStorageDrsOptionSpec_Holder"
            self.pyclass = Holder

    class VmPodConfigForPlacement_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmPodConfigForPlacement")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmPodConfigForPlacement_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"storagePod"), aname="_storagePod", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PodDiskLocator",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageDrsVmConfigInfo",lazy=True)(pname=(ns,"vmConfig"), aname="_vmConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterRuleInfo",lazy=True)(pname=(ns,"interVmRule"), aname="_interVmRule", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VmPodConfigForPlacement_Def.__bases__:
                bases = list(ns0.VmPodConfigForPlacement_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VmPodConfigForPlacement_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVmPodConfigForPlacement_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVmPodConfigForPlacement")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVmPodConfigForPlacement_Def.schema
            TClist = [GTD("urn:vim25","VmPodConfigForPlacement",lazy=True)(pname=(ns,"VmPodConfigForPlacement"), aname="_VmPodConfigForPlacement", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VmPodConfigForPlacement = []
                    return
            Holder.__name__ = "ArrayOfVmPodConfigForPlacement_Holder"
            self.pyclass = Holder

    class PodDiskLocator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PodDiskLocator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PodDiskLocator_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"diskId"), aname="_diskId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diskMoveType"), aname="_diskMoveType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDeviceBackingInfo",lazy=True)(pname=(ns,"diskBackingInfo"), aname="_diskBackingInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.PodDiskLocator_Def.__bases__:
                bases = list(ns0.PodDiskLocator_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.PodDiskLocator_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfPodDiskLocator_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfPodDiskLocator")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfPodDiskLocator_Def.schema
            TClist = [GTD("urn:vim25","PodDiskLocator",lazy=True)(pname=(ns,"PodDiskLocator"), aname="_PodDiskLocator", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._PodDiskLocator = []
                    return
            Holder.__name__ = "ArrayOfPodDiskLocator_Holder"
            self.pyclass = Holder

    class StorageDrsPodSelectionSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsPodSelectionSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsPodSelectionSpec_Def.schema
            TClist = [GTD("urn:vim25","VmPodConfigForPlacement",lazy=True)(pname=(ns,"initialVmConfig"), aname="_initialVmConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"storagePod"), aname="_storagePod", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageDrsPodSelectionSpec_Def.__bases__:
                bases = list(ns0.StorageDrsPodSelectionSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageDrsPodSelectionSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StorageMigrationAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageMigrationAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageMigrationAction_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineRelocateSpec",lazy=True)(pname=(ns,"relocateSpec"), aname="_relocateSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"source"), aname="_source", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"destination"), aname="_destination", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"sizeTransferred"), aname="_sizeTransferred", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"spaceUtilSrcBefore"), aname="_spaceUtilSrcBefore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"spaceUtilDstBefore"), aname="_spaceUtilDstBefore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"spaceUtilSrcAfter"), aname="_spaceUtilSrcAfter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"spaceUtilDstAfter"), aname="_spaceUtilDstAfter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"ioLatencySrcBefore"), aname="_ioLatencySrcBefore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"ioLatencyDstBefore"), aname="_ioLatencyDstBefore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterAction_Def not in ns0.StorageMigrationAction_Def.__bases__:
                bases = list(ns0.StorageMigrationAction_Def.__bases__)
                bases.insert(0, ns0.ClusterAction_Def)
                ns0.StorageMigrationAction_Def.__bases__ = tuple(bases)

            ns0.ClusterAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StoragePlacementAction_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StoragePlacementAction")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StoragePlacementAction_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineRelocateSpec",lazy=True)(pname=(ns,"relocateSpec"), aname="_relocateSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"destination"), aname="_destination", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"spaceUtilBefore"), aname="_spaceUtilBefore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"spaceDemandBefore"), aname="_spaceDemandBefore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"spaceUtilAfter"), aname="_spaceUtilAfter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"spaceDemandAfter"), aname="_spaceDemandAfter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.FPfloat(pname=(ns,"ioLatencyBefore"), aname="_ioLatencyBefore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterAction_Def not in ns0.StoragePlacementAction_Def.__bases__:
                bases = list(ns0.StoragePlacementAction_Def.__bases__)
                bases.insert(0, ns0.ClusterAction_Def)
                ns0.StoragePlacementAction_Def.__bases__ = tuple(bases)

            ns0.ClusterAction_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StoragePlacementResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StoragePlacementResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StoragePlacementResult_Def.schema
            TClist = [GTD("urn:vim25","ClusterRecommendation",lazy=True)(pname=(ns,"recommendations"), aname="_recommendations", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterDrsFaults",lazy=True)(pname=(ns,"drsFault"), aname="_drsFault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"task"), aname="_task", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StoragePlacementResult_Def.__bases__:
                bases = list(ns0.StoragePlacementResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StoragePlacementResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class StoragePlacementSpecPlacementType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StoragePlacementSpecPlacementType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class StoragePlacementSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StoragePlacementSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StoragePlacementSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineMovePriority",lazy=True)(pname=(ns,"priority"), aname="_priority", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageDrsPodSelectionSpec",lazy=True)(pname=(ns,"podSelectionSpec"), aname="_podSelectionSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineCloneSpec",lazy=True)(pname=(ns,"cloneSpec"), aname="_cloneSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"cloneName"), aname="_cloneName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineRelocateSpec",lazy=True)(pname=(ns,"relocateSpec"), aname="_relocateSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"resourcePool"), aname="_resourcePool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"folder"), aname="_folder", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"disallowPrerequisiteMoves"), aname="_disallowPrerequisiteMoves", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"resourceLeaseDurationSec"), aname="_resourceLeaseDurationSec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StoragePlacementSpec_Def.__bases__:
                bases = list(ns0.StoragePlacementSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StoragePlacementSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskAntiAffinityRuleSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskAntiAffinityRuleSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskAntiAffinityRuleSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"diskId"), aname="_diskId", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterRuleInfo_Def not in ns0.VirtualDiskAntiAffinityRuleSpec_Def.__bases__:
                bases = list(ns0.VirtualDiskAntiAffinityRuleSpec_Def.__bases__)
                bases.insert(0, ns0.ClusterRuleInfo_Def)
                ns0.VirtualDiskAntiAffinityRuleSpec_Def.__bases__ = tuple(bases)

            ns0.ClusterRuleInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskRuleSpecRuleType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDiskRuleSpecRuleType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDiskRuleSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskRuleSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskRuleSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskRuleType"), aname="_diskRuleType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"diskId"), aname="_diskId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ClusterRuleInfo_Def not in ns0.VirtualDiskRuleSpec_Def.__bases__:
                bases = list(ns0.VirtualDiskRuleSpec_Def.__bases__)
                bases.insert(0, ns0.ClusterRuleInfo_Def)
                ns0.VirtualDiskRuleSpec_Def.__bases__ = tuple(bases)

            ns0.ClusterRuleInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualDiskRuleSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualDiskRuleSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualDiskRuleSpec_Def.schema
            TClist = [GTD("urn:vim25","VirtualDiskRuleSpec",lazy=True)(pname=(ns,"VirtualDiskRuleSpec"), aname="_VirtualDiskRuleSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualDiskRuleSpec = []
                    return
            Holder.__name__ = "ArrayOfVirtualDiskRuleSpec_Holder"
            self.pyclass = Holder

    class StorageDrsVmConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "StorageDrsVmConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.StorageDrsVmConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"behavior"), aname="_behavior", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"intraVmAffinity"), aname="_intraVmAffinity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDiskAntiAffinityRuleSpec",lazy=True)(pname=(ns,"intraVmAntiAffinity"), aname="_intraVmAntiAffinity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDiskRuleSpec",lazy=True)(pname=(ns,"virtualDiskRules"), aname="_virtualDiskRules", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.StorageDrsVmConfigInfo_Def.__bases__:
                bases = list(ns0.StorageDrsVmConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.StorageDrsVmConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfStorageDrsVmConfigInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfStorageDrsVmConfigInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfStorageDrsVmConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","StorageDrsVmConfigInfo",lazy=True)(pname=(ns,"StorageDrsVmConfigInfo"), aname="_StorageDrsVmConfigInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._StorageDrsVmConfigInfo = []
                    return
            Holder.__name__ = "ArrayOfStorageDrsVmConfigInfo_Holder"
            self.pyclass = Holder

    class VAppCloneSpecNetworkMappingPair_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppCloneSpecNetworkMappingPair")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppCloneSpecNetworkMappingPair_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"source"), aname="_source", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"destination"), aname="_destination", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VAppCloneSpecNetworkMappingPair_Def.__bases__:
                bases = list(ns0.VAppCloneSpecNetworkMappingPair_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VAppCloneSpecNetworkMappingPair_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVAppCloneSpecNetworkMappingPair_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVAppCloneSpecNetworkMappingPair")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVAppCloneSpecNetworkMappingPair_Def.schema
            TClist = [GTD("urn:vim25","VAppCloneSpecNetworkMappingPair",lazy=True)(pname=(ns,"VAppCloneSpecNetworkMappingPair"), aname="_VAppCloneSpecNetworkMappingPair", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VAppCloneSpecNetworkMappingPair = []
                    return
            Holder.__name__ = "ArrayOfVAppCloneSpecNetworkMappingPair_Holder"
            self.pyclass = Holder

    class VAppCloneSpecResourceMap_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppCloneSpecResourceMap")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppCloneSpecResourceMap_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"source"), aname="_source", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceConfigSpec",lazy=True)(pname=(ns,"resourceSpec"), aname="_resourceSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"location"), aname="_location", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VAppCloneSpecResourceMap_Def.__bases__:
                bases = list(ns0.VAppCloneSpecResourceMap_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VAppCloneSpecResourceMap_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVAppCloneSpecResourceMap_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVAppCloneSpecResourceMap")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVAppCloneSpecResourceMap_Def.schema
            TClist = [GTD("urn:vim25","VAppCloneSpecResourceMap",lazy=True)(pname=(ns,"VAppCloneSpecResourceMap"), aname="_VAppCloneSpecResourceMap", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VAppCloneSpecResourceMap = []
                    return
            Holder.__name__ = "ArrayOfVAppCloneSpecResourceMap_Holder"
            self.pyclass = Holder

    class VAppCloneSpecProvisioningType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VAppCloneSpecProvisioningType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VAppCloneSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppCloneSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppCloneSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"location"), aname="_location", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceConfigSpec",lazy=True)(pname=(ns,"resourceSpec"), aname="_resourceSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vmFolder"), aname="_vmFolder", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppCloneSpecNetworkMappingPair",lazy=True)(pname=(ns,"networkMapping"), aname="_networkMapping", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"property"), aname="_property", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppCloneSpecResourceMap",lazy=True)(pname=(ns,"resourceMapping"), aname="_resourceMapping", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"provisioning"), aname="_provisioning", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VAppCloneSpec_Def.__bases__:
                bases = list(ns0.VAppCloneSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VAppCloneSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VAppAutoStartAction_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VAppAutoStartAction")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VAppEntityConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppEntityConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppEntityConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"tag"), aname="_tag", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"startOrder"), aname="_startOrder", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"startDelay"), aname="_startDelay", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"waitingForGuest"), aname="_waitingForGuest", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"startAction"), aname="_startAction", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"stopDelay"), aname="_stopDelay", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"stopAction"), aname="_stopAction", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"destroyWithParent"), aname="_destroyWithParent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VAppEntityConfigInfo_Def.__bases__:
                bases = list(ns0.VAppEntityConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VAppEntityConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVAppEntityConfigInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVAppEntityConfigInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVAppEntityConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","VAppEntityConfigInfo",lazy=True)(pname=(ns,"VAppEntityConfigInfo"), aname="_VAppEntityConfigInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VAppEntityConfigInfo = []
                    return
            Holder.__name__ = "ArrayOfVAppEntityConfigInfo_Holder"
            self.pyclass = Holder

    class VAppIPAssignmentInfoIpAllocationPolicy_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VAppIPAssignmentInfoIpAllocationPolicy")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VAppIPAssignmentInfoAllocationSchemes_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VAppIPAssignmentInfoAllocationSchemes")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VAppIPAssignmentInfoProtocols_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VAppIPAssignmentInfoProtocols")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VAppIPAssignmentInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppIPAssignmentInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppIPAssignmentInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"supportedAllocationScheme"), aname="_supportedAllocationScheme", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipAllocationPolicy"), aname="_ipAllocationPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportedIpProtocol"), aname="_supportedIpProtocol", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipProtocol"), aname="_ipProtocol", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VAppIPAssignmentInfo_Def.__bases__:
                bases = list(ns0.VAppIPAssignmentInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VAppIPAssignmentInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IpPoolIpPoolConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IpPoolIpPoolConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IpPoolIpPoolConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"subnetAddress"), aname="_subnetAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"netmask"), aname="_netmask", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"gateway"), aname="_gateway", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"range"), aname="_range", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dns"), aname="_dns", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"dhcpServerAvailable"), aname="_dhcpServerAvailable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ipPoolEnabled"), aname="_ipPoolEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.IpPoolIpPoolConfigInfo_Def.__bases__:
                bases = list(ns0.IpPoolIpPoolConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.IpPoolIpPoolConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class IpPoolAssociation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IpPoolAssociation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IpPoolAssociation_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"networkName"), aname="_networkName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.IpPoolAssociation_Def.__bases__:
                bases = list(ns0.IpPoolAssociation_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.IpPoolAssociation_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfIpPoolAssociation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfIpPoolAssociation")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfIpPoolAssociation_Def.schema
            TClist = [GTD("urn:vim25","IpPoolAssociation",lazy=True)(pname=(ns,"IpPoolAssociation"), aname="_IpPoolAssociation", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._IpPoolAssociation = []
                    return
            Holder.__name__ = "ArrayOfIpPoolAssociation_Holder"
            self.pyclass = Holder

    class IpPool_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "IpPool")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.IpPool_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"id"), aname="_id", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IpPoolIpPoolConfigInfo",lazy=True)(pname=(ns,"ipv4Config"), aname="_ipv4Config", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IpPoolIpPoolConfigInfo",lazy=True)(pname=(ns,"ipv6Config"), aname="_ipv6Config", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dnsDomain"), aname="_dnsDomain", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dnsSearchPath"), aname="_dnsSearchPath", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostPrefix"), aname="_hostPrefix", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"httpProxy"), aname="_httpProxy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IpPoolAssociation",lazy=True)(pname=(ns,"networkAssociation"), aname="_networkAssociation", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"availableIpv4Addresses"), aname="_availableIpv4Addresses", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"availableIpv6Addresses"), aname="_availableIpv6Addresses", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"allocatedIpv4Addresses"), aname="_allocatedIpv4Addresses", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"allocatedIpv6Addresses"), aname="_allocatedIpv6Addresses", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.IpPool_Def.__bases__:
                bases = list(ns0.IpPool_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.IpPool_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfIpPool_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfIpPool")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfIpPool_Def.schema
            TClist = [GTD("urn:vim25","IpPool",lazy=True)(pname=(ns,"IpPool"), aname="_IpPool", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._IpPool = []
                    return
            Holder.__name__ = "ArrayOfIpPool_Holder"
            self.pyclass = Holder

    class VAppOvfSectionInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppOvfSectionInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppOvfSectionInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"namespace"), aname="_namespace", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"atEnvelopeLevel"), aname="_atEnvelopeLevel", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"contents"), aname="_contents", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VAppOvfSectionInfo_Def.__bases__:
                bases = list(ns0.VAppOvfSectionInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VAppOvfSectionInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVAppOvfSectionInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVAppOvfSectionInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVAppOvfSectionInfo_Def.schema
            TClist = [GTD("urn:vim25","VAppOvfSectionInfo",lazy=True)(pname=(ns,"VAppOvfSectionInfo"), aname="_VAppOvfSectionInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VAppOvfSectionInfo = []
                    return
            Holder.__name__ = "ArrayOfVAppOvfSectionInfo_Holder"
            self.pyclass = Holder

    class VAppProductInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppProductInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppProductInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"classId"), aname="_classId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceId"), aname="_instanceId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendor"), aname="_vendor", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fullVersion"), aname="_fullVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendorUrl"), aname="_vendorUrl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"productUrl"), aname="_productUrl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"appUrl"), aname="_appUrl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VAppProductInfo_Def.__bases__:
                bases = list(ns0.VAppProductInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VAppProductInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVAppProductInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVAppProductInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVAppProductInfo_Def.schema
            TClist = [GTD("urn:vim25","VAppProductInfo",lazy=True)(pname=(ns,"VAppProductInfo"), aname="_VAppProductInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VAppProductInfo = []
                    return
            Holder.__name__ = "ArrayOfVAppProductInfo_Holder"
            self.pyclass = Holder

    class VAppPropertyInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppPropertyInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppPropertyInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"classId"), aname="_classId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceId"), aname="_instanceId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"category"), aname="_category", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"label"), aname="_label", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"typeReference"), aname="_typeReference", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"userConfigurable"), aname="_userConfigurable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"defaultValue"), aname="_defaultValue", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VAppPropertyInfo_Def.__bases__:
                bases = list(ns0.VAppPropertyInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VAppPropertyInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVAppPropertyInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVAppPropertyInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVAppPropertyInfo_Def.schema
            TClist = [GTD("urn:vim25","VAppPropertyInfo",lazy=True)(pname=(ns,"VAppPropertyInfo"), aname="_VAppPropertyInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VAppPropertyInfo = []
                    return
            Holder.__name__ = "ArrayOfVAppPropertyInfo_Holder"
            self.pyclass = Holder

    class VAppConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","VAppEntityConfigInfo",lazy=True)(pname=(ns,"entityConfig"), aname="_entityConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"annotation"), aname="_annotation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedByInfo",lazy=True)(pname=(ns,"managedBy"), aname="_managedBy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigInfo_Def not in ns0.VAppConfigInfo_Def.__bases__:
                bases = list(ns0.VAppConfigInfo_Def.__bases__)
                bases.insert(0, ns0.VmConfigInfo_Def)
                ns0.VAppConfigInfo_Def.__bases__ = tuple(bases)

            ns0.VmConfigInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VAppConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","VAppEntityConfigInfo",lazy=True)(pname=(ns,"entityConfig"), aname="_entityConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"annotation"), aname="_annotation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedByInfo",lazy=True)(pname=(ns,"managedBy"), aname="_managedBy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VmConfigSpec_Def not in ns0.VAppConfigSpec_Def.__bases__:
                bases = list(ns0.VAppConfigSpec_Def.__bases__)
                bases.insert(0, ns0.VmConfigSpec_Def)
                ns0.VAppConfigSpec_Def.__bases__ = tuple(bases)

            ns0.VmConfigSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualAppImportSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualAppImportSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualAppImportSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppConfigSpec",lazy=True)(pname=(ns,"vAppConfigSpec"), aname="_vAppConfigSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceConfigSpec",lazy=True)(pname=(ns,"resourcePoolSpec"), aname="_resourcePoolSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ImportSpec",lazy=True)(pname=(ns,"child"), aname="_child", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ImportSpec_Def not in ns0.VirtualAppImportSpec_Def.__bases__:
                bases = list(ns0.VirtualAppImportSpec_Def.__bases__)
                bases.insert(0, ns0.ImportSpec_Def)
                ns0.VirtualAppImportSpec_Def.__bases__ = tuple(bases)

            ns0.ImportSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","VAppProductInfo",lazy=True)(pname=(ns,"product"), aname="_product", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppPropertyInfo",lazy=True)(pname=(ns,"property"), aname="_property", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppIPAssignmentInfo",lazy=True)(pname=(ns,"ipAssignment"), aname="_ipAssignment", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"eula"), aname="_eula", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppOvfSectionInfo",lazy=True)(pname=(ns,"ovfSection"), aname="_ovfSection", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ovfEnvironmentTransport"), aname="_ovfEnvironmentTransport", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"installBootRequired"), aname="_installBootRequired", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"installBootStopDelay"), aname="_installBootStopDelay", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VmConfigInfo_Def.__bases__:
                bases = list(ns0.VmConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VmConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VmConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VmConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VmConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","VAppProductSpec",lazy=True)(pname=(ns,"product"), aname="_product", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppPropertySpec",lazy=True)(pname=(ns,"property"), aname="_property", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppIPAssignmentInfo",lazy=True)(pname=(ns,"ipAssignment"), aname="_ipAssignment", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"eula"), aname="_eula", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppOvfSectionSpec",lazy=True)(pname=(ns,"ovfSection"), aname="_ovfSection", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ovfEnvironmentTransport"), aname="_ovfEnvironmentTransport", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"installBootRequired"), aname="_installBootRequired", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"installBootStopDelay"), aname="_installBootStopDelay", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VmConfigSpec_Def.__bases__:
                bases = list(ns0.VmConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VmConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VAppProductSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppProductSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppProductSpec_Def.schema
            TClist = [GTD("urn:vim25","VAppProductInfo",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ArrayUpdateSpec_Def not in ns0.VAppProductSpec_Def.__bases__:
                bases = list(ns0.VAppProductSpec_Def.__bases__)
                bases.insert(0, ns0.ArrayUpdateSpec_Def)
                ns0.VAppProductSpec_Def.__bases__ = tuple(bases)

            ns0.ArrayUpdateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVAppProductSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVAppProductSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVAppProductSpec_Def.schema
            TClist = [GTD("urn:vim25","VAppProductSpec",lazy=True)(pname=(ns,"VAppProductSpec"), aname="_VAppProductSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VAppProductSpec = []
                    return
            Holder.__name__ = "ArrayOfVAppProductSpec_Holder"
            self.pyclass = Holder

    class VAppPropertySpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppPropertySpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppPropertySpec_Def.schema
            TClist = [GTD("urn:vim25","VAppPropertyInfo",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ArrayUpdateSpec_Def not in ns0.VAppPropertySpec_Def.__bases__:
                bases = list(ns0.VAppPropertySpec_Def.__bases__)
                bases.insert(0, ns0.ArrayUpdateSpec_Def)
                ns0.VAppPropertySpec_Def.__bases__ = tuple(bases)

            ns0.ArrayUpdateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVAppPropertySpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVAppPropertySpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVAppPropertySpec_Def.schema
            TClist = [GTD("urn:vim25","VAppPropertySpec",lazy=True)(pname=(ns,"VAppPropertySpec"), aname="_VAppPropertySpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VAppPropertySpec = []
                    return
            Holder.__name__ = "ArrayOfVAppPropertySpec_Holder"
            self.pyclass = Holder

    class VAppOvfSectionSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VAppOvfSectionSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VAppOvfSectionSpec_Def.schema
            TClist = [GTD("urn:vim25","VAppOvfSectionInfo",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ArrayUpdateSpec_Def not in ns0.VAppOvfSectionSpec_Def.__bases__:
                bases = list(ns0.VAppOvfSectionSpec_Def.__bases__)
                bases.insert(0, ns0.ArrayUpdateSpec_Def)
                ns0.VAppOvfSectionSpec_Def.__bases__ = tuple(bases)

            ns0.ArrayUpdateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVAppOvfSectionSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVAppOvfSectionSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVAppOvfSectionSpec_Def.schema
            TClist = [GTD("urn:vim25","VAppOvfSectionSpec",lazy=True)(pname=(ns,"VAppOvfSectionSpec"), aname="_VAppOvfSectionSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VAppOvfSectionSpec = []
                    return
            Holder.__name__ = "ArrayOfVAppOvfSectionSpec_Holder"
            self.pyclass = Holder

    class ClusterNetworkConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ClusterNetworkConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ClusterNetworkConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"networkPortGroup"), aname="_networkPortGroup", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationIPSettings",lazy=True)(pname=(ns,"ipSettings"), aname="_ipSettings", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ClusterNetworkConfigSpec_Def.__bases__:
                bases = list(ns0.ClusterNetworkConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ClusterNetworkConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SourceNodeSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SourceNodeSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SourceNodeSpec_Def.schema
            TClist = [GTD("urn:vim25","ServiceLocator",lazy=True)(pname=(ns,"managementVc"), aname="_managementVc", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"activeVc"), aname="_activeVc", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.SourceNodeSpec_Def.__bases__:
                bases = list(ns0.SourceNodeSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.SourceNodeSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NodeNetworkSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NodeNetworkSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NodeNetworkSpec_Def.schema
            TClist = [GTD("urn:vim25","CustomizationIPSettings",lazy=True)(pname=(ns,"ipSettings"), aname="_ipSettings", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NodeNetworkSpec_Def.__bases__:
                bases = list(ns0.NodeNetworkSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NodeNetworkSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PassiveNodeNetworkSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PassiveNodeNetworkSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PassiveNodeNetworkSpec_Def.schema
            TClist = [GTD("urn:vim25","CustomizationIPSettings",lazy=True)(pname=(ns,"failoverIpSettings"), aname="_failoverIpSettings", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NodeNetworkSpec_Def not in ns0.PassiveNodeNetworkSpec_Def.__bases__:
                bases = list(ns0.PassiveNodeNetworkSpec_Def.__bases__)
                bases.insert(0, ns0.NodeNetworkSpec_Def)
                ns0.PassiveNodeNetworkSpec_Def.__bases__ = tuple(bases)

            ns0.NodeNetworkSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VchaClusterNetworkSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VchaClusterNetworkSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VchaClusterNetworkSpec_Def.schema
            TClist = [GTD("urn:vim25","NodeNetworkSpec",lazy=True)(pname=(ns,"witnessNetworkSpec"), aname="_witnessNetworkSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PassiveNodeNetworkSpec",lazy=True)(pname=(ns,"passiveNetworkSpec"), aname="_passiveNetworkSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VchaClusterNetworkSpec_Def.__bases__:
                bases = list(ns0.VchaClusterNetworkSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VchaClusterNetworkSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NodeDeploymentSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NodeDeploymentSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NodeDeploymentSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"esxHost"), aname="_esxHost", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"publicNetworkPortGroup"), aname="_publicNetworkPortGroup", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"clusterNetworkPortGroup"), aname="_clusterNetworkPortGroup", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"folder"), aname="_folder", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"resourcePool"), aname="_resourcePool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ServiceLocator",lazy=True)(pname=(ns,"managementVc"), aname="_managementVc", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nodeName"), aname="_nodeName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationIPSettings",lazy=True)(pname=(ns,"ipSettings"), aname="_ipSettings", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.NodeDeploymentSpec_Def.__bases__:
                bases = list(ns0.NodeDeploymentSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.NodeDeploymentSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class PassiveNodeDeploymentSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "PassiveNodeDeploymentSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.PassiveNodeDeploymentSpec_Def.schema
            TClist = [GTD("urn:vim25","CustomizationIPSettings",lazy=True)(pname=(ns,"failoverIpSettings"), aname="_failoverIpSettings", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.NodeDeploymentSpec_Def not in ns0.PassiveNodeDeploymentSpec_Def.__bases__:
                bases = list(ns0.PassiveNodeDeploymentSpec_Def.__bases__)
                bases.insert(0, ns0.NodeDeploymentSpec_Def)
                ns0.PassiveNodeDeploymentSpec_Def.__bases__ = tuple(bases)

            ns0.NodeDeploymentSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VchaClusterConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VchaClusterConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VchaClusterConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"passiveIp"), aname="_passiveIp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"witnessIp"), aname="_witnessIp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VchaClusterConfigSpec_Def.__bases__:
                bases = list(ns0.VchaClusterConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VchaClusterConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VchaClusterDeploymentSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VchaClusterDeploymentSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VchaClusterDeploymentSpec_Def.schema
            TClist = [GTD("urn:vim25","PassiveNodeDeploymentSpec",lazy=True)(pname=(ns,"passiveDeploymentSpec"), aname="_passiveDeploymentSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NodeDeploymentSpec",lazy=True)(pname=(ns,"witnessDeploymentSpec"), aname="_witnessDeploymentSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SourceNodeSpec",lazy=True)(pname=(ns,"activeVcSpec"), aname="_activeVcSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterNetworkConfigSpec",lazy=True)(pname=(ns,"activeVcNetworkConfig"), aname="_activeVcNetworkConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VchaClusterDeploymentSpec_Def.__bases__:
                bases = list(ns0.VchaClusterDeploymentSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VchaClusterDeploymentSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FailoverNodeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FailoverNodeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FailoverNodeInfo_Def.schema
            TClist = [GTD("urn:vim25","CustomizationIPSettings",lazy=True)(pname=(ns,"clusterIpSettings"), aname="_clusterIpSettings", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationIPSettings",lazy=True)(pname=(ns,"failoverIp"), aname="_failoverIp", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"biosUuid"), aname="_biosUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FailoverNodeInfo_Def.__bases__:
                bases = list(ns0.FailoverNodeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FailoverNodeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class WitnessNodeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "WitnessNodeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.WitnessNodeInfo_Def.schema
            TClist = [GTD("urn:vim25","CustomizationIPSettings",lazy=True)(pname=(ns,"ipSettings"), aname="_ipSettings", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"biosUuid"), aname="_biosUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.WitnessNodeInfo_Def.__bases__:
                bases = list(ns0.WitnessNodeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.WitnessNodeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VchaState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VchaState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VchaClusterConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VchaClusterConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VchaClusterConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","FailoverNodeInfo",lazy=True)(pname=(ns,"failoverNodeInfo1"), aname="_failoverNodeInfo1", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FailoverNodeInfo",lazy=True)(pname=(ns,"failoverNodeInfo2"), aname="_failoverNodeInfo2", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","WitnessNodeInfo",lazy=True)(pname=(ns,"witnessNodeInfo"), aname="_witnessNodeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VchaClusterConfigInfo_Def.__bases__:
                bases = list(ns0.VchaClusterConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VchaClusterConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VchaNodeRole_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VchaNodeRole")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VchaClusterMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VchaClusterMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VchaClusterState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VchaClusterState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VchaNodeState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VchaNodeState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VchaNodeRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VchaNodeRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VchaNodeRuntimeInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"nodeState"), aname="_nodeState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nodeRole"), aname="_nodeRole", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nodeIp"), aname="_nodeIp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VchaNodeRuntimeInfo_Def.__bases__:
                bases = list(ns0.VchaNodeRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VchaNodeRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVchaNodeRuntimeInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVchaNodeRuntimeInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVchaNodeRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","VchaNodeRuntimeInfo",lazy=True)(pname=(ns,"VchaNodeRuntimeInfo"), aname="_VchaNodeRuntimeInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VchaNodeRuntimeInfo = []
                    return
            Holder.__name__ = "ArrayOfVchaNodeRuntimeInfo_Holder"
            self.pyclass = Holder

    class VchaClusterRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VchaClusterRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VchaClusterRuntimeInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"clusterState"), aname="_clusterState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VchaNodeRuntimeInfo",lazy=True)(pname=(ns,"nodeInfo"), aname="_nodeInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"clusterMode"), aname="_clusterMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VchaClusterRuntimeInfo_Def.__bases__:
                bases = list(ns0.VchaClusterRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VchaClusterRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VchaClusterHealth_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VchaClusterHealth")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VchaClusterHealth_Def.schema
            TClist = [GTD("urn:vim25","VchaClusterRuntimeInfo",lazy=True)(pname=(ns,"runtimeInfo"), aname="_runtimeInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"healthMessages"), aname="_healthMessages", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"additionalInformation"), aname="_additionalInformation", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VchaClusterHealth_Def.__bases__:
                bases = list(ns0.VchaClusterHealth_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VchaClusterHealth_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineAffinityInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineAffinityInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineAffinityInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"affinitySet"), aname="_affinitySet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineAffinityInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineAffinityInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineAffinityInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineBootOptionsNetworkBootProtocolType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineBootOptionsNetworkBootProtocolType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineBootOptionsBootableDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineBootOptionsBootableDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineBootOptionsBootableDevice_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineBootOptionsBootableDevice_Def.__bases__:
                bases = list(ns0.VirtualMachineBootOptionsBootableDevice_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineBootOptionsBootableDevice_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineBootOptionsBootableDevice_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineBootOptionsBootableDevice")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineBootOptionsBootableDevice_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineBootOptionsBootableDevice",lazy=True)(pname=(ns,"VirtualMachineBootOptionsBootableDevice"), aname="_VirtualMachineBootOptionsBootableDevice", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineBootOptionsBootableDevice = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineBootOptionsBootableDevice_Holder"
            self.pyclass = Holder

    class VirtualMachineBootOptionsBootableDiskDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineBootOptionsBootableDiskDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineBootOptionsBootableDiskDevice_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"deviceKey"), aname="_deviceKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineBootOptionsBootableDevice_Def not in ns0.VirtualMachineBootOptionsBootableDiskDevice_Def.__bases__:
                bases = list(ns0.VirtualMachineBootOptionsBootableDiskDevice_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineBootOptionsBootableDevice_Def)
                ns0.VirtualMachineBootOptionsBootableDiskDevice_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineBootOptionsBootableDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineBootOptionsBootableEthernetDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineBootOptionsBootableEthernetDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineBootOptionsBootableEthernetDevice_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"deviceKey"), aname="_deviceKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineBootOptionsBootableDevice_Def not in ns0.VirtualMachineBootOptionsBootableEthernetDevice_Def.__bases__:
                bases = list(ns0.VirtualMachineBootOptionsBootableEthernetDevice_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineBootOptionsBootableDevice_Def)
                ns0.VirtualMachineBootOptionsBootableEthernetDevice_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineBootOptionsBootableDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineBootOptionsBootableFloppyDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineBootOptionsBootableFloppyDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineBootOptionsBootableFloppyDevice_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineBootOptionsBootableDevice_Def not in ns0.VirtualMachineBootOptionsBootableFloppyDevice_Def.__bases__:
                bases = list(ns0.VirtualMachineBootOptionsBootableFloppyDevice_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineBootOptionsBootableDevice_Def)
                ns0.VirtualMachineBootOptionsBootableFloppyDevice_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineBootOptionsBootableDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineBootOptionsBootableCdromDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineBootOptionsBootableCdromDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineBootOptionsBootableCdromDevice_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineBootOptionsBootableDevice_Def not in ns0.VirtualMachineBootOptionsBootableCdromDevice_Def.__bases__:
                bases = list(ns0.VirtualMachineBootOptionsBootableCdromDevice_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineBootOptionsBootableDevice_Def)
                ns0.VirtualMachineBootOptionsBootableCdromDevice_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineBootOptionsBootableDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineBootOptions_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineBootOptions")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineBootOptions_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"bootDelay"), aname="_bootDelay", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enterBIOSSetup"), aname="_enterBIOSSetup", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"efiSecureBootEnabled"), aname="_efiSecureBootEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"bootRetryEnabled"), aname="_bootRetryEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"bootRetryDelay"), aname="_bootRetryDelay", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineBootOptionsBootableDevice",lazy=True)(pname=(ns,"bootOrder"), aname="_bootOrder", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"networkBootProtocol"), aname="_networkBootProtocol", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineBootOptions_Def.__bases__:
                bases = list(ns0.VirtualMachineBootOptions_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineBootOptions_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineCapability_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineCapability")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineCapability_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"snapshotOperationsSupported"), aname="_snapshotOperationsSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"multipleSnapshotsSupported"), aname="_multipleSnapshotsSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"snapshotConfigSupported"), aname="_snapshotConfigSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"poweredOffSnapshotsSupported"), aname="_poweredOffSnapshotsSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"memorySnapshotsSupported"), aname="_memorySnapshotsSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"revertToSnapshotSupported"), aname="_revertToSnapshotSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"quiescedSnapshotsSupported"), aname="_quiescedSnapshotsSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"disableSnapshotsSupported"), aname="_disableSnapshotsSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"lockSnapshotsSupported"), aname="_lockSnapshotsSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"consolePreferencesSupported"), aname="_consolePreferencesSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cpuFeatureMaskSupported"), aname="_cpuFeatureMaskSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"s1AcpiManagementSupported"), aname="_s1AcpiManagementSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"settingScreenResolutionSupported"), aname="_settingScreenResolutionSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"toolsAutoUpdateSupported"), aname="_toolsAutoUpdateSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmNpivWwnSupported"), aname="_vmNpivWwnSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"npivWwnOnNonRdmVmSupported"), aname="_npivWwnOnNonRdmVmSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmNpivWwnDisableSupported"), aname="_vmNpivWwnDisableSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmNpivWwnUpdateSupported"), aname="_vmNpivWwnUpdateSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"swapPlacementSupported"), aname="_swapPlacementSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"toolsSyncTimeSupported"), aname="_toolsSyncTimeSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"virtualMmuUsageSupported"), aname="_virtualMmuUsageSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"diskSharesSupported"), aname="_diskSharesSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"bootOptionsSupported"), aname="_bootOptionsSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"bootRetryOptionsSupported"), aname="_bootRetryOptionsSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"settingVideoRamSizeSupported"), aname="_settingVideoRamSizeSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"settingDisplayTopologySupported"), aname="_settingDisplayTopologySupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"recordReplaySupported"), aname="_recordReplaySupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"changeTrackingSupported"), aname="_changeTrackingSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"multipleCoresPerSocketSupported"), aname="_multipleCoresPerSocketSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hostBasedReplicationSupported"), aname="_hostBasedReplicationSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"guestAutoLockSupported"), aname="_guestAutoLockSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"memoryReservationLockSupported"), aname="_memoryReservationLockSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"featureRequirementSupported"), aname="_featureRequirementSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"poweredOnMonitorTypeChangeSupported"), aname="_poweredOnMonitorTypeChangeSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"seSparseDiskSupported"), aname="_seSparseDiskSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"nestedHVSupported"), aname="_nestedHVSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vPMCSupported"), aname="_vPMCSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"secureBootSupported"), aname="_secureBootSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"perVmEvcSupported"), aname="_perVmEvcSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"virtualMmuUsageIgnored"), aname="_virtualMmuUsageIgnored", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"virtualExecUsageIgnored"), aname="_virtualExecUsageIgnored", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"diskOnlySnapshotOnSuspendedVMSupported"), aname="_diskOnlySnapshotOnSuspendedVMSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineCapability_Def.__bases__:
                bases = list(ns0.VirtualMachineCapability_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineCapability_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineCdromInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineCdromInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineCdromInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineTargetInfo_Def not in ns0.VirtualMachineCdromInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineCdromInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineTargetInfo_Def)
                ns0.VirtualMachineCdromInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineTargetInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineCdromInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineCdromInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineCdromInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineCdromInfo",lazy=True)(pname=(ns,"VirtualMachineCdromInfo"), aname="_VirtualMachineCdromInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineCdromInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineCdromInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineCloneSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineCloneSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineCloneSpec_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineRelocateSpec",lazy=True)(pname=(ns,"location"), aname="_location", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"template"), aname="_template", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineConfigSpec",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationSpec",lazy=True)(pname=(ns,"customization"), aname="_customization", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"powerOn"), aname="_powerOn", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"snapshot"), aname="_snapshot", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"memory"), aname="_memory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineCloneSpec_Def.__bases__:
                bases = list(ns0.VirtualMachineCloneSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineCloneSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineConfigInfoNpivWwnType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineConfigInfoNpivWwnType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineConfigInfoSwapPlacementType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineConfigInfoSwapPlacementType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineConfigInfoDatastoreUrlPair_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineConfigInfoDatastoreUrlPair")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineConfigInfoDatastoreUrlPair_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineConfigInfoDatastoreUrlPair_Def.__bases__:
                bases = list(ns0.VirtualMachineConfigInfoDatastoreUrlPair_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineConfigInfoDatastoreUrlPair_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineConfigInfoDatastoreUrlPair_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineConfigInfoDatastoreUrlPair")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineConfigInfoDatastoreUrlPair_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineConfigInfoDatastoreUrlPair",lazy=True)(pname=(ns,"VirtualMachineConfigInfoDatastoreUrlPair"), aname="_VirtualMachineConfigInfoDatastoreUrlPair", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineConfigInfoDatastoreUrlPair = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineConfigInfoDatastoreUrlPair_Holder"
            self.pyclass = Holder

    class VirtualMachineConfigInfoOverheadInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineConfigInfoOverheadInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineConfigInfoOverheadInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"initialMemoryReservation"), aname="_initialMemoryReservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"initialSwapReservation"), aname="_initialSwapReservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineConfigInfoOverheadInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineConfigInfoOverheadInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineConfigInfoOverheadInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"changeVersion"), aname="_changeVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"modified"), aname="_modified", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestFullName"), aname="_guestFullName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"createDate"), aname="_createDate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"npivNodeWorldWideName"), aname="_npivNodeWorldWideName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"npivPortWorldWideName"), aname="_npivPortWorldWideName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"npivWorldWideNameType"), aname="_npivWorldWideNameType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"npivDesiredNodeWwns"), aname="_npivDesiredNodeWwns", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"npivDesiredPortWwns"), aname="_npivDesiredPortWwns", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"npivTemporaryDisabled"), aname="_npivTemporaryDisabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"npivOnNonRdmDisks"), aname="_npivOnNonRdmDisks", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"locationId"), aname="_locationId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"template"), aname="_template", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestId"), aname="_guestId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"alternateGuestName"), aname="_alternateGuestName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"annotation"), aname="_annotation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFileInfo",lazy=True)(pname=(ns,"files"), aname="_files", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ToolsConfigInfo",lazy=True)(pname=(ns,"tools"), aname="_tools", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFlagInfo",lazy=True)(pname=(ns,"flags"), aname="_flags", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineConsolePreferences",lazy=True)(pname=(ns,"consolePreferences"), aname="_consolePreferences", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineDefaultPowerOpInfo",lazy=True)(pname=(ns,"defaultPowerOps"), aname="_defaultPowerOps", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualHardware",lazy=True)(pname=(ns,"hardware"), aname="_hardware", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceAllocationInfo",lazy=True)(pname=(ns,"cpuAllocation"), aname="_cpuAllocation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceAllocationInfo",lazy=True)(pname=(ns,"memoryAllocation"), aname="_memoryAllocation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LatencySensitivity",lazy=True)(pname=(ns,"latencySensitivity"), aname="_latencySensitivity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"memoryHotAddEnabled"), aname="_memoryHotAddEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cpuHotAddEnabled"), aname="_cpuHotAddEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cpuHotRemoveEnabled"), aname="_cpuHotRemoveEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"hotPlugMemoryLimit"), aname="_hotPlugMemoryLimit", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"hotPlugMemoryIncrementSize"), aname="_hotPlugMemoryIncrementSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineAffinityInfo",lazy=True)(pname=(ns,"cpuAffinity"), aname="_cpuAffinity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineAffinityInfo",lazy=True)(pname=(ns,"memoryAffinity"), aname="_memoryAffinity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineNetworkShaperInfo",lazy=True)(pname=(ns,"networkShaper"), aname="_networkShaper", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"extraConfig"), aname="_extraConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostCpuIdInfo",lazy=True)(pname=(ns,"cpuFeatureMask"), aname="_cpuFeatureMask", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineConfigInfoDatastoreUrlPair",lazy=True)(pname=(ns,"datastoreUrl"), aname="_datastoreUrl", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"swapPlacement"), aname="_swapPlacement", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineBootOptions",lazy=True)(pname=(ns,"bootOptions"), aname="_bootOptions", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FaultToleranceConfigInfo",lazy=True)(pname=(ns,"ftInfo"), aname="_ftInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ReplicationConfigSpec",lazy=True)(pname=(ns,"repConfig"), aname="_repConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmConfigInfo",lazy=True)(pname=(ns,"vAppConfig"), aname="_vAppConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vAssertsEnabled"), aname="_vAssertsEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"changeTrackingEnabled"), aname="_changeTrackingEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"firmware"), aname="_firmware", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxMksConnections"), aname="_maxMksConnections", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"guestAutoLockEnabled"), aname="_guestAutoLockEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedByInfo",lazy=True)(pname=(ns,"managedBy"), aname="_managedBy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"memoryReservationLockedToMax"), aname="_memoryReservationLockedToMax", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineConfigInfoOverheadInfo",lazy=True)(pname=(ns,"initialOverhead"), aname="_initialOverhead", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"nestedHVEnabled"), aname="_nestedHVEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vPMCEnabled"), aname="_vPMCEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ScheduledHardwareUpgradeInfo",lazy=True)(pname=(ns,"scheduledHardwareUpgradeInfo"), aname="_scheduledHardwareUpgradeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineForkConfigInfo",lazy=True)(pname=(ns,"forkConfigInfo"), aname="_forkConfigInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"vFlashCacheReservation"), aname="_vFlashCacheReservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Base64String(pname=(ns,"vmxConfigChecksum"), aname="_vmxConfigChecksum", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"messageBusTunnelEnabled"), aname="_messageBusTunnelEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmStorageObjectId"), aname="_vmStorageObjectId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"swapStorageObjectId"), aname="_swapStorageObjectId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"keyId"), aname="_keyId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineGuestIntegrityInfo",lazy=True)(pname=(ns,"guestIntegrityInfo"), aname="_guestIntegrityInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"migrateEncryption"), aname="_migrateEncryption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineConfigInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineConfigOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineConfigOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineConfigOption_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestOsDescriptor",lazy=True)(pname=(ns,"guestOSDescriptor"), aname="_guestOSDescriptor", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"guestOSDefaultIndex"), aname="_guestOSDefaultIndex", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualHardwareOption",lazy=True)(pname=(ns,"hardwareOptions"), aname="_hardwareOptions", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineCapability",lazy=True)(pname=(ns,"capabilities"), aname="_capabilities", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatastoreOption",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDevice",lazy=True)(pname=(ns,"defaultDevice"), aname="_defaultDevice", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportedMonitorType"), aname="_supportedMonitorType", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportedOvfEnvironmentTransport"), aname="_supportedOvfEnvironmentTransport", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportedOvfInstallTransport"), aname="_supportedOvfInstallTransport", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachinePropertyRelation",lazy=True)(pname=(ns,"propertyRelations"), aname="_propertyRelations", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineConfigOption_Def.__bases__:
                bases = list(ns0.VirtualMachineConfigOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineConfigOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineConfigOptionDescriptor_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineConfigOptionDescriptor")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineConfigOptionDescriptor_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"createSupported"), aname="_createSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"defaultConfigOption"), aname="_defaultConfigOption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"runSupported"), aname="_runSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"upgradeSupported"), aname="_upgradeSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineConfigOptionDescriptor_Def.__bases__:
                bases = list(ns0.VirtualMachineConfigOptionDescriptor_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineConfigOptionDescriptor_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineConfigOptionDescriptor_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineConfigOptionDescriptor")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineConfigOptionDescriptor_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineConfigOptionDescriptor",lazy=True)(pname=(ns,"VirtualMachineConfigOptionDescriptor"), aname="_VirtualMachineConfigOptionDescriptor", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineConfigOptionDescriptor = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineConfigOptionDescriptor_Holder"
            self.pyclass = Holder

    class VirtualMachineConfigSpecNpivWwnOp_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineConfigSpecNpivWwnOp")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineConfigSpecEncryptedVMotionModes_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineConfigSpecEncryptedVMotionModes")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineCpuIdInfoSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineCpuIdInfoSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineCpuIdInfoSpec_Def.schema
            TClist = [GTD("urn:vim25","HostCpuIdInfo",lazy=True)(pname=(ns,"info"), aname="_info", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ArrayUpdateSpec_Def not in ns0.VirtualMachineCpuIdInfoSpec_Def.__bases__:
                bases = list(ns0.VirtualMachineCpuIdInfoSpec_Def.__bases__)
                bases.insert(0, ns0.ArrayUpdateSpec_Def)
                ns0.VirtualMachineCpuIdInfoSpec_Def.__bases__ = tuple(bases)

            ns0.ArrayUpdateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineCpuIdInfoSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineCpuIdInfoSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineCpuIdInfoSpec_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineCpuIdInfoSpec",lazy=True)(pname=(ns,"VirtualMachineCpuIdInfoSpec"), aname="_VirtualMachineCpuIdInfoSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineCpuIdInfoSpec = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineCpuIdInfoSpec_Holder"
            self.pyclass = Holder

    class VirtualMachineConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"changeVersion"), aname="_changeVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"createDate"), aname="_createDate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"npivNodeWorldWideName"), aname="_npivNodeWorldWideName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"npivPortWorldWideName"), aname="_npivPortWorldWideName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"npivWorldWideNameType"), aname="_npivWorldWideNameType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"npivDesiredNodeWwns"), aname="_npivDesiredNodeWwns", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"npivDesiredPortWwns"), aname="_npivDesiredPortWwns", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"npivTemporaryDisabled"), aname="_npivTemporaryDisabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"npivOnNonRdmDisks"), aname="_npivOnNonRdmDisks", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"npivWorldWideNameOp"), aname="_npivWorldWideNameOp", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"locationId"), aname="_locationId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestId"), aname="_guestId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"alternateGuestName"), aname="_alternateGuestName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"annotation"), aname="_annotation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFileInfo",lazy=True)(pname=(ns,"files"), aname="_files", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ToolsConfigInfo",lazy=True)(pname=(ns,"tools"), aname="_tools", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFlagInfo",lazy=True)(pname=(ns,"flags"), aname="_flags", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineConsolePreferences",lazy=True)(pname=(ns,"consolePreferences"), aname="_consolePreferences", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineDefaultPowerOpInfo",lazy=True)(pname=(ns,"powerOpInfo"), aname="_powerOpInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numCPUs"), aname="_numCPUs", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numCoresPerSocket"), aname="_numCoresPerSocket", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"memoryMB"), aname="_memoryMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"memoryHotAddEnabled"), aname="_memoryHotAddEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cpuHotAddEnabled"), aname="_cpuHotAddEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cpuHotRemoveEnabled"), aname="_cpuHotRemoveEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"virtualICH7MPresent"), aname="_virtualICH7MPresent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"virtualSMCPresent"), aname="_virtualSMCPresent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDeviceConfigSpec",lazy=True)(pname=(ns,"deviceChange"), aname="_deviceChange", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceAllocationInfo",lazy=True)(pname=(ns,"cpuAllocation"), aname="_cpuAllocation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceAllocationInfo",lazy=True)(pname=(ns,"memoryAllocation"), aname="_memoryAllocation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LatencySensitivity",lazy=True)(pname=(ns,"latencySensitivity"), aname="_latencySensitivity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineAffinityInfo",lazy=True)(pname=(ns,"cpuAffinity"), aname="_cpuAffinity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineAffinityInfo",lazy=True)(pname=(ns,"memoryAffinity"), aname="_memoryAffinity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineNetworkShaperInfo",lazy=True)(pname=(ns,"networkShaper"), aname="_networkShaper", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineCpuIdInfoSpec",lazy=True)(pname=(ns,"cpuFeatureMask"), aname="_cpuFeatureMask", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"extraConfig"), aname="_extraConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"swapPlacement"), aname="_swapPlacement", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineBootOptions",lazy=True)(pname=(ns,"bootOptions"), aname="_bootOptions", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmConfigSpec",lazy=True)(pname=(ns,"vAppConfig"), aname="_vAppConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FaultToleranceConfigInfo",lazy=True)(pname=(ns,"ftInfo"), aname="_ftInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ReplicationConfigSpec",lazy=True)(pname=(ns,"repConfig"), aname="_repConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vAppConfigRemoved"), aname="_vAppConfigRemoved", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vAssertsEnabled"), aname="_vAssertsEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"changeTrackingEnabled"), aname="_changeTrackingEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"firmware"), aname="_firmware", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxMksConnections"), aname="_maxMksConnections", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"guestAutoLockEnabled"), aname="_guestAutoLockEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedByInfo",lazy=True)(pname=(ns,"managedBy"), aname="_managedBy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"memoryReservationLockedToMax"), aname="_memoryReservationLockedToMax", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"nestedHVEnabled"), aname="_nestedHVEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vPMCEnabled"), aname="_vPMCEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ScheduledHardwareUpgradeInfo",lazy=True)(pname=(ns,"scheduledHardwareUpgradeInfo"), aname="_scheduledHardwareUpgradeInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"vmProfile"), aname="_vmProfile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"messageBusTunnelEnabled"), aname="_messageBusTunnelEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoSpec",lazy=True)(pname=(ns,"crypto"), aname="_crypto", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"migrateEncryption"), aname="_migrateEncryption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineConfigSpec_Def.__bases__:
                bases = list(ns0.VirtualMachineConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ConfigTarget_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ConfigTarget")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ConfigTarget_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numCpus"), aname="_numCpus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numCpuCores"), aname="_numCpuCores", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numNumaNodes"), aname="_numNumaNodes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"smcPresent"), aname="_smcPresent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineDatastoreInfo",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineNetworkInfo",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OpaqueNetworkTargetInfo",lazy=True)(pname=(ns,"opaqueNetwork"), aname="_opaqueNetwork", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualPortgroupInfo",lazy=True)(pname=(ns,"distributedVirtualPortgroup"), aname="_distributedVirtualPortgroup", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchInfo",lazy=True)(pname=(ns,"distributedVirtualSwitch"), aname="_distributedVirtualSwitch", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineCdromInfo",lazy=True)(pname=(ns,"cdRom"), aname="_cdRom", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineSerialInfo",lazy=True)(pname=(ns,"serial"), aname="_serial", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineParallelInfo",lazy=True)(pname=(ns,"parallel"), aname="_parallel", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineSoundInfo",lazy=True)(pname=(ns,"sound"), aname="_sound", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineUsbInfo",lazy=True)(pname=(ns,"usb"), aname="_usb", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFloppyInfo",lazy=True)(pname=(ns,"floppy"), aname="_floppy", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineLegacyNetworkSwitchInfo",lazy=True)(pname=(ns,"legacyNetworkInfo"), aname="_legacyNetworkInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineScsiPassthroughInfo",lazy=True)(pname=(ns,"scsiPassthrough"), aname="_scsiPassthrough", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineScsiDiskDeviceInfo",lazy=True)(pname=(ns,"scsiDisk"), aname="_scsiDisk", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineIdeDiskDeviceInfo",lazy=True)(pname=(ns,"ideDisk"), aname="_ideDisk", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxMemMBOptimalPerf"), aname="_maxMemMBOptimalPerf", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourcePoolRuntimeInfo",lazy=True)(pname=(ns,"resourcePool"), aname="_resourcePool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"autoVmotion"), aname="_autoVmotion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachinePciPassthroughInfo",lazy=True)(pname=(ns,"pciPassthrough"), aname="_pciPassthrough", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineSriovInfo",lazy=True)(pname=(ns,"sriov"), aname="_sriov", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineVFlashModuleInfo",lazy=True)(pname=(ns,"vFlashModule"), aname="_vFlashModule", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachinePciSharedGpuPassthroughInfo",lazy=True)(pname=(ns,"sharedGpuPassthroughTypes"), aname="_sharedGpuPassthroughTypes", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"availablePersistentMemoryReservationMB"), aname="_availablePersistentMemoryReservationMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ConfigTarget_Def.__bases__:
                bases = list(ns0.ConfigTarget_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ConfigTarget_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineConsolePreferences_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineConsolePreferences")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineConsolePreferences_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"powerOnWhenOpened"), aname="_powerOnWhenOpened", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enterFullScreenOnPowerOn"), aname="_enterFullScreenOnPowerOn", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"closeOnPowerOffOrSuspend"), aname="_closeOnPowerOffOrSuspend", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineConsolePreferences_Def.__bases__:
                bases = list(ns0.VirtualMachineConsolePreferences_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineConsolePreferences_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineDatastoreInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineDatastoreInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineDatastoreInfo_Def.schema
            TClist = [GTD("urn:vim25","DatastoreSummary",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatastoreCapability",lazy=True)(pname=(ns,"capability"), aname="_capability", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"maxFileSize"), aname="_maxFileSize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"maxVirtualDiskCapacity"), aname="_maxVirtualDiskCapacity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"maxPhysicalRDMFileSize"), aname="_maxPhysicalRDMFileSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"maxVirtualRDMFileSize"), aname="_maxVirtualRDMFileSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mode"), aname="_mode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vStorageSupport"), aname="_vStorageSupport", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineTargetInfo_Def not in ns0.VirtualMachineDatastoreInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineDatastoreInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineTargetInfo_Def)
                ns0.VirtualMachineDatastoreInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineTargetInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineDatastoreInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineDatastoreInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineDatastoreInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineDatastoreInfo",lazy=True)(pname=(ns,"VirtualMachineDatastoreInfo"), aname="_VirtualMachineDatastoreInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineDatastoreInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineDatastoreInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineDatastoreVolumeOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineDatastoreVolumeOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineDatastoreVolumeOption_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"fileSystemType"), aname="_fileSystemType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"majorVersion"), aname="_majorVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineDatastoreVolumeOption_Def.__bases__:
                bases = list(ns0.VirtualMachineDatastoreVolumeOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineDatastoreVolumeOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineDatastoreVolumeOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineDatastoreVolumeOption")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineDatastoreVolumeOption_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineDatastoreVolumeOption",lazy=True)(pname=(ns,"VirtualMachineDatastoreVolumeOption"), aname="_VirtualMachineDatastoreVolumeOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineDatastoreVolumeOption = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineDatastoreVolumeOption_Holder"
            self.pyclass = Holder

    class DatastoreOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DatastoreOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DatastoreOption_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineDatastoreVolumeOption",lazy=True)(pname=(ns,"unsupportedVolumes"), aname="_unsupportedVolumes", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DatastoreOption_Def.__bases__:
                bases = list(ns0.DatastoreOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DatastoreOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachinePowerOpType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachinePowerOpType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineStandbyActionType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineStandbyActionType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineDefaultPowerOpInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineDefaultPowerOpInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineDefaultPowerOpInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"powerOffType"), aname="_powerOffType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"suspendType"), aname="_suspendType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"resetType"), aname="_resetType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"defaultPowerOffType"), aname="_defaultPowerOffType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"defaultSuspendType"), aname="_defaultSuspendType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"defaultResetType"), aname="_defaultResetType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"standbyAction"), aname="_standbyAction", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineDefaultPowerOpInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineDefaultPowerOpInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineDefaultPowerOpInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineDefaultProfileSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineDefaultProfileSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineDefaultProfileSpec_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineProfileSpec_Def not in ns0.VirtualMachineDefaultProfileSpec_Def.__bases__:
                bases = list(ns0.VirtualMachineDefaultProfileSpec_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineProfileSpec_Def)
                ns0.VirtualMachineDefaultProfileSpec_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineProfileSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineDefinedProfileSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineDefinedProfileSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineDefinedProfileSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"profileId"), aname="_profileId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ReplicationSpec",lazy=True)(pname=(ns,"replicationSpec"), aname="_replicationSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileRawData",lazy=True)(pname=(ns,"profileData"), aname="_profileData", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"profileParams"), aname="_profileParams", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineProfileSpec_Def not in ns0.VirtualMachineDefinedProfileSpec_Def.__bases__:
                bases = list(ns0.VirtualMachineDefinedProfileSpec_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineProfileSpec_Def)
                ns0.VirtualMachineDefinedProfileSpec_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineProfileSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineDeviceRuntimeInfoDeviceRuntimeState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineDeviceRuntimeInfoDeviceRuntimeState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineDeviceRuntimeInfoDeviceRuntimeState_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineDeviceRuntimeInfoDeviceRuntimeState_Def.__bases__:
                bases = list(ns0.VirtualMachineDeviceRuntimeInfoDeviceRuntimeState_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineDeviceRuntimeInfoDeviceRuntimeState_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"vmDirectPathGen2Active"), aname="_vmDirectPathGen2Active", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmDirectPathGen2InactiveReasonVm"), aname="_vmDirectPathGen2InactiveReasonVm", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmDirectPathGen2InactiveReasonOther"), aname="_vmDirectPathGen2InactiveReasonOther", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmDirectPathGen2InactiveReasonExtended"), aname="_vmDirectPathGen2InactiveReasonExtended", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"reservationStatus"), aname="_reservationStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"attachmentStatus"), aname="_attachmentStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFeatureRequirement",lazy=True)(pname=(ns,"featureRequirement"), aname="_featureRequirement", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineDeviceRuntimeInfoDeviceRuntimeState_Def not in ns0.VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState_Def.__bases__:
                bases = list(ns0.VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineDeviceRuntimeInfoDeviceRuntimeState_Def)
                ns0.VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineDeviceRuntimeInfoDeviceRuntimeState_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineDeviceRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineDeviceRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineDeviceRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineDeviceRuntimeInfoDeviceRuntimeState",lazy=True)(pname=(ns,"runtimeState"), aname="_runtimeState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineDeviceRuntimeInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineDeviceRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineDeviceRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineDeviceRuntimeInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineDeviceRuntimeInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineDeviceRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineDeviceRuntimeInfo",lazy=True)(pname=(ns,"VirtualMachineDeviceRuntimeInfo"), aname="_VirtualMachineDeviceRuntimeInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineDeviceRuntimeInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineDeviceRuntimeInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineDiskDeviceInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineDiskDeviceInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineDiskDeviceInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacity"), aname="_capacity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineTargetInfo_Def not in ns0.VirtualMachineDiskDeviceInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineDiskDeviceInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineTargetInfo_Def)
                ns0.VirtualMachineDiskDeviceInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineTargetInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineEmptyProfileSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineEmptyProfileSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineEmptyProfileSpec_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineProfileSpec_Def not in ns0.VirtualMachineEmptyProfileSpec_Def.__bases__:
                bases = list(ns0.VirtualMachineEmptyProfileSpec_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineProfileSpec_Def)
                ns0.VirtualMachineEmptyProfileSpec_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineProfileSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultToleranceConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultToleranceConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultToleranceConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"role"), aname="_role", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceUuids"), aname="_instanceUuids", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configPaths"), aname="_configPaths", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"orphaned"), aname="_orphaned", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FaultToleranceConfigInfo_Def.__bases__:
                bases = list(ns0.FaultToleranceConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FaultToleranceConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultTolerancePrimaryConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultTolerancePrimaryConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultTolerancePrimaryConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"secondaries"), aname="_secondaries", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FaultToleranceConfigInfo_Def not in ns0.FaultTolerancePrimaryConfigInfo_Def.__bases__:
                bases = list(ns0.FaultTolerancePrimaryConfigInfo_Def.__bases__)
                bases.insert(0, ns0.FaultToleranceConfigInfo_Def)
                ns0.FaultTolerancePrimaryConfigInfo_Def.__bases__ = tuple(bases)

            ns0.FaultToleranceConfigInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultToleranceSecondaryConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultToleranceSecondaryConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultToleranceSecondaryConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"primaryVM"), aname="_primaryVM", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.FaultToleranceConfigInfo_Def not in ns0.FaultToleranceSecondaryConfigInfo_Def.__bases__:
                bases = list(ns0.FaultToleranceSecondaryConfigInfo_Def.__bases__)
                bases.insert(0, ns0.FaultToleranceConfigInfo_Def)
                ns0.FaultToleranceSecondaryConfigInfo_Def.__bases__ = tuple(bases)

            ns0.FaultToleranceConfigInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultToleranceConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultToleranceConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultToleranceConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","FaultToleranceMetaSpec",lazy=True)(pname=(ns,"metaDataPath"), aname="_metaDataPath", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FaultToleranceVMConfigSpec",lazy=True)(pname=(ns,"secondaryVmSpec"), aname="_secondaryVmSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FaultToleranceConfigSpec_Def.__bases__:
                bases = list(ns0.FaultToleranceConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FaultToleranceConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultToleranceMetaSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultToleranceMetaSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultToleranceMetaSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"metaDataDatastore"), aname="_metaDataDatastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FaultToleranceMetaSpec_Def.__bases__:
                bases = list(ns0.FaultToleranceMetaSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FaultToleranceMetaSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultToleranceSecondaryOpResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultToleranceSecondaryOpResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultToleranceSecondaryOpResult_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"powerOnAttempted"), aname="_powerOnAttempted", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterPowerOnVmResult",lazy=True)(pname=(ns,"powerOnResult"), aname="_powerOnResult", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FaultToleranceSecondaryOpResult_Def.__bases__:
                bases = list(ns0.FaultToleranceSecondaryOpResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FaultToleranceSecondaryOpResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultToleranceDiskSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultToleranceDiskSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultToleranceDiskSpec_Def.schema
            TClist = [GTD("urn:vim25","VirtualDevice",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FaultToleranceDiskSpec_Def.__bases__:
                bases = list(ns0.FaultToleranceDiskSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FaultToleranceDiskSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfFaultToleranceDiskSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfFaultToleranceDiskSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfFaultToleranceDiskSpec_Def.schema
            TClist = [GTD("urn:vim25","FaultToleranceDiskSpec",lazy=True)(pname=(ns,"FaultToleranceDiskSpec"), aname="_FaultToleranceDiskSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._FaultToleranceDiskSpec = []
                    return
            Holder.__name__ = "ArrayOfFaultToleranceDiskSpec_Holder"
            self.pyclass = Holder

    class FaultToleranceVMConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultToleranceVMConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultToleranceVMConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vmConfig"), aname="_vmConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FaultToleranceDiskSpec",lazy=True)(pname=(ns,"disks"), aname="_disks", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FaultToleranceVMConfigSpec_Def.__bases__:
                bases = list(ns0.FaultToleranceVMConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FaultToleranceVMConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineFeatureRequirement_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFeatureRequirement")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineFeatureRequirement_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"featureName"), aname="_featureName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineFeatureRequirement_Def.__bases__:
                bases = list(ns0.VirtualMachineFeatureRequirement_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineFeatureRequirement_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineFeatureRequirement_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineFeatureRequirement")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineFeatureRequirement_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineFeatureRequirement",lazy=True)(pname=(ns,"VirtualMachineFeatureRequirement"), aname="_VirtualMachineFeatureRequirement", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineFeatureRequirement = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineFeatureRequirement_Holder"
            self.pyclass = Holder

    class VirtualMachineFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineFileInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmPathName"), aname="_vmPathName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"snapshotDirectory"), aname="_snapshotDirectory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"suspendDirectory"), aname="_suspendDirectory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"logDirectory"), aname="_logDirectory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ftMetadataDirectory"), aname="_ftMetadataDirectory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineFileInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineFileInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineFileInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineFileLayoutDiskLayout_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFileLayoutDiskLayout")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineFileLayoutDiskLayout_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diskFile"), aname="_diskFile", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineFileLayoutDiskLayout_Def.__bases__:
                bases = list(ns0.VirtualMachineFileLayoutDiskLayout_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineFileLayoutDiskLayout_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineFileLayoutDiskLayout_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineFileLayoutDiskLayout")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineFileLayoutDiskLayout_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineFileLayoutDiskLayout",lazy=True)(pname=(ns,"VirtualMachineFileLayoutDiskLayout"), aname="_VirtualMachineFileLayoutDiskLayout", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineFileLayoutDiskLayout = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineFileLayoutDiskLayout_Holder"
            self.pyclass = Holder

    class VirtualMachineFileLayoutSnapshotLayout_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFileLayoutSnapshotLayout")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineFileLayoutSnapshotLayout_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"snapshotFile"), aname="_snapshotFile", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineFileLayoutSnapshotLayout_Def.__bases__:
                bases = list(ns0.VirtualMachineFileLayoutSnapshotLayout_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineFileLayoutSnapshotLayout_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineFileLayoutSnapshotLayout_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineFileLayoutSnapshotLayout")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineFileLayoutSnapshotLayout_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineFileLayoutSnapshotLayout",lazy=True)(pname=(ns,"VirtualMachineFileLayoutSnapshotLayout"), aname="_VirtualMachineFileLayoutSnapshotLayout", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineFileLayoutSnapshotLayout = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineFileLayoutSnapshotLayout_Holder"
            self.pyclass = Holder

    class VirtualMachineFileLayout_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFileLayout")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineFileLayout_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"configFile"), aname="_configFile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"logFile"), aname="_logFile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFileLayoutDiskLayout",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFileLayoutSnapshotLayout",lazy=True)(pname=(ns,"snapshot"), aname="_snapshot", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"swapFile"), aname="_swapFile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineFileLayout_Def.__bases__:
                bases = list(ns0.VirtualMachineFileLayout_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineFileLayout_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineFileLayoutExFileType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFileLayoutExFileType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineFileLayoutExFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFileLayoutExFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineFileLayoutExFileInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"size"), aname="_size", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"uniqueSize"), aname="_uniqueSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"backingObjectId"), aname="_backingObjectId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"accessible"), aname="_accessible", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineFileLayoutExFileInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineFileLayoutExFileInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineFileLayoutExFileInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineFileLayoutExFileInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineFileLayoutExFileInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineFileLayoutExFileInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineFileLayoutExFileInfo",lazy=True)(pname=(ns,"VirtualMachineFileLayoutExFileInfo"), aname="_VirtualMachineFileLayoutExFileInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineFileLayoutExFileInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineFileLayoutExFileInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineFileLayoutExDiskUnit_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFileLayoutExDiskUnit")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineFileLayoutExDiskUnit_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"fileKey"), aname="_fileKey", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineFileLayoutExDiskUnit_Def.__bases__:
                bases = list(ns0.VirtualMachineFileLayoutExDiskUnit_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineFileLayoutExDiskUnit_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineFileLayoutExDiskUnit_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineFileLayoutExDiskUnit")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineFileLayoutExDiskUnit_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineFileLayoutExDiskUnit",lazy=True)(pname=(ns,"VirtualMachineFileLayoutExDiskUnit"), aname="_VirtualMachineFileLayoutExDiskUnit", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineFileLayoutExDiskUnit = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineFileLayoutExDiskUnit_Holder"
            self.pyclass = Holder

    class VirtualMachineFileLayoutExDiskLayout_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFileLayoutExDiskLayout")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineFileLayoutExDiskLayout_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFileLayoutExDiskUnit",lazy=True)(pname=(ns,"chain"), aname="_chain", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineFileLayoutExDiskLayout_Def.__bases__:
                bases = list(ns0.VirtualMachineFileLayoutExDiskLayout_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineFileLayoutExDiskLayout_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineFileLayoutExDiskLayout_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineFileLayoutExDiskLayout")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineFileLayoutExDiskLayout_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineFileLayoutExDiskLayout",lazy=True)(pname=(ns,"VirtualMachineFileLayoutExDiskLayout"), aname="_VirtualMachineFileLayoutExDiskLayout", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineFileLayoutExDiskLayout = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineFileLayoutExDiskLayout_Holder"
            self.pyclass = Holder

    class VirtualMachineFileLayoutExSnapshotLayout_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFileLayoutExSnapshotLayout")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineFileLayoutExSnapshotLayout_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"dataKey"), aname="_dataKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memoryKey"), aname="_memoryKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFileLayoutExDiskLayout",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineFileLayoutExSnapshotLayout_Def.__bases__:
                bases = list(ns0.VirtualMachineFileLayoutExSnapshotLayout_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineFileLayoutExSnapshotLayout_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineFileLayoutExSnapshotLayout_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineFileLayoutExSnapshotLayout")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineFileLayoutExSnapshotLayout_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineFileLayoutExSnapshotLayout",lazy=True)(pname=(ns,"VirtualMachineFileLayoutExSnapshotLayout"), aname="_VirtualMachineFileLayoutExSnapshotLayout", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineFileLayoutExSnapshotLayout = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineFileLayoutExSnapshotLayout_Holder"
            self.pyclass = Holder

    class VirtualMachineFileLayoutEx_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFileLayoutEx")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineFileLayoutEx_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineFileLayoutExFileInfo",lazy=True)(pname=(ns,"file"), aname="_file", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFileLayoutExDiskLayout",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFileLayoutExSnapshotLayout",lazy=True)(pname=(ns,"snapshot"), aname="_snapshot", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"timestamp"), aname="_timestamp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineFileLayoutEx_Def.__bases__:
                bases = list(ns0.VirtualMachineFileLayoutEx_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineFileLayoutEx_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineHtSharing_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineHtSharing")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachinePowerOffBehavior_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachinePowerOffBehavior")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineFlagInfoMonitorType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFlagInfoMonitorType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineFlagInfoVirtualMmuUsage_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFlagInfoVirtualMmuUsage")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineFlagInfoVirtualExecUsage_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFlagInfoVirtualExecUsage")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineFlagInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFlagInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineFlagInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"disableAcceleration"), aname="_disableAcceleration", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enableLogging"), aname="_enableLogging", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"useToe"), aname="_useToe", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"runWithDebugInfo"), aname="_runWithDebugInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"monitorType"), aname="_monitorType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"htSharing"), aname="_htSharing", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"snapshotDisabled"), aname="_snapshotDisabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"snapshotLocked"), aname="_snapshotLocked", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"diskUuidEnabled"), aname="_diskUuidEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"virtualMmuUsage"), aname="_virtualMmuUsage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"virtualExecUsage"), aname="_virtualExecUsage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"snapshotPowerOffBehavior"), aname="_snapshotPowerOffBehavior", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"recordReplayEnabled"), aname="_recordReplayEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"faultToleranceType"), aname="_faultToleranceType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cbrcCacheEnabled"), aname="_cbrcCacheEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vvtdEnabled"), aname="_vvtdEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vbsEnabled"), aname="_vbsEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineFlagInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineFlagInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineFlagInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineFloppyInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineFloppyInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineFloppyInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineTargetInfo_Def not in ns0.VirtualMachineFloppyInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineFloppyInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineTargetInfo_Def)
                ns0.VirtualMachineFloppyInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineTargetInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineFloppyInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineFloppyInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineFloppyInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineFloppyInfo",lazy=True)(pname=(ns,"VirtualMachineFloppyInfo"), aname="_VirtualMachineFloppyInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineFloppyInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineFloppyInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineForkConfigInfoChildType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineForkConfigInfoChildType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineForkConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineForkConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineForkConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"parentEnabled"), aname="_parentEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"childForkGroupId"), aname="_childForkGroupId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"parentForkGroupId"), aname="_parentForkGroupId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"childType"), aname="_childType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineForkConfigInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineForkConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineForkConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineToolsStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineToolsStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineToolsVersionStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineToolsVersionStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineToolsRunningStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineToolsRunningStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineToolsInstallType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineToolsInstallType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class GuestDiskInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestDiskInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestDiskInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskPath"), aname="_diskPath", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacity"), aname="_capacity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"freeSpace"), aname="_freeSpace", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestDiskInfo_Def.__bases__:
                bases = list(ns0.GuestDiskInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestDiskInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfGuestDiskInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfGuestDiskInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfGuestDiskInfo_Def.schema
            TClist = [GTD("urn:vim25","GuestDiskInfo",lazy=True)(pname=(ns,"GuestDiskInfo"), aname="_GuestDiskInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._GuestDiskInfo = []
                    return
            Holder.__name__ = "ArrayOfGuestDiskInfo_Holder"
            self.pyclass = Holder

    class GuestNicInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestNicInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestNicInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"network"), aname="_network", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"macAddress"), aname="_macAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"connected"), aname="_connected", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"deviceConfigId"), aname="_deviceConfigId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetDnsConfigInfo",lazy=True)(pname=(ns,"dnsConfig"), aname="_dnsConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetIpConfigInfo",lazy=True)(pname=(ns,"ipConfig"), aname="_ipConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetBIOSConfigInfo",lazy=True)(pname=(ns,"netBIOSConfig"), aname="_netBIOSConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestNicInfo_Def.__bases__:
                bases = list(ns0.GuestNicInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestNicInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfGuestNicInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfGuestNicInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfGuestNicInfo_Def.schema
            TClist = [GTD("urn:vim25","GuestNicInfo",lazy=True)(pname=(ns,"GuestNicInfo"), aname="_GuestNicInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._GuestNicInfo = []
                    return
            Holder.__name__ = "ArrayOfGuestNicInfo_Holder"
            self.pyclass = Holder

    class GuestStackInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestStackInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestStackInfo_Def.schema
            TClist = [GTD("urn:vim25","NetDnsConfigInfo",lazy=True)(pname=(ns,"dnsConfig"), aname="_dnsConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetIpRouteConfigInfo",lazy=True)(pname=(ns,"ipRouteConfig"), aname="_ipRouteConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"ipStackConfig"), aname="_ipStackConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NetDhcpConfigInfo",lazy=True)(pname=(ns,"dhcpConfig"), aname="_dhcpConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestStackInfo_Def.__bases__:
                bases = list(ns0.GuestStackInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestStackInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfGuestStackInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfGuestStackInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfGuestStackInfo_Def.schema
            TClist = [GTD("urn:vim25","GuestStackInfo",lazy=True)(pname=(ns,"GuestStackInfo"), aname="_GuestStackInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._GuestStackInfo = []
                    return
            Holder.__name__ = "ArrayOfGuestStackInfo_Holder"
            self.pyclass = Holder

    class GuestScreenInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestScreenInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestScreenInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"width"), aname="_width", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"height"), aname="_height", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestScreenInfo_Def.__bases__:
                bases = list(ns0.GuestScreenInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestScreenInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineGuestState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineGuestState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class GuestInfoAppStateType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GuestInfoAppStateType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class GuestInfoNamespaceGenerationInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestInfoNamespaceGenerationInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestInfoNamespaceGenerationInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"generationNo"), aname="_generationNo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestInfoNamespaceGenerationInfo_Def.__bases__:
                bases = list(ns0.GuestInfoNamespaceGenerationInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestInfoNamespaceGenerationInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfGuestInfoNamespaceGenerationInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfGuestInfoNamespaceGenerationInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfGuestInfoNamespaceGenerationInfo_Def.schema
            TClist = [GTD("urn:vim25","GuestInfoNamespaceGenerationInfo",lazy=True)(pname=(ns,"GuestInfoNamespaceGenerationInfo"), aname="_GuestInfoNamespaceGenerationInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._GuestInfoNamespaceGenerationInfo = []
                    return
            Holder.__name__ = "ArrayOfGuestInfoNamespaceGenerationInfo_Holder"
            self.pyclass = Holder

    class GuestInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineToolsStatus",lazy=True)(pname=(ns,"toolsStatus"), aname="_toolsStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"toolsVersionStatus"), aname="_toolsVersionStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"toolsVersionStatus2"), aname="_toolsVersionStatus2", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"toolsRunningStatus"), aname="_toolsRunningStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"toolsVersion"), aname="_toolsVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"toolsInstallType"), aname="_toolsInstallType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestId"), aname="_guestId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestFamily"), aname="_guestFamily", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestFullName"), aname="_guestFullName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestNicInfo",lazy=True)(pname=(ns,"net"), aname="_net", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestStackInfo",lazy=True)(pname=(ns,"ipStack"), aname="_ipStack", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestDiskInfo",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestScreenInfo",lazy=True)(pname=(ns,"screen"), aname="_screen", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestState"), aname="_guestState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"appHeartbeatStatus"), aname="_appHeartbeatStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"guestKernelCrashed"), aname="_guestKernelCrashed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"appState"), aname="_appState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"guestOperationsReady"), aname="_guestOperationsReady", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"interactiveGuestOperationsReady"), aname="_interactiveGuestOperationsReady", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"guestStateChangeSupported"), aname="_guestStateChangeSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestInfoNamespaceGenerationInfo",lazy=True)(pname=(ns,"generationInfo"), aname="_generationInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestInfo_Def.__bases__:
                bases = list(ns0.GuestInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineGuestIntegrityInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineGuestIntegrityInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineGuestIntegrityInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineGuestIntegrityInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineGuestIntegrityInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineGuestIntegrityInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineGuestOsFamily_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineGuestOsFamily")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineGuestOsIdentifier_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineGuestOsIdentifier")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class GuestOsDescriptorFirmwareType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GuestOsDescriptorFirmwareType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class GuestOsDescriptorSupportLevel_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GuestOsDescriptorSupportLevel")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class GuestOsDescriptor_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestOsDescriptor")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestOsDescriptor_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"family"), aname="_family", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fullName"), aname="_fullName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"supportedMaxCPUs"), aname="_supportedMaxCPUs", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numSupportedPhysicalSockets"), aname="_numSupportedPhysicalSockets", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numSupportedCoresPerSocket"), aname="_numSupportedCoresPerSocket", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"supportedMinMemMB"), aname="_supportedMinMemMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"supportedMaxMemMB"), aname="_supportedMaxMemMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"recommendedMemMB"), aname="_recommendedMemMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"recommendedColorDepth"), aname="_recommendedColorDepth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportedDiskControllerList"), aname="_supportedDiskControllerList", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"recommendedSCSIController"), aname="_recommendedSCSIController", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"recommendedDiskController"), aname="_recommendedDiskController", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"supportedNumDisks"), aname="_supportedNumDisks", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"recommendedDiskSizeMB"), aname="_recommendedDiskSizeMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"recommendedCdromController"), aname="_recommendedCdromController", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportedEthernetCard"), aname="_supportedEthernetCard", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"recommendedEthernetCard"), aname="_recommendedEthernetCard", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supportsSlaveDisk"), aname="_supportsSlaveDisk", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostCpuIdInfo",lazy=True)(pname=(ns,"cpuFeatureMask"), aname="_cpuFeatureMask", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"smcRequired"), aname="_smcRequired", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supportsWakeOnLan"), aname="_supportsWakeOnLan", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supportsVMI"), aname="_supportsVMI", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supportsMemoryHotAdd"), aname="_supportsMemoryHotAdd", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supportsCpuHotAdd"), aname="_supportsCpuHotAdd", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supportsCpuHotRemove"), aname="_supportsCpuHotRemove", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportedFirmware"), aname="_supportedFirmware", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"recommendedFirmware"), aname="_recommendedFirmware", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportedUSBControllerList"), aname="_supportedUSBControllerList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"recommendedUSBController"), aname="_recommendedUSBController", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supports3D"), aname="_supports3D", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"recommended3D"), aname="_recommended3D", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"smcRecommended"), aname="_smcRecommended", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ich7mRecommended"), aname="_ich7mRecommended", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"usbRecommended"), aname="_usbRecommended", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportLevel"), aname="_supportLevel", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supportedForCreate"), aname="_supportedForCreate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"vRAMSizeInKB"), aname="_vRAMSizeInKB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numSupportedFloppyDevices"), aname="_numSupportedFloppyDevices", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"wakeOnLanEthernetCard"), aname="_wakeOnLanEthernetCard", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supportsPvscsiControllerForBoot"), aname="_supportsPvscsiControllerForBoot", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"diskUuidEnabled"), aname="_diskUuidEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supportsHotPlugPCI"), aname="_supportsHotPlugPCI", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supportsSecureBoot"), aname="_supportsSecureBoot", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"defaultSecureBoot"), aname="_defaultSecureBoot", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"persistentMemorySupported"), aname="_persistentMemorySupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"supportedMinPersistentMemoryMB"), aname="_supportedMinPersistentMemoryMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"supportedMaxPersistentMemoryMB"), aname="_supportedMaxPersistentMemoryMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"recommendedPersistentMemoryMB"), aname="_recommendedPersistentMemoryMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"persistentMemoryHotAddSupported"), aname="_persistentMemoryHotAddSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"persistentMemoryHotRemoveSupported"), aname="_persistentMemoryHotRemoveSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"persistentMemoryColdGrowthSupported"), aname="_persistentMemoryColdGrowthSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"persistentMemoryColdGrowthGranularityMB"), aname="_persistentMemoryColdGrowthGranularityMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"persistentMemoryHotGrowthSupported"), aname="_persistentMemoryHotGrowthSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"persistentMemoryHotGrowthGranularityMB"), aname="_persistentMemoryHotGrowthGranularityMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numRecommendedPhysicalSockets"), aname="_numRecommendedPhysicalSockets", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numRecommendedCoresPerSocket"), aname="_numRecommendedCoresPerSocket", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"vvtdSupported"), aname="_vvtdSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"vbsSupported"), aname="_vbsSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"supportsTPM20"), aname="_supportsTPM20", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestOsDescriptor_Def.__bases__:
                bases = list(ns0.GuestOsDescriptor_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestOsDescriptor_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfGuestOsDescriptor_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfGuestOsDescriptor")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfGuestOsDescriptor_Def.schema
            TClist = [GTD("urn:vim25","GuestOsDescriptor",lazy=True)(pname=(ns,"GuestOsDescriptor"), aname="_GuestOsDescriptor", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._GuestOsDescriptor = []
                    return
            Holder.__name__ = "ArrayOfGuestOsDescriptor_Holder"
            self.pyclass = Holder

    class VirtualMachineGuestQuiesceSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineGuestQuiesceSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineGuestQuiesceSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"timeout"), aname="_timeout", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineGuestQuiesceSpec_Def.__bases__:
                bases = list(ns0.VirtualMachineGuestQuiesceSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineGuestQuiesceSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineIdeDiskDevicePartitionInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineIdeDiskDevicePartitionInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineIdeDiskDevicePartitionInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"capacity"), aname="_capacity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineIdeDiskDevicePartitionInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineIdeDiskDevicePartitionInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineIdeDiskDevicePartitionInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineIdeDiskDevicePartitionInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineIdeDiskDevicePartitionInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineIdeDiskDevicePartitionInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineIdeDiskDevicePartitionInfo",lazy=True)(pname=(ns,"VirtualMachineIdeDiskDevicePartitionInfo"), aname="_VirtualMachineIdeDiskDevicePartitionInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineIdeDiskDevicePartitionInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineIdeDiskDevicePartitionInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineIdeDiskDeviceInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineIdeDiskDeviceInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineIdeDiskDeviceInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineIdeDiskDevicePartitionInfo",lazy=True)(pname=(ns,"partitionTable"), aname="_partitionTable", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineDiskDeviceInfo_Def not in ns0.VirtualMachineIdeDiskDeviceInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineIdeDiskDeviceInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineDiskDeviceInfo_Def)
                ns0.VirtualMachineIdeDiskDeviceInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineDiskDeviceInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineIdeDiskDeviceInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineIdeDiskDeviceInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineIdeDiskDeviceInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineIdeDiskDeviceInfo",lazy=True)(pname=(ns,"VirtualMachineIdeDiskDeviceInfo"), aname="_VirtualMachineIdeDiskDeviceInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineIdeDiskDeviceInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineIdeDiskDeviceInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineInstantCloneSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineInstantCloneSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineInstantCloneSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineRelocateSpec",lazy=True)(pname=(ns,"location"), aname="_location", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"biosUuid"), aname="_biosUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineInstantCloneSpec_Def.__bases__:
                bases = list(ns0.VirtualMachineInstantCloneSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineInstantCloneSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineLegacyNetworkSwitchInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineLegacyNetworkSwitchInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineLegacyNetworkSwitchInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineLegacyNetworkSwitchInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineLegacyNetworkSwitchInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineLegacyNetworkSwitchInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineLegacyNetworkSwitchInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineLegacyNetworkSwitchInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineLegacyNetworkSwitchInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineLegacyNetworkSwitchInfo",lazy=True)(pname=(ns,"VirtualMachineLegacyNetworkSwitchInfo"), aname="_VirtualMachineLegacyNetworkSwitchInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineLegacyNetworkSwitchInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineLegacyNetworkSwitchInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineMessage_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineMessage")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineMessage_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.AnyType(pname=(ns,"argument"), aname="_argument", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"text"), aname="_text", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineMessage_Def.__bases__:
                bases = list(ns0.VirtualMachineMessage_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineMessage_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineMessage_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineMessage")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineMessage_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineMessage",lazy=True)(pname=(ns,"VirtualMachineMessage"), aname="_VirtualMachineMessage", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineMessage = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineMessage_Holder"
            self.pyclass = Holder

    class VirtualMachineMetadataManagerVmMetadataOwnerOwner_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineMetadataManagerVmMetadataOwnerOwner")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineMetadataManagerVmMetadataOwner_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineMetadataManagerVmMetadataOwner")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineMetadataManagerVmMetadataOwner_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineMetadataManagerVmMetadataOwner_Def.__bases__:
                bases = list(ns0.VirtualMachineMetadataManagerVmMetadataOwner_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineMetadataManagerVmMetadataOwner_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineMetadataManagerVmMetadataOp_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineMetadataManagerVmMetadataOp")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineMetadataManagerVmMetadata_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineMetadataManagerVmMetadata")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineMetadataManagerVmMetadata_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmId"), aname="_vmId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"metadata"), aname="_metadata", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineMetadataManagerVmMetadata_Def.__bases__:
                bases = list(ns0.VirtualMachineMetadataManagerVmMetadata_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineMetadataManagerVmMetadata_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineMetadataManagerVmMetadataInput_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineMetadataManagerVmMetadataInput")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineMetadataManagerVmMetadataInput_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineMetadataManagerVmMetadata",lazy=True)(pname=(ns,"vmMetadata"), aname="_vmMetadata", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineMetadataManagerVmMetadataInput_Def.__bases__:
                bases = list(ns0.VirtualMachineMetadataManagerVmMetadataInput_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineMetadataManagerVmMetadataInput_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineMetadataManagerVmMetadataInput_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineMetadataManagerVmMetadataInput")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineMetadataManagerVmMetadataInput_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineMetadataManagerVmMetadataInput",lazy=True)(pname=(ns,"VirtualMachineMetadataManagerVmMetadataInput"), aname="_VirtualMachineMetadataManagerVmMetadataInput", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineMetadataManagerVmMetadataInput = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineMetadataManagerVmMetadataInput_Holder"
            self.pyclass = Holder

    class VirtualMachineMetadataManagerVmMetadataResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineMetadataManagerVmMetadataResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineMetadataManagerVmMetadataResult_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineMetadataManagerVmMetadata",lazy=True)(pname=(ns,"vmMetadata"), aname="_vmMetadata", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineMetadataManagerVmMetadataResult_Def.__bases__:
                bases = list(ns0.VirtualMachineMetadataManagerVmMetadataResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineMetadataManagerVmMetadataResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineMetadataManagerVmMetadataResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineMetadataManagerVmMetadataResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineMetadataManagerVmMetadataResult_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineMetadataManagerVmMetadataResult",lazy=True)(pname=(ns,"VirtualMachineMetadataManagerVmMetadataResult"), aname="_VirtualMachineMetadataManagerVmMetadataResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineMetadataManagerVmMetadataResult = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineMetadataManagerVmMetadataResult_Holder"
            self.pyclass = Holder

    class VirtualMachineNetworkInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineNetworkInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineNetworkInfo_Def.schema
            TClist = [GTD("urn:vim25","NetworkSummary",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vswitch"), aname="_vswitch", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineTargetInfo_Def not in ns0.VirtualMachineNetworkInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineNetworkInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineTargetInfo_Def)
                ns0.VirtualMachineNetworkInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineTargetInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineNetworkInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineNetworkInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineNetworkInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineNetworkInfo",lazy=True)(pname=(ns,"VirtualMachineNetworkInfo"), aname="_VirtualMachineNetworkInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineNetworkInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineNetworkInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineNetworkShaperInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineNetworkShaperInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineNetworkShaperInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"peakBps"), aname="_peakBps", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"averageBps"), aname="_averageBps", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"burstSize"), aname="_burstSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineNetworkShaperInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineNetworkShaperInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineNetworkShaperInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class OpaqueNetworkTargetInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "OpaqueNetworkTargetInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.OpaqueNetworkTargetInfo_Def.schema
            TClist = [GTD("urn:vim25","OpaqueNetworkSummary",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"networkReservationSupported"), aname="_networkReservationSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineTargetInfo_Def not in ns0.OpaqueNetworkTargetInfo_Def.__bases__:
                bases = list(ns0.OpaqueNetworkTargetInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineTargetInfo_Def)
                ns0.OpaqueNetworkTargetInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineTargetInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfOpaqueNetworkTargetInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfOpaqueNetworkTargetInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfOpaqueNetworkTargetInfo_Def.schema
            TClist = [GTD("urn:vim25","OpaqueNetworkTargetInfo",lazy=True)(pname=(ns,"OpaqueNetworkTargetInfo"), aname="_OpaqueNetworkTargetInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._OpaqueNetworkTargetInfo = []
                    return
            Holder.__name__ = "ArrayOfOpaqueNetworkTargetInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineParallelInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineParallelInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineParallelInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineTargetInfo_Def not in ns0.VirtualMachineParallelInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineParallelInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineTargetInfo_Def)
                ns0.VirtualMachineParallelInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineTargetInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineParallelInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineParallelInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineParallelInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineParallelInfo",lazy=True)(pname=(ns,"VirtualMachineParallelInfo"), aname="_VirtualMachineParallelInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineParallelInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineParallelInfo_Holder"
            self.pyclass = Holder

    class VirtualMachinePciPassthroughInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachinePciPassthroughInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachinePciPassthroughInfo_Def.schema
            TClist = [GTD("urn:vim25","HostPciDevice",lazy=True)(pname=(ns,"pciDevice"), aname="_pciDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"systemId"), aname="_systemId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineTargetInfo_Def not in ns0.VirtualMachinePciPassthroughInfo_Def.__bases__:
                bases = list(ns0.VirtualMachinePciPassthroughInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineTargetInfo_Def)
                ns0.VirtualMachinePciPassthroughInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineTargetInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachinePciPassthroughInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachinePciPassthroughInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachinePciPassthroughInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachinePciPassthroughInfo",lazy=True)(pname=(ns,"VirtualMachinePciPassthroughInfo"), aname="_VirtualMachinePciPassthroughInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachinePciPassthroughInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachinePciPassthroughInfo_Holder"
            self.pyclass = Holder

    class VirtualMachinePciSharedGpuPassthroughInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachinePciSharedGpuPassthroughInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachinePciSharedGpuPassthroughInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vgpu"), aname="_vgpu", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineTargetInfo_Def not in ns0.VirtualMachinePciSharedGpuPassthroughInfo_Def.__bases__:
                bases = list(ns0.VirtualMachinePciSharedGpuPassthroughInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineTargetInfo_Def)
                ns0.VirtualMachinePciSharedGpuPassthroughInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineTargetInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachinePciSharedGpuPassthroughInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachinePciSharedGpuPassthroughInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachinePciSharedGpuPassthroughInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachinePciSharedGpuPassthroughInfo",lazy=True)(pname=(ns,"VirtualMachinePciSharedGpuPassthroughInfo"), aname="_VirtualMachinePciSharedGpuPassthroughInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachinePciSharedGpuPassthroughInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachinePciSharedGpuPassthroughInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineProfileDetailsDiskProfileDetails_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineProfileDetailsDiskProfileDetails")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineProfileDetailsDiskProfileDetails_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"diskId"), aname="_diskId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineProfileDetailsDiskProfileDetails_Def.__bases__:
                bases = list(ns0.VirtualMachineProfileDetailsDiskProfileDetails_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineProfileDetailsDiskProfileDetails_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineProfileDetailsDiskProfileDetails_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineProfileDetailsDiskProfileDetails")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineProfileDetailsDiskProfileDetails_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineProfileDetailsDiskProfileDetails",lazy=True)(pname=(ns,"VirtualMachineProfileDetailsDiskProfileDetails"), aname="_VirtualMachineProfileDetailsDiskProfileDetails", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineProfileDetailsDiskProfileDetails = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineProfileDetailsDiskProfileDetails_Holder"
            self.pyclass = Holder

    class VirtualMachineProfileDetails_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineProfileDetails")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineProfileDetails_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileDetailsDiskProfileDetails",lazy=True)(pname=(ns,"diskProfileDetails"), aname="_diskProfileDetails", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineProfileDetails_Def.__bases__:
                bases = list(ns0.VirtualMachineProfileDetails_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineProfileDetails_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineProfileRawData_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineProfileRawData")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineProfileRawData_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"objectData"), aname="_objectData", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineProfileRawData_Def.__bases__:
                bases = list(ns0.VirtualMachineProfileRawData_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineProfileRawData_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineProfileSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineProfileSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineProfileSpec_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineProfileSpec_Def.__bases__:
                bases = list(ns0.VirtualMachineProfileSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineProfileSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineProfileSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineProfileSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineProfileSpec_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"VirtualMachineProfileSpec"), aname="_VirtualMachineProfileSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineProfileSpec = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineProfileSpec_Holder"
            self.pyclass = Holder

    class VirtualMachinePropertyRelation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachinePropertyRelation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachinePropertyRelation_Def.schema
            TClist = [GTD("urn:vim25","DynamicProperty",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DynamicProperty",lazy=True)(pname=(ns,"relations"), aname="_relations", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachinePropertyRelation_Def.__bases__:
                bases = list(ns0.VirtualMachinePropertyRelation_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachinePropertyRelation_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachinePropertyRelation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachinePropertyRelation")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachinePropertyRelation_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachinePropertyRelation",lazy=True)(pname=(ns,"VirtualMachinePropertyRelation"), aname="_VirtualMachinePropertyRelation", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachinePropertyRelation = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachinePropertyRelation_Holder"
            self.pyclass = Holder

    class VirtualMachineQuestionInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineQuestionInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineQuestionInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"text"), aname="_text", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"choice"), aname="_choice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineMessage",lazy=True)(pname=(ns,"message"), aname="_message", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineQuestionInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineQuestionInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineQuestionInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineRelocateTransformation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineRelocateTransformation")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineRelocateSpecDiskLocator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineRelocateSpecDiskLocator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineRelocateSpecDiskLocator_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"diskId"), aname="_diskId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diskMoveType"), aname="_diskMoveType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDeviceBackingInfo",lazy=True)(pname=(ns,"diskBackingInfo"), aname="_diskBackingInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineRelocateSpecDiskLocator_Def.__bases__:
                bases = list(ns0.VirtualMachineRelocateSpecDiskLocator_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineRelocateSpecDiskLocator_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineRelocateSpecDiskLocator_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineRelocateSpecDiskLocator")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineRelocateSpecDiskLocator_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineRelocateSpecDiskLocator",lazy=True)(pname=(ns,"VirtualMachineRelocateSpecDiskLocator"), aname="_VirtualMachineRelocateSpecDiskLocator", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineRelocateSpecDiskLocator = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineRelocateSpecDiskLocator_Holder"
            self.pyclass = Holder

    class VirtualMachineRelocateDiskMoveOptions_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineRelocateDiskMoveOptions")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineRelocateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineRelocateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineRelocateSpec_Def.schema
            TClist = [GTD("urn:vim25","ServiceLocator",lazy=True)(pname=(ns,"service"), aname="_service", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"folder"), aname="_folder", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diskMoveType"), aname="_diskMoveType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pool"), aname="_pool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineRelocateSpecDiskLocator",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineRelocateTransformation",lazy=True)(pname=(ns,"transform"), aname="_transform", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDeviceConfigSpec",lazy=True)(pname=(ns,"deviceChange"), aname="_deviceChange", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineRelocateSpec_Def.__bases__:
                bases = list(ns0.VirtualMachineRelocateSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineRelocateSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ReplicationInfoDiskSettings_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReplicationInfoDiskSettings")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReplicationInfoDiskSettings_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diskReplicationId"), aname="_diskReplicationId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ReplicationInfoDiskSettings_Def.__bases__:
                bases = list(ns0.ReplicationInfoDiskSettings_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ReplicationInfoDiskSettings_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfReplicationInfoDiskSettings_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfReplicationInfoDiskSettings")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfReplicationInfoDiskSettings_Def.schema
            TClist = [GTD("urn:vim25","ReplicationInfoDiskSettings",lazy=True)(pname=(ns,"ReplicationInfoDiskSettings"), aname="_ReplicationInfoDiskSettings", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ReplicationInfoDiskSettings = []
                    return
            Holder.__name__ = "ArrayOfReplicationInfoDiskSettings_Holder"
            self.pyclass = Holder

    class ReplicationConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReplicationConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReplicationConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"generation"), aname="_generation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmReplicationId"), aname="_vmReplicationId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"destination"), aname="_destination", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"rpo"), aname="_rpo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"quiesceGuestEnabled"), aname="_quiesceGuestEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"paused"), aname="_paused", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"oppUpdatesEnabled"), aname="_oppUpdatesEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"netCompressionEnabled"), aname="_netCompressionEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"netEncryptionEnabled"), aname="_netEncryptionEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"encryptionDestination"), aname="_encryptionDestination", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"encryptionPort"), aname="_encryptionPort", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"remoteCertificateThumbprint"), aname="_remoteCertificateThumbprint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ReplicationInfoDiskSettings",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ReplicationConfigSpec_Def.__bases__:
                bases = list(ns0.ReplicationConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ReplicationConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineRuntimeInfoDasProtectionState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineRuntimeInfoDasProtectionState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineRuntimeInfoDasProtectionState_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"dasProtected"), aname="_dasProtected", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineRuntimeInfoDasProtectionState_Def.__bases__:
                bases = list(ns0.VirtualMachineRuntimeInfoDasProtectionState_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineRuntimeInfoDasProtectionState_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineDeviceRuntimeInfo",lazy=True)(pname=(ns,"device"), aname="_device", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineConnectionState",lazy=True)(pname=(ns,"connectionState"), aname="_connectionState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachinePowerState",lazy=True)(pname=(ns,"powerState"), aname="_powerState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFaultToleranceState",lazy=True)(pname=(ns,"faultToleranceState"), aname="_faultToleranceState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineRuntimeInfoDasProtectionState",lazy=True)(pname=(ns,"dasVmProtection"), aname="_dasVmProtection", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"toolsInstallerMounted"), aname="_toolsInstallerMounted", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"suspendTime"), aname="_suspendTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"bootTime"), aname="_bootTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"suspendInterval"), aname="_suspendInterval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineQuestionInfo",lazy=True)(pname=(ns,"question"), aname="_question", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"memoryOverhead"), aname="_memoryOverhead", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxCpuUsage"), aname="_maxCpuUsage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxMemoryUsage"), aname="_maxMemoryUsage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numMksConnections"), aname="_numMksConnections", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineRecordReplayState",lazy=True)(pname=(ns,"recordReplayState"), aname="_recordReplayState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cleanPowerOff"), aname="_cleanPowerOff", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"needSecondaryReason"), aname="_needSecondaryReason", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"onlineStandby"), aname="_onlineStandby", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"minRequiredEVCModeKey"), aname="_minRequiredEVCModeKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"consolidationNeeded"), aname="_consolidationNeeded", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFeatureRequirement",lazy=True)(pname=(ns,"offlineFeatureRequirement"), aname="_offlineFeatureRequirement", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineFeatureRequirement",lazy=True)(pname=(ns,"featureRequirement"), aname="_featureRequirement", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFeatureMask",lazy=True)(pname=(ns,"featureMask"), aname="_featureMask", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"vFlashCacheAllocation"), aname="_vFlashCacheAllocation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"paused"), aname="_paused", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"snapshotInBackground"), aname="_snapshotInBackground", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"quiescedForkParent"), aname="_quiescedForkParent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"instantCloneFrozen"), aname="_instantCloneFrozen", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"cryptoState"), aname="_cryptoState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineRuntimeInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ScheduledHardwareUpgradeInfoHardwareUpgradePolicy_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ScheduledHardwareUpgradeInfoHardwareUpgradePolicy")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ScheduledHardwareUpgradeInfoHardwareUpgradeStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ScheduledHardwareUpgradeInfoHardwareUpgradeStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ScheduledHardwareUpgradeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ScheduledHardwareUpgradeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ScheduledHardwareUpgradeInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"upgradePolicy"), aname="_upgradePolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"versionKey"), aname="_versionKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"scheduledHardwareUpgradeStatus"), aname="_scheduledHardwareUpgradeStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ScheduledHardwareUpgradeInfo_Def.__bases__:
                bases = list(ns0.ScheduledHardwareUpgradeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ScheduledHardwareUpgradeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineScsiDiskDeviceInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineScsiDiskDeviceInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineScsiDiskDeviceInfo_Def.schema
            TClist = [GTD("urn:vim25","HostScsiDisk",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"transportHint"), aname="_transportHint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"lunNumber"), aname="_lunNumber", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineDiskDeviceInfo_Def not in ns0.VirtualMachineScsiDiskDeviceInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineScsiDiskDeviceInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineDiskDeviceInfo_Def)
                ns0.VirtualMachineScsiDiskDeviceInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineDiskDeviceInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineScsiDiskDeviceInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineScsiDiskDeviceInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineScsiDiskDeviceInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineScsiDiskDeviceInfo",lazy=True)(pname=(ns,"VirtualMachineScsiDiskDeviceInfo"), aname="_VirtualMachineScsiDiskDeviceInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineScsiDiskDeviceInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineScsiDiskDeviceInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineScsiPassthroughType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineScsiPassthroughType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineScsiPassthroughInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineScsiPassthroughInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineScsiPassthroughInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"scsiClass"), aname="_scsiClass", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vendor"), aname="_vendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"physicalUnitNumber"), aname="_physicalUnitNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineTargetInfo_Def not in ns0.VirtualMachineScsiPassthroughInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineScsiPassthroughInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineTargetInfo_Def)
                ns0.VirtualMachineScsiPassthroughInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineTargetInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineScsiPassthroughInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineScsiPassthroughInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineScsiPassthroughInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineScsiPassthroughInfo",lazy=True)(pname=(ns,"VirtualMachineScsiPassthroughInfo"), aname="_VirtualMachineScsiPassthroughInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineScsiPassthroughInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineScsiPassthroughInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineSerialInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineSerialInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineSerialInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineTargetInfo_Def not in ns0.VirtualMachineSerialInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineSerialInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineTargetInfo_Def)
                ns0.VirtualMachineSerialInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineTargetInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineSerialInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineSerialInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineSerialInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineSerialInfo",lazy=True)(pname=(ns,"VirtualMachineSerialInfo"), aname="_VirtualMachineSerialInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineSerialInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineSerialInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineSnapshotInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineSnapshotInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineSnapshotInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"currentSnapshot"), aname="_currentSnapshot", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineSnapshotTree",lazy=True)(pname=(ns,"rootSnapshotList"), aname="_rootSnapshotList", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineSnapshotInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineSnapshotInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineSnapshotInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineSnapshotTree_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineSnapshotTree")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineSnapshotTree_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"snapshot"), aname="_snapshot", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"id"), aname="_id", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"createTime"), aname="_createTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachinePowerState",lazy=True)(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"quiesced"), aname="_quiesced", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"backupManifest"), aname="_backupManifest", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineSnapshotTree",lazy=True)(pname=(ns,"childSnapshotList"), aname="_childSnapshotList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"replaySupported"), aname="_replaySupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineSnapshotTree_Def.__bases__:
                bases = list(ns0.VirtualMachineSnapshotTree_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineSnapshotTree_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineSnapshotTree_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineSnapshotTree")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineSnapshotTree_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineSnapshotTree",lazy=True)(pname=(ns,"VirtualMachineSnapshotTree"), aname="_VirtualMachineSnapshotTree", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineSnapshotTree = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineSnapshotTree_Holder"
            self.pyclass = Holder

    class VirtualMachineSoundInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineSoundInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineSoundInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineTargetInfo_Def not in ns0.VirtualMachineSoundInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineSoundInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineTargetInfo_Def)
                ns0.VirtualMachineSoundInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineTargetInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineSoundInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineSoundInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineSoundInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineSoundInfo",lazy=True)(pname=(ns,"VirtualMachineSoundInfo"), aname="_VirtualMachineSoundInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineSoundInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineSoundInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineSriovDevicePoolInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineSriovDevicePoolInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineSriovDevicePoolInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineSriovDevicePoolInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineSriovDevicePoolInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineSriovDevicePoolInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineSriovInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineSriovInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineSriovInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"virtualFunction"), aname="_virtualFunction", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pnic"), aname="_pnic", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineSriovDevicePoolInfo",lazy=True)(pname=(ns,"devicePool"), aname="_devicePool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachinePciPassthroughInfo_Def not in ns0.VirtualMachineSriovInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineSriovInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachinePciPassthroughInfo_Def)
                ns0.VirtualMachineSriovInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachinePciPassthroughInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineSriovInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineSriovInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineSriovInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineSriovInfo",lazy=True)(pname=(ns,"VirtualMachineSriovInfo"), aname="_VirtualMachineSriovInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineSriovInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineSriovInfo_Holder"
            self.pyclass = Holder

    class VirtualMachineSriovNetworkDevicePoolInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineSriovNetworkDevicePoolInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineSriovNetworkDevicePoolInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"switchKey"), aname="_switchKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"switchUuid"), aname="_switchUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineSriovDevicePoolInfo_Def not in ns0.VirtualMachineSriovNetworkDevicePoolInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineSriovNetworkDevicePoolInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineSriovDevicePoolInfo_Def)
                ns0.VirtualMachineSriovNetworkDevicePoolInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineSriovDevicePoolInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineUsageOnDatastore_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineUsageOnDatastore")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineUsageOnDatastore_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"committed"), aname="_committed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"uncommitted"), aname="_uncommitted", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"unshared"), aname="_unshared", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineUsageOnDatastore_Def.__bases__:
                bases = list(ns0.VirtualMachineUsageOnDatastore_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineUsageOnDatastore_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineUsageOnDatastore_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineUsageOnDatastore")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineUsageOnDatastore_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineUsageOnDatastore",lazy=True)(pname=(ns,"VirtualMachineUsageOnDatastore"), aname="_VirtualMachineUsageOnDatastore", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineUsageOnDatastore = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineUsageOnDatastore_Holder"
            self.pyclass = Holder

    class VirtualMachineStorageInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineStorageInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineStorageInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineUsageOnDatastore",lazy=True)(pname=(ns,"perDatastoreUsage"), aname="_perDatastoreUsage", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"timestamp"), aname="_timestamp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineStorageInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineStorageInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineStorageInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineConfigSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineConfigSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineConfigSummary_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"template"), aname="_template", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmPathName"), aname="_vmPathName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memorySizeMB"), aname="_memorySizeMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"cpuReservation"), aname="_cpuReservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memoryReservation"), aname="_memoryReservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numCpu"), aname="_numCpu", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numEthernetCards"), aname="_numEthernetCards", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numVirtualDisks"), aname="_numVirtualDisks", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestId"), aname="_guestId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestFullName"), aname="_guestFullName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"annotation"), aname="_annotation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppProductInfo",lazy=True)(pname=(ns,"product"), aname="_product", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"installBootRequired"), aname="_installBootRequired", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FaultToleranceConfigInfo",lazy=True)(pname=(ns,"ftInfo"), aname="_ftInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedByInfo",lazy=True)(pname=(ns,"managedBy"), aname="_managedBy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"tpmPresent"), aname="_tpmPresent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numVmiopBackings"), aname="_numVmiopBackings", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineConfigSummary_Def.__bases__:
                bases = list(ns0.VirtualMachineConfigSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineConfigSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineQuickStats_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineQuickStats")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineQuickStats_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"overallCpuUsage"), aname="_overallCpuUsage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"overallCpuDemand"), aname="_overallCpuDemand", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"guestMemoryUsage"), aname="_guestMemoryUsage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"hostMemoryUsage"), aname="_hostMemoryUsage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"guestHeartbeatStatus"), aname="_guestHeartbeatStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"distributedCpuEntitlement"), aname="_distributedCpuEntitlement", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"distributedMemoryEntitlement"), aname="_distributedMemoryEntitlement", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"staticCpuEntitlement"), aname="_staticCpuEntitlement", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"staticMemoryEntitlement"), aname="_staticMemoryEntitlement", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"privateMemory"), aname="_privateMemory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"sharedMemory"), aname="_sharedMemory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"swappedMemory"), aname="_swappedMemory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"balloonedMemory"), aname="_balloonedMemory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"consumedOverheadMemory"), aname="_consumedOverheadMemory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"ftLogBandwidth"), aname="_ftLogBandwidth", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"ftSecondaryLatency"), aname="_ftSecondaryLatency", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"ftLatencyStatus"), aname="_ftLatencyStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"compressedMemory"), aname="_compressedMemory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"uptimeSeconds"), aname="_uptimeSeconds", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"ssdSwappedMemory"), aname="_ssdSwappedMemory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineQuickStats_Def.__bases__:
                bases = list(ns0.VirtualMachineQuickStats_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineQuickStats_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineGuestSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineGuestSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineGuestSummary_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"guestId"), aname="_guestId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestFullName"), aname="_guestFullName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineToolsStatus",lazy=True)(pname=(ns,"toolsStatus"), aname="_toolsStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"toolsVersionStatus"), aname="_toolsVersionStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"toolsVersionStatus2"), aname="_toolsVersionStatus2", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"toolsRunningStatus"), aname="_toolsRunningStatus", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostName"), aname="_hostName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineGuestSummary_Def.__bases__:
                bases = list(ns0.VirtualMachineGuestSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineGuestSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineStorageSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineStorageSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineStorageSummary_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"committed"), aname="_committed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"uncommitted"), aname="_uncommitted", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"unshared"), aname="_unshared", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"timestamp"), aname="_timestamp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineStorageSummary_Def.__bases__:
                bases = list(ns0.VirtualMachineStorageSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineStorageSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineSummary_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineSummary")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineSummary_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineRuntimeInfo",lazy=True)(pname=(ns,"runtime"), aname="_runtime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineGuestSummary",lazy=True)(pname=(ns,"guest"), aname="_guest", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineConfigSummary",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineStorageSummary",lazy=True)(pname=(ns,"storage"), aname="_storage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineQuickStats",lazy=True)(pname=(ns,"quickStats"), aname="_quickStats", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedEntityStatus",lazy=True)(pname=(ns,"overallStatus"), aname="_overallStatus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomFieldValue",lazy=True)(pname=(ns,"customValue"), aname="_customValue", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineSummary_Def.__bases__:
                bases = list(ns0.VirtualMachineSummary_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineSummary_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineSummary_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineSummary")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineSummary_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineSummary",lazy=True)(pname=(ns,"VirtualMachineSummary"), aname="_VirtualMachineSummary", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineSummary = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineSummary_Holder"
            self.pyclass = Holder

    class VirtualMachineTargetInfoConfigurationTag_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineTargetInfoConfigurationTag")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineTargetInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineTargetInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineTargetInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configurationTag"), aname="_configurationTag", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineTargetInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineTargetInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineTargetInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UpgradePolicy_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpgradePolicy")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ToolsConfigInfoToolsLastInstallInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ToolsConfigInfoToolsLastInstallInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ToolsConfigInfoToolsLastInstallInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"counter"), aname="_counter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ToolsConfigInfoToolsLastInstallInfo_Def.__bases__:
                bases = list(ns0.ToolsConfigInfoToolsLastInstallInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ToolsConfigInfoToolsLastInstallInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ToolsConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ToolsConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ToolsConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"toolsVersion"), aname="_toolsVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"toolsInstallType"), aname="_toolsInstallType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"afterPowerOn"), aname="_afterPowerOn", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"afterResume"), aname="_afterResume", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"beforeGuestStandby"), aname="_beforeGuestStandby", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"beforeGuestShutdown"), aname="_beforeGuestShutdown", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"beforeGuestReboot"), aname="_beforeGuestReboot", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"toolsUpgradePolicy"), aname="_toolsUpgradePolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pendingCustomization"), aname="_pendingCustomization", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"customizationKeyId"), aname="_customizationKeyId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"syncTimeWithHost"), aname="_syncTimeWithHost", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ToolsConfigInfoToolsLastInstallInfo",lazy=True)(pname=(ns,"lastInstallInfo"), aname="_lastInstallInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ToolsConfigInfo_Def.__bases__:
                bases = list(ns0.ToolsConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ToolsConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineUsbInfoSpeed_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineUsbInfoSpeed")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineUsbInfoFamily_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineUsbInfoFamily")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineUsbInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineUsbInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineUsbInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vendor"), aname="_vendor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"product"), aname="_product", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"physicalPath"), aname="_physicalPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"family"), aname="_family", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"speed"), aname="_speed", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineSummary",lazy=True)(pname=(ns,"summary"), aname="_summary", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineTargetInfo_Def not in ns0.VirtualMachineUsbInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineUsbInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineTargetInfo_Def)
                ns0.VirtualMachineUsbInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineTargetInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineUsbInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineUsbInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineUsbInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineUsbInfo",lazy=True)(pname=(ns,"VirtualMachineUsbInfo"), aname="_VirtualMachineUsbInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineUsbInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineUsbInfo_Holder"
            self.pyclass = Holder

    class UsbScanCodeSpecModifierType_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UsbScanCodeSpecModifierType")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UsbScanCodeSpecModifierType_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"leftControl"), aname="_leftControl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"leftShift"), aname="_leftShift", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"leftAlt"), aname="_leftAlt", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"leftGui"), aname="_leftGui", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"rightControl"), aname="_rightControl", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"rightShift"), aname="_rightShift", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"rightAlt"), aname="_rightAlt", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"rightGui"), aname="_rightGui", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.UsbScanCodeSpecModifierType_Def.__bases__:
                bases = list(ns0.UsbScanCodeSpecModifierType_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.UsbScanCodeSpecModifierType_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class UsbScanCodeSpecKeyEvent_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UsbScanCodeSpecKeyEvent")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UsbScanCodeSpecKeyEvent_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"usbHidCode"), aname="_usbHidCode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","UsbScanCodeSpecModifierType",lazy=True)(pname=(ns,"modifiers"), aname="_modifiers", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.UsbScanCodeSpecKeyEvent_Def.__bases__:
                bases = list(ns0.UsbScanCodeSpecKeyEvent_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.UsbScanCodeSpecKeyEvent_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfUsbScanCodeSpecKeyEvent_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfUsbScanCodeSpecKeyEvent")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfUsbScanCodeSpecKeyEvent_Def.schema
            TClist = [GTD("urn:vim25","UsbScanCodeSpecKeyEvent",lazy=True)(pname=(ns,"UsbScanCodeSpecKeyEvent"), aname="_UsbScanCodeSpecKeyEvent", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._UsbScanCodeSpecKeyEvent = []
                    return
            Holder.__name__ = "ArrayOfUsbScanCodeSpecKeyEvent_Holder"
            self.pyclass = Holder

    class UsbScanCodeSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "UsbScanCodeSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.UsbScanCodeSpec_Def.schema
            TClist = [GTD("urn:vim25","UsbScanCodeSpecKeyEvent",lazy=True)(pname=(ns,"keyEvents"), aname="_keyEvents", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.UsbScanCodeSpec_Def.__bases__:
                bases = list(ns0.UsbScanCodeSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.UsbScanCodeSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineVFlashModuleInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineVFlashModuleInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineVFlashModuleInfo_Def.schema
            TClist = [GTD("urn:vim25","HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption",lazy=True)(pname=(ns,"vFlashModule"), aname="_vFlashModule", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineTargetInfo_Def not in ns0.VirtualMachineVFlashModuleInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineVFlashModuleInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineTargetInfo_Def)
                ns0.VirtualMachineVFlashModuleInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineTargetInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineVFlashModuleInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineVFlashModuleInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineVFlashModuleInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineVFlashModuleInfo",lazy=True)(pname=(ns,"VirtualMachineVFlashModuleInfo"), aname="_VirtualMachineVFlashModuleInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineVFlashModuleInfo = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineVFlashModuleInfo_Holder"
            self.pyclass = Holder

    class VirtualHardware_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualHardware")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualHardware_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numCPU"), aname="_numCPU", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numCoresPerSocket"), aname="_numCoresPerSocket", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"memoryMB"), aname="_memoryMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"virtualICH7MPresent"), aname="_virtualICH7MPresent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"virtualSMCPresent"), aname="_virtualSMCPresent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDevice",lazy=True)(pname=(ns,"device"), aname="_device", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualHardware_Def.__bases__:
                bases = list(ns0.VirtualHardware_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualHardware_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualHardwareOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualHardwareOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualHardwareOption_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"hwVersion"), aname="_hwVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDeviceOption",lazy=True)(pname=(ns,"virtualDeviceOption"), aname="_virtualDeviceOption", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"deviceListReadonly"), aname="_deviceListReadonly", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numCPU"), aname="_numCPU", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numCoresPerSocket"), aname="_numCoresPerSocket", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"numCpuReadonly"), aname="_numCpuReadonly", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"memoryMB"), aname="_memoryMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numPCIControllers"), aname="_numPCIControllers", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numIDEControllers"), aname="_numIDEControllers", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numUSBControllers"), aname="_numUSBControllers", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numUSBXHCIControllers"), aname="_numUSBXHCIControllers", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numSIOControllers"), aname="_numSIOControllers", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numPS2Controllers"), aname="_numPS2Controllers", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"licensingLimit"), aname="_licensingLimit", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numSupportedWwnPorts"), aname="_numSupportedWwnPorts", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numSupportedWwnNodes"), aname="_numSupportedWwnNodes", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceConfigOption",lazy=True)(pname=(ns,"resourceConfigOption"), aname="_resourceConfigOption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numNVDIMMControllers"), aname="_numNVDIMMControllers", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numTPMDevices"), aname="_numTPMDevices", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualHardwareOption_Def.__bases__:
                bases = list(ns0.VirtualHardwareOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualHardwareOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineImportSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineImportSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineImportSpec_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"resPoolEntity"), aname="_resPoolEntity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.ImportSpec_Def not in ns0.VirtualMachineImportSpec_Def.__bases__:
                bases = list(ns0.VirtualMachineImportSpec_Def.__bases__)
                bases.insert(0, ns0.ImportSpec_Def)
                ns0.VirtualMachineImportSpec_Def.__bases__ = tuple(bases)

            ns0.ImportSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineWindowsQuiesceSpecVssBackupContext_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineWindowsQuiesceSpecVssBackupContext")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineWindowsQuiesceSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineWindowsQuiesceSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineWindowsQuiesceSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vssBackupType"), aname="_vssBackupType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vssBootableSystemState"), aname="_vssBootableSystemState", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vssPartialFileSupport"), aname="_vssPartialFileSupport", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vssBackupContext"), aname="_vssBackupContext", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualMachineGuestQuiesceSpec_Def not in ns0.VirtualMachineWindowsQuiesceSpec_Def.__bases__:
                bases = list(ns0.VirtualMachineWindowsQuiesceSpec_Def.__bases__)
                bases.insert(0, ns0.VirtualMachineGuestQuiesceSpec_Def)
                ns0.VirtualMachineWindowsQuiesceSpec_Def.__bases__ = tuple(bases)

            ns0.VirtualMachineGuestQuiesceSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CheckResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CheckResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CheckResult_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"warning"), aname="_warning", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CheckResult_Def.__bases__:
                bases = list(ns0.CheckResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CheckResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfCheckResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfCheckResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfCheckResult_Def.schema
            TClist = [GTD("urn:vim25","CheckResult",lazy=True)(pname=(ns,"CheckResult"), aname="_CheckResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._CheckResult = []
                    return
            Holder.__name__ = "ArrayOfCheckResult_Holder"
            self.pyclass = Holder

    class CheckTestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckTestType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class CustomizationIPSettingsIpV6AddressSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationIPSettingsIpV6AddressSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationIPSettingsIpV6AddressSpec_Def.schema
            TClist = [GTD("urn:vim25","CustomizationIpV6Generator",lazy=True)(pname=(ns,"ip"), aname="_ip", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"gateway"), aname="_gateway", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationIPSettingsIpV6AddressSpec_Def.__bases__:
                bases = list(ns0.CustomizationIPSettingsIpV6AddressSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationIPSettingsIpV6AddressSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationNetBIOSMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CustomizationNetBIOSMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class CustomizationIPSettings_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationIPSettings")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationIPSettings_Def.schema
            TClist = [GTD("urn:vim25","CustomizationIpGenerator",lazy=True)(pname=(ns,"ip"), aname="_ip", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"subnetMask"), aname="_subnetMask", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"gateway"), aname="_gateway", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationIPSettingsIpV6AddressSpec",lazy=True)(pname=(ns,"ipV6Spec"), aname="_ipV6Spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dnsServerList"), aname="_dnsServerList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dnsDomain"), aname="_dnsDomain", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"primaryWINS"), aname="_primaryWINS", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"secondaryWINS"), aname="_secondaryWINS", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationNetBIOSMode",lazy=True)(pname=(ns,"netBIOS"), aname="_netBIOS", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationIPSettings_Def.__bases__:
                bases = list(ns0.CustomizationIPSettings_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationIPSettings_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationSpec_Def.schema
            TClist = [GTD("urn:vim25","CustomizationOptions",lazy=True)(pname=(ns,"options"), aname="_options", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationIdentitySettings",lazy=True)(pname=(ns,"identity"), aname="_identity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationGlobalIPSettings",lazy=True)(pname=(ns,"globalIPSettings"), aname="_globalIPSettings", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationAdapterMapping",lazy=True)(pname=(ns,"nicSettingMap"), aname="_nicSettingMap", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ibyte(pname=(ns,"encryptionKey"), aname="_encryptionKey", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationSpec_Def.__bases__:
                bases = list(ns0.CustomizationSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationName_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationName")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationName_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationName_Def.__bases__:
                bases = list(ns0.CustomizationName_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationName_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationFixedName_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationFixedName")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationFixedName_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationName_Def not in ns0.CustomizationFixedName_Def.__bases__:
                bases = list(ns0.CustomizationFixedName_Def.__bases__)
                bases.insert(0, ns0.CustomizationName_Def)
                ns0.CustomizationFixedName_Def.__bases__ = tuple(bases)

            ns0.CustomizationName_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationPrefixName_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationPrefixName")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationPrefixName_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"base"), aname="_base", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationName_Def not in ns0.CustomizationPrefixName_Def.__bases__:
                bases = list(ns0.CustomizationPrefixName_Def.__bases__)
                bases.insert(0, ns0.CustomizationName_Def)
                ns0.CustomizationPrefixName_Def.__bases__ = tuple(bases)

            ns0.CustomizationName_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationVirtualMachineName_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationVirtualMachineName")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationVirtualMachineName_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationName_Def not in ns0.CustomizationVirtualMachineName_Def.__bases__:
                bases = list(ns0.CustomizationVirtualMachineName_Def.__bases__)
                bases.insert(0, ns0.CustomizationName_Def)
                ns0.CustomizationVirtualMachineName_Def.__bases__ = tuple(bases)

            ns0.CustomizationName_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationUnknownName_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationUnknownName")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationUnknownName_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationName_Def not in ns0.CustomizationUnknownName_Def.__bases__:
                bases = list(ns0.CustomizationUnknownName_Def.__bases__)
                bases.insert(0, ns0.CustomizationName_Def)
                ns0.CustomizationUnknownName_Def.__bases__ = tuple(bases)

            ns0.CustomizationName_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationCustomName_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationCustomName")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationCustomName_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"argument"), aname="_argument", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationName_Def not in ns0.CustomizationCustomName_Def.__bases__:
                bases = list(ns0.CustomizationCustomName_Def.__bases__)
                bases.insert(0, ns0.CustomizationName_Def)
                ns0.CustomizationCustomName_Def.__bases__ = tuple(bases)

            ns0.CustomizationName_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationPassword_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationPassword")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationPassword_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"plainText"), aname="_plainText", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationPassword_Def.__bases__:
                bases = list(ns0.CustomizationPassword_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationPassword_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationOptions_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationOptions")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationOptions_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationOptions_Def.__bases__:
                bases = list(ns0.CustomizationOptions_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationOptions_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationSysprepRebootOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CustomizationSysprepRebootOption")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class CustomizationWinOptions_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationWinOptions")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationWinOptions_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"changeSID"), aname="_changeSID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"deleteAccounts"), aname="_deleteAccounts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationSysprepRebootOption",lazy=True)(pname=(ns,"reboot"), aname="_reboot", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationOptions_Def not in ns0.CustomizationWinOptions_Def.__bases__:
                bases = list(ns0.CustomizationWinOptions_Def.__bases__)
                bases.insert(0, ns0.CustomizationOptions_Def)
                ns0.CustomizationWinOptions_Def.__bases__ = tuple(bases)

            ns0.CustomizationOptions_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationLinuxOptions_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationLinuxOptions")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationLinuxOptions_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationOptions_Def not in ns0.CustomizationLinuxOptions_Def.__bases__:
                bases = list(ns0.CustomizationLinuxOptions_Def.__bases__)
                bases.insert(0, ns0.CustomizationOptions_Def)
                ns0.CustomizationLinuxOptions_Def.__bases__ = tuple(bases)

            ns0.CustomizationOptions_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationGuiUnattended_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationGuiUnattended")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationGuiUnattended_Def.schema
            TClist = [GTD("urn:vim25","CustomizationPassword",lazy=True)(pname=(ns,"password"), aname="_password", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"timeZone"), aname="_timeZone", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"autoLogon"), aname="_autoLogon", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"autoLogonCount"), aname="_autoLogonCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationGuiUnattended_Def.__bases__:
                bases = list(ns0.CustomizationGuiUnattended_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationGuiUnattended_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationUserData_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationUserData")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationUserData_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"fullName"), aname="_fullName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"orgName"), aname="_orgName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationName",lazy=True)(pname=(ns,"computerName"), aname="_computerName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"productId"), aname="_productId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationUserData_Def.__bases__:
                bases = list(ns0.CustomizationUserData_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationUserData_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationGuiRunOnce_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationGuiRunOnce")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationGuiRunOnce_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"commandList"), aname="_commandList", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationGuiRunOnce_Def.__bases__:
                bases = list(ns0.CustomizationGuiRunOnce_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationGuiRunOnce_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationIdentification_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationIdentification")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationIdentification_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"joinWorkgroup"), aname="_joinWorkgroup", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"joinDomain"), aname="_joinDomain", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"domainAdmin"), aname="_domainAdmin", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationPassword",lazy=True)(pname=(ns,"domainAdminPassword"), aname="_domainAdminPassword", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationIdentification_Def.__bases__:
                bases = list(ns0.CustomizationIdentification_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationIdentification_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationLicenseDataMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CustomizationLicenseDataMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class CustomizationLicenseFilePrintData_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationLicenseFilePrintData")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationLicenseFilePrintData_Def.schema
            TClist = [GTD("urn:vim25","CustomizationLicenseDataMode",lazy=True)(pname=(ns,"autoMode"), aname="_autoMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"autoUsers"), aname="_autoUsers", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationLicenseFilePrintData_Def.__bases__:
                bases = list(ns0.CustomizationLicenseFilePrintData_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationLicenseFilePrintData_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationIdentitySettings_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationIdentitySettings")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationIdentitySettings_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationIdentitySettings_Def.__bases__:
                bases = list(ns0.CustomizationIdentitySettings_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationIdentitySettings_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationSysprepText_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationSysprepText")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationSysprepText_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationIdentitySettings_Def not in ns0.CustomizationSysprepText_Def.__bases__:
                bases = list(ns0.CustomizationSysprepText_Def.__bases__)
                bases.insert(0, ns0.CustomizationIdentitySettings_Def)
                ns0.CustomizationSysprepText_Def.__bases__ = tuple(bases)

            ns0.CustomizationIdentitySettings_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationSysprep_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationSysprep")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationSysprep_Def.schema
            TClist = [GTD("urn:vim25","CustomizationGuiUnattended",lazy=True)(pname=(ns,"guiUnattended"), aname="_guiUnattended", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationUserData",lazy=True)(pname=(ns,"userData"), aname="_userData", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationGuiRunOnce",lazy=True)(pname=(ns,"guiRunOnce"), aname="_guiRunOnce", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationIdentification",lazy=True)(pname=(ns,"identification"), aname="_identification", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationLicenseFilePrintData",lazy=True)(pname=(ns,"licenseFilePrintData"), aname="_licenseFilePrintData", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationIdentitySettings_Def not in ns0.CustomizationSysprep_Def.__bases__:
                bases = list(ns0.CustomizationSysprep_Def.__bases__)
                bases.insert(0, ns0.CustomizationIdentitySettings_Def)
                ns0.CustomizationSysprep_Def.__bases__ = tuple(bases)

            ns0.CustomizationIdentitySettings_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationLinuxPrep_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationLinuxPrep")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationLinuxPrep_Def.schema
            TClist = [GTD("urn:vim25","CustomizationName",lazy=True)(pname=(ns,"hostName"), aname="_hostName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"domain"), aname="_domain", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"timeZone"), aname="_timeZone", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hwClockUTC"), aname="_hwClockUTC", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationIdentitySettings_Def not in ns0.CustomizationLinuxPrep_Def.__bases__:
                bases = list(ns0.CustomizationLinuxPrep_Def.__bases__)
                bases.insert(0, ns0.CustomizationIdentitySettings_Def)
                ns0.CustomizationLinuxPrep_Def.__bases__ = tuple(bases)

            ns0.CustomizationIdentitySettings_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationGlobalIPSettings_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationGlobalIPSettings")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationGlobalIPSettings_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"dnsSuffixList"), aname="_dnsSuffixList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dnsServerList"), aname="_dnsServerList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationGlobalIPSettings_Def.__bases__:
                bases = list(ns0.CustomizationGlobalIPSettings_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationGlobalIPSettings_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationIpGenerator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationIpGenerator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationIpGenerator_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationIpGenerator_Def.__bases__:
                bases = list(ns0.CustomizationIpGenerator_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationIpGenerator_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationDhcpIpGenerator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationDhcpIpGenerator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationDhcpIpGenerator_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationIpGenerator_Def not in ns0.CustomizationDhcpIpGenerator_Def.__bases__:
                bases = list(ns0.CustomizationDhcpIpGenerator_Def.__bases__)
                bases.insert(0, ns0.CustomizationIpGenerator_Def)
                ns0.CustomizationDhcpIpGenerator_Def.__bases__ = tuple(bases)

            ns0.CustomizationIpGenerator_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationFixedIp_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationFixedIp")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationFixedIp_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationIpGenerator_Def not in ns0.CustomizationFixedIp_Def.__bases__:
                bases = list(ns0.CustomizationFixedIp_Def.__bases__)
                bases.insert(0, ns0.CustomizationIpGenerator_Def)
                ns0.CustomizationFixedIp_Def.__bases__ = tuple(bases)

            ns0.CustomizationIpGenerator_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationUnknownIpGenerator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationUnknownIpGenerator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationUnknownIpGenerator_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationIpGenerator_Def not in ns0.CustomizationUnknownIpGenerator_Def.__bases__:
                bases = list(ns0.CustomizationUnknownIpGenerator_Def.__bases__)
                bases.insert(0, ns0.CustomizationIpGenerator_Def)
                ns0.CustomizationUnknownIpGenerator_Def.__bases__ = tuple(bases)

            ns0.CustomizationIpGenerator_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationCustomIpGenerator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationCustomIpGenerator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationCustomIpGenerator_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"argument"), aname="_argument", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationIpGenerator_Def not in ns0.CustomizationCustomIpGenerator_Def.__bases__:
                bases = list(ns0.CustomizationCustomIpGenerator_Def.__bases__)
                bases.insert(0, ns0.CustomizationIpGenerator_Def)
                ns0.CustomizationCustomIpGenerator_Def.__bases__ = tuple(bases)

            ns0.CustomizationIpGenerator_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationIpV6Generator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationIpV6Generator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationIpV6Generator_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationIpV6Generator_Def.__bases__:
                bases = list(ns0.CustomizationIpV6Generator_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationIpV6Generator_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfCustomizationIpV6Generator_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfCustomizationIpV6Generator")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfCustomizationIpV6Generator_Def.schema
            TClist = [GTD("urn:vim25","CustomizationIpV6Generator",lazy=True)(pname=(ns,"CustomizationIpV6Generator"), aname="_CustomizationIpV6Generator", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._CustomizationIpV6Generator = []
                    return
            Holder.__name__ = "ArrayOfCustomizationIpV6Generator_Holder"
            self.pyclass = Holder

    class CustomizationDhcpIpV6Generator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationDhcpIpV6Generator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationDhcpIpV6Generator_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationIpV6Generator_Def not in ns0.CustomizationDhcpIpV6Generator_Def.__bases__:
                bases = list(ns0.CustomizationDhcpIpV6Generator_Def.__bases__)
                bases.insert(0, ns0.CustomizationIpV6Generator_Def)
                ns0.CustomizationDhcpIpV6Generator_Def.__bases__ = tuple(bases)

            ns0.CustomizationIpV6Generator_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationStatelessIpV6Generator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationStatelessIpV6Generator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationStatelessIpV6Generator_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationIpV6Generator_Def not in ns0.CustomizationStatelessIpV6Generator_Def.__bases__:
                bases = list(ns0.CustomizationStatelessIpV6Generator_Def.__bases__)
                bases.insert(0, ns0.CustomizationIpV6Generator_Def)
                ns0.CustomizationStatelessIpV6Generator_Def.__bases__ = tuple(bases)

            ns0.CustomizationIpV6Generator_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationFixedIpV6_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationFixedIpV6")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationFixedIpV6_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ipAddress"), aname="_ipAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"subnetMask"), aname="_subnetMask", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationIpV6Generator_Def not in ns0.CustomizationFixedIpV6_Def.__bases__:
                bases = list(ns0.CustomizationFixedIpV6_Def.__bases__)
                bases.insert(0, ns0.CustomizationIpV6Generator_Def)
                ns0.CustomizationFixedIpV6_Def.__bases__ = tuple(bases)

            ns0.CustomizationIpV6Generator_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationAutoIpV6Generator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationAutoIpV6Generator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationAutoIpV6Generator_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationIpV6Generator_Def not in ns0.CustomizationAutoIpV6Generator_Def.__bases__:
                bases = list(ns0.CustomizationAutoIpV6Generator_Def.__bases__)
                bases.insert(0, ns0.CustomizationIpV6Generator_Def)
                ns0.CustomizationAutoIpV6Generator_Def.__bases__ = tuple(bases)

            ns0.CustomizationIpV6Generator_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationUnknownIpV6Generator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationUnknownIpV6Generator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationUnknownIpV6Generator_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationIpV6Generator_Def not in ns0.CustomizationUnknownIpV6Generator_Def.__bases__:
                bases = list(ns0.CustomizationUnknownIpV6Generator_Def.__bases__)
                bases.insert(0, ns0.CustomizationIpV6Generator_Def)
                ns0.CustomizationUnknownIpV6Generator_Def.__bases__ = tuple(bases)

            ns0.CustomizationIpV6Generator_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationCustomIpV6Generator_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationCustomIpV6Generator")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationCustomIpV6Generator_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"argument"), aname="_argument", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.CustomizationIpV6Generator_Def not in ns0.CustomizationCustomIpV6Generator_Def.__bases__:
                bases = list(ns0.CustomizationCustomIpV6Generator_Def.__bases__)
                bases.insert(0, ns0.CustomizationIpV6Generator_Def)
                ns0.CustomizationCustomIpV6Generator_Def.__bases__ = tuple(bases)

            ns0.CustomizationIpV6Generator_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class CustomizationAdapterMapping_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "CustomizationAdapterMapping")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.CustomizationAdapterMapping_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"macAddress"), aname="_macAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationIPSettings",lazy=True)(pname=(ns,"adapter"), aname="_adapter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.CustomizationAdapterMapping_Def.__bases__:
                bases = list(ns0.CustomizationAdapterMapping_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.CustomizationAdapterMapping_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfCustomizationAdapterMapping_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfCustomizationAdapterMapping")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfCustomizationAdapterMapping_Def.schema
            TClist = [GTD("urn:vim25","CustomizationAdapterMapping",lazy=True)(pname=(ns,"CustomizationAdapterMapping"), aname="_CustomizationAdapterMapping", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._CustomizationAdapterMapping = []
                    return
            Holder.__name__ = "ArrayOfCustomizationAdapterMapping_Holder"
            self.pyclass = Holder

    class HostDiskMappingPartitionInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiskMappingPartitionInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiskMappingPartitionInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fileSystem"), aname="_fileSystem", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacityInKb"), aname="_capacityInKb", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiskMappingPartitionInfo_Def.__bases__:
                bases = list(ns0.HostDiskMappingPartitionInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiskMappingPartitionInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDiskMappingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiskMappingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiskMappingInfo_Def.schema
            TClist = [GTD("urn:vim25","HostDiskMappingPartitionInfo",lazy=True)(pname=(ns,"physicalPartition"), aname="_physicalPartition", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"exclusive"), aname="_exclusive", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiskMappingInfo_Def.__bases__:
                bases = list(ns0.HostDiskMappingInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiskMappingInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class HostDiskMappingPartitionOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiskMappingPartitionOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiskMappingPartitionOption_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fileSystem"), aname="_fileSystem", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacityInKb"), aname="_capacityInKb", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiskMappingPartitionOption_Def.__bases__:
                bases = list(ns0.HostDiskMappingPartitionOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiskMappingPartitionOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfHostDiskMappingPartitionOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfHostDiskMappingPartitionOption")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfHostDiskMappingPartitionOption_Def.schema
            TClist = [GTD("urn:vim25","HostDiskMappingPartitionOption",lazy=True)(pname=(ns,"HostDiskMappingPartitionOption"), aname="_HostDiskMappingPartitionOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._HostDiskMappingPartitionOption = []
                    return
            Holder.__name__ = "ArrayOfHostDiskMappingPartitionOption_Holder"
            self.pyclass = Holder

    class HostDiskMappingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "HostDiskMappingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.HostDiskMappingOption_Def.schema
            TClist = [GTD("urn:vim25","HostDiskMappingPartitionOption",lazy=True)(pname=(ns,"physicalPartition"), aname="_physicalPartition", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.HostDiskMappingOption_Def.__bases__:
                bases = list(ns0.HostDiskMappingOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.HostDiskMappingOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ParaVirtualSCSIController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ParaVirtualSCSIController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ParaVirtualSCSIController_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSCSIController_Def not in ns0.ParaVirtualSCSIController_Def.__bases__:
                bases = list(ns0.ParaVirtualSCSIController_Def.__bases__)
                bases.insert(0, ns0.VirtualSCSIController_Def)
                ns0.ParaVirtualSCSIController_Def.__bases__ = tuple(bases)

            ns0.VirtualSCSIController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ParaVirtualSCSIControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ParaVirtualSCSIControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ParaVirtualSCSIControllerOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSCSIControllerOption_Def not in ns0.ParaVirtualSCSIControllerOption_Def.__bases__:
                bases = list(ns0.ParaVirtualSCSIControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualSCSIControllerOption_Def)
                ns0.ParaVirtualSCSIControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualSCSIControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualAHCIController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualAHCIController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualAHCIController_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSATAController_Def not in ns0.VirtualAHCIController_Def.__bases__:
                bases = list(ns0.VirtualAHCIController_Def.__bases__)
                bases.insert(0, ns0.VirtualSATAController_Def)
                ns0.VirtualAHCIController_Def.__bases__ = tuple(bases)

            ns0.VirtualSATAController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualAHCIControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualAHCIControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualAHCIControllerOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSATAControllerOption_Def not in ns0.VirtualAHCIControllerOption_Def.__bases__:
                bases = list(ns0.VirtualAHCIControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualSATAControllerOption_Def)
                ns0.VirtualAHCIControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualSATAControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualBusLogicController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualBusLogicController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualBusLogicController_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSCSIController_Def not in ns0.VirtualBusLogicController_Def.__bases__:
                bases = list(ns0.VirtualBusLogicController_Def.__bases__)
                bases.insert(0, ns0.VirtualSCSIController_Def)
                ns0.VirtualBusLogicController_Def.__bases__ = tuple(bases)

            ns0.VirtualSCSIController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualBusLogicControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualBusLogicControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualBusLogicControllerOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSCSIControllerOption_Def not in ns0.VirtualBusLogicControllerOption_Def.__bases__:
                bases = list(ns0.VirtualBusLogicControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualSCSIControllerOption_Def)
                ns0.VirtualBusLogicControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualSCSIControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualCdromIsoBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualCdromIsoBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualCdromIsoBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingInfo_Def not in ns0.VirtualCdromIsoBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualCdromIsoBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingInfo_Def)
                ns0.VirtualCdromIsoBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualCdromPassthroughBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualCdromPassthroughBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualCdromPassthroughBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"exclusive"), aname="_exclusive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingInfo_Def not in ns0.VirtualCdromPassthroughBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualCdromPassthroughBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingInfo_Def)
                ns0.VirtualCdromPassthroughBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualCdromRemotePassthroughBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualCdromRemotePassthroughBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualCdromRemotePassthroughBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"exclusive"), aname="_exclusive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceRemoteDeviceBackingInfo_Def not in ns0.VirtualCdromRemotePassthroughBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualCdromRemotePassthroughBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceRemoteDeviceBackingInfo_Def)
                ns0.VirtualCdromRemotePassthroughBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceRemoteDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualCdromAtapiBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualCdromAtapiBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualCdromAtapiBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingInfo_Def not in ns0.VirtualCdromAtapiBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualCdromAtapiBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingInfo_Def)
                ns0.VirtualCdromAtapiBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualCdromRemoteAtapiBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualCdromRemoteAtapiBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualCdromRemoteAtapiBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceRemoteDeviceBackingInfo_Def not in ns0.VirtualCdromRemoteAtapiBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualCdromRemoteAtapiBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceRemoteDeviceBackingInfo_Def)
                ns0.VirtualCdromRemoteAtapiBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceRemoteDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualCdrom_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualCdrom")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualCdrom_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualCdrom_Def.__bases__:
                bases = list(ns0.VirtualCdrom_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualCdrom_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualCdromIsoBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualCdromIsoBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualCdromIsoBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingOption_Def not in ns0.VirtualCdromIsoBackingOption_Def.__bases__:
                bases = list(ns0.VirtualCdromIsoBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingOption_Def)
                ns0.VirtualCdromIsoBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualCdromPassthroughBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualCdromPassthroughBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualCdromPassthroughBackingOption_Def.schema
            TClist = [GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"exclusive"), aname="_exclusive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualCdromPassthroughBackingOption_Def.__bases__:
                bases = list(ns0.VirtualCdromPassthroughBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualCdromPassthroughBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualCdromRemotePassthroughBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualCdromRemotePassthroughBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualCdromRemotePassthroughBackingOption_Def.schema
            TClist = [GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"exclusive"), aname="_exclusive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceRemoteDeviceBackingOption_Def not in ns0.VirtualCdromRemotePassthroughBackingOption_Def.__bases__:
                bases = list(ns0.VirtualCdromRemotePassthroughBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceRemoteDeviceBackingOption_Def)
                ns0.VirtualCdromRemotePassthroughBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceRemoteDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualCdromAtapiBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualCdromAtapiBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualCdromAtapiBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualCdromAtapiBackingOption_Def.__bases__:
                bases = list(ns0.VirtualCdromAtapiBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualCdromAtapiBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualCdromRemoteAtapiBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualCdromRemoteAtapiBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualCdromRemoteAtapiBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualCdromRemoteAtapiBackingOption_Def.__bases__:
                bases = list(ns0.VirtualCdromRemoteAtapiBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualCdromRemoteAtapiBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualCdromOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualCdromOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualCdromOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualCdromOption_Def.__bases__:
                bases = list(ns0.VirtualCdromOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualCdromOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualController_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"busNumber"), aname="_busNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"device"), aname="_device", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualController_Def.__bases__:
                bases = list(ns0.VirtualController_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualController_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualControllerOption_Def.schema
            TClist = [GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"devices"), aname="_devices", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportedDevice"), aname="_supportedDevice", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualControllerOption_Def.__bases__:
                bases = list(ns0.VirtualControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDeviceBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDeviceBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDeviceBackingInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDeviceBackingInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDeviceFileBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceFileBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceFileBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"fileName"), aname="_fileName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"backingObjectId"), aname="_backingObjectId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingInfo_Def not in ns0.VirtualDeviceFileBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDeviceFileBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingInfo_Def)
                ns0.VirtualDeviceFileBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDeviceDeviceBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceDeviceBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceDeviceBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"deviceName"), aname="_deviceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"useAutoDetect"), aname="_useAutoDetect", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingInfo_Def not in ns0.VirtualDeviceDeviceBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDeviceDeviceBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingInfo_Def)
                ns0.VirtualDeviceDeviceBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDeviceRemoteDeviceBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceRemoteDeviceBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceRemoteDeviceBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"deviceName"), aname="_deviceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"useAutoDetect"), aname="_useAutoDetect", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingInfo_Def not in ns0.VirtualDeviceRemoteDeviceBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDeviceRemoteDeviceBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingInfo_Def)
                ns0.VirtualDeviceRemoteDeviceBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDevicePipeBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDevicePipeBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDevicePipeBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"pipeName"), aname="_pipeName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingInfo_Def not in ns0.VirtualDevicePipeBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDevicePipeBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingInfo_Def)
                ns0.VirtualDevicePipeBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDeviceURIBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceURIBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceURIBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"serviceURI"), aname="_serviceURI", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"direction"), aname="_direction", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"proxyURI"), aname="_proxyURI", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingInfo_Def not in ns0.VirtualDeviceURIBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDeviceURIBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingInfo_Def)
                ns0.VirtualDeviceURIBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDeviceConnectInfoStatus_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceConnectInfoStatus")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDeviceConnectInfoMigrateConnectOp_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceConnectInfoMigrateConnectOp")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDeviceConnectInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceConnectInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceConnectInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"migrateConnect"), aname="_migrateConnect", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"startConnected"), aname="_startConnected", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"allowGuestControl"), aname="_allowGuestControl", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"connected"), aname="_connected", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"status"), aname="_status", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDeviceConnectInfo_Def.__bases__:
                bases = list(ns0.VirtualDeviceConnectInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDeviceConnectInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDeviceBusSlotInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceBusSlotInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceBusSlotInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDeviceBusSlotInfo_Def.__bases__:
                bases = list(ns0.VirtualDeviceBusSlotInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDeviceBusSlotInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDevicePciBusSlotInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDevicePciBusSlotInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDevicePciBusSlotInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"pciSlotNumber"), aname="_pciSlotNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBusSlotInfo_Def not in ns0.VirtualDevicePciBusSlotInfo_Def.__bases__:
                bases = list(ns0.VirtualDevicePciBusSlotInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBusSlotInfo_Def)
                ns0.VirtualDevicePciBusSlotInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBusSlotInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDevice_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Description",lazy=True)(pname=(ns,"deviceInfo"), aname="_deviceInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDeviceBackingInfo",lazy=True)(pname=(ns,"backing"), aname="_backing", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDeviceConnectInfo",lazy=True)(pname=(ns,"connectable"), aname="_connectable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDeviceBusSlotInfo",lazy=True)(pname=(ns,"slotInfo"), aname="_slotInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"controllerKey"), aname="_controllerKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"unitNumber"), aname="_unitNumber", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDevice_Def.__bases__:
                bases = list(ns0.VirtualDevice_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDevice_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualDevice_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualDevice")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualDevice_Def.schema
            TClist = [GTD("urn:vim25","VirtualDevice",lazy=True)(pname=(ns,"VirtualDevice"), aname="_VirtualDevice", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualDevice = []
                    return
            Holder.__name__ = "ArrayOfVirtualDevice_Holder"
            self.pyclass = Holder

    class VirtualDeviceBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceBackingOption_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDeviceBackingOption_Def.__bases__:
                bases = list(ns0.VirtualDeviceBackingOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDeviceBackingOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualDeviceBackingOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualDeviceBackingOption")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualDeviceBackingOption_Def.schema
            TClist = [GTD("urn:vim25","VirtualDeviceBackingOption",lazy=True)(pname=(ns,"VirtualDeviceBackingOption"), aname="_VirtualDeviceBackingOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualDeviceBackingOption = []
                    return
            Holder.__name__ = "ArrayOfVirtualDeviceBackingOption_Holder"
            self.pyclass = Holder

    class VirtualDeviceFileExtension_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceFileExtension")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDeviceFileBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceFileBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceFileBackingOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"fileNameExtensions"), aname="_fileNameExtensions", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingOption_Def not in ns0.VirtualDeviceFileBackingOption_Def.__bases__:
                bases = list(ns0.VirtualDeviceFileBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingOption_Def)
                ns0.VirtualDeviceFileBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDeviceDeviceBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceDeviceBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceDeviceBackingOption_Def.schema
            TClist = [GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"autoDetectAvailable"), aname="_autoDetectAvailable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingOption_Def not in ns0.VirtualDeviceDeviceBackingOption_Def.__bases__:
                bases = list(ns0.VirtualDeviceDeviceBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingOption_Def)
                ns0.VirtualDeviceDeviceBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDeviceRemoteDeviceBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceRemoteDeviceBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceRemoteDeviceBackingOption_Def.schema
            TClist = [GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"autoDetectAvailable"), aname="_autoDetectAvailable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingOption_Def not in ns0.VirtualDeviceRemoteDeviceBackingOption_Def.__bases__:
                bases = list(ns0.VirtualDeviceRemoteDeviceBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingOption_Def)
                ns0.VirtualDeviceRemoteDeviceBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDevicePipeBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDevicePipeBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDevicePipeBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingOption_Def not in ns0.VirtualDevicePipeBackingOption_Def.__bases__:
                bases = list(ns0.VirtualDevicePipeBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingOption_Def)
                ns0.VirtualDevicePipeBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDeviceURIBackingOptionDirection_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceURIBackingOptionDirection")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDeviceURIBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceURIBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceURIBackingOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"directions"), aname="_directions", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingOption_Def not in ns0.VirtualDeviceURIBackingOption_Def.__bases__:
                bases = list(ns0.VirtualDeviceURIBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingOption_Def)
                ns0.VirtualDeviceURIBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDeviceConnectOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceConnectOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceConnectOption_Def.schema
            TClist = [GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"startConnected"), aname="_startConnected", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"allowGuestControl"), aname="_allowGuestControl", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDeviceConnectOption_Def.__bases__:
                bases = list(ns0.VirtualDeviceConnectOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDeviceConnectOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDeviceBusSlotOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceBusSlotOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceBusSlotOption_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDeviceBusSlotOption_Def.__bases__:
                bases = list(ns0.VirtualDeviceBusSlotOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDeviceBusSlotOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDeviceOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceOption_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDeviceConnectOption",lazy=True)(pname=(ns,"connectOption"), aname="_connectOption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDeviceBusSlotOption",lazy=True)(pname=(ns,"busSlotOption"), aname="_busSlotOption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"controllerType"), aname="_controllerType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"autoAssignController"), aname="_autoAssignController", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDeviceBackingOption",lazy=True)(pname=(ns,"backingOption"), aname="_backingOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"defaultBackingOptionIndex"), aname="_defaultBackingOptionIndex", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"licensingLimit"), aname="_licensingLimit", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"deprecated"), aname="_deprecated", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"plugAndPlay"), aname="_plugAndPlay", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hotRemoveSupported"), aname="_hotRemoveSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDeviceOption_Def.__bases__:
                bases = list(ns0.VirtualDeviceOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDeviceOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualDeviceOption_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualDeviceOption")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualDeviceOption_Def.schema
            TClist = [GTD("urn:vim25","VirtualDeviceOption",lazy=True)(pname=(ns,"VirtualDeviceOption"), aname="_VirtualDeviceOption", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualDeviceOption = []
                    return
            Holder.__name__ = "ArrayOfVirtualDeviceOption_Holder"
            self.pyclass = Holder

    class VirtualDeviceConfigSpecOperation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceConfigSpecOperation")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDeviceConfigSpecFileOperation_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceConfigSpecFileOperation")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDeviceConfigSpecBackingSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceConfigSpecBackingSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceConfigSpecBackingSpec_Def.schema
            TClist = [GTD("urn:vim25","VirtualDeviceConfigSpecBackingSpec",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoSpec",lazy=True)(pname=(ns,"crypto"), aname="_crypto", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDeviceConfigSpecBackingSpec_Def.__bases__:
                bases = list(ns0.VirtualDeviceConfigSpecBackingSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDeviceConfigSpecBackingSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDeviceConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDeviceConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDeviceConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","VirtualDeviceConfigSpecOperation",lazy=True)(pname=(ns,"operation"), aname="_operation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDeviceConfigSpecFileOperation",lazy=True)(pname=(ns,"fileOperation"), aname="_fileOperation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDevice",lazy=True)(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDeviceConfigSpecBackingSpec",lazy=True)(pname=(ns,"backing"), aname="_backing", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDeviceConfigSpec_Def.__bases__:
                bases = list(ns0.VirtualDeviceConfigSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDeviceConfigSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualDeviceConfigSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualDeviceConfigSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualDeviceConfigSpec_Def.schema
            TClist = [GTD("urn:vim25","VirtualDeviceConfigSpec",lazy=True)(pname=(ns,"VirtualDeviceConfigSpec"), aname="_VirtualDeviceConfigSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualDeviceConfigSpec = []
                    return
            Holder.__name__ = "ArrayOfVirtualDeviceConfigSpec_Holder"
            self.pyclass = Holder

    class VirtualDiskDeltaDiskFormat_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDiskDeltaDiskFormat")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDiskDeltaDiskFormatVariant_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDiskDeltaDiskFormatVariant")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDiskSharing_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDiskSharing")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDiskSparseVer1BackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskSparseVer1BackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskSparseVer1BackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskMode"), aname="_diskMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"split"), aname="_split", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"writeThrough"), aname="_writeThrough", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"spaceUsedInKB"), aname="_spaceUsedInKB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"contentId"), aname="_contentId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDiskSparseVer1BackingInfo",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingInfo_Def not in ns0.VirtualDiskSparseVer1BackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDiskSparseVer1BackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingInfo_Def)
                ns0.VirtualDiskSparseVer1BackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskSparseVer2BackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskSparseVer2BackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskSparseVer2BackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskMode"), aname="_diskMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"split"), aname="_split", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"writeThrough"), aname="_writeThrough", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"spaceUsedInKB"), aname="_spaceUsedInKB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"contentId"), aname="_contentId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"changeId"), aname="_changeId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDiskSparseVer2BackingInfo",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"keyId"), aname="_keyId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingInfo_Def not in ns0.VirtualDiskSparseVer2BackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDiskSparseVer2BackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingInfo_Def)
                ns0.VirtualDiskSparseVer2BackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskFlatVer1BackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskFlatVer1BackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskFlatVer1BackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskMode"), aname="_diskMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"split"), aname="_split", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"writeThrough"), aname="_writeThrough", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"contentId"), aname="_contentId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDiskFlatVer1BackingInfo",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingInfo_Def not in ns0.VirtualDiskFlatVer1BackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDiskFlatVer1BackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingInfo_Def)
                ns0.VirtualDiskFlatVer1BackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskFlatVer2BackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskFlatVer2BackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskFlatVer2BackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskMode"), aname="_diskMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"split"), aname="_split", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"writeThrough"), aname="_writeThrough", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"thinProvisioned"), aname="_thinProvisioned", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"eagerlyScrub"), aname="_eagerlyScrub", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"contentId"), aname="_contentId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"changeId"), aname="_changeId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDiskFlatVer2BackingInfo",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deltaDiskFormat"), aname="_deltaDiskFormat", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"digestEnabled"), aname="_digestEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"deltaGrainSize"), aname="_deltaGrainSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deltaDiskFormatVariant"), aname="_deltaDiskFormatVariant", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sharing"), aname="_sharing", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"keyId"), aname="_keyId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingInfo_Def not in ns0.VirtualDiskFlatVer2BackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDiskFlatVer2BackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingInfo_Def)
                ns0.VirtualDiskFlatVer2BackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskSeSparseBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskSeSparseBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskSeSparseBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskMode"), aname="_diskMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"writeThrough"), aname="_writeThrough", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"contentId"), aname="_contentId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"changeId"), aname="_changeId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDiskSeSparseBackingInfo",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deltaDiskFormat"), aname="_deltaDiskFormat", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"digestEnabled"), aname="_digestEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"grainSize"), aname="_grainSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"keyId"), aname="_keyId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingInfo_Def not in ns0.VirtualDiskSeSparseBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDiskSeSparseBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingInfo_Def)
                ns0.VirtualDiskSeSparseBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskRawDiskVer2BackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskRawDiskVer2BackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskRawDiskVer2BackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"descriptorFileName"), aname="_descriptorFileName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"changeId"), aname="_changeId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sharing"), aname="_sharing", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingInfo_Def not in ns0.VirtualDiskRawDiskVer2BackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDiskRawDiskVer2BackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingInfo_Def)
                ns0.VirtualDiskRawDiskVer2BackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskPartitionedRawDiskVer2BackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskPartitionedRawDiskVer2BackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskPartitionedRawDiskVer2BackingInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"partition"), aname="_partition", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDiskRawDiskVer2BackingInfo_Def not in ns0.VirtualDiskPartitionedRawDiskVer2BackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDiskPartitionedRawDiskVer2BackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDiskRawDiskVer2BackingInfo_Def)
                ns0.VirtualDiskPartitionedRawDiskVer2BackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDiskRawDiskVer2BackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskRawDiskMappingVer1BackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskRawDiskMappingVer1BackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskRawDiskMappingVer1BackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"lunUuid"), aname="_lunUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deviceName"), aname="_deviceName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"compatibilityMode"), aname="_compatibilityMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diskMode"), aname="_diskMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"contentId"), aname="_contentId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"changeId"), aname="_changeId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDiskRawDiskMappingVer1BackingInfo",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deltaDiskFormat"), aname="_deltaDiskFormat", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"deltaGrainSize"), aname="_deltaGrainSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sharing"), aname="_sharing", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingInfo_Def not in ns0.VirtualDiskRawDiskMappingVer1BackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDiskRawDiskMappingVer1BackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingInfo_Def)
                ns0.VirtualDiskRawDiskMappingVer1BackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskLocalPMemBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskLocalPMemBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskLocalPMemBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskMode"), aname="_diskMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"volumeUUID"), aname="_volumeUUID", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"contentId"), aname="_contentId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingInfo_Def not in ns0.VirtualDiskLocalPMemBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualDiskLocalPMemBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingInfo_Def)
                ns0.VirtualDiskLocalPMemBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskVFlashCacheConfigInfoCacheConsistencyType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDiskVFlashCacheConfigInfoCacheConsistencyType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDiskVFlashCacheConfigInfoCacheMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDiskVFlashCacheConfigInfoCacheMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDiskVFlashCacheConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskVFlashCacheConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskVFlashCacheConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vFlashModule"), aname="_vFlashModule", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"reservationInMB"), aname="_reservationInMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"cacheConsistencyType"), aname="_cacheConsistencyType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"cacheMode"), aname="_cacheMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"blockSizeInKB"), aname="_blockSizeInKB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDiskVFlashCacheConfigInfo_Def.__bases__:
                bases = list(ns0.VirtualDiskVFlashCacheConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDiskVFlashCacheConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDisk_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDisk")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDisk_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacityInKB"), aname="_capacityInKB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacityInBytes"), aname="_capacityInBytes", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SharesInfo",lazy=True)(pname=(ns,"shares"), aname="_shares", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageIOAllocationInfo",lazy=True)(pname=(ns,"storageIOAllocation"), aname="_storageIOAllocation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diskObjectId"), aname="_diskObjectId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDiskVFlashCacheConfigInfo",lazy=True)(pname=(ns,"vFlashCacheConfigInfo"), aname="_vFlashCacheConfigInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iofilter"), aname="_iofilter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"vDiskId"), aname="_vDiskId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"nativeUnmanagedLinkedClone"), aname="_nativeUnmanagedLinkedClone", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualDisk_Def.__bases__:
                bases = list(ns0.VirtualDisk_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualDisk_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualDisk_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualDisk")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualDisk_Def.schema
            TClist = [GTD("urn:vim25","VirtualDisk",lazy=True)(pname=(ns,"VirtualDisk"), aname="_VirtualDisk", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualDisk = []
                    return
            Holder.__name__ = "ArrayOfVirtualDisk_Holder"
            self.pyclass = Holder

    class VirtualDiskId_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskId")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskId_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"diskId"), aname="_diskId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDiskId_Def.__bases__:
                bases = list(ns0.VirtualDiskId_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDiskId_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualDiskId_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualDiskId")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualDiskId_Def.schema
            TClist = [GTD("urn:vim25","VirtualDiskId",lazy=True)(pname=(ns,"VirtualDiskId"), aname="_VirtualDiskId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualDiskId = []
                    return
            Holder.__name__ = "ArrayOfVirtualDiskId_Holder"
            self.pyclass = Holder

    class VirtualDiskMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDiskMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDiskCompatibilityMode_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualDiskCompatibilityMode")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualDiskSparseVer1BackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskSparseVer1BackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskSparseVer1BackingOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"diskModes"), aname="_diskModes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"split"), aname="_split", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"writeThrough"), aname="_writeThrough", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"growable"), aname="_growable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingOption_Def not in ns0.VirtualDiskSparseVer1BackingOption_Def.__bases__:
                bases = list(ns0.VirtualDiskSparseVer1BackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingOption_Def)
                ns0.VirtualDiskSparseVer1BackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskSparseVer2BackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskSparseVer2BackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskSparseVer2BackingOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"diskMode"), aname="_diskMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"split"), aname="_split", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"writeThrough"), aname="_writeThrough", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"growable"), aname="_growable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hotGrowable"), aname="_hotGrowable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingOption_Def not in ns0.VirtualDiskSparseVer2BackingOption_Def.__bases__:
                bases = list(ns0.VirtualDiskSparseVer2BackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingOption_Def)
                ns0.VirtualDiskSparseVer2BackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskFlatVer1BackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskFlatVer1BackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskFlatVer1BackingOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"diskMode"), aname="_diskMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"split"), aname="_split", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"writeThrough"), aname="_writeThrough", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"growable"), aname="_growable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingOption_Def not in ns0.VirtualDiskFlatVer1BackingOption_Def.__bases__:
                bases = list(ns0.VirtualDiskFlatVer1BackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingOption_Def)
                ns0.VirtualDiskFlatVer1BackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskDeltaDiskFormatsSupported_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskDeltaDiskFormatsSupported")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskDeltaDiskFormatsSupported_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"datastoreType"), aname="_datastoreType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"deltaDiskFormat"), aname="_deltaDiskFormat", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDiskDeltaDiskFormatsSupported_Def.__bases__:
                bases = list(ns0.VirtualDiskDeltaDiskFormatsSupported_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDiskDeltaDiskFormatsSupported_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualDiskDeltaDiskFormatsSupported_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualDiskDeltaDiskFormatsSupported")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualDiskDeltaDiskFormatsSupported_Def.schema
            TClist = [GTD("urn:vim25","VirtualDiskDeltaDiskFormatsSupported",lazy=True)(pname=(ns,"VirtualDiskDeltaDiskFormatsSupported"), aname="_VirtualDiskDeltaDiskFormatsSupported", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualDiskDeltaDiskFormatsSupported = []
                    return
            Holder.__name__ = "ArrayOfVirtualDiskDeltaDiskFormatsSupported_Holder"
            self.pyclass = Holder

    class VirtualDiskFlatVer2BackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskFlatVer2BackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskFlatVer2BackingOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"diskMode"), aname="_diskMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"split"), aname="_split", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"writeThrough"), aname="_writeThrough", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"growable"), aname="_growable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hotGrowable"), aname="_hotGrowable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"thinProvisioned"), aname="_thinProvisioned", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"eagerlyScrub"), aname="_eagerlyScrub", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"deltaDiskFormat"), aname="_deltaDiskFormat", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDiskDeltaDiskFormatsSupported",lazy=True)(pname=(ns,"deltaDiskFormatsSupported"), aname="_deltaDiskFormatsSupported", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingOption_Def not in ns0.VirtualDiskFlatVer2BackingOption_Def.__bases__:
                bases = list(ns0.VirtualDiskFlatVer2BackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingOption_Def)
                ns0.VirtualDiskFlatVer2BackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskSeSparseBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskSeSparseBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskSeSparseBackingOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"diskMode"), aname="_diskMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"writeThrough"), aname="_writeThrough", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"growable"), aname="_growable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hotGrowable"), aname="_hotGrowable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDiskDeltaDiskFormatsSupported",lazy=True)(pname=(ns,"deltaDiskFormatsSupported"), aname="_deltaDiskFormatsSupported", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingOption_Def not in ns0.VirtualDiskSeSparseBackingOption_Def.__bases__:
                bases = list(ns0.VirtualDiskSeSparseBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingOption_Def)
                ns0.VirtualDiskSeSparseBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskRawDiskVer2BackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskRawDiskVer2BackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskRawDiskVer2BackingOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"descriptorFileNameExtensions"), aname="_descriptorFileNameExtensions", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualDiskRawDiskVer2BackingOption_Def.__bases__:
                bases = list(ns0.VirtualDiskRawDiskVer2BackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualDiskRawDiskVer2BackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskPartitionedRawDiskVer2BackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskPartitionedRawDiskVer2BackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskPartitionedRawDiskVer2BackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDiskRawDiskVer2BackingOption_Def not in ns0.VirtualDiskPartitionedRawDiskVer2BackingOption_Def.__bases__:
                bases = list(ns0.VirtualDiskPartitionedRawDiskVer2BackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDiskRawDiskVer2BackingOption_Def)
                ns0.VirtualDiskPartitionedRawDiskVer2BackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDiskRawDiskVer2BackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskRawDiskMappingVer1BackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskRawDiskMappingVer1BackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskRawDiskMappingVer1BackingOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"descriptorFileNameExtensions"), aname="_descriptorFileNameExtensions", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"compatibilityMode"), aname="_compatibilityMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"diskMode"), aname="_diskMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualDiskRawDiskMappingVer1BackingOption_Def.__bases__:
                bases = list(ns0.VirtualDiskRawDiskMappingVer1BackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualDiskRawDiskMappingVer1BackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskLocalPMemBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskLocalPMemBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskLocalPMemBackingOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"diskMode"), aname="_diskMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"growable"), aname="_growable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hotGrowable"), aname="_hotGrowable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingOption_Def not in ns0.VirtualDiskLocalPMemBackingOption_Def.__bases__:
                bases = list(ns0.VirtualDiskLocalPMemBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingOption_Def)
                ns0.VirtualDiskLocalPMemBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskOptionVFlashCacheConfigOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskOptionVFlashCacheConfigOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskOptionVFlashCacheConfigOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"cacheConsistencyType"), aname="_cacheConsistencyType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"cacheMode"), aname="_cacheMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"reservationInMB"), aname="_reservationInMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"blockSizeInKB"), aname="_blockSizeInKB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualDiskOptionVFlashCacheConfigOption_Def.__bases__:
                bases = list(ns0.VirtualDiskOptionVFlashCacheConfigOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualDiskOptionVFlashCacheConfigOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskOption_Def.schema
            TClist = [GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"capacityInKB"), aname="_capacityInKB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageIOAllocationOption",lazy=True)(pname=(ns,"ioAllocationOption"), aname="_ioAllocationOption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDiskOptionVFlashCacheConfigOption",lazy=True)(pname=(ns,"vFlashCacheConfigOption"), aname="_vFlashCacheConfigOption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualDiskOption_Def.__bases__:
                bases = list(ns0.VirtualDiskOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualDiskOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualDiskConfigSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualDiskConfigSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualDiskConfigSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskMoveType"), aname="_diskMoveType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"migrateCache"), aname="_migrateCache", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceConfigSpec_Def not in ns0.VirtualDiskConfigSpec_Def.__bases__:
                bases = list(ns0.VirtualDiskConfigSpec_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceConfigSpec_Def)
                ns0.VirtualDiskConfigSpec_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceConfigSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualE1000_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualE1000")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualE1000_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualEthernetCard_Def not in ns0.VirtualE1000_Def.__bases__:
                bases = list(ns0.VirtualE1000_Def.__bases__)
                bases.insert(0, ns0.VirtualEthernetCard_Def)
                ns0.VirtualE1000_Def.__bases__ = tuple(bases)

            ns0.VirtualEthernetCard_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualE1000Option_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualE1000Option")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualE1000Option_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualEthernetCardOption_Def not in ns0.VirtualE1000Option_Def.__bases__:
                bases = list(ns0.VirtualE1000Option_Def.__bases__)
                bases.insert(0, ns0.VirtualEthernetCardOption_Def)
                ns0.VirtualE1000Option_Def.__bases__ = tuple(bases)

            ns0.VirtualEthernetCardOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualE1000e_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualE1000e")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualE1000e_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualEthernetCard_Def not in ns0.VirtualE1000e_Def.__bases__:
                bases = list(ns0.VirtualE1000e_Def.__bases__)
                bases.insert(0, ns0.VirtualEthernetCard_Def)
                ns0.VirtualE1000e_Def.__bases__ = tuple(bases)

            ns0.VirtualEthernetCard_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualE1000eOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualE1000eOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualE1000eOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualEthernetCardOption_Def not in ns0.VirtualE1000eOption_Def.__bases__:
                bases = list(ns0.VirtualE1000eOption_Def.__bases__)
                bases.insert(0, ns0.VirtualEthernetCardOption_Def)
                ns0.VirtualE1000eOption_Def.__bases__ = tuple(bases)

            ns0.VirtualEthernetCardOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualEnsoniq1371_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualEnsoniq1371")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualEnsoniq1371_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSoundCard_Def not in ns0.VirtualEnsoniq1371_Def.__bases__:
                bases = list(ns0.VirtualEnsoniq1371_Def.__bases__)
                bases.insert(0, ns0.VirtualSoundCard_Def)
                ns0.VirtualEnsoniq1371_Def.__bases__ = tuple(bases)

            ns0.VirtualSoundCard_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualEnsoniq1371Option_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualEnsoniq1371Option")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualEnsoniq1371Option_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSoundCardOption_Def not in ns0.VirtualEnsoniq1371Option_Def.__bases__:
                bases = list(ns0.VirtualEnsoniq1371Option_Def.__bases__)
                bases.insert(0, ns0.VirtualSoundCardOption_Def)
                ns0.VirtualEnsoniq1371Option_Def.__bases__ = tuple(bases)

            ns0.VirtualSoundCardOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualEthernetCardNetworkBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualEthernetCardNetworkBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualEthernetCardNetworkBackingInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"network"), aname="_network", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"inPassthroughMode"), aname="_inPassthroughMode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingInfo_Def not in ns0.VirtualEthernetCardNetworkBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualEthernetCardNetworkBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingInfo_Def)
                ns0.VirtualEthernetCardNetworkBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualEthernetCardLegacyNetworkBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualEthernetCardLegacyNetworkBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualEthernetCardLegacyNetworkBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingInfo_Def not in ns0.VirtualEthernetCardLegacyNetworkBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualEthernetCardLegacyNetworkBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingInfo_Def)
                ns0.VirtualEthernetCardLegacyNetworkBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualEthernetCardDistributedVirtualPortBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualEthernetCardDistributedVirtualPortBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualEthernetCardDistributedVirtualPortBackingInfo_Def.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchPortConnection",lazy=True)(pname=(ns,"port"), aname="_port", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingInfo_Def not in ns0.VirtualEthernetCardDistributedVirtualPortBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualEthernetCardDistributedVirtualPortBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingInfo_Def)
                ns0.VirtualEthernetCardDistributedVirtualPortBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualEthernetCardOpaqueNetworkBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualEthernetCardOpaqueNetworkBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualEthernetCardOpaqueNetworkBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"opaqueNetworkId"), aname="_opaqueNetworkId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"opaqueNetworkType"), aname="_opaqueNetworkType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingInfo_Def not in ns0.VirtualEthernetCardOpaqueNetworkBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualEthernetCardOpaqueNetworkBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingInfo_Def)
                ns0.VirtualEthernetCardOpaqueNetworkBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualEthernetCardResourceAllocation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualEthernetCardResourceAllocation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualEthernetCardResourceAllocation_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"reservation"), aname="_reservation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SharesInfo",lazy=True)(pname=(ns,"share"), aname="_share", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"limit"), aname="_limit", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualEthernetCardResourceAllocation_Def.__bases__:
                bases = list(ns0.VirtualEthernetCardResourceAllocation_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualEthernetCardResourceAllocation_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualEthernetCard_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualEthernetCard")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualEthernetCard_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"addressType"), aname="_addressType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"macAddress"), aname="_macAddress", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"wakeOnLanEnabled"), aname="_wakeOnLanEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualEthernetCardResourceAllocation",lazy=True)(pname=(ns,"resourceAllocation"), aname="_resourceAllocation", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"externalId"), aname="_externalId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"uptCompatibilityEnabled"), aname="_uptCompatibilityEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualEthernetCard_Def.__bases__:
                bases = list(ns0.VirtualEthernetCard_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualEthernetCard_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualEthernetCardNetworkBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualEthernetCardNetworkBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualEthernetCardNetworkBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualEthernetCardNetworkBackingOption_Def.__bases__:
                bases = list(ns0.VirtualEthernetCardNetworkBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualEthernetCardNetworkBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualEthernetCardOpaqueNetworkBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualEthernetCardOpaqueNetworkBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualEthernetCardOpaqueNetworkBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingOption_Def not in ns0.VirtualEthernetCardOpaqueNetworkBackingOption_Def.__bases__:
                bases = list(ns0.VirtualEthernetCardOpaqueNetworkBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingOption_Def)
                ns0.VirtualEthernetCardOpaqueNetworkBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualEthernetCardLegacyNetworkDeviceName_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualEthernetCardLegacyNetworkDeviceName")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualEthernetCardLegacyNetworkBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualEthernetCardLegacyNetworkBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualEthernetCardLegacyNetworkBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualEthernetCardLegacyNetworkBackingOption_Def.__bases__:
                bases = list(ns0.VirtualEthernetCardLegacyNetworkBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualEthernetCardLegacyNetworkBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualEthernetCardDVPortBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualEthernetCardDVPortBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualEthernetCardDVPortBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingOption_Def not in ns0.VirtualEthernetCardDVPortBackingOption_Def.__bases__:
                bases = list(ns0.VirtualEthernetCardDVPortBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingOption_Def)
                ns0.VirtualEthernetCardDVPortBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualEthernetCardMacType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualEthernetCardMacType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualEthernetCardOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualEthernetCardOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualEthernetCardOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"supportedOUI"), aname="_supportedOUI", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"macType"), aname="_macType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"wakeOnLanEnabled"), aname="_wakeOnLanEnabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmDirectPathGen2Supported"), aname="_vmDirectPathGen2Supported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"uptCompatibilityEnabled"), aname="_uptCompatibilityEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualEthernetCardOption_Def.__bases__:
                bases = list(ns0.VirtualEthernetCardOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualEthernetCardOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualFloppyImageBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualFloppyImageBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualFloppyImageBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingInfo_Def not in ns0.VirtualFloppyImageBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualFloppyImageBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingInfo_Def)
                ns0.VirtualFloppyImageBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualFloppyDeviceBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualFloppyDeviceBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualFloppyDeviceBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingInfo_Def not in ns0.VirtualFloppyDeviceBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualFloppyDeviceBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingInfo_Def)
                ns0.VirtualFloppyDeviceBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualFloppyRemoteDeviceBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualFloppyRemoteDeviceBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualFloppyRemoteDeviceBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceRemoteDeviceBackingInfo_Def not in ns0.VirtualFloppyRemoteDeviceBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualFloppyRemoteDeviceBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceRemoteDeviceBackingInfo_Def)
                ns0.VirtualFloppyRemoteDeviceBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceRemoteDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualFloppy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualFloppy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualFloppy_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualFloppy_Def.__bases__:
                bases = list(ns0.VirtualFloppy_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualFloppy_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualFloppyImageBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualFloppyImageBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualFloppyImageBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingOption_Def not in ns0.VirtualFloppyImageBackingOption_Def.__bases__:
                bases = list(ns0.VirtualFloppyImageBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingOption_Def)
                ns0.VirtualFloppyImageBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualFloppyDeviceBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualFloppyDeviceBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualFloppyDeviceBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualFloppyDeviceBackingOption_Def.__bases__:
                bases = list(ns0.VirtualFloppyDeviceBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualFloppyDeviceBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualFloppyRemoteDeviceBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualFloppyRemoteDeviceBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualFloppyRemoteDeviceBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceRemoteDeviceBackingOption_Def not in ns0.VirtualFloppyRemoteDeviceBackingOption_Def.__bases__:
                bases = list(ns0.VirtualFloppyRemoteDeviceBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceRemoteDeviceBackingOption_Def)
                ns0.VirtualFloppyRemoteDeviceBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceRemoteDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualFloppyOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualFloppyOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualFloppyOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualFloppyOption_Def.__bases__:
                bases = list(ns0.VirtualFloppyOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualFloppyOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualHdAudioCard_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualHdAudioCard")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualHdAudioCard_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSoundCard_Def not in ns0.VirtualHdAudioCard_Def.__bases__:
                bases = list(ns0.VirtualHdAudioCard_Def.__bases__)
                bases.insert(0, ns0.VirtualSoundCard_Def)
                ns0.VirtualHdAudioCard_Def.__bases__ = tuple(bases)

            ns0.VirtualSoundCard_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualHdAudioCardOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualHdAudioCardOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualHdAudioCardOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSoundCardOption_Def not in ns0.VirtualHdAudioCardOption_Def.__bases__:
                bases = list(ns0.VirtualHdAudioCardOption_Def.__bases__)
                bases.insert(0, ns0.VirtualSoundCardOption_Def)
                ns0.VirtualHdAudioCardOption_Def.__bases__ = tuple(bases)

            ns0.VirtualSoundCardOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualIDEController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualIDEController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualIDEController_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualController_Def not in ns0.VirtualIDEController_Def.__bases__:
                bases = list(ns0.VirtualIDEController_Def.__bases__)
                bases.insert(0, ns0.VirtualController_Def)
                ns0.VirtualIDEController_Def.__bases__ = tuple(bases)

            ns0.VirtualController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualIDEControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualIDEControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualIDEControllerOption_Def.schema
            TClist = [GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numIDEDisks"), aname="_numIDEDisks", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numIDECdroms"), aname="_numIDECdroms", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualControllerOption_Def not in ns0.VirtualIDEControllerOption_Def.__bases__:
                bases = list(ns0.VirtualIDEControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualControllerOption_Def)
                ns0.VirtualIDEControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualKeyboard_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualKeyboard")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualKeyboard_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualKeyboard_Def.__bases__:
                bases = list(ns0.VirtualKeyboard_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualKeyboard_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualKeyboardOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualKeyboardOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualKeyboardOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualKeyboardOption_Def.__bases__:
                bases = list(ns0.VirtualKeyboardOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualKeyboardOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualLsiLogicController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualLsiLogicController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualLsiLogicController_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSCSIController_Def not in ns0.VirtualLsiLogicController_Def.__bases__:
                bases = list(ns0.VirtualLsiLogicController_Def.__bases__)
                bases.insert(0, ns0.VirtualSCSIController_Def)
                ns0.VirtualLsiLogicController_Def.__bases__ = tuple(bases)

            ns0.VirtualSCSIController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualLsiLogicControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualLsiLogicControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualLsiLogicControllerOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSCSIControllerOption_Def not in ns0.VirtualLsiLogicControllerOption_Def.__bases__:
                bases = list(ns0.VirtualLsiLogicControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualSCSIControllerOption_Def)
                ns0.VirtualLsiLogicControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualSCSIControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualLsiLogicSASController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualLsiLogicSASController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualLsiLogicSASController_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSCSIController_Def not in ns0.VirtualLsiLogicSASController_Def.__bases__:
                bases = list(ns0.VirtualLsiLogicSASController_Def.__bases__)
                bases.insert(0, ns0.VirtualSCSIController_Def)
                ns0.VirtualLsiLogicSASController_Def.__bases__ = tuple(bases)

            ns0.VirtualSCSIController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualLsiLogicSASControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualLsiLogicSASControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualLsiLogicSASControllerOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSCSIControllerOption_Def not in ns0.VirtualLsiLogicSASControllerOption_Def.__bases__:
                bases = list(ns0.VirtualLsiLogicSASControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualSCSIControllerOption_Def)
                ns0.VirtualLsiLogicSASControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualSCSIControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualNVDIMMBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualNVDIMMBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualNVDIMMBackingInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualNVDIMMBackingInfo",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"changeId"), aname="_changeId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingInfo_Def not in ns0.VirtualNVDIMMBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualNVDIMMBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingInfo_Def)
                ns0.VirtualNVDIMMBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualNVDIMM_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualNVDIMM")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualNVDIMM_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacityInMB"), aname="_capacityInMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualNVDIMM_Def.__bases__:
                bases = list(ns0.VirtualNVDIMM_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualNVDIMM_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualNVDIMMController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualNVDIMMController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualNVDIMMController_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualController_Def not in ns0.VirtualNVDIMMController_Def.__bases__:
                bases = list(ns0.VirtualNVDIMMController_Def.__bases__)
                bases.insert(0, ns0.VirtualController_Def)
                ns0.VirtualNVDIMMController_Def.__bases__ = tuple(bases)

            ns0.VirtualController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualNVDIMMControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualNVDIMMControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualNVDIMMControllerOption_Def.schema
            TClist = [GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numNVDIMMControllers"), aname="_numNVDIMMControllers", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualControllerOption_Def not in ns0.VirtualNVDIMMControllerOption_Def.__bases__:
                bases = list(ns0.VirtualNVDIMMControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualControllerOption_Def)
                ns0.VirtualNVDIMMControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualNVDIMMOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualNVDIMMOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualNVDIMMOption_Def.schema
            TClist = [GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"capacityInMB"), aname="_capacityInMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"growable"), aname="_growable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"hotGrowable"), aname="_hotGrowable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"granularityInMB"), aname="_granularityInMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualNVDIMMOption_Def.__bases__:
                bases = list(ns0.VirtualNVDIMMOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualNVDIMMOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualNVMEController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualNVMEController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualNVMEController_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualController_Def not in ns0.VirtualNVMEController_Def.__bases__:
                bases = list(ns0.VirtualNVMEController_Def.__bases__)
                bases.insert(0, ns0.VirtualController_Def)
                ns0.VirtualNVMEController_Def.__bases__ = tuple(bases)

            ns0.VirtualController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualNVMEControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualNVMEControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualNVMEControllerOption_Def.schema
            TClist = [GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numNVMEDisks"), aname="_numNVMEDisks", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualControllerOption_Def not in ns0.VirtualNVMEControllerOption_Def.__bases__:
                bases = list(ns0.VirtualNVMEControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualControllerOption_Def)
                ns0.VirtualNVMEControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPCIController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPCIController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPCIController_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualController_Def not in ns0.VirtualPCIController_Def.__bases__:
                bases = list(ns0.VirtualPCIController_Def.__bases__)
                bases.insert(0, ns0.VirtualController_Def)
                ns0.VirtualPCIController_Def.__bases__ = tuple(bases)

            ns0.VirtualController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPCIControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPCIControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPCIControllerOption_Def.schema
            TClist = [GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numSCSIControllers"), aname="_numSCSIControllers", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numEthernetCards"), aname="_numEthernetCards", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numVideoCards"), aname="_numVideoCards", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numSoundCards"), aname="_numSoundCards", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numVmiRoms"), aname="_numVmiRoms", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numVmciDevices"), aname="_numVmciDevices", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numPCIPassthroughDevices"), aname="_numPCIPassthroughDevices", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numSasSCSIControllers"), aname="_numSasSCSIControllers", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numVmxnet3EthernetCards"), aname="_numVmxnet3EthernetCards", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numParaVirtualSCSIControllers"), aname="_numParaVirtualSCSIControllers", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numSATAControllers"), aname="_numSATAControllers", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numNVMEControllers"), aname="_numNVMEControllers", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numVmxnet3VrdmaEthernetCards"), aname="_numVmxnet3VrdmaEthernetCards", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualControllerOption_Def not in ns0.VirtualPCIControllerOption_Def.__bases__:
                bases = list(ns0.VirtualPCIControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualControllerOption_Def)
                ns0.VirtualPCIControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPCIPassthroughDeviceBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPCIPassthroughDeviceBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPCIPassthroughDeviceBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"deviceId"), aname="_deviceId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"systemId"), aname="_systemId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ishort(pname=(ns,"vendorId"), aname="_vendorId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingInfo_Def not in ns0.VirtualPCIPassthroughDeviceBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualPCIPassthroughDeviceBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingInfo_Def)
                ns0.VirtualPCIPassthroughDeviceBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPCIPassthroughPluginBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPCIPassthroughPluginBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPCIPassthroughPluginBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingInfo_Def not in ns0.VirtualPCIPassthroughPluginBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualPCIPassthroughPluginBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingInfo_Def)
                ns0.VirtualPCIPassthroughPluginBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPCIPassthroughVmiopBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPCIPassthroughVmiopBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPCIPassthroughVmiopBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vgpu"), aname="_vgpu", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualPCIPassthroughPluginBackingInfo_Def not in ns0.VirtualPCIPassthroughVmiopBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualPCIPassthroughVmiopBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualPCIPassthroughPluginBackingInfo_Def)
                ns0.VirtualPCIPassthroughVmiopBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualPCIPassthroughPluginBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPCIPassthrough_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPCIPassthrough")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPCIPassthrough_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualPCIPassthrough_Def.__bases__:
                bases = list(ns0.VirtualPCIPassthrough_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualPCIPassthrough_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPCIPassthroughDeviceBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPCIPassthroughDeviceBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPCIPassthroughDeviceBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualPCIPassthroughDeviceBackingOption_Def.__bases__:
                bases = list(ns0.VirtualPCIPassthroughDeviceBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualPCIPassthroughDeviceBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPCIPassthroughPluginBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPCIPassthroughPluginBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPCIPassthroughPluginBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingOption_Def not in ns0.VirtualPCIPassthroughPluginBackingOption_Def.__bases__:
                bases = list(ns0.VirtualPCIPassthroughPluginBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingOption_Def)
                ns0.VirtualPCIPassthroughPluginBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPCIPassthroughVmiopBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPCIPassthroughVmiopBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPCIPassthroughVmiopBackingOption_Def.schema
            TClist = [GTD("urn:vim25","StringOption",lazy=True)(pname=(ns,"vgpu"), aname="_vgpu", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxInstances"), aname="_maxInstances", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualPCIPassthroughPluginBackingOption_Def not in ns0.VirtualPCIPassthroughVmiopBackingOption_Def.__bases__:
                bases = list(ns0.VirtualPCIPassthroughVmiopBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualPCIPassthroughPluginBackingOption_Def)
                ns0.VirtualPCIPassthroughVmiopBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualPCIPassthroughPluginBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPCIPassthroughOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPCIPassthroughOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPCIPassthroughOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualPCIPassthroughOption_Def.__bases__:
                bases = list(ns0.VirtualPCIPassthroughOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualPCIPassthroughOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPCNet32_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPCNet32")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPCNet32_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualEthernetCard_Def not in ns0.VirtualPCNet32_Def.__bases__:
                bases = list(ns0.VirtualPCNet32_Def.__bases__)
                bases.insert(0, ns0.VirtualEthernetCard_Def)
                ns0.VirtualPCNet32_Def.__bases__ = tuple(bases)

            ns0.VirtualEthernetCard_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPCNet32Option_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPCNet32Option")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPCNet32Option_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"supportsMorphing"), aname="_supportsMorphing", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualEthernetCardOption_Def not in ns0.VirtualPCNet32Option_Def.__bases__:
                bases = list(ns0.VirtualPCNet32Option_Def.__bases__)
                bases.insert(0, ns0.VirtualEthernetCardOption_Def)
                ns0.VirtualPCNet32Option_Def.__bases__ = tuple(bases)

            ns0.VirtualEthernetCardOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPS2Controller_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPS2Controller")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPS2Controller_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualController_Def not in ns0.VirtualPS2Controller_Def.__bases__:
                bases = list(ns0.VirtualPS2Controller_Def.__bases__)
                bases.insert(0, ns0.VirtualController_Def)
                ns0.VirtualPS2Controller_Def.__bases__ = tuple(bases)

            ns0.VirtualController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPS2ControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPS2ControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPS2ControllerOption_Def.schema
            TClist = [GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numKeyboards"), aname="_numKeyboards", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numPointingDevices"), aname="_numPointingDevices", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualControllerOption_Def not in ns0.VirtualPS2ControllerOption_Def.__bases__:
                bases = list(ns0.VirtualPS2ControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualControllerOption_Def)
                ns0.VirtualPS2ControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualParallelPortFileBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualParallelPortFileBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualParallelPortFileBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingInfo_Def not in ns0.VirtualParallelPortFileBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualParallelPortFileBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingInfo_Def)
                ns0.VirtualParallelPortFileBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualParallelPortDeviceBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualParallelPortDeviceBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualParallelPortDeviceBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingInfo_Def not in ns0.VirtualParallelPortDeviceBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualParallelPortDeviceBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingInfo_Def)
                ns0.VirtualParallelPortDeviceBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualParallelPort_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualParallelPort")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualParallelPort_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualParallelPort_Def.__bases__:
                bases = list(ns0.VirtualParallelPort_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualParallelPort_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualParallelPortFileBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualParallelPortFileBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualParallelPortFileBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingOption_Def not in ns0.VirtualParallelPortFileBackingOption_Def.__bases__:
                bases = list(ns0.VirtualParallelPortFileBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingOption_Def)
                ns0.VirtualParallelPortFileBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualParallelPortDeviceBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualParallelPortDeviceBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualParallelPortDeviceBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualParallelPortDeviceBackingOption_Def.__bases__:
                bases = list(ns0.VirtualParallelPortDeviceBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualParallelPortDeviceBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualParallelPortOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualParallelPortOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualParallelPortOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualParallelPortOption_Def.__bases__:
                bases = list(ns0.VirtualParallelPortOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualParallelPortOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPointingDeviceDeviceBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPointingDeviceDeviceBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPointingDeviceDeviceBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostPointingDevice"), aname="_hostPointingDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingInfo_Def not in ns0.VirtualPointingDeviceDeviceBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualPointingDeviceDeviceBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingInfo_Def)
                ns0.VirtualPointingDeviceDeviceBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPointingDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPointingDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPointingDevice_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualPointingDevice_Def.__bases__:
                bases = list(ns0.VirtualPointingDevice_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualPointingDevice_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPointingDeviceHostChoice_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualPointingDeviceHostChoice")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualPointingDeviceBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPointingDeviceBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPointingDeviceBackingOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"hostPointingDevice"), aname="_hostPointingDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualPointingDeviceBackingOption_Def.__bases__:
                bases = list(ns0.VirtualPointingDeviceBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualPointingDeviceBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualPointingDeviceOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualPointingDeviceOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualPointingDeviceOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualPointingDeviceOption_Def.__bases__:
                bases = list(ns0.VirtualPointingDeviceOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualPointingDeviceOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSATAController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSATAController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSATAController_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualController_Def not in ns0.VirtualSATAController_Def.__bases__:
                bases = list(ns0.VirtualSATAController_Def.__bases__)
                bases.insert(0, ns0.VirtualController_Def)
                ns0.VirtualSATAController_Def.__bases__ = tuple(bases)

            ns0.VirtualController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSATAControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSATAControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSATAControllerOption_Def.schema
            TClist = [GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numSATADisks"), aname="_numSATADisks", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numSATACdroms"), aname="_numSATACdroms", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualControllerOption_Def not in ns0.VirtualSATAControllerOption_Def.__bases__:
                bases = list(ns0.VirtualSATAControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualControllerOption_Def)
                ns0.VirtualSATAControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSCSISharing_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualSCSISharing")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class ArrayOfVirtualSCSISharing_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualSCSISharing")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualSCSISharing_Def.schema
            TClist = [GTD("urn:vim25","VirtualSCSISharing",lazy=True)(pname=(ns,"VirtualSCSISharing"), aname="_VirtualSCSISharing", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualSCSISharing = []
                    return
            Holder.__name__ = "ArrayOfVirtualSCSISharing_Holder"
            self.pyclass = Holder

    class VirtualSCSIController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSCSIController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSCSIController_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"hotAddRemove"), aname="_hotAddRemove", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualSCSISharing",lazy=True)(pname=(ns,"sharedBus"), aname="_sharedBus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"scsiCtlrUnitNumber"), aname="_scsiCtlrUnitNumber", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualController_Def not in ns0.VirtualSCSIController_Def.__bases__:
                bases = list(ns0.VirtualSCSIController_Def.__bases__)
                bases.insert(0, ns0.VirtualController_Def)
                ns0.VirtualSCSIController_Def.__bases__ = tuple(bases)

            ns0.VirtualController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSCSIControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSCSIControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSCSIControllerOption_Def.schema
            TClist = [GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numSCSIDisks"), aname="_numSCSIDisks", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numSCSICdroms"), aname="_numSCSICdroms", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numSCSIPassthrough"), aname="_numSCSIPassthrough", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualSCSISharing",lazy=True)(pname=(ns,"sharing"), aname="_sharing", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"defaultSharedIndex"), aname="_defaultSharedIndex", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"hotAddRemove"), aname="_hotAddRemove", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"scsiCtlrUnitNumber"), aname="_scsiCtlrUnitNumber", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualControllerOption_Def not in ns0.VirtualSCSIControllerOption_Def.__bases__:
                bases = list(ns0.VirtualSCSIControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualControllerOption_Def)
                ns0.VirtualSCSIControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSCSIPassthroughDeviceBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSCSIPassthroughDeviceBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSCSIPassthroughDeviceBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingInfo_Def not in ns0.VirtualSCSIPassthroughDeviceBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualSCSIPassthroughDeviceBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingInfo_Def)
                ns0.VirtualSCSIPassthroughDeviceBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSCSIPassthrough_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSCSIPassthrough")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSCSIPassthrough_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualSCSIPassthrough_Def.__bases__:
                bases = list(ns0.VirtualSCSIPassthrough_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualSCSIPassthrough_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSCSIPassthroughDeviceBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSCSIPassthroughDeviceBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSCSIPassthroughDeviceBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualSCSIPassthroughDeviceBackingOption_Def.__bases__:
                bases = list(ns0.VirtualSCSIPassthroughDeviceBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualSCSIPassthroughDeviceBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSCSIPassthroughOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSCSIPassthroughOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSCSIPassthroughOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualSCSIPassthroughOption_Def.__bases__:
                bases = list(ns0.VirtualSCSIPassthroughOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualSCSIPassthroughOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSIOController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSIOController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSIOController_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualController_Def not in ns0.VirtualSIOController_Def.__bases__:
                bases = list(ns0.VirtualSIOController_Def.__bases__)
                bases.insert(0, ns0.VirtualController_Def)
                ns0.VirtualSIOController_Def.__bases__ = tuple(bases)

            ns0.VirtualController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSIOControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSIOControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSIOControllerOption_Def.schema
            TClist = [GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numFloppyDrives"), aname="_numFloppyDrives", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numSerialPorts"), aname="_numSerialPorts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numParallelPorts"), aname="_numParallelPorts", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualControllerOption_Def not in ns0.VirtualSIOControllerOption_Def.__bases__:
                bases = list(ns0.VirtualSIOControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualControllerOption_Def)
                ns0.VirtualSIOControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSerialPortFileBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSerialPortFileBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSerialPortFileBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingInfo_Def not in ns0.VirtualSerialPortFileBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualSerialPortFileBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingInfo_Def)
                ns0.VirtualSerialPortFileBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSerialPortDeviceBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSerialPortDeviceBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSerialPortDeviceBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingInfo_Def not in ns0.VirtualSerialPortDeviceBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualSerialPortDeviceBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingInfo_Def)
                ns0.VirtualSerialPortDeviceBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSerialPortPipeBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSerialPortPipeBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSerialPortPipeBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"endpoint"), aname="_endpoint", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"noRxLoss"), aname="_noRxLoss", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevicePipeBackingInfo_Def not in ns0.VirtualSerialPortPipeBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualSerialPortPipeBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDevicePipeBackingInfo_Def)
                ns0.VirtualSerialPortPipeBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDevicePipeBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSerialPortURIBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSerialPortURIBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSerialPortURIBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceURIBackingInfo_Def not in ns0.VirtualSerialPortURIBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualSerialPortURIBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceURIBackingInfo_Def)
                ns0.VirtualSerialPortURIBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceURIBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSerialPortThinPrintBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSerialPortThinPrintBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSerialPortThinPrintBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingInfo_Def not in ns0.VirtualSerialPortThinPrintBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualSerialPortThinPrintBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingInfo_Def)
                ns0.VirtualSerialPortThinPrintBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSerialPort_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSerialPort")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSerialPort_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"yieldOnPoll"), aname="_yieldOnPoll", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualSerialPort_Def.__bases__:
                bases = list(ns0.VirtualSerialPort_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualSerialPort_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSerialPortEndPoint_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualSerialPortEndPoint")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualSerialPortFileBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSerialPortFileBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSerialPortFileBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceFileBackingOption_Def not in ns0.VirtualSerialPortFileBackingOption_Def.__bases__:
                bases = list(ns0.VirtualSerialPortFileBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceFileBackingOption_Def)
                ns0.VirtualSerialPortFileBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceFileBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSerialPortDeviceBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSerialPortDeviceBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSerialPortDeviceBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualSerialPortDeviceBackingOption_Def.__bases__:
                bases = list(ns0.VirtualSerialPortDeviceBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualSerialPortDeviceBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSerialPortPipeBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSerialPortPipeBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSerialPortPipeBackingOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"endpoint"), aname="_endpoint", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"noRxLoss"), aname="_noRxLoss", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevicePipeBackingOption_Def not in ns0.VirtualSerialPortPipeBackingOption_Def.__bases__:
                bases = list(ns0.VirtualSerialPortPipeBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDevicePipeBackingOption_Def)
                ns0.VirtualSerialPortPipeBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDevicePipeBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSerialPortURIBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSerialPortURIBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSerialPortURIBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceURIBackingOption_Def not in ns0.VirtualSerialPortURIBackingOption_Def.__bases__:
                bases = list(ns0.VirtualSerialPortURIBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceURIBackingOption_Def)
                ns0.VirtualSerialPortURIBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceURIBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSerialPortThinPrintBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSerialPortThinPrintBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSerialPortThinPrintBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingOption_Def not in ns0.VirtualSerialPortThinPrintBackingOption_Def.__bases__:
                bases = list(ns0.VirtualSerialPortThinPrintBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingOption_Def)
                ns0.VirtualSerialPortThinPrintBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSerialPortOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSerialPortOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSerialPortOption_Def.schema
            TClist = [GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"yieldOnPoll"), aname="_yieldOnPoll", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualSerialPortOption_Def.__bases__:
                bases = list(ns0.VirtualSerialPortOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualSerialPortOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSoundBlaster16_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSoundBlaster16")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSoundBlaster16_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSoundCard_Def not in ns0.VirtualSoundBlaster16_Def.__bases__:
                bases = list(ns0.VirtualSoundBlaster16_Def.__bases__)
                bases.insert(0, ns0.VirtualSoundCard_Def)
                ns0.VirtualSoundBlaster16_Def.__bases__ = tuple(bases)

            ns0.VirtualSoundCard_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSoundBlaster16Option_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSoundBlaster16Option")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSoundBlaster16Option_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualSoundCardOption_Def not in ns0.VirtualSoundBlaster16Option_Def.__bases__:
                bases = list(ns0.VirtualSoundBlaster16Option_Def.__bases__)
                bases.insert(0, ns0.VirtualSoundCardOption_Def)
                ns0.VirtualSoundBlaster16Option_Def.__bases__ = tuple(bases)

            ns0.VirtualSoundCardOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSoundCardDeviceBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSoundCardDeviceBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSoundCardDeviceBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingInfo_Def not in ns0.VirtualSoundCardDeviceBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualSoundCardDeviceBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingInfo_Def)
                ns0.VirtualSoundCardDeviceBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSoundCard_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSoundCard")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSoundCard_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualSoundCard_Def.__bases__:
                bases = list(ns0.VirtualSoundCard_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualSoundCard_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSoundCardDeviceBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSoundCardDeviceBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSoundCardDeviceBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualSoundCardDeviceBackingOption_Def.__bases__:
                bases = list(ns0.VirtualSoundCardDeviceBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualSoundCardDeviceBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSoundCardOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSoundCardOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSoundCardOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualSoundCardOption_Def.__bases__:
                bases = list(ns0.VirtualSoundCardOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualSoundCardOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSriovEthernetCardSriovBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSriovEthernetCardSriovBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSriovEthernetCardSriovBackingInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualPCIPassthroughDeviceBackingInfo",lazy=True)(pname=(ns,"physicalFunctionBacking"), aname="_physicalFunctionBacking", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualPCIPassthroughDeviceBackingInfo",lazy=True)(pname=(ns,"virtualFunctionBacking"), aname="_virtualFunctionBacking", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"virtualFunctionIndex"), aname="_virtualFunctionIndex", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingInfo_Def not in ns0.VirtualSriovEthernetCardSriovBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualSriovEthernetCardSriovBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingInfo_Def)
                ns0.VirtualSriovEthernetCardSriovBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSriovEthernetCard_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSriovEthernetCard")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSriovEthernetCard_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"allowGuestOSMtuChange"), aname="_allowGuestOSMtuChange", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualSriovEthernetCardSriovBackingInfo",lazy=True)(pname=(ns,"sriovBacking"), aname="_sriovBacking", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualEthernetCard_Def not in ns0.VirtualSriovEthernetCard_Def.__bases__:
                bases = list(ns0.VirtualSriovEthernetCard_Def.__bases__)
                bases.insert(0, ns0.VirtualEthernetCard_Def)
                ns0.VirtualSriovEthernetCard_Def.__bases__ = tuple(bases)

            ns0.VirtualEthernetCard_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSriovEthernetCardSriovBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSriovEthernetCardSriovBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSriovEthernetCardSriovBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceBackingOption_Def not in ns0.VirtualSriovEthernetCardSriovBackingOption_Def.__bases__:
                bases = list(ns0.VirtualSriovEthernetCardSriovBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceBackingOption_Def)
                ns0.VirtualSriovEthernetCardSriovBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualSriovEthernetCardOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualSriovEthernetCardOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualSriovEthernetCardOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualEthernetCardOption_Def not in ns0.VirtualSriovEthernetCardOption_Def.__bases__:
                bases = list(ns0.VirtualSriovEthernetCardOption_Def.__bases__)
                bases.insert(0, ns0.VirtualEthernetCardOption_Def)
                ns0.VirtualSriovEthernetCardOption_Def.__bases__ = tuple(bases)

            ns0.VirtualEthernetCardOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualTPM_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualTPM")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualTPM_Def.schema
            TClist = [pysphere.ZSI.TC.Base64String(pname=(ns,"endorsementKeyCertificateSigningRequest"), aname="_endorsementKeyCertificateSigningRequest", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Base64String(pname=(ns,"endorsementKeyCertificate"), aname="_endorsementKeyCertificate", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualTPM_Def.__bases__:
                bases = list(ns0.VirtualTPM_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualTPM_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualTPMOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualTPMOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualTPMOption_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"supportedFirmware"), aname="_supportedFirmware", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualTPMOption_Def.__bases__:
                bases = list(ns0.VirtualTPMOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualTPMOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualUSBUSBBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualUSBUSBBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualUSBUSBBackingInfo_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingInfo_Def not in ns0.VirtualUSBUSBBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualUSBUSBBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingInfo_Def)
                ns0.VirtualUSBUSBBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualUSBRemoteHostBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualUSBRemoteHostBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualUSBRemoteHostBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostname"), aname="_hostname", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingInfo_Def not in ns0.VirtualUSBRemoteHostBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualUSBRemoteHostBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingInfo_Def)
                ns0.VirtualUSBRemoteHostBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualUSBRemoteClientBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualUSBRemoteClientBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualUSBRemoteClientBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"hostname"), aname="_hostname", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceRemoteDeviceBackingInfo_Def not in ns0.VirtualUSBRemoteClientBackingInfo_Def.__bases__:
                bases = list(ns0.VirtualUSBRemoteClientBackingInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceRemoteDeviceBackingInfo_Def)
                ns0.VirtualUSBRemoteClientBackingInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceRemoteDeviceBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualUSB_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualUSB")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualUSB_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"connected"), aname="_connected", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vendor"), aname="_vendor", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"product"), aname="_product", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"family"), aname="_family", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"speed"), aname="_speed", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualUSB_Def.__bases__:
                bases = list(ns0.VirtualUSB_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualUSB_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualUSBControllerPciBusSlotInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualUSBControllerPciBusSlotInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualUSBControllerPciBusSlotInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"ehciPciSlotNumber"), aname="_ehciPciSlotNumber", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevicePciBusSlotInfo_Def not in ns0.VirtualUSBControllerPciBusSlotInfo_Def.__bases__:
                bases = list(ns0.VirtualUSBControllerPciBusSlotInfo_Def.__bases__)
                bases.insert(0, ns0.VirtualDevicePciBusSlotInfo_Def)
                ns0.VirtualUSBControllerPciBusSlotInfo_Def.__bases__ = tuple(bases)

            ns0.VirtualDevicePciBusSlotInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualUSBController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualUSBController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualUSBController_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"autoConnectDevices"), aname="_autoConnectDevices", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ehciEnabled"), aname="_ehciEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualController_Def not in ns0.VirtualUSBController_Def.__bases__:
                bases = list(ns0.VirtualUSBController_Def.__bases__)
                bases.insert(0, ns0.VirtualController_Def)
                ns0.VirtualUSBController_Def.__bases__ = tuple(bases)

            ns0.VirtualController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualUSBControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualUSBControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualUSBControllerOption_Def.schema
            TClist = [GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"autoConnectDevices"), aname="_autoConnectDevices", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"ehciSupported"), aname="_ehciSupported", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportedSpeeds"), aname="_supportedSpeeds", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualControllerOption_Def not in ns0.VirtualUSBControllerOption_Def.__bases__:
                bases = list(ns0.VirtualUSBControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualControllerOption_Def)
                ns0.VirtualUSBControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualUSBUSBBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualUSBUSBBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualUSBUSBBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualUSBUSBBackingOption_Def.__bases__:
                bases = list(ns0.VirtualUSBUSBBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualUSBUSBBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualUSBRemoteHostBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualUSBRemoteHostBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualUSBRemoteHostBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceDeviceBackingOption_Def not in ns0.VirtualUSBRemoteHostBackingOption_Def.__bases__:
                bases = list(ns0.VirtualUSBRemoteHostBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceDeviceBackingOption_Def)
                ns0.VirtualUSBRemoteHostBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualUSBRemoteClientBackingOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualUSBRemoteClientBackingOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualUSBRemoteClientBackingOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceRemoteDeviceBackingOption_Def not in ns0.VirtualUSBRemoteClientBackingOption_Def.__bases__:
                bases = list(ns0.VirtualUSBRemoteClientBackingOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceRemoteDeviceBackingOption_Def)
                ns0.VirtualUSBRemoteClientBackingOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceRemoteDeviceBackingOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualUSBOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualUSBOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualUSBOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualUSBOption_Def.__bases__:
                bases = list(ns0.VirtualUSBOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualUSBOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualUSBXHCIController_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualUSBXHCIController")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualUSBXHCIController_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"autoConnectDevices"), aname="_autoConnectDevices", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualController_Def not in ns0.VirtualUSBXHCIController_Def.__bases__:
                bases = list(ns0.VirtualUSBXHCIController_Def.__bases__)
                bases.insert(0, ns0.VirtualController_Def)
                ns0.VirtualUSBXHCIController_Def.__bases__ = tuple(bases)

            ns0.VirtualController_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualUSBXHCIControllerOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualUSBXHCIControllerOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualUSBXHCIControllerOption_Def.schema
            TClist = [GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"autoConnectDevices"), aname="_autoConnectDevices", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"supportedSpeeds"), aname="_supportedSpeeds", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualControllerOption_Def not in ns0.VirtualUSBXHCIControllerOption_Def.__bases__:
                bases = list(ns0.VirtualUSBXHCIControllerOption_Def.__bases__)
                bases.insert(0, ns0.VirtualControllerOption_Def)
                ns0.VirtualUSBXHCIControllerOption_Def.__bases__ = tuple(bases)

            ns0.VirtualControllerOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineVMCIDeviceAction_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineVMCIDeviceAction")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineVMCIDeviceProtocol_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineVMCIDeviceProtocol")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineVMCIDeviceDirection_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineVMCIDeviceDirection")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineVMCIDeviceFilterSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineVMCIDeviceFilterSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineVMCIDeviceFilterSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"rank"), aname="_rank", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"action"), aname="_action", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"protocol"), aname="_protocol", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"direction"), aname="_direction", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"lowerDstPortBoundary"), aname="_lowerDstPortBoundary", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"upperDstPortBoundary"), aname="_upperDstPortBoundary", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineVMCIDeviceFilterSpec_Def.__bases__:
                bases = list(ns0.VirtualMachineVMCIDeviceFilterSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineVMCIDeviceFilterSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVirtualMachineVMCIDeviceFilterSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVirtualMachineVMCIDeviceFilterSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVirtualMachineVMCIDeviceFilterSpec_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineVMCIDeviceFilterSpec",lazy=True)(pname=(ns,"VirtualMachineVMCIDeviceFilterSpec"), aname="_VirtualMachineVMCIDeviceFilterSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VirtualMachineVMCIDeviceFilterSpec = []
                    return
            Holder.__name__ = "ArrayOfVirtualMachineVMCIDeviceFilterSpec_Holder"
            self.pyclass = Holder

    class VirtualMachineVMCIDeviceFilterInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineVMCIDeviceFilterInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineVMCIDeviceFilterInfo_Def.schema
            TClist = [GTD("urn:vim25","VirtualMachineVMCIDeviceFilterSpec",lazy=True)(pname=(ns,"filters"), aname="_filters", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineVMCIDeviceFilterInfo_Def.__bases__:
                bases = list(ns0.VirtualMachineVMCIDeviceFilterInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineVMCIDeviceFilterInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineVMCIDevice_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineVMCIDevice")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineVMCIDevice_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"id"), aname="_id", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"allowUnrestrictedCommunication"), aname="_allowUnrestrictedCommunication", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"filterEnable"), aname="_filterEnable", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineVMCIDeviceFilterInfo",lazy=True)(pname=(ns,"filterInfo"), aname="_filterInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualMachineVMCIDevice_Def.__bases__:
                bases = list(ns0.VirtualMachineVMCIDevice_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualMachineVMCIDevice_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineVMCIDeviceOptionFilterSpecOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineVMCIDeviceOptionFilterSpecOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineVMCIDeviceOptionFilterSpecOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"action"), aname="_action", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"protocol"), aname="_protocol", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"direction"), aname="_direction", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"lowerDstPortBoundary"), aname="_lowerDstPortBoundary", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"upperDstPortBoundary"), aname="_upperDstPortBoundary", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VirtualMachineVMCIDeviceOptionFilterSpecOption_Def.__bases__:
                bases = list(ns0.VirtualMachineVMCIDeviceOptionFilterSpecOption_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VirtualMachineVMCIDeviceOptionFilterSpecOption_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineVMCIDeviceOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineVMCIDeviceOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineVMCIDeviceOption_Def.schema
            TClist = [GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"allowUnrestrictedCommunication"), aname="_allowUnrestrictedCommunication", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineVMCIDeviceOptionFilterSpecOption",lazy=True)(pname=(ns,"filterSpecOption"), aname="_filterSpecOption", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"filterSupported"), aname="_filterSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualMachineVMCIDeviceOption_Def.__bases__:
                bases = list(ns0.VirtualMachineVMCIDeviceOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualMachineVMCIDeviceOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineVMIROM_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineVMIROM")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineVMIROM_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualMachineVMIROM_Def.__bases__:
                bases = list(ns0.VirtualMachineVMIROM_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualMachineVMIROM_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualVMIROMOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualVMIROMOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualVMIROMOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualVMIROMOption_Def.__bases__:
                bases = list(ns0.VirtualVMIROMOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualVMIROMOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualMachineVideoCardUse3dRenderer_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualMachineVideoCardUse3dRenderer")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualMachineVideoCard_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualMachineVideoCard")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualMachineVideoCard_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"videoRamSizeInKB"), aname="_videoRamSizeInKB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numDisplays"), aname="_numDisplays", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"useAutoDetect"), aname="_useAutoDetect", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enable3DSupport"), aname="_enable3DSupport", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"use3dRenderer"), aname="_use3dRenderer", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"graphicsMemorySizeInKB"), aname="_graphicsMemorySizeInKB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDevice_Def not in ns0.VirtualMachineVideoCard_Def.__bases__:
                bases = list(ns0.VirtualMachineVideoCard_Def.__bases__)
                bases.insert(0, ns0.VirtualDevice_Def)
                ns0.VirtualMachineVideoCard_Def.__bases__ = tuple(bases)

            ns0.VirtualDevice_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualVideoCardOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualVideoCardOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualVideoCardOption_Def.schema
            TClist = [GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"videoRamSizeInKB"), aname="_videoRamSizeInKB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IntOption",lazy=True)(pname=(ns,"numDisplays"), aname="_numDisplays", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"useAutoDetect"), aname="_useAutoDetect", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"support3D"), aname="_support3D", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"use3dRendererSupported"), aname="_use3dRendererSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LongOption",lazy=True)(pname=(ns,"graphicsMemorySizeInKB"), aname="_graphicsMemorySizeInKB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BoolOption",lazy=True)(pname=(ns,"graphicsMemorySizeSupported"), aname="_graphicsMemorySizeSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualDeviceOption_Def not in ns0.VirtualVideoCardOption_Def.__bases__:
                bases = list(ns0.VirtualVideoCardOption_Def.__bases__)
                bases.insert(0, ns0.VirtualDeviceOption_Def)
                ns0.VirtualVideoCardOption_Def.__bases__ = tuple(bases)

            ns0.VirtualDeviceOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualVmxnet_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualVmxnet")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualVmxnet_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualEthernetCard_Def not in ns0.VirtualVmxnet_Def.__bases__:
                bases = list(ns0.VirtualVmxnet_Def.__bases__)
                bases.insert(0, ns0.VirtualEthernetCard_Def)
                ns0.VirtualVmxnet_Def.__bases__ = tuple(bases)

            ns0.VirtualEthernetCard_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualVmxnet2_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualVmxnet2")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualVmxnet2_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualVmxnet_Def not in ns0.VirtualVmxnet2_Def.__bases__:
                bases = list(ns0.VirtualVmxnet2_Def.__bases__)
                bases.insert(0, ns0.VirtualVmxnet_Def)
                ns0.VirtualVmxnet2_Def.__bases__ = tuple(bases)

            ns0.VirtualVmxnet_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualVmxnet2Option_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualVmxnet2Option")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualVmxnet2Option_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualVmxnetOption_Def not in ns0.VirtualVmxnet2Option_Def.__bases__:
                bases = list(ns0.VirtualVmxnet2Option_Def.__bases__)
                bases.insert(0, ns0.VirtualVmxnetOption_Def)
                ns0.VirtualVmxnet2Option_Def.__bases__ = tuple(bases)

            ns0.VirtualVmxnetOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualVmxnet3_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualVmxnet3")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualVmxnet3_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualVmxnet_Def not in ns0.VirtualVmxnet3_Def.__bases__:
                bases = list(ns0.VirtualVmxnet3_Def.__bases__)
                bases.insert(0, ns0.VirtualVmxnet_Def)
                ns0.VirtualVmxnet3_Def.__bases__ = tuple(bases)

            ns0.VirtualVmxnet_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualVmxnet3Option_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualVmxnet3Option")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualVmxnet3Option_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualVmxnetOption_Def not in ns0.VirtualVmxnet3Option_Def.__bases__:
                bases = list(ns0.VirtualVmxnet3Option_Def.__bases__)
                bases.insert(0, ns0.VirtualVmxnetOption_Def)
                ns0.VirtualVmxnet3Option_Def.__bases__ = tuple(bases)

            ns0.VirtualVmxnetOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualVmxnet3Vrdma_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualVmxnet3Vrdma")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualVmxnet3Vrdma_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"deviceProtocol"), aname="_deviceProtocol", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualVmxnet3_Def not in ns0.VirtualVmxnet3Vrdma_Def.__bases__:
                bases = list(ns0.VirtualVmxnet3Vrdma_Def.__bases__)
                bases.insert(0, ns0.VirtualVmxnet3_Def)
                ns0.VirtualVmxnet3Vrdma_Def.__bases__ = tuple(bases)

            ns0.VirtualVmxnet3_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualVmxnet3VrdmaOptionDeviceProtocols_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VirtualVmxnet3VrdmaOptionDeviceProtocols")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VirtualVmxnet3VrdmaOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualVmxnet3VrdmaOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualVmxnet3VrdmaOption_Def.schema
            TClist = [GTD("urn:vim25","ChoiceOption",lazy=True)(pname=(ns,"deviceProtocol"), aname="_deviceProtocol", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualVmxnet3Option_Def not in ns0.VirtualVmxnet3VrdmaOption_Def.__bases__:
                bases = list(ns0.VirtualVmxnet3VrdmaOption_Def.__bases__)
                bases.insert(0, ns0.VirtualVmxnet3Option_Def)
                ns0.VirtualVmxnet3VrdmaOption_Def.__bases__ = tuple(bases)

            ns0.VirtualVmxnet3Option_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VirtualVmxnetOption_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VirtualVmxnetOption")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VirtualVmxnetOption_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VirtualEthernetCardOption_Def not in ns0.VirtualVmxnetOption_Def.__bases__:
                bases = list(ns0.VirtualVmxnetOption_Def.__bases__)
                bases.insert(0, ns0.VirtualEthernetCardOption_Def)
                ns0.VirtualVmxnetOption_Def.__bases__ = tuple(bases)

            ns0.VirtualEthernetCardOption_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestAuthSubject_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestAuthSubject")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestAuthSubject_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestAuthSubject_Def.__bases__:
                bases = list(ns0.GuestAuthSubject_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestAuthSubject_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfGuestAuthSubject_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfGuestAuthSubject")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfGuestAuthSubject_Def.schema
            TClist = [GTD("urn:vim25","GuestAuthSubject",lazy=True)(pname=(ns,"GuestAuthSubject"), aname="_GuestAuthSubject", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._GuestAuthSubject = []
                    return
            Holder.__name__ = "ArrayOfGuestAuthSubject_Holder"
            self.pyclass = Holder

    class GuestAuthAnySubject_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestAuthAnySubject")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestAuthAnySubject_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestAuthSubject_Def not in ns0.GuestAuthAnySubject_Def.__bases__:
                bases = list(ns0.GuestAuthAnySubject_Def.__bases__)
                bases.insert(0, ns0.GuestAuthSubject_Def)
                ns0.GuestAuthAnySubject_Def.__bases__ = tuple(bases)

            ns0.GuestAuthSubject_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestAuthNamedSubject_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestAuthNamedSubject")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestAuthNamedSubject_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestAuthSubject_Def not in ns0.GuestAuthNamedSubject_Def.__bases__:
                bases = list(ns0.GuestAuthNamedSubject_Def.__bases__)
                bases.insert(0, ns0.GuestAuthSubject_Def)
                ns0.GuestAuthNamedSubject_Def.__bases__ = tuple(bases)

            ns0.GuestAuthSubject_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestAuthAliasInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestAuthAliasInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestAuthAliasInfo_Def.schema
            TClist = [GTD("urn:vim25","GuestAuthSubject",lazy=True)(pname=(ns,"subject"), aname="_subject", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"comment"), aname="_comment", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestAuthAliasInfo_Def.__bases__:
                bases = list(ns0.GuestAuthAliasInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestAuthAliasInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfGuestAuthAliasInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfGuestAuthAliasInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfGuestAuthAliasInfo_Def.schema
            TClist = [GTD("urn:vim25","GuestAuthAliasInfo",lazy=True)(pname=(ns,"GuestAuthAliasInfo"), aname="_GuestAuthAliasInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._GuestAuthAliasInfo = []
                    return
            Holder.__name__ = "ArrayOfGuestAuthAliasInfo_Holder"
            self.pyclass = Holder

    class GuestAliases_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestAliases")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestAliases_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"base64Cert"), aname="_base64Cert", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthAliasInfo",lazy=True)(pname=(ns,"aliases"), aname="_aliases", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestAliases_Def.__bases__:
                bases = list(ns0.GuestAliases_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestAliases_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfGuestAliases_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfGuestAliases")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfGuestAliases_Def.schema
            TClist = [GTD("urn:vim25","GuestAliases",lazy=True)(pname=(ns,"GuestAliases"), aname="_GuestAliases", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._GuestAliases = []
                    return
            Holder.__name__ = "ArrayOfGuestAliases_Holder"
            self.pyclass = Holder

    class GuestMappedAliases_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestMappedAliases")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestMappedAliases_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"base64Cert"), aname="_base64Cert", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"username"), aname="_username", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthSubject",lazy=True)(pname=(ns,"subjects"), aname="_subjects", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestMappedAliases_Def.__bases__:
                bases = list(ns0.GuestMappedAliases_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestMappedAliases_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfGuestMappedAliases_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfGuestMappedAliases")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfGuestMappedAliases_Def.schema
            TClist = [GTD("urn:vim25","GuestMappedAliases",lazy=True)(pname=(ns,"GuestMappedAliases"), aname="_GuestMappedAliases", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._GuestMappedAliases = []
                    return
            Holder.__name__ = "ArrayOfGuestMappedAliases_Holder"
            self.pyclass = Holder

    class GuestFileAttributes_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestFileAttributes")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestFileAttributes_Def.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"modificationTime"), aname="_modificationTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"accessTime"), aname="_accessTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"symlinkTarget"), aname="_symlinkTarget", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestFileAttributes_Def.__bases__:
                bases = list(ns0.GuestFileAttributes_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestFileAttributes_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestPosixFileAttributes_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestPosixFileAttributes")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestPosixFileAttributes_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"ownerId"), aname="_ownerId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"groupId"), aname="_groupId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"permissions"), aname="_permissions", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestFileAttributes_Def not in ns0.GuestPosixFileAttributes_Def.__bases__:
                bases = list(ns0.GuestPosixFileAttributes_Def.__bases__)
                bases.insert(0, ns0.GuestFileAttributes_Def)
                ns0.GuestPosixFileAttributes_Def.__bases__ = tuple(bases)

            ns0.GuestFileAttributes_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestWindowsFileAttributes_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestWindowsFileAttributes")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestWindowsFileAttributes_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"hidden"), aname="_hidden", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"readOnly"), aname="_readOnly", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"createTime"), aname="_createTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestFileAttributes_Def not in ns0.GuestWindowsFileAttributes_Def.__bases__:
                bases = list(ns0.GuestWindowsFileAttributes_Def.__bases__)
                bases.insert(0, ns0.GuestFileAttributes_Def)
                ns0.GuestWindowsFileAttributes_Def.__bases__ = tuple(bases)

            ns0.GuestFileAttributes_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestFileType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GuestFileType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class GuestFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestFileInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"size"), aname="_size", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestFileAttributes",lazy=True)(pname=(ns,"attributes"), aname="_attributes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestFileInfo_Def.__bases__:
                bases = list(ns0.GuestFileInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestFileInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfGuestFileInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfGuestFileInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfGuestFileInfo_Def.schema
            TClist = [GTD("urn:vim25","GuestFileInfo",lazy=True)(pname=(ns,"GuestFileInfo"), aname="_GuestFileInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._GuestFileInfo = []
                    return
            Holder.__name__ = "ArrayOfGuestFileInfo_Holder"
            self.pyclass = Holder

    class GuestListFileInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestListFileInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestListFileInfo_Def.schema
            TClist = [GTD("urn:vim25","GuestFileInfo",lazy=True)(pname=(ns,"files"), aname="_files", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"remaining"), aname="_remaining", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestListFileInfo_Def.__bases__:
                bases = list(ns0.GuestListFileInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestListFileInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FileTransferInformation_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FileTransferInformation")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FileTransferInformation_Def.schema
            TClist = [GTD("urn:vim25","GuestFileAttributes",lazy=True)(pname=(ns,"attributes"), aname="_attributes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"size"), aname="_size", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"url"), aname="_url", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FileTransferInformation_Def.__bases__:
                bases = list(ns0.FileTransferInformation_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FileTransferInformation_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestAuthentication_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestAuthentication")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestAuthentication_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"interactiveSession"), aname="_interactiveSession", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestAuthentication_Def.__bases__:
                bases = list(ns0.GuestAuthentication_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestAuthentication_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class NamePasswordAuthentication_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "NamePasswordAuthentication")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.NamePasswordAuthentication_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"username"), aname="_username", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestAuthentication_Def not in ns0.NamePasswordAuthentication_Def.__bases__:
                bases = list(ns0.NamePasswordAuthentication_Def.__bases__)
                bases.insert(0, ns0.GuestAuthentication_Def)
                ns0.NamePasswordAuthentication_Def.__bases__ = tuple(bases)

            ns0.GuestAuthentication_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestProgramSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestProgramSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestProgramSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"programPath"), aname="_programPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"arguments"), aname="_arguments", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"workingDirectory"), aname="_workingDirectory", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"envVariables"), aname="_envVariables", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestProgramSpec_Def.__bases__:
                bases = list(ns0.GuestProgramSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestProgramSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestWindowsProgramSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestWindowsProgramSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestWindowsProgramSpec_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"startMinimized"), aname="_startMinimized", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestProgramSpec_Def not in ns0.GuestWindowsProgramSpec_Def.__bases__:
                bases = list(ns0.GuestWindowsProgramSpec_Def.__bases__)
                bases.insert(0, ns0.GuestProgramSpec_Def)
                ns0.GuestWindowsProgramSpec_Def.__bases__ = tuple(bases)

            ns0.GuestProgramSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestProcessInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestProcessInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestProcessInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"pid"), aname="_pid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"owner"), aname="_owner", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"cmdLine"), aname="_cmdLine", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"startTime"), aname="_startTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"endTime"), aname="_endTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"exitCode"), aname="_exitCode", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestProcessInfo_Def.__bases__:
                bases = list(ns0.GuestProcessInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestProcessInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfGuestProcessInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfGuestProcessInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfGuestProcessInfo_Def.schema
            TClist = [GTD("urn:vim25","GuestProcessInfo",lazy=True)(pname=(ns,"GuestProcessInfo"), aname="_GuestProcessInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._GuestProcessInfo = []
                    return
            Holder.__name__ = "ArrayOfGuestProcessInfo_Holder"
            self.pyclass = Holder

    class SAMLTokenAuthentication_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SAMLTokenAuthentication")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SAMLTokenAuthentication_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"token"), aname="_token", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"username"), aname="_username", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestAuthentication_Def not in ns0.SAMLTokenAuthentication_Def.__bases__:
                bases = list(ns0.SAMLTokenAuthentication_Def.__bases__)
                bases.insert(0, ns0.GuestAuthentication_Def)
                ns0.SAMLTokenAuthentication_Def.__bases__ = tuple(bases)

            ns0.GuestAuthentication_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class SSPIAuthentication_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "SSPIAuthentication")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.SSPIAuthentication_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"sspiToken"), aname="_sspiToken", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestAuthentication_Def not in ns0.SSPIAuthentication_Def.__bases__:
                bases = list(ns0.SSPIAuthentication_Def.__bases__)
                bases.insert(0, ns0.GuestAuthentication_Def)
                ns0.SSPIAuthentication_Def.__bases__ = tuple(bases)

            ns0.GuestAuthentication_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class TicketedSessionAuthentication_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "TicketedSessionAuthentication")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.TicketedSessionAuthentication_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"ticket"), aname="_ticket", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestAuthentication_Def not in ns0.TicketedSessionAuthentication_Def.__bases__:
                bases = list(ns0.TicketedSessionAuthentication_Def.__bases__)
                bases.insert(0, ns0.GuestAuthentication_Def)
                ns0.TicketedSessionAuthentication_Def.__bases__ = tuple(bases)

            ns0.GuestAuthentication_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegKeyWowSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GuestRegKeyWowSpec")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class GuestRegKeyNameSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegKeyNameSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegKeyNameSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"registryPath"), aname="_registryPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"wowBitness"), aname="_wowBitness", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestRegKeyNameSpec_Def.__bases__:
                bases = list(ns0.GuestRegKeyNameSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestRegKeyNameSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegKeySpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegKeySpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegKeySpec_Def.schema
            TClist = [GTD("urn:vim25","GuestRegKeyNameSpec",lazy=True)(pname=(ns,"keyName"), aname="_keyName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"classType"), aname="_classType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"lastWritten"), aname="_lastWritten", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestRegKeySpec_Def.__bases__:
                bases = list(ns0.GuestRegKeySpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestRegKeySpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegKeyRecordSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegKeyRecordSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegKeyRecordSpec_Def.schema
            TClist = [GTD("urn:vim25","GuestRegKeySpec",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestRegKeyRecordSpec_Def.__bases__:
                bases = list(ns0.GuestRegKeyRecordSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestRegKeyRecordSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfGuestRegKeyRecordSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfGuestRegKeyRecordSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfGuestRegKeyRecordSpec_Def.schema
            TClist = [GTD("urn:vim25","GuestRegKeyRecordSpec",lazy=True)(pname=(ns,"GuestRegKeyRecordSpec"), aname="_GuestRegKeyRecordSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._GuestRegKeyRecordSpec = []
                    return
            Holder.__name__ = "ArrayOfGuestRegKeyRecordSpec_Holder"
            self.pyclass = Holder

    class GuestRegValueNameSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegValueNameSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegValueNameSpec_Def.schema
            TClist = [GTD("urn:vim25","GuestRegKeyNameSpec",lazy=True)(pname=(ns,"keyName"), aname="_keyName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestRegValueNameSpec_Def.__bases__:
                bases = list(ns0.GuestRegValueNameSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestRegValueNameSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegValueDataSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegValueDataSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegValueDataSpec_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestRegValueDataSpec_Def.__bases__:
                bases = list(ns0.GuestRegValueDataSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestRegValueDataSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegValueDwordSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegValueDwordSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegValueDwordSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestRegValueDataSpec_Def not in ns0.GuestRegValueDwordSpec_Def.__bases__:
                bases = list(ns0.GuestRegValueDwordSpec_Def.__bases__)
                bases.insert(0, ns0.GuestRegValueDataSpec_Def)
                ns0.GuestRegValueDwordSpec_Def.__bases__ = tuple(bases)

            ns0.GuestRegValueDataSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegValueQwordSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegValueQwordSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegValueQwordSpec_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestRegValueDataSpec_Def not in ns0.GuestRegValueQwordSpec_Def.__bases__:
                bases = list(ns0.GuestRegValueQwordSpec_Def.__bases__)
                bases.insert(0, ns0.GuestRegValueDataSpec_Def)
                ns0.GuestRegValueQwordSpec_Def.__bases__ = tuple(bases)

            ns0.GuestRegValueDataSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegValueStringSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegValueStringSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegValueStringSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestRegValueDataSpec_Def not in ns0.GuestRegValueStringSpec_Def.__bases__:
                bases = list(ns0.GuestRegValueStringSpec_Def.__bases__)
                bases.insert(0, ns0.GuestRegValueDataSpec_Def)
                ns0.GuestRegValueStringSpec_Def.__bases__ = tuple(bases)

            ns0.GuestRegValueDataSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegValueExpandStringSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegValueExpandStringSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegValueExpandStringSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestRegValueDataSpec_Def not in ns0.GuestRegValueExpandStringSpec_Def.__bases__:
                bases = list(ns0.GuestRegValueExpandStringSpec_Def.__bases__)
                bases.insert(0, ns0.GuestRegValueDataSpec_Def)
                ns0.GuestRegValueExpandStringSpec_Def.__bases__ = tuple(bases)

            ns0.GuestRegValueDataSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegValueMultiStringSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegValueMultiStringSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegValueMultiStringSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestRegValueDataSpec_Def not in ns0.GuestRegValueMultiStringSpec_Def.__bases__:
                bases = list(ns0.GuestRegValueMultiStringSpec_Def.__bases__)
                bases.insert(0, ns0.GuestRegValueDataSpec_Def)
                ns0.GuestRegValueMultiStringSpec_Def.__bases__ = tuple(bases)

            ns0.GuestRegValueDataSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegValueBinarySpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegValueBinarySpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegValueBinarySpec_Def.schema
            TClist = [pysphere.ZSI.TC.Base64String(pname=(ns,"value"), aname="_value", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.GuestRegValueDataSpec_Def not in ns0.GuestRegValueBinarySpec_Def.__bases__:
                bases = list(ns0.GuestRegValueBinarySpec_Def.__bases__)
                bases.insert(0, ns0.GuestRegValueDataSpec_Def)
                ns0.GuestRegValueBinarySpec_Def.__bases__ = tuple(bases)

            ns0.GuestRegValueDataSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class GuestRegValueSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "GuestRegValueSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.GuestRegValueSpec_Def.schema
            TClist = [GTD("urn:vim25","GuestRegValueNameSpec",lazy=True)(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestRegValueDataSpec",lazy=True)(pname=(ns,"data"), aname="_data", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.GuestRegValueSpec_Def.__bases__:
                bases = list(ns0.GuestRegValueSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.GuestRegValueSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfGuestRegValueSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfGuestRegValueSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfGuestRegValueSpec_Def.schema
            TClist = [GTD("urn:vim25","GuestRegValueSpec",lazy=True)(pname=(ns,"GuestRegValueSpec"), aname="_GuestRegValueSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._GuestRegValueSpec = []
                    return
            Holder.__name__ = "ArrayOfGuestRegValueSpec_Holder"
            self.pyclass = Holder

    class DeviceGroupId_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "DeviceGroupId")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DeviceGroupId_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.DeviceGroupId_Def.__bases__:
                bases = list(ns0.DeviceGroupId_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.DeviceGroupId_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class FaultDomainId_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "FaultDomainId")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.FaultDomainId_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.FaultDomainId_Def.__bases__:
                bases = list(ns0.FaultDomainId_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.FaultDomainId_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ReplicationGroupId_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReplicationGroupId")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReplicationGroupId_Def.schema
            TClist = [GTD("urn:vim25","FaultDomainId",lazy=True)(pname=(ns,"faultDomainId"), aname="_faultDomainId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DeviceGroupId",lazy=True)(pname=(ns,"deviceGroupId"), aname="_deviceGroupId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ReplicationGroupId_Def.__bases__:
                bases = list(ns0.ReplicationGroupId_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ReplicationGroupId_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ReplicationSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ReplicationSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ReplicationSpec_Def.schema
            TClist = [GTD("urn:vim25","ReplicationGroupId",lazy=True)(pname=(ns,"replicationGroupId"), aname="_replicationGroupId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ReplicationSpec_Def.__bases__:
                bases = list(ns0.ReplicationSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ReplicationSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanClusterConfigInfoHostDefaultInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanClusterConfigInfoHostDefaultInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanClusterConfigInfoHostDefaultInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"autoClaimStorage"), aname="_autoClaimStorage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"checksumEnabled"), aname="_checksumEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanClusterConfigInfoHostDefaultInfo_Def.__bases__:
                bases = list(ns0.VsanClusterConfigInfoHostDefaultInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanClusterConfigInfoHostDefaultInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanClusterConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanClusterConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanClusterConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanClusterConfigInfoHostDefaultInfo",lazy=True)(pname=(ns,"defaultConfig"), aname="_defaultConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanClusterConfigInfo_Def.__bases__:
                bases = list(ns0.VsanClusterConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanClusterConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanHostClusterStatusStateCompletionEstimate_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostClusterStatusStateCompletionEstimate")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostClusterStatusStateCompletionEstimate_Def.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"completeTime"), aname="_completeTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"percentComplete"), aname="_percentComplete", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostClusterStatusStateCompletionEstimate_Def.__bases__:
                bases = list(ns0.VsanHostClusterStatusStateCompletionEstimate_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostClusterStatusStateCompletionEstimate_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanHostClusterStatusState_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostClusterStatusState")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostClusterStatusState_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostClusterStatusStateCompletionEstimate",lazy=True)(pname=(ns,"completion"), aname="_completion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostClusterStatusState_Def.__bases__:
                bases = list(ns0.VsanHostClusterStatusState_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostClusterStatusState_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanHostClusterStatus_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostClusterStatus")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostClusterStatus_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nodeUuid"), aname="_nodeUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"health"), aname="_health", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostClusterStatusState",lazy=True)(pname=(ns,"nodeState"), aname="_nodeState", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"memberUuid"), aname="_memberUuid", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostClusterStatus_Def.__bases__:
                bases = list(ns0.VsanHostClusterStatus_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostClusterStatus_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanHostConfigInfoStorageInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostConfigInfoStorageInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostConfigInfoStorageInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"autoClaimStorage"), aname="_autoClaimStorage", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostDiskMapping",lazy=True)(pname=(ns,"diskMapping"), aname="_diskMapping", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostDiskMapInfo",lazy=True)(pname=(ns,"diskMapInfo"), aname="_diskMapInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"checksumEnabled"), aname="_checksumEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostConfigInfoStorageInfo_Def.__bases__:
                bases = list(ns0.VsanHostConfigInfoStorageInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostConfigInfoStorageInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanHostConfigInfoClusterInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostConfigInfoClusterInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostConfigInfoClusterInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nodeUuid"), aname="_nodeUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostConfigInfoClusterInfo_Def.__bases__:
                bases = list(ns0.VsanHostConfigInfoClusterInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostConfigInfoClusterInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanHostConfigInfoNetworkInfoPortConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostConfigInfoNetworkInfoPortConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostConfigInfoNetworkInfoPortConfig_Def.schema
            TClist = [GTD("urn:vim25","VsanHostIpConfig",lazy=True)(pname=(ns,"ipConfig"), aname="_ipConfig", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostConfigInfoNetworkInfoPortConfig_Def.__bases__:
                bases = list(ns0.VsanHostConfigInfoNetworkInfoPortConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostConfigInfoNetworkInfoPortConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVsanHostConfigInfoNetworkInfoPortConfig_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVsanHostConfigInfoNetworkInfoPortConfig")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVsanHostConfigInfoNetworkInfoPortConfig_Def.schema
            TClist = [GTD("urn:vim25","VsanHostConfigInfoNetworkInfoPortConfig",lazy=True)(pname=(ns,"VsanHostConfigInfoNetworkInfoPortConfig"), aname="_VsanHostConfigInfoNetworkInfoPortConfig", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VsanHostConfigInfoNetworkInfoPortConfig = []
                    return
            Holder.__name__ = "ArrayOfVsanHostConfigInfoNetworkInfoPortConfig_Holder"
            self.pyclass = Holder

    class VsanHostConfigInfoNetworkInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostConfigInfoNetworkInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostConfigInfoNetworkInfo_Def.schema
            TClist = [GTD("urn:vim25","VsanHostConfigInfoNetworkInfoPortConfig",lazy=True)(pname=(ns,"port"), aname="_port", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostConfigInfoNetworkInfo_Def.__bases__:
                bases = list(ns0.VsanHostConfigInfoNetworkInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostConfigInfoNetworkInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanHostFaultDomainInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostFaultDomainInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostFaultDomainInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostFaultDomainInfo_Def.__bases__:
                bases = list(ns0.VsanHostFaultDomainInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostFaultDomainInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanHostConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hostSystem"), aname="_hostSystem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostConfigInfoClusterInfo",lazy=True)(pname=(ns,"clusterInfo"), aname="_clusterInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostConfigInfoStorageInfo",lazy=True)(pname=(ns,"storageInfo"), aname="_storageInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostConfigInfoNetworkInfo",lazy=True)(pname=(ns,"networkInfo"), aname="_networkInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostFaultDomainInfo",lazy=True)(pname=(ns,"faultDomainInfo"), aname="_faultDomainInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostConfigInfo_Def.__bases__:
                bases = list(ns0.VsanHostConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVsanHostConfigInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVsanHostConfigInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVsanHostConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","VsanHostConfigInfo",lazy=True)(pname=(ns,"VsanHostConfigInfo"), aname="_VsanHostConfigInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VsanHostConfigInfo = []
                    return
            Holder.__name__ = "ArrayOfVsanHostConfigInfo_Holder"
            self.pyclass = Holder

    class VsanHostDecommissionModeObjectAction_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VsanHostDecommissionModeObjectAction")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VsanHostDecommissionMode_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostDecommissionMode")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostDecommissionMode_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"objectAction"), aname="_objectAction", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostDecommissionMode_Def.__bases__:
                bases = list(ns0.VsanHostDecommissionMode_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostDecommissionMode_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanHostDiskMapInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostDiskMapInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostDiskMapInfo_Def.schema
            TClist = [GTD("urn:vim25","VsanHostDiskMapping",lazy=True)(pname=(ns,"mapping"), aname="_mapping", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"mounted"), aname="_mounted", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostDiskMapInfo_Def.__bases__:
                bases = list(ns0.VsanHostDiskMapInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostDiskMapInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVsanHostDiskMapInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVsanHostDiskMapInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVsanHostDiskMapInfo_Def.schema
            TClist = [GTD("urn:vim25","VsanHostDiskMapInfo",lazy=True)(pname=(ns,"VsanHostDiskMapInfo"), aname="_VsanHostDiskMapInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VsanHostDiskMapInfo = []
                    return
            Holder.__name__ = "ArrayOfVsanHostDiskMapInfo_Holder"
            self.pyclass = Holder

    class VsanHostDiskMapResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostDiskMapResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostDiskMapResult_Def.schema
            TClist = [GTD("urn:vim25","VsanHostDiskMapping",lazy=True)(pname=(ns,"mapping"), aname="_mapping", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostDiskResult",lazy=True)(pname=(ns,"diskResult"), aname="_diskResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostDiskMapResult_Def.__bases__:
                bases = list(ns0.VsanHostDiskMapResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostDiskMapResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVsanHostDiskMapResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVsanHostDiskMapResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVsanHostDiskMapResult_Def.schema
            TClist = [GTD("urn:vim25","VsanHostDiskMapResult",lazy=True)(pname=(ns,"VsanHostDiskMapResult"), aname="_VsanHostDiskMapResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VsanHostDiskMapResult = []
                    return
            Holder.__name__ = "ArrayOfVsanHostDiskMapResult_Holder"
            self.pyclass = Holder

    class VsanHostDiskMapping_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostDiskMapping")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostDiskMapping_Def.schema
            TClist = [GTD("urn:vim25","HostScsiDisk",lazy=True)(pname=(ns,"ssd"), aname="_ssd", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDisk",lazy=True)(pname=(ns,"nonSsd"), aname="_nonSsd", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostDiskMapping_Def.__bases__:
                bases = list(ns0.VsanHostDiskMapping_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostDiskMapping_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVsanHostDiskMapping_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVsanHostDiskMapping")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVsanHostDiskMapping_Def.schema
            TClist = [GTD("urn:vim25","VsanHostDiskMapping",lazy=True)(pname=(ns,"VsanHostDiskMapping"), aname="_VsanHostDiskMapping", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VsanHostDiskMapping = []
                    return
            Holder.__name__ = "ArrayOfVsanHostDiskMapping_Holder"
            self.pyclass = Holder

    class VsanHostDiskResultState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VsanHostDiskResultState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VsanHostDiskResult_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostDiskResult")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostDiskResult_Def.schema
            TClist = [GTD("urn:vim25","HostScsiDisk",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vsanUuid"), aname="_vsanUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"degraded"), aname="_degraded", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostDiskResult_Def.__bases__:
                bases = list(ns0.VsanHostDiskResult_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostDiskResult_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVsanHostDiskResult_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVsanHostDiskResult")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVsanHostDiskResult_Def.schema
            TClist = [GTD("urn:vim25","VsanHostDiskResult",lazy=True)(pname=(ns,"VsanHostDiskResult"), aname="_VsanHostDiskResult", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VsanHostDiskResult = []
                    return
            Holder.__name__ = "ArrayOfVsanHostDiskResult_Holder"
            self.pyclass = Holder

    class VsanHostHealthState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VsanHostHealthState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VsanHostIpConfig_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostIpConfig")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostIpConfig_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"upstreamIpAddress"), aname="_upstreamIpAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"downstreamIpAddress"), aname="_downstreamIpAddress", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostIpConfig_Def.__bases__:
                bases = list(ns0.VsanHostIpConfig_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostIpConfig_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanHostMembershipInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostMembershipInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostMembershipInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"nodeUuid"), aname="_nodeUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostname"), aname="_hostname", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostMembershipInfo_Def.__bases__:
                bases = list(ns0.VsanHostMembershipInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostMembershipInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVsanHostMembershipInfo_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVsanHostMembershipInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVsanHostMembershipInfo_Def.schema
            TClist = [GTD("urn:vim25","VsanHostMembershipInfo",lazy=True)(pname=(ns,"VsanHostMembershipInfo"), aname="_VsanHostMembershipInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VsanHostMembershipInfo = []
                    return
            Holder.__name__ = "ArrayOfVsanHostMembershipInfo_Holder"
            self.pyclass = Holder

    class VsanHostNodeState_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VsanHostNodeState")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VsanHostVsanDiskInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostVsanDiskInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostVsanDiskInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vsanUuid"), aname="_vsanUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"formatVersion"), aname="_formatVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostVsanDiskInfo_Def.__bases__:
                bases = list(ns0.VsanHostVsanDiskInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostVsanDiskInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VsanDiskIssueType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VsanDiskIssueType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VsanHostRuntimeInfoDiskIssue_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostRuntimeInfoDiskIssue")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostRuntimeInfoDiskIssue_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"diskId"), aname="_diskId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"issue"), aname="_issue", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostRuntimeInfoDiskIssue_Def.__bases__:
                bases = list(ns0.VsanHostRuntimeInfoDiskIssue_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostRuntimeInfoDiskIssue_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVsanHostRuntimeInfoDiskIssue_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVsanHostRuntimeInfoDiskIssue")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVsanHostRuntimeInfoDiskIssue_Def.schema
            TClist = [GTD("urn:vim25","VsanHostRuntimeInfoDiskIssue",lazy=True)(pname=(ns,"VsanHostRuntimeInfoDiskIssue"), aname="_VsanHostRuntimeInfoDiskIssue", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VsanHostRuntimeInfoDiskIssue = []
                    return
            Holder.__name__ = "ArrayOfVsanHostRuntimeInfoDiskIssue_Holder"
            self.pyclass = Holder

    class VsanHostRuntimeInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VsanHostRuntimeInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VsanHostRuntimeInfo_Def.schema
            TClist = [GTD("urn:vim25","VsanHostMembershipInfo",lazy=True)(pname=(ns,"membershipList"), aname="_membershipList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostRuntimeInfoDiskIssue",lazy=True)(pname=(ns,"diskIssues"), aname="_diskIssues", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"accessGenNo"), aname="_accessGenNo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VsanHostRuntimeInfo_Def.__bases__:
                bases = list(ns0.VsanHostRuntimeInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VsanHostRuntimeInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class BaseConfigInfoBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "BaseConfigInfoBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.BaseConfigInfoBackingInfo_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.BaseConfigInfoBackingInfo_Def.__bases__:
                bases = list(ns0.BaseConfigInfoBackingInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.BaseConfigInfoBackingInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class BaseConfigInfoFileBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "BaseConfigInfoFileBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.BaseConfigInfoFileBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"filePath"), aname="_filePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"backingObjectId"), aname="_backingObjectId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BaseConfigInfoFileBackingInfo",lazy=True)(pname=(ns,"parent"), aname="_parent", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"deltaSizeInMB"), aname="_deltaSizeInMB", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.BaseConfigInfoBackingInfo_Def not in ns0.BaseConfigInfoFileBackingInfo_Def.__bases__:
                bases = list(ns0.BaseConfigInfoFileBackingInfo_Def.__bases__)
                bases.insert(0, ns0.BaseConfigInfoBackingInfo_Def)
                ns0.BaseConfigInfoFileBackingInfo_Def.__bases__ = tuple(bases)

            ns0.BaseConfigInfoBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class BaseConfigInfoDiskFileBackingInfoProvisioningType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "BaseConfigInfoDiskFileBackingInfoProvisioningType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class BaseConfigInfoDiskFileBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "BaseConfigInfoDiskFileBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.BaseConfigInfoDiskFileBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"provisioningType"), aname="_provisioningType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.BaseConfigInfoFileBackingInfo_Def not in ns0.BaseConfigInfoDiskFileBackingInfo_Def.__bases__:
                bases = list(ns0.BaseConfigInfoDiskFileBackingInfo_Def.__bases__)
                bases.insert(0, ns0.BaseConfigInfoFileBackingInfo_Def)
                ns0.BaseConfigInfoDiskFileBackingInfo_Def.__bases__ = tuple(bases)

            ns0.BaseConfigInfoFileBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class BaseConfigInfoRawDiskMappingBackingInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "BaseConfigInfoRawDiskMappingBackingInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.BaseConfigInfoRawDiskMappingBackingInfo_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"lunUuid"), aname="_lunUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"compatibilityMode"), aname="_compatibilityMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.BaseConfigInfoFileBackingInfo_Def not in ns0.BaseConfigInfoRawDiskMappingBackingInfo_Def.__bases__:
                bases = list(ns0.BaseConfigInfoRawDiskMappingBackingInfo_Def.__bases__)
                bases.insert(0, ns0.BaseConfigInfoFileBackingInfo_Def)
                ns0.BaseConfigInfoRawDiskMappingBackingInfo_Def.__bases__ = tuple(bases)

            ns0.BaseConfigInfoFileBackingInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class BaseConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "BaseConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.BaseConfigInfo_Def.schema
            TClist = [GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"createTime"), aname="_createTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"keepAfterDeleteVm"), aname="_keepAfterDeleteVm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"relocationDisabled"), aname="_relocationDisabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"nativeSnapshotSupported"), aname="_nativeSnapshotSupported", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"changedBlockTrackingEnabled"), aname="_changedBlockTrackingEnabled", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","BaseConfigInfoBackingInfo",lazy=True)(pname=(ns,"backing"), aname="_backing", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iofilter"), aname="_iofilter", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.BaseConfigInfo_Def.__bases__:
                bases = list(ns0.BaseConfigInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.BaseConfigInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VslmCloneSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VslmCloneSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VslmCloneSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"keepAfterDeleteVm"), aname="_keepAfterDeleteVm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VslmMigrateSpec_Def not in ns0.VslmCloneSpec_Def.__bases__:
                bases = list(ns0.VslmCloneSpec_Def.__bases__)
                bases.insert(0, ns0.VslmMigrateSpec_Def)
                ns0.VslmCloneSpec_Def.__bases__ = tuple(bases)

            ns0.VslmMigrateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VslmCreateSpecBackingSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VslmCreateSpecBackingSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VslmCreateSpecBackingSpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VslmCreateSpecBackingSpec_Def.__bases__:
                bases = list(ns0.VslmCreateSpecBackingSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VslmCreateSpecBackingSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VslmCreateSpecDiskFileBackingSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VslmCreateSpecDiskFileBackingSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VslmCreateSpecDiskFileBackingSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"provisioningType"), aname="_provisioningType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VslmCreateSpecBackingSpec_Def not in ns0.VslmCreateSpecDiskFileBackingSpec_Def.__bases__:
                bases = list(ns0.VslmCreateSpecDiskFileBackingSpec_Def.__bases__)
                bases.insert(0, ns0.VslmCreateSpecBackingSpec_Def)
                ns0.VslmCreateSpecDiskFileBackingSpec_Def.__bases__ = tuple(bases)

            ns0.VslmCreateSpecBackingSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VslmCreateSpecRawDiskMappingBackingSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VslmCreateSpecRawDiskMappingBackingSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VslmCreateSpecRawDiskMappingBackingSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"lunUuid"), aname="_lunUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"compatibilityMode"), aname="_compatibilityMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VslmCreateSpecBackingSpec_Def not in ns0.VslmCreateSpecRawDiskMappingBackingSpec_Def.__bases__:
                bases = list(ns0.VslmCreateSpecRawDiskMappingBackingSpec_Def.__bases__)
                bases.insert(0, ns0.VslmCreateSpecBackingSpec_Def)
                ns0.VslmCreateSpecRawDiskMappingBackingSpec_Def.__bases__ = tuple(bases)

            ns0.VslmCreateSpecBackingSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VslmCreateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VslmCreateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VslmCreateSpec_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"keepAfterDeleteVm"), aname="_keepAfterDeleteVm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VslmCreateSpecBackingSpec",lazy=True)(pname=(ns,"backingSpec"), aname="_backingSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacityInMB"), aname="_capacityInMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VslmCreateSpec_Def.__bases__:
                bases = list(ns0.VslmCreateSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VslmCreateSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ID_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "ID")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.ID_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.ID_Def.__bases__:
                bases = list(ns0.ID_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.ID_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfID_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfID")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfID_Def.schema
            TClist = [GTD("urn:vim25","ID",lazy=True)(pname=(ns,"ID"), aname="_ID", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._ID = []
                    return
            Holder.__name__ = "ArrayOfID_Holder"
            self.pyclass = Holder

    class vslmInfrastructureObjectPolicy_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "vslmInfrastructureObjectPolicy")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.vslmInfrastructureObjectPolicy_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"backingObjectId"), aname="_backingObjectId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"profileId"), aname="_profileId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"error"), aname="_error", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.vslmInfrastructureObjectPolicy_Def.__bases__:
                bases = list(ns0.vslmInfrastructureObjectPolicy_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.vslmInfrastructureObjectPolicy_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfvslmInfrastructureObjectPolicy_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfvslmInfrastructureObjectPolicy")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfvslmInfrastructureObjectPolicy_Def.schema
            TClist = [GTD("urn:vim25","vslmInfrastructureObjectPolicy",lazy=True)(pname=(ns,"vslmInfrastructureObjectPolicy"), aname="_vslmInfrastructureObjectPolicy", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._vslmInfrastructureObjectPolicy = []
                    return
            Holder.__name__ = "ArrayOfvslmInfrastructureObjectPolicy_Holder"
            self.pyclass = Holder

    class vslmInfrastructureObjectPolicySpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "vslmInfrastructureObjectPolicySpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.vslmInfrastructureObjectPolicySpec_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.vslmInfrastructureObjectPolicySpec_Def.__bases__:
                bases = list(ns0.vslmInfrastructureObjectPolicySpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.vslmInfrastructureObjectPolicySpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VslmMigrateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VslmMigrateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VslmMigrateSpec_Def.schema
            TClist = [GTD("urn:vim25","VslmCreateSpecBackingSpec",lazy=True)(pname=(ns,"backingSpec"), aname="_backingSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"consolidate"), aname="_consolidate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VslmMigrateSpec_Def.__bases__:
                bases = list(ns0.VslmMigrateSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VslmMigrateSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VslmRelocateSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VslmRelocateSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VslmRelocateSpec_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.VslmMigrateSpec_Def not in ns0.VslmRelocateSpec_Def.__bases__:
                bases = list(ns0.VslmRelocateSpec_Def.__bases__)
                bases.insert(0, ns0.VslmMigrateSpec_Def)
                ns0.VslmRelocateSpec_Def.__bases__ = tuple(bases)

            ns0.VslmMigrateSpec_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VStorageObjectStateInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VStorageObjectStateInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VStorageObjectStateInfo_Def.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"tentative"), aname="_tentative", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VStorageObjectStateInfo_Def.__bases__:
                bases = list(ns0.VStorageObjectStateInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VStorageObjectStateInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VslmTagEntry_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VslmTagEntry")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VslmTagEntry_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"tagName"), aname="_tagName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"parentCategoryName"), aname="_parentCategoryName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VslmTagEntry_Def.__bases__:
                bases = list(ns0.VslmTagEntry_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VslmTagEntry_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVslmTagEntry_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVslmTagEntry")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVslmTagEntry_Def.schema
            TClist = [GTD("urn:vim25","VslmTagEntry",lazy=True)(pname=(ns,"VslmTagEntry"), aname="_VslmTagEntry", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VslmTagEntry = []
                    return
            Holder.__name__ = "ArrayOfVslmTagEntry_Holder"
            self.pyclass = Holder

    class VStorageObjectConsumptionType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VStorageObjectConsumptionType")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VStorageObjectConfigInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VStorageObjectConfigInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VStorageObjectConfigInfo_Def.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"capacityInMB"), aname="_capacityInMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"consumptionType"), aname="_consumptionType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"consumerId"), aname="_consumerId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.BaseConfigInfo_Def not in ns0.VStorageObjectConfigInfo_Def.__bases__:
                bases = list(ns0.VStorageObjectConfigInfo_Def.__bases__)
                bases.insert(0, ns0.BaseConfigInfo_Def)
                ns0.VStorageObjectConfigInfo_Def.__bases__ = tuple(bases)

            ns0.BaseConfigInfo_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class VStorageObject_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VStorageObject")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VStorageObject_Def.schema
            TClist = [GTD("urn:vim25","VStorageObjectConfigInfo",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VStorageObject_Def.__bases__:
                bases = list(ns0.VStorageObject_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VStorageObject_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class vslmVStorageObjectControlFlag_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "vslmVStorageObjectControlFlag")
        def __init__(self, pname, **kw):
            pysphere.ZSI.TC.String.__init__(self, pname, pyclass=None, **kw)
            class Holder(str):
                typecode = self
            self.pyclass = Holder

    class VStorageObjectSnapshotInfoVStorageObjectSnapshot_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VStorageObjectSnapshotInfoVStorageObjectSnapshot")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VStorageObjectSnapshotInfoVStorageObjectSnapshot_Def.schema
            TClist = [GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"backingObjectId"), aname="_backingObjectId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"createTime"), aname="_createTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VStorageObjectSnapshotInfoVStorageObjectSnapshot_Def.__bases__:
                bases = list(ns0.VStorageObjectSnapshotInfoVStorageObjectSnapshot_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VStorageObjectSnapshotInfoVStorageObjectSnapshot_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVStorageObjectSnapshotInfoVStorageObjectSnapshot_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVStorageObjectSnapshotInfoVStorageObjectSnapshot")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVStorageObjectSnapshotInfoVStorageObjectSnapshot_Def.schema
            TClist = [GTD("urn:vim25","VStorageObjectSnapshotInfoVStorageObjectSnapshot",lazy=True)(pname=(ns,"VStorageObjectSnapshotInfoVStorageObjectSnapshot"), aname="_VStorageObjectSnapshotInfoVStorageObjectSnapshot", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VStorageObjectSnapshotInfoVStorageObjectSnapshot = []
                    return
            Holder.__name__ = "ArrayOfVStorageObjectSnapshotInfoVStorageObjectSnapshot_Holder"
            self.pyclass = Holder

    class VStorageObjectSnapshotInfo_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VStorageObjectSnapshotInfo")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VStorageObjectSnapshotInfo_Def.schema
            TClist = [GTD("urn:vim25","VStorageObjectSnapshotInfoVStorageObjectSnapshot",lazy=True)(pname=(ns,"snapshots"), aname="_snapshots", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VStorageObjectSnapshotInfo_Def.__bases__:
                bases = list(ns0.VStorageObjectSnapshotInfo_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VStorageObjectSnapshotInfo_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class RetrieveVStorageObjSpec_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "RetrieveVStorageObjSpec")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.RetrieveVStorageObjSpec_Def.schema
            TClist = [GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.RetrieveVStorageObjSpec_Def.__bases__:
                bases = list(ns0.RetrieveVStorageObjSpec_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.RetrieveVStorageObjSpec_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfRetrieveVStorageObjSpec_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfRetrieveVStorageObjSpec")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfRetrieveVStorageObjSpec_Def.schema
            TClist = [GTD("urn:vim25","RetrieveVStorageObjSpec",lazy=True)(pname=(ns,"RetrieveVStorageObjSpec"), aname="_RetrieveVStorageObjSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._RetrieveVStorageObjSpec = []
                    return
            Holder.__name__ = "ArrayOfRetrieveVStorageObjSpec_Holder"
            self.pyclass = Holder

    class VStorageObjectAssociationsVmDiskAssociations_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VStorageObjectAssociationsVmDiskAssociations")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VStorageObjectAssociationsVmDiskAssociations_Def.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"vmId"), aname="_vmId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"diskKey"), aname="_diskKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VStorageObjectAssociationsVmDiskAssociations_Def.__bases__:
                bases = list(ns0.VStorageObjectAssociationsVmDiskAssociations_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VStorageObjectAssociationsVmDiskAssociations_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVStorageObjectAssociationsVmDiskAssociations_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVStorageObjectAssociationsVmDiskAssociations")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVStorageObjectAssociationsVmDiskAssociations_Def.schema
            TClist = [GTD("urn:vim25","VStorageObjectAssociationsVmDiskAssociations",lazy=True)(pname=(ns,"VStorageObjectAssociationsVmDiskAssociations"), aname="_VStorageObjectAssociationsVmDiskAssociations", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VStorageObjectAssociationsVmDiskAssociations = []
                    return
            Holder.__name__ = "ArrayOfVStorageObjectAssociationsVmDiskAssociations_Holder"
            self.pyclass = Holder

    class VStorageObjectAssociations_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "urn:vim25"
        type = (schema, "VStorageObjectAssociations")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.VStorageObjectAssociations_Def.schema
            TClist = [GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VStorageObjectAssociationsVmDiskAssociations",lazy=True)(pname=(ns,"vmDiskAssociations"), aname="_vmDiskAssociations", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DynamicData_Def not in ns0.VStorageObjectAssociations_Def.__bases__:
                bases = list(ns0.VStorageObjectAssociations_Def.__bases__)
                bases.insert(0, ns0.DynamicData_Def)
                ns0.VStorageObjectAssociations_Def.__bases__ = tuple(bases)

            ns0.DynamicData_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class ArrayOfVStorageObjectAssociations_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ArrayOfVStorageObjectAssociations")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ArrayOfVStorageObjectAssociations_Def.schema
            TClist = [GTD("urn:vim25","VStorageObjectAssociations",lazy=True)(pname=(ns,"VStorageObjectAssociations"), aname="_VStorageObjectAssociations", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._VStorageObjectAssociations = []
                    return
            Holder.__name__ = "ArrayOfVStorageObjectAssociations_Holder"
            self.pyclass = Holder

    class AddAuthorizationRoleRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddAuthorizationRoleRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddAuthorizationRoleRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"privIds"), aname="_privIds", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._privIds = []
                    return
            Holder.__name__ = "AddAuthorizationRoleRequestType_Holder"
            self.pyclass = Holder

    class RemoveAuthorizationRoleRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveAuthorizationRoleRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveAuthorizationRoleRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"roleId"), aname="_roleId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"failIfUsed"), aname="_failIfUsed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._roleId = None
                    self._failIfUsed = None
                    return
            Holder.__name__ = "RemoveAuthorizationRoleRequestType_Holder"
            self.pyclass = Holder

    class UpdateAuthorizationRoleRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateAuthorizationRoleRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateAuthorizationRoleRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"roleId"), aname="_roleId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newName"), aname="_newName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"privIds"), aname="_privIds", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._roleId = None
                    self._newName = None
                    self._privIds = []
                    return
            Holder.__name__ = "UpdateAuthorizationRoleRequestType_Holder"
            self.pyclass = Holder

    class MergePermissionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MergePermissionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MergePermissionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"srcRoleId"), aname="_srcRoleId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"dstRoleId"), aname="_dstRoleId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._srcRoleId = None
                    self._dstRoleId = None
                    return
            Holder.__name__ = "MergePermissionsRequestType_Holder"
            self.pyclass = Holder

    class RetrieveRolePermissionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveRolePermissionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveRolePermissionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"roleId"), aname="_roleId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._roleId = None
                    return
            Holder.__name__ = "RetrieveRolePermissionsRequestType_Holder"
            self.pyclass = Holder

    class RetrieveEntityPermissionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveEntityPermissionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveEntityPermissionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"inherited"), aname="_inherited", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    self._inherited = None
                    return
            Holder.__name__ = "RetrieveEntityPermissionsRequestType_Holder"
            self.pyclass = Holder

    class RetrieveAllPermissionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveAllPermissionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveAllPermissionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RetrieveAllPermissionsRequestType_Holder"
            self.pyclass = Holder

    class SetEntityPermissionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetEntityPermissionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetEntityPermissionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Permission",lazy=True)(pname=(ns,"permission"), aname="_permission", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    self._permission = []
                    return
            Holder.__name__ = "SetEntityPermissionsRequestType_Holder"
            self.pyclass = Holder

    class ResetEntityPermissionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ResetEntityPermissionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ResetEntityPermissionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Permission",lazy=True)(pname=(ns,"permission"), aname="_permission", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    self._permission = []
                    return
            Holder.__name__ = "ResetEntityPermissionsRequestType_Holder"
            self.pyclass = Holder

    class RemoveEntityPermissionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveEntityPermissionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveEntityPermissionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"user"), aname="_user", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"isGroup"), aname="_isGroup", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    self._user = None
                    self._isGroup = None
                    return
            Holder.__name__ = "RemoveEntityPermissionRequestType_Holder"
            self.pyclass = Holder

    class HasPrivilegeOnEntityRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HasPrivilegeOnEntityRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HasPrivilegeOnEntityRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sessionId"), aname="_sessionId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"privId"), aname="_privId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    self._sessionId = None
                    self._privId = []
                    return
            Holder.__name__ = "HasPrivilegeOnEntityRequestType_Holder"
            self.pyclass = Holder

    class HasPrivilegeOnEntitiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HasPrivilegeOnEntitiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HasPrivilegeOnEntitiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sessionId"), aname="_sessionId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"privId"), aname="_privId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = []
                    self._sessionId = None
                    self._privId = []
                    return
            Holder.__name__ = "HasPrivilegeOnEntitiesRequestType_Holder"
            self.pyclass = Holder

    class HasUserPrivilegeOnEntitiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HasUserPrivilegeOnEntitiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HasUserPrivilegeOnEntitiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entities"), aname="_entities", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"privId"), aname="_privId", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entities = []
                    self._userName = None
                    self._privId = []
                    return
            Holder.__name__ = "HasUserPrivilegeOnEntitiesRequestType_Holder"
            self.pyclass = Holder

    class FetchUserPrivilegeOnEntitiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FetchUserPrivilegeOnEntitiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FetchUserPrivilegeOnEntitiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entities"), aname="_entities", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entities = []
                    self._userName = None
                    return
            Holder.__name__ = "FetchUserPrivilegeOnEntitiesRequestType_Holder"
            self.pyclass = Holder

    class CertMgrRefreshCACertificatesAndCRLsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CertMgrRefreshCACertificatesAndCRLsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CertMgrRefreshCACertificatesAndCRLsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = []
                    return
            Holder.__name__ = "CertMgrRefreshCACertificatesAndCRLsRequestType_Holder"
            self.pyclass = Holder

    class CertMgrRefreshCertificatesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CertMgrRefreshCertificatesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CertMgrRefreshCertificatesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = []
                    return
            Holder.__name__ = "CertMgrRefreshCertificatesRequestType_Holder"
            self.pyclass = Holder

    class CertMgrRevokeCertificatesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CertMgrRevokeCertificatesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CertMgrRevokeCertificatesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = []
                    return
            Holder.__name__ = "CertMgrRevokeCertificatesRequestType_Holder"
            self.pyclass = Holder

    class ReconfigureClusterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigureClusterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigureClusterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"modify"), aname="_modify", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    self._modify = None
                    return
            Holder.__name__ = "ReconfigureClusterRequestType_Holder"
            self.pyclass = Holder

    class ApplyRecommendationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ApplyRecommendationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ApplyRecommendationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._key = None
                    return
            Holder.__name__ = "ApplyRecommendationRequestType_Holder"
            self.pyclass = Holder

    class CancelRecommendationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CancelRecommendationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CancelRecommendationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._key = None
                    return
            Holder.__name__ = "CancelRecommendationRequestType_Holder"
            self.pyclass = Holder

    class RecommendHostsForVmRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RecommendHostsForVmRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RecommendHostsForVmRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pool"), aname="_pool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._pool = None
                    return
            Holder.__name__ = "RecommendHostsForVmRequestType_Holder"
            self.pyclass = Holder

    class AddHostRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddHostRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddHostRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostConnectSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"asConnected"), aname="_asConnected", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"resourcePool"), aname="_resourcePool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"license"), aname="_license", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    self._asConnected = None
                    self._resourcePool = None
                    self._license = None
                    return
            Holder.__name__ = "AddHostRequestType_Holder"
            self.pyclass = Holder

    class MoveIntoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MoveIntoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MoveIntoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = []
                    return
            Holder.__name__ = "MoveIntoRequestType_Holder"
            self.pyclass = Holder

    class MoveHostIntoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MoveHostIntoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MoveHostIntoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"resourcePool"), aname="_resourcePool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._resourcePool = None
                    return
            Holder.__name__ = "MoveHostIntoRequestType_Holder"
            self.pyclass = Holder

    class RefreshRecommendationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshRecommendationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshRecommendationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RefreshRecommendationRequestType_Holder"
            self.pyclass = Holder

    class EvcManagerRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EvcManagerRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EvcManagerRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "EvcManagerRequestType_Holder"
            self.pyclass = Holder

    class RetrieveDasAdvancedRuntimeInfoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveDasAdvancedRuntimeInfoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveDasAdvancedRuntimeInfoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RetrieveDasAdvancedRuntimeInfoRequestType_Holder"
            self.pyclass = Holder

    class ClusterEnterMaintenanceModeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClusterEnterMaintenanceModeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ClusterEnterMaintenanceModeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"option"), aname="_option", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = []
                    self._option = []
                    return
            Holder.__name__ = "ClusterEnterMaintenanceModeRequestType_Holder"
            self.pyclass = Holder

    class PlaceVmRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PlaceVmRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PlaceVmRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PlacementSpec",lazy=True)(pname=(ns,"placementSpec"), aname="_placementSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._placementSpec = None
                    return
            Holder.__name__ = "PlaceVmRequestType_Holder"
            self.pyclass = Holder

    class FindRulesForVmRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FindRulesForVmRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FindRulesForVmRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    return
            Holder.__name__ = "FindRulesForVmRequestType_Holder"
            self.pyclass = Holder

    class StampAllRulesWithUuidRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StampAllRulesWithUuidRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.StampAllRulesWithUuidRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "StampAllRulesWithUuidRequestType_Holder"
            self.pyclass = Holder

    class GetResourceUsageRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GetResourceUsageRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GetResourceUsageRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "GetResourceUsageRequestType_Holder"
            self.pyclass = Holder

    class ReconfigureComputeResourceRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigureComputeResourceRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigureComputeResourceRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ComputeResourceConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"modify"), aname="_modify", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    self._modify = None
                    return
            Holder.__name__ = "ReconfigureComputeResourceRequestType_Holder"
            self.pyclass = Holder

    class AddCustomFieldDefRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddCustomFieldDefRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddCustomFieldDefRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"moType"), aname="_moType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PrivilegePolicyDef",lazy=True)(pname=(ns,"fieldDefPolicy"), aname="_fieldDefPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PrivilegePolicyDef",lazy=True)(pname=(ns,"fieldPolicy"), aname="_fieldPolicy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._moType = None
                    self._fieldDefPolicy = None
                    self._fieldPolicy = None
                    return
            Holder.__name__ = "AddCustomFieldDefRequestType_Holder"
            self.pyclass = Holder

    class RemoveCustomFieldDefRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveCustomFieldDefRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveCustomFieldDefRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._key = None
                    return
            Holder.__name__ = "RemoveCustomFieldDefRequestType_Holder"
            self.pyclass = Holder

    class RenameCustomFieldDefRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RenameCustomFieldDefRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RenameCustomFieldDefRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._key = None
                    self._name = None
                    return
            Holder.__name__ = "RenameCustomFieldDefRequestType_Holder"
            self.pyclass = Holder

    class SetFieldRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetFieldRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetFieldRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    self._key = None
                    self._value = None
                    return
            Holder.__name__ = "SetFieldRequestType_Holder"
            self.pyclass = Holder

    class DoesCustomizationSpecExistRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DoesCustomizationSpecExistRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DoesCustomizationSpecExistRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    return
            Holder.__name__ = "DoesCustomizationSpecExistRequestType_Holder"
            self.pyclass = Holder

    class GetCustomizationSpecRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GetCustomizationSpecRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GetCustomizationSpecRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    return
            Holder.__name__ = "GetCustomizationSpecRequestType_Holder"
            self.pyclass = Holder

    class CreateCustomizationSpecRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateCustomizationSpecRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateCustomizationSpecRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationSpecItem",lazy=True)(pname=(ns,"item"), aname="_item", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._item = None
                    return
            Holder.__name__ = "CreateCustomizationSpecRequestType_Holder"
            self.pyclass = Holder

    class OverwriteCustomizationSpecRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "OverwriteCustomizationSpecRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.OverwriteCustomizationSpecRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationSpecItem",lazy=True)(pname=(ns,"item"), aname="_item", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._item = None
                    return
            Holder.__name__ = "OverwriteCustomizationSpecRequestType_Holder"
            self.pyclass = Holder

    class DeleteCustomizationSpecRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteCustomizationSpecRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteCustomizationSpecRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    return
            Holder.__name__ = "DeleteCustomizationSpecRequestType_Holder"
            self.pyclass = Holder

    class DuplicateCustomizationSpecRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DuplicateCustomizationSpecRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DuplicateCustomizationSpecRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newName"), aname="_newName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._newName = None
                    return
            Holder.__name__ = "DuplicateCustomizationSpecRequestType_Holder"
            self.pyclass = Holder

    class RenameCustomizationSpecRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RenameCustomizationSpecRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RenameCustomizationSpecRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newName"), aname="_newName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._newName = None
                    return
            Holder.__name__ = "RenameCustomizationSpecRequestType_Holder"
            self.pyclass = Holder

    class CustomizationSpecItemToXmlRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CustomizationSpecItemToXmlRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CustomizationSpecItemToXmlRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationSpecItem",lazy=True)(pname=(ns,"item"), aname="_item", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._item = None
                    return
            Holder.__name__ = "CustomizationSpecItemToXmlRequestType_Holder"
            self.pyclass = Holder

    class XmlToCustomizationSpecItemRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "XmlToCustomizationSpecItemRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.XmlToCustomizationSpecItemRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"specItemXml"), aname="_specItemXml", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._specItemXml = None
                    return
            Holder.__name__ = "XmlToCustomizationSpecItemRequestType_Holder"
            self.pyclass = Holder

    class CheckCustomizationResourcesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckCustomizationResourcesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckCustomizationResourcesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestOs"), aname="_guestOs", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._guestOs = None
                    return
            Holder.__name__ = "CheckCustomizationResourcesRequestType_Holder"
            self.pyclass = Holder

    class QueryConnectionInfoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryConnectionInfoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryConnectionInfoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hostname"), aname="_hostname", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"port"), aname="_port", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"username"), aname="_username", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sslThumbprint"), aname="_sslThumbprint", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._hostname = None
                    self._port = None
                    self._username = None
                    self._password = None
                    self._sslThumbprint = None
                    return
            Holder.__name__ = "QueryConnectionInfoRequestType_Holder"
            self.pyclass = Holder

    class QueryConnectionInfoViaSpecRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryConnectionInfoViaSpecRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryConnectionInfoViaSpecRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostConnectSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "QueryConnectionInfoViaSpecRequestType_Holder"
            self.pyclass = Holder

    class PowerOnMultiVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PowerOnMultiVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PowerOnMultiVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"option"), aname="_option", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = []
                    self._option = []
                    return
            Holder.__name__ = "PowerOnMultiVMRequestType_Holder"
            self.pyclass = Holder

    class queryDatacenterConfigOptionDescriptorRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "queryDatacenterConfigOptionDescriptorRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.queryDatacenterConfigOptionDescriptorRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "queryDatacenterConfigOptionDescriptorRequestType_Holder"
            self.pyclass = Holder

    class ReconfigureDatacenterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigureDatacenterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigureDatacenterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatacenterConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"modify"), aname="_modify", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    self._modify = None
                    return
            Holder.__name__ = "ReconfigureDatacenterRequestType_Holder"
            self.pyclass = Holder

    class RefreshDatastoreRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshDatastoreRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshDatastoreRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RefreshDatastoreRequestType_Holder"
            self.pyclass = Holder

    class RefreshDatastoreStorageInfoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshDatastoreStorageInfoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshDatastoreStorageInfoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RefreshDatastoreStorageInfoRequestType_Holder"
            self.pyclass = Holder

    class UpdateVirtualMachineFilesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateVirtualMachineFilesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateVirtualMachineFilesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatastoreMountPathDatastorePair",lazy=True)(pname=(ns,"mountPathDatastoreMapping"), aname="_mountPathDatastoreMapping", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._mountPathDatastoreMapping = []
                    return
            Holder.__name__ = "UpdateVirtualMachineFilesRequestType_Holder"
            self.pyclass = Holder

    class RenameDatastoreRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RenameDatastoreRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RenameDatastoreRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newName"), aname="_newName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._newName = None
                    return
            Holder.__name__ = "RenameDatastoreRequestType_Holder"
            self.pyclass = Holder

    class DestroyDatastoreRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DestroyDatastoreRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DestroyDatastoreRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DestroyDatastoreRequestType_Holder"
            self.pyclass = Holder

    class DatastoreEnterMaintenanceModeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DatastoreEnterMaintenanceModeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DatastoreEnterMaintenanceModeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DatastoreEnterMaintenanceModeRequestType_Holder"
            self.pyclass = Holder

    class DatastoreExitMaintenanceModeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DatastoreExitMaintenanceModeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DatastoreExitMaintenanceModeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DatastoreExitMaintenanceModeRequestType_Holder"
            self.pyclass = Holder

    class UpdateVVolVirtualMachineFilesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateVVolVirtualMachineFilesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateVVolVirtualMachineFilesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatastoreVVolContainerFailoverPair",lazy=True)(pname=(ns,"failoverPair"), aname="_failoverPair", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._failoverPair = []
                    return
            Holder.__name__ = "UpdateVVolVirtualMachineFilesRequestType_Holder"
            self.pyclass = Holder

    class CreateDirectoryRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateDirectoryRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateDirectoryRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"displayName"), aname="_displayName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"policy"), aname="_policy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    self._displayName = None
                    self._policy = None
                    return
            Holder.__name__ = "CreateDirectoryRequestType_Holder"
            self.pyclass = Holder

    class DeleteDirectoryRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteDirectoryRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteDirectoryRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastorePath"), aname="_datastorePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datacenter = None
                    self._datastorePath = None
                    return
            Holder.__name__ = "DeleteDirectoryRequestType_Holder"
            self.pyclass = Holder

    class ConvertNamespacePathToUuidPathRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ConvertNamespacePathToUuidPathRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ConvertNamespacePathToUuidPathRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"namespaceUrl"), aname="_namespaceUrl", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datacenter = None
                    self._namespaceUrl = None
                    return
            Holder.__name__ = "ConvertNamespacePathToUuidPathRequestType_Holder"
            self.pyclass = Holder

    class QueryDescriptionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryDescriptionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryDescriptionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    return
            Holder.__name__ = "QueryDescriptionsRequestType_Holder"
            self.pyclass = Holder

    class BrowseDiagnosticLogRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "BrowseDiagnosticLogRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.BrowseDiagnosticLogRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"start"), aname="_start", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"lines"), aname="_lines", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._key = None
                    self._start = None
                    self._lines = None
                    return
            Holder.__name__ = "BrowseDiagnosticLogRequestType_Holder"
            self.pyclass = Holder

    class GenerateLogBundlesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GenerateLogBundlesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GenerateLogBundlesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"includeDefault"), aname="_includeDefault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._includeDefault = None
                    self._host = []
                    return
            Holder.__name__ = "GenerateLogBundlesRequestType_Holder"
            self.pyclass = Holder

    class FetchDVPortKeysRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FetchDVPortKeysRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FetchDVPortKeysRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchPortCriteria",lazy=True)(pname=(ns,"criteria"), aname="_criteria", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._criteria = None
                    return
            Holder.__name__ = "FetchDVPortKeysRequestType_Holder"
            self.pyclass = Holder

    class FetchDVPortsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FetchDVPortsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FetchDVPortsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchPortCriteria",lazy=True)(pname=(ns,"criteria"), aname="_criteria", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._criteria = None
                    return
            Holder.__name__ = "FetchDVPortsRequestType_Holder"
            self.pyclass = Holder

    class QueryUsedVlanIdInDvsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryUsedVlanIdInDvsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryUsedVlanIdInDvsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryUsedVlanIdInDvsRequestType_Holder"
            self.pyclass = Holder

    class ReconfigureDvsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigureDvsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigureDvsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "ReconfigureDvsRequestType_Holder"
            self.pyclass = Holder

    class PerformDvsProductSpecOperationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PerformDvsProductSpecOperationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PerformDvsProductSpecOperationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"operation"), aname="_operation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"productSpec"), aname="_productSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._operation = None
                    self._productSpec = None
                    return
            Holder.__name__ = "PerformDvsProductSpecOperationRequestType_Holder"
            self.pyclass = Holder

    class MergeDvsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MergeDvsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MergeDvsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"dvs"), aname="_dvs", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._dvs = None
                    return
            Holder.__name__ = "MergeDvsRequestType_Holder"
            self.pyclass = Holder

    class AddDVPortgroupRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddDVPortgroupRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddDVPortgroupRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortgroupConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = []
                    return
            Holder.__name__ = "AddDVPortgroupRequestType_Holder"
            self.pyclass = Holder

    class MoveDVPortRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MoveDVPortRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MoveDVPortRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portKey"), aname="_portKey", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"destinationPortgroupKey"), aname="_destinationPortgroupKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._portKey = []
                    self._destinationPortgroupKey = None
                    return
            Holder.__name__ = "MoveDVPortRequestType_Holder"
            self.pyclass = Holder

    class UpdateDvsCapabilityRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateDvsCapabilityRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateDvsCapabilityRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSCapability",lazy=True)(pname=(ns,"capability"), aname="_capability", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._capability = None
                    return
            Holder.__name__ = "UpdateDvsCapabilityRequestType_Holder"
            self.pyclass = Holder

    class ReconfigureDVPortRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigureDVPortRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigureDVPortRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortConfigSpec",lazy=True)(pname=(ns,"port"), aname="_port", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._port = []
                    return
            Holder.__name__ = "ReconfigureDVPortRequestType_Holder"
            self.pyclass = Holder

    class RefreshDVPortStateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshDVPortStateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshDVPortStateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portKeys"), aname="_portKeys", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._portKeys = []
                    return
            Holder.__name__ = "RefreshDVPortStateRequestType_Holder"
            self.pyclass = Holder

    class RectifyDvsHostRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RectifyDvsHostRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RectifyDvsHostRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hosts"), aname="_hosts", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._hosts = []
                    return
            Holder.__name__ = "RectifyDvsHostRequestType_Holder"
            self.pyclass = Holder

    class UpdateNetworkResourcePoolRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateNetworkResourcePoolRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateNetworkResourcePoolRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSNetworkResourcePoolConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._configSpec = []
                    return
            Holder.__name__ = "UpdateNetworkResourcePoolRequestType_Holder"
            self.pyclass = Holder

    class AddNetworkResourcePoolRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddNetworkResourcePoolRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddNetworkResourcePoolRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSNetworkResourcePoolConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._configSpec = []
                    return
            Holder.__name__ = "AddNetworkResourcePoolRequestType_Holder"
            self.pyclass = Holder

    class RemoveNetworkResourcePoolRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveNetworkResourcePoolRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveNetworkResourcePoolRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._key = []
                    return
            Holder.__name__ = "RemoveNetworkResourcePoolRequestType_Holder"
            self.pyclass = Holder

    class DvsReconfigureVmVnicNetworkResourcePoolRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DvsReconfigureVmVnicNetworkResourcePoolRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DvsReconfigureVmVnicNetworkResourcePoolRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DvsVmVnicResourcePoolConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._configSpec = []
                    return
            Holder.__name__ = "DvsReconfigureVmVnicNetworkResourcePoolRequestType_Holder"
            self.pyclass = Holder

    class EnableNetworkResourceManagementRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EnableNetworkResourceManagementRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EnableNetworkResourceManagementRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enable"), aname="_enable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._enable = None
                    return
            Holder.__name__ = "EnableNetworkResourceManagementRequestType_Holder"
            self.pyclass = Holder

    class DVSRollbackRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DVSRollbackRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DVSRollbackRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","EntityBackupConfig",lazy=True)(pname=(ns,"entityBackup"), aname="_entityBackup", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entityBackup = None
                    return
            Holder.__name__ = "DVSRollbackRequestType_Holder"
            self.pyclass = Holder

    class CreateDVPortgroupRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateDVPortgroupRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateDVPortgroupRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortgroupConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateDVPortgroupRequestType_Holder"
            self.pyclass = Holder

    class UpdateDVSHealthCheckConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateDVSHealthCheckConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateDVSHealthCheckConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSHealthCheckConfig",lazy=True)(pname=(ns,"healthCheckConfig"), aname="_healthCheckConfig", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._healthCheckConfig = []
                    return
            Holder.__name__ = "UpdateDVSHealthCheckConfigRequestType_Holder"
            self.pyclass = Holder

    class LookupDvPortGroupRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LookupDvPortGroupRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.LookupDvPortGroupRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupKey"), aname="_portgroupKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._portgroupKey = None
                    return
            Holder.__name__ = "LookupDvPortGroupRequestType_Holder"
            self.pyclass = Holder

    class QueryConfigOptionDescriptorRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryConfigOptionDescriptorRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryConfigOptionDescriptorRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryConfigOptionDescriptorRequestType_Holder"
            self.pyclass = Holder

    class QueryConfigOptionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryConfigOptionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryConfigOptionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._key = None
                    self._host = None
                    return
            Holder.__name__ = "QueryConfigOptionRequestType_Holder"
            self.pyclass = Holder

    class QueryConfigOptionExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryConfigOptionExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryConfigOptionExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","EnvironmentBrowserConfigOptionQuerySpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "QueryConfigOptionExRequestType_Holder"
            self.pyclass = Holder

    class QueryConfigTargetRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryConfigTargetRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryConfigTargetRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    return
            Holder.__name__ = "QueryConfigTargetRequestType_Holder"
            self.pyclass = Holder

    class QueryTargetCapabilitiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryTargetCapabilitiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryTargetCapabilitiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    return
            Holder.__name__ = "QueryTargetCapabilitiesRequestType_Holder"
            self.pyclass = Holder

    class setCustomValueRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "setCustomValueRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.setCustomValueRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._key = None
                    self._value = None
                    return
            Holder.__name__ = "setCustomValueRequestType_Holder"
            self.pyclass = Holder

    class UnregisterExtensionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UnregisterExtensionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UnregisterExtensionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._extensionKey = None
                    return
            Holder.__name__ = "UnregisterExtensionRequestType_Holder"
            self.pyclass = Holder

    class FindExtensionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FindExtensionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FindExtensionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._extensionKey = None
                    return
            Holder.__name__ = "FindExtensionRequestType_Holder"
            self.pyclass = Holder

    class RegisterExtensionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RegisterExtensionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RegisterExtensionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Extension",lazy=True)(pname=(ns,"extension"), aname="_extension", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._extension = None
                    return
            Holder.__name__ = "RegisterExtensionRequestType_Holder"
            self.pyclass = Holder

    class UpdateExtensionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateExtensionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateExtensionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Extension",lazy=True)(pname=(ns,"extension"), aname="_extension", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._extension = None
                    return
            Holder.__name__ = "UpdateExtensionRequestType_Holder"
            self.pyclass = Holder

    class GetPublicKeyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GetPublicKeyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GetPublicKeyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "GetPublicKeyRequestType_Holder"
            self.pyclass = Holder

    class SetPublicKeyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetPublicKeyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetPublicKeyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"publicKey"), aname="_publicKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._extensionKey = None
                    self._publicKey = None
                    return
            Holder.__name__ = "SetPublicKeyRequestType_Holder"
            self.pyclass = Holder

    class SetExtensionCertificateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetExtensionCertificateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetExtensionCertificateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"certificatePem"), aname="_certificatePem", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._extensionKey = None
                    self._certificatePem = None
                    return
            Holder.__name__ = "SetExtensionCertificateRequestType_Holder"
            self.pyclass = Holder

    class QueryManagedByRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryManagedByRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryManagedByRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._extensionKey = None
                    return
            Holder.__name__ = "QueryManagedByRequestType_Holder"
            self.pyclass = Holder

    class QueryExtensionIpAllocationUsageRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryExtensionIpAllocationUsageRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryExtensionIpAllocationUsageRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"extensionKeys"), aname="_extensionKeys", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._extensionKeys = []
                    return
            Holder.__name__ = "QueryExtensionIpAllocationUsageRequestType_Holder"
            self.pyclass = Holder

    class MoveDatastoreFileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MoveDatastoreFileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MoveDatastoreFileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sourceName"), aname="_sourceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"sourceDatacenter"), aname="_sourceDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"destinationName"), aname="_destinationName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"destinationDatacenter"), aname="_destinationDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._sourceName = None
                    self._sourceDatacenter = None
                    self._destinationName = None
                    self._destinationDatacenter = None
                    self._force = None
                    return
            Holder.__name__ = "MoveDatastoreFileRequestType_Holder"
            self.pyclass = Holder

    class CopyDatastoreFileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CopyDatastoreFileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CopyDatastoreFileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sourceName"), aname="_sourceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"sourceDatacenter"), aname="_sourceDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"destinationName"), aname="_destinationName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"destinationDatacenter"), aname="_destinationDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._sourceName = None
                    self._sourceDatacenter = None
                    self._destinationName = None
                    self._destinationDatacenter = None
                    self._force = None
                    return
            Holder.__name__ = "CopyDatastoreFileRequestType_Holder"
            self.pyclass = Holder

    class DeleteDatastoreFileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteDatastoreFileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteDatastoreFileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    return
            Holder.__name__ = "DeleteDatastoreFileRequestType_Holder"
            self.pyclass = Holder

    class MakeDirectoryRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MakeDirectoryRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MakeDirectoryRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"createParentDirectories"), aname="_createParentDirectories", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    self._createParentDirectories = None
                    return
            Holder.__name__ = "MakeDirectoryRequestType_Holder"
            self.pyclass = Holder

    class ChangeOwnerRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ChangeOwnerRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ChangeOwnerRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"owner"), aname="_owner", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    self._owner = None
                    return
            Holder.__name__ = "ChangeOwnerRequestType_Holder"
            self.pyclass = Holder

    class CreateFolderRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateFolderRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateFolderRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    return
            Holder.__name__ = "CreateFolderRequestType_Holder"
            self.pyclass = Holder

    class MoveIntoFolderRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MoveIntoFolderRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MoveIntoFolderRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"list"), aname="_list", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._list = []
                    return
            Holder.__name__ = "MoveIntoFolderRequestType_Holder"
            self.pyclass = Holder

    class CreateVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineConfigSpec",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pool"), aname="_pool", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._config = None
                    self._pool = None
                    self._host = None
                    return
            Holder.__name__ = "CreateVMRequestType_Holder"
            self.pyclass = Holder

    class RegisterVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RegisterVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RegisterVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"asTemplate"), aname="_asTemplate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pool"), aname="_pool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._path = None
                    self._name = None
                    self._asTemplate = None
                    self._pool = None
                    self._host = None
                    return
            Holder.__name__ = "RegisterVMRequestType_Holder"
            self.pyclass = Holder

    class CreateClusterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateClusterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateClusterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateClusterRequestType_Holder"
            self.pyclass = Holder

    class CreateClusterExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateClusterExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateClusterExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterConfigSpecEx",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateClusterExRequestType_Holder"
            self.pyclass = Holder

    class AddStandaloneHostRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddStandaloneHostRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddStandaloneHostRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostConnectSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ComputeResourceConfigSpec",lazy=True)(pname=(ns,"compResSpec"), aname="_compResSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"addConnected"), aname="_addConnected", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"license"), aname="_license", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    self._compResSpec = None
                    self._addConnected = None
                    self._license = None
                    return
            Holder.__name__ = "AddStandaloneHostRequestType_Holder"
            self.pyclass = Holder

    class CreateDatacenterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateDatacenterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateDatacenterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    return
            Holder.__name__ = "CreateDatacenterRequestType_Holder"
            self.pyclass = Holder

    class UnregisterAndDestroyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UnregisterAndDestroyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UnregisterAndDestroyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "UnregisterAndDestroyRequestType_Holder"
            self.pyclass = Holder

    class CreateDVSRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateDVSRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateDVSRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVSCreateSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateDVSRequestType_Holder"
            self.pyclass = Holder

    class CreateStoragePodRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateStoragePodRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateStoragePodRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    return
            Holder.__name__ = "CreateStoragePodRequestType_Holder"
            self.pyclass = Holder

    class RegisterHealthUpdateProviderRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RegisterHealthUpdateProviderRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RegisterHealthUpdateProviderRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HealthUpdateInfo",lazy=True)(pname=(ns,"healthUpdateInfo"), aname="_healthUpdateInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._healthUpdateInfo = []
                    return
            Holder.__name__ = "RegisterHealthUpdateProviderRequestType_Holder"
            self.pyclass = Holder

    class UnregisterHealthUpdateProviderRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UnregisterHealthUpdateProviderRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UnregisterHealthUpdateProviderRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"providerId"), aname="_providerId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._providerId = None
                    return
            Holder.__name__ = "UnregisterHealthUpdateProviderRequestType_Holder"
            self.pyclass = Holder

    class QueryProviderListRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryProviderListRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryProviderListRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryProviderListRequestType_Holder"
            self.pyclass = Holder

    class HasProviderRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HasProviderRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HasProviderRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    return
            Holder.__name__ = "HasProviderRequestType_Holder"
            self.pyclass = Holder

    class QueryProviderNameRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryProviderNameRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryProviderNameRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    return
            Holder.__name__ = "QueryProviderNameRequestType_Holder"
            self.pyclass = Holder

    class QueryHealthUpdateInfosRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryHealthUpdateInfosRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryHealthUpdateInfosRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"providerId"), aname="_providerId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._providerId = None
                    return
            Holder.__name__ = "QueryHealthUpdateInfosRequestType_Holder"
            self.pyclass = Holder

    class AddMonitoredEntitiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddMonitoredEntitiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddMonitoredEntitiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"providerId"), aname="_providerId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entities"), aname="_entities", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._providerId = None
                    self._entities = []
                    return
            Holder.__name__ = "AddMonitoredEntitiesRequestType_Holder"
            self.pyclass = Holder

    class RemoveMonitoredEntitiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveMonitoredEntitiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveMonitoredEntitiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"providerId"), aname="_providerId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entities"), aname="_entities", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._providerId = None
                    self._entities = []
                    return
            Holder.__name__ = "RemoveMonitoredEntitiesRequestType_Holder"
            self.pyclass = Holder

    class QueryMonitoredEntitiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryMonitoredEntitiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryMonitoredEntitiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"providerId"), aname="_providerId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._providerId = None
                    return
            Holder.__name__ = "QueryMonitoredEntitiesRequestType_Holder"
            self.pyclass = Holder

    class HasMonitoredEntityRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HasMonitoredEntityRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HasMonitoredEntityRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"providerId"), aname="_providerId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._providerId = None
                    self._entity = None
                    return
            Holder.__name__ = "HasMonitoredEntityRequestType_Holder"
            self.pyclass = Holder

    class QueryUnmonitoredHostsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryUnmonitoredHostsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryUnmonitoredHostsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"providerId"), aname="_providerId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"cluster"), aname="_cluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._providerId = None
                    self._cluster = None
                    return
            Holder.__name__ = "QueryUnmonitoredHostsRequestType_Holder"
            self.pyclass = Holder

    class PostHealthUpdatesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PostHealthUpdatesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PostHealthUpdatesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"providerId"), aname="_providerId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HealthUpdate",lazy=True)(pname=(ns,"updates"), aname="_updates", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._providerId = None
                    self._updates = []
                    return
            Holder.__name__ = "PostHealthUpdatesRequestType_Holder"
            self.pyclass = Holder

    class QueryHealthUpdatesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryHealthUpdatesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryHealthUpdatesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"providerId"), aname="_providerId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._providerId = None
                    return
            Holder.__name__ = "QueryHealthUpdatesRequestType_Holder"
            self.pyclass = Holder

    class AddFilterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddFilterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddFilterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"providerId"), aname="_providerId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filterName"), aname="_filterName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"infoIds"), aname="_infoIds", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._providerId = None
                    self._filterName = None
                    self._infoIds = []
                    return
            Holder.__name__ = "AddFilterRequestType_Holder"
            self.pyclass = Holder

    class QueryFilterListRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryFilterListRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryFilterListRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"providerId"), aname="_providerId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._providerId = None
                    return
            Holder.__name__ = "QueryFilterListRequestType_Holder"
            self.pyclass = Holder

    class QueryFilterNameRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryFilterNameRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryFilterNameRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filterId"), aname="_filterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filterId = None
                    return
            Holder.__name__ = "QueryFilterNameRequestType_Holder"
            self.pyclass = Holder

    class QueryFilterInfoIdsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryFilterInfoIdsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryFilterInfoIdsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filterId"), aname="_filterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filterId = None
                    return
            Holder.__name__ = "QueryFilterInfoIdsRequestType_Holder"
            self.pyclass = Holder

    class QueryFilterEntitiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryFilterEntitiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryFilterEntitiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filterId"), aname="_filterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filterId = None
                    return
            Holder.__name__ = "QueryFilterEntitiesRequestType_Holder"
            self.pyclass = Holder

    class AddFilterEntitiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddFilterEntitiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddFilterEntitiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filterId"), aname="_filterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entities"), aname="_entities", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filterId = None
                    self._entities = []
                    return
            Holder.__name__ = "AddFilterEntitiesRequestType_Holder"
            self.pyclass = Holder

    class RemoveFilterEntitiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveFilterEntitiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveFilterEntitiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filterId"), aname="_filterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entities"), aname="_entities", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filterId = None
                    self._entities = []
                    return
            Holder.__name__ = "RemoveFilterEntitiesRequestType_Holder"
            self.pyclass = Holder

    class RemoveFilterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveFilterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveFilterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filterId"), aname="_filterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filterId = None
                    return
            Holder.__name__ = "RemoveFilterRequestType_Holder"
            self.pyclass = Holder

    class SetCollectorPageSizeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetCollectorPageSizeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetCollectorPageSizeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxCount"), aname="_maxCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._maxCount = None
                    return
            Holder.__name__ = "SetCollectorPageSizeRequestType_Holder"
            self.pyclass = Holder

    class RewindCollectorRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RewindCollectorRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RewindCollectorRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RewindCollectorRequestType_Holder"
            self.pyclass = Holder

    class ResetCollectorRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ResetCollectorRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ResetCollectorRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ResetCollectorRequestType_Holder"
            self.pyclass = Holder

    class DestroyCollectorRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DestroyCollectorRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DestroyCollectorRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DestroyCollectorRequestType_Holder"
            self.pyclass = Holder

    class QueryTpmAttestationReportRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryTpmAttestationReportRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryTpmAttestationReportRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryTpmAttestationReportRequestType_Holder"
            self.pyclass = Holder

    class QueryHostConnectionInfoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryHostConnectionInfoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryHostConnectionInfoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryHostConnectionInfoRequestType_Holder"
            self.pyclass = Holder

    class UpdateSystemResourcesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateSystemResourcesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateSystemResourcesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSystemResourceInfo",lazy=True)(pname=(ns,"resourceInfo"), aname="_resourceInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._resourceInfo = None
                    return
            Holder.__name__ = "UpdateSystemResourcesRequestType_Holder"
            self.pyclass = Holder

    class UpdateSystemSwapConfigurationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateSystemSwapConfigurationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateSystemSwapConfigurationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSystemSwapConfiguration",lazy=True)(pname=(ns,"sysSwapConfig"), aname="_sysSwapConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._sysSwapConfig = None
                    return
            Holder.__name__ = "UpdateSystemSwapConfigurationRequestType_Holder"
            self.pyclass = Holder

    class ReconnectHostRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconnectHostRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconnectHostRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostConnectSpec",lazy=True)(pname=(ns,"cnxSpec"), aname="_cnxSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSystemReconnectSpec",lazy=True)(pname=(ns,"reconnectSpec"), aname="_reconnectSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cnxSpec = None
                    self._reconnectSpec = None
                    return
            Holder.__name__ = "ReconnectHostRequestType_Holder"
            self.pyclass = Holder

    class DisconnectHostRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DisconnectHostRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DisconnectHostRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DisconnectHostRequestType_Holder"
            self.pyclass = Holder

    class EnterMaintenanceModeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EnterMaintenanceModeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EnterMaintenanceModeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"timeout"), aname="_timeout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"evacuatePoweredOffVms"), aname="_evacuatePoweredOffVms", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostMaintenanceSpec",lazy=True)(pname=(ns,"maintenanceSpec"), aname="_maintenanceSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._timeout = None
                    self._evacuatePoweredOffVms = None
                    self._maintenanceSpec = None
                    return
            Holder.__name__ = "EnterMaintenanceModeRequestType_Holder"
            self.pyclass = Holder

    class ExitMaintenanceModeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExitMaintenanceModeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExitMaintenanceModeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"timeout"), aname="_timeout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._timeout = None
                    return
            Holder.__name__ = "ExitMaintenanceModeRequestType_Holder"
            self.pyclass = Holder

    class RebootHostRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RebootHostRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RebootHostRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._force = None
                    return
            Holder.__name__ = "RebootHostRequestType_Holder"
            self.pyclass = Holder

    class ShutdownHostRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ShutdownHostRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ShutdownHostRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._force = None
                    return
            Holder.__name__ = "ShutdownHostRequestType_Holder"
            self.pyclass = Holder

    class PowerDownHostToStandByRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PowerDownHostToStandByRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PowerDownHostToStandByRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"timeoutSec"), aname="_timeoutSec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"evacuatePoweredOffVms"), aname="_evacuatePoweredOffVms", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._timeoutSec = None
                    self._evacuatePoweredOffVms = None
                    return
            Holder.__name__ = "PowerDownHostToStandByRequestType_Holder"
            self.pyclass = Holder

    class PowerUpHostFromStandByRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PowerUpHostFromStandByRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PowerUpHostFromStandByRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"timeoutSec"), aname="_timeoutSec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._timeoutSec = None
                    return
            Holder.__name__ = "PowerUpHostFromStandByRequestType_Holder"
            self.pyclass = Holder

    class QueryMemoryOverheadRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryMemoryOverheadRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryMemoryOverheadRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"memorySize"), aname="_memorySize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"videoRamSize"), aname="_videoRamSize", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"numVcpus"), aname="_numVcpus", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._memorySize = None
                    self._videoRamSize = None
                    self._numVcpus = None
                    return
            Holder.__name__ = "QueryMemoryOverheadRequestType_Holder"
            self.pyclass = Holder

    class QueryMemoryOverheadExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryMemoryOverheadExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryMemoryOverheadExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineConfigInfo",lazy=True)(pname=(ns,"vmConfigInfo"), aname="_vmConfigInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vmConfigInfo = None
                    return
            Holder.__name__ = "QueryMemoryOverheadExRequestType_Holder"
            self.pyclass = Holder

    class ReconfigureHostForDASRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigureHostForDASRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigureHostForDASRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ReconfigureHostForDASRequestType_Holder"
            self.pyclass = Holder

    class UpdateFlagsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateFlagsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateFlagsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFlagInfo",lazy=True)(pname=(ns,"flagInfo"), aname="_flagInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._flagInfo = None
                    return
            Holder.__name__ = "UpdateFlagsRequestType_Holder"
            self.pyclass = Holder

    class EnterLockdownModeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EnterLockdownModeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EnterLockdownModeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "EnterLockdownModeRequestType_Holder"
            self.pyclass = Holder

    class ExitLockdownModeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExitLockdownModeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExitLockdownModeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ExitLockdownModeRequestType_Holder"
            self.pyclass = Holder

    class AcquireCimServicesTicketRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AcquireCimServicesTicketRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AcquireCimServicesTicketRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "AcquireCimServicesTicketRequestType_Holder"
            self.pyclass = Holder

    class UpdateIpmiRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateIpmiRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateIpmiRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpmiInfo",lazy=True)(pname=(ns,"ipmiInfo"), aname="_ipmiInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._ipmiInfo = None
                    return
            Holder.__name__ = "UpdateIpmiRequestType_Holder"
            self.pyclass = Holder

    class RetrieveHardwareUptimeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveHardwareUptimeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveHardwareUptimeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RetrieveHardwareUptimeRequestType_Holder"
            self.pyclass = Holder

    class PrepareCryptoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PrepareCryptoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PrepareCryptoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "PrepareCryptoRequestType_Holder"
            self.pyclass = Holder

    class EnableCryptoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EnableCryptoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EnableCryptoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoKeyPlain",lazy=True)(pname=(ns,"keyPlain"), aname="_keyPlain", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._keyPlain = None
                    return
            Holder.__name__ = "EnableCryptoRequestType_Holder"
            self.pyclass = Holder

    class ConfigureCryptoKeyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ConfigureCryptoKeyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ConfigureCryptoKeyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"keyId"), aname="_keyId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._keyId = None
                    return
            Holder.__name__ = "ConfigureCryptoKeyRequestType_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseGetManifestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseGetManifestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HttpNfcLeaseGetManifestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "HttpNfcLeaseGetManifestRequestType_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseSetManifestChecksumTypeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseSetManifestChecksumTypeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HttpNfcLeaseSetManifestChecksumTypeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"deviceUrlsToChecksumTypes"), aname="_deviceUrlsToChecksumTypes", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._deviceUrlsToChecksumTypes = []
                    return
            Holder.__name__ = "HttpNfcLeaseSetManifestChecksumTypeRequestType_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseCompleteRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseCompleteRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HttpNfcLeaseCompleteRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "HttpNfcLeaseCompleteRequestType_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseAbortRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseAbortRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HttpNfcLeaseAbortRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._fault = None
                    return
            Holder.__name__ = "HttpNfcLeaseAbortRequestType_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseProgressRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeaseProgressRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HttpNfcLeaseProgressRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"percent"), aname="_percent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._percent = None
                    return
            Holder.__name__ = "HttpNfcLeaseProgressRequestType_Holder"
            self.pyclass = Holder

    class HttpNfcLeasePullFromUrlsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HttpNfcLeasePullFromUrlsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HttpNfcLeasePullFromUrlsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HttpNfcLeaseSourceFile",lazy=True)(pname=(ns,"files"), aname="_files", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._files = []
                    return
            Holder.__name__ = "HttpNfcLeasePullFromUrlsRequestType_Holder"
            self.pyclass = Holder

    class InstallIoFilterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "InstallIoFilterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.InstallIoFilterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vibUrl"), aname="_vibUrl", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"compRes"), aname="_compRes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vibUrl = None
                    self._compRes = None
                    return
            Holder.__name__ = "InstallIoFilterRequestType_Holder"
            self.pyclass = Holder

    class UninstallIoFilterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UninstallIoFilterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UninstallIoFilterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filterId"), aname="_filterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"compRes"), aname="_compRes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filterId = None
                    self._compRes = None
                    return
            Holder.__name__ = "UninstallIoFilterRequestType_Holder"
            self.pyclass = Holder

    class UpgradeIoFilterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpgradeIoFilterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpgradeIoFilterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filterId"), aname="_filterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"compRes"), aname="_compRes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vibUrl"), aname="_vibUrl", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filterId = None
                    self._compRes = None
                    self._vibUrl = None
                    return
            Holder.__name__ = "UpgradeIoFilterRequestType_Holder"
            self.pyclass = Holder

    class QueryIoFilterIssuesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryIoFilterIssuesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryIoFilterIssuesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filterId"), aname="_filterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"compRes"), aname="_compRes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filterId = None
                    self._compRes = None
                    return
            Holder.__name__ = "QueryIoFilterIssuesRequestType_Holder"
            self.pyclass = Holder

    class QueryIoFilterInfoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryIoFilterInfoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryIoFilterInfoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"compRes"), aname="_compRes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._compRes = None
                    return
            Holder.__name__ = "QueryIoFilterInfoRequestType_Holder"
            self.pyclass = Holder

    class ResolveInstallationErrorsOnHostRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ResolveInstallationErrorsOnHostRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ResolveInstallationErrorsOnHostRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filterId"), aname="_filterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filterId = None
                    self._host = None
                    return
            Holder.__name__ = "ResolveInstallationErrorsOnHostRequestType_Holder"
            self.pyclass = Holder

    class ResolveInstallationErrorsOnClusterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ResolveInstallationErrorsOnClusterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ResolveInstallationErrorsOnClusterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filterId"), aname="_filterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"cluster"), aname="_cluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filterId = None
                    self._cluster = None
                    return
            Holder.__name__ = "ResolveInstallationErrorsOnClusterRequestType_Holder"
            self.pyclass = Holder

    class QueryDisksUsingFilterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryDisksUsingFilterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryDisksUsingFilterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filterId"), aname="_filterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"compRes"), aname="_compRes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filterId = None
                    self._compRes = None
                    return
            Holder.__name__ = "QueryDisksUsingFilterRequestType_Holder"
            self.pyclass = Holder

    class QueryIpPoolsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryIpPoolsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryIpPoolsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"dc"), aname="_dc", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._dc = None
                    return
            Holder.__name__ = "QueryIpPoolsRequestType_Holder"
            self.pyclass = Holder

    class CreateIpPoolRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateIpPoolRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateIpPoolRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"dc"), aname="_dc", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IpPool",lazy=True)(pname=(ns,"pool"), aname="_pool", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._dc = None
                    self._pool = None
                    return
            Holder.__name__ = "CreateIpPoolRequestType_Holder"
            self.pyclass = Holder

    class UpdateIpPoolRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateIpPoolRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateIpPoolRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"dc"), aname="_dc", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","IpPool",lazy=True)(pname=(ns,"pool"), aname="_pool", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._dc = None
                    self._pool = None
                    return
            Holder.__name__ = "UpdateIpPoolRequestType_Holder"
            self.pyclass = Holder

    class DestroyIpPoolRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DestroyIpPoolRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DestroyIpPoolRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"dc"), aname="_dc", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._dc = None
                    self._id = None
                    self._force = None
                    return
            Holder.__name__ = "DestroyIpPoolRequestType_Holder"
            self.pyclass = Holder

    class AllocateIpv4AddressRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AllocateIpv4AddressRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AllocateIpv4AddressRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"dc"), aname="_dc", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"poolId"), aname="_poolId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"allocationId"), aname="_allocationId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._dc = None
                    self._poolId = None
                    self._allocationId = None
                    return
            Holder.__name__ = "AllocateIpv4AddressRequestType_Holder"
            self.pyclass = Holder

    class AllocateIpv6AddressRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AllocateIpv6AddressRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AllocateIpv6AddressRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"dc"), aname="_dc", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"poolId"), aname="_poolId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"allocationId"), aname="_allocationId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._dc = None
                    self._poolId = None
                    self._allocationId = None
                    return
            Holder.__name__ = "AllocateIpv6AddressRequestType_Holder"
            self.pyclass = Holder

    class ReleaseIpAllocationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReleaseIpAllocationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReleaseIpAllocationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"dc"), aname="_dc", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"poolId"), aname="_poolId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"allocationId"), aname="_allocationId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._dc = None
                    self._poolId = None
                    self._allocationId = None
                    return
            Holder.__name__ = "ReleaseIpAllocationRequestType_Holder"
            self.pyclass = Holder

    class QueryIPAllocationsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryIPAllocationsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryIPAllocationsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"dc"), aname="_dc", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"poolId"), aname="_poolId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._dc = None
                    self._poolId = None
                    self._extensionKey = None
                    return
            Holder.__name__ = "QueryIPAllocationsRequestType_Holder"
            self.pyclass = Holder

    class UpdateAssignedLicenseRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateAssignedLicenseRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateAssignedLicenseRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"licenseKey"), aname="_licenseKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"entityDisplayName"), aname="_entityDisplayName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    self._licenseKey = None
                    self._entityDisplayName = None
                    return
            Holder.__name__ = "UpdateAssignedLicenseRequestType_Holder"
            self.pyclass = Holder

    class RemoveAssignedLicenseRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveAssignedLicenseRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveAssignedLicenseRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"entityId"), aname="_entityId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entityId = None
                    return
            Holder.__name__ = "RemoveAssignedLicenseRequestType_Holder"
            self.pyclass = Holder

    class QueryAssignedLicensesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryAssignedLicensesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryAssignedLicensesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"entityId"), aname="_entityId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entityId = None
                    return
            Holder.__name__ = "QueryAssignedLicensesRequestType_Holder"
            self.pyclass = Holder

    class QuerySupportedFeaturesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QuerySupportedFeaturesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QuerySupportedFeaturesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    return
            Holder.__name__ = "QuerySupportedFeaturesRequestType_Holder"
            self.pyclass = Holder

    class QueryLicenseSourceAvailabilityRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryLicenseSourceAvailabilityRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryLicenseSourceAvailabilityRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    return
            Holder.__name__ = "QueryLicenseSourceAvailabilityRequestType_Holder"
            self.pyclass = Holder

    class QueryLicenseUsageRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryLicenseUsageRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryLicenseUsageRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    return
            Holder.__name__ = "QueryLicenseUsageRequestType_Holder"
            self.pyclass = Holder

    class SetLicenseEditionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetLicenseEditionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetLicenseEditionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"featureKey"), aname="_featureKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._featureKey = None
                    return
            Holder.__name__ = "SetLicenseEditionRequestType_Holder"
            self.pyclass = Holder

    class CheckLicenseFeatureRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckLicenseFeatureRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckLicenseFeatureRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"featureKey"), aname="_featureKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._featureKey = None
                    return
            Holder.__name__ = "CheckLicenseFeatureRequestType_Holder"
            self.pyclass = Holder

    class EnableFeatureRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EnableFeatureRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EnableFeatureRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"featureKey"), aname="_featureKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._featureKey = None
                    return
            Holder.__name__ = "EnableFeatureRequestType_Holder"
            self.pyclass = Holder

    class DisableFeatureRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DisableFeatureRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DisableFeatureRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"featureKey"), aname="_featureKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._featureKey = None
                    return
            Holder.__name__ = "DisableFeatureRequestType_Holder"
            self.pyclass = Holder

    class ConfigureLicenseSourceRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ConfigureLicenseSourceRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ConfigureLicenseSourceRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LicenseSource",lazy=True)(pname=(ns,"licenseSource"), aname="_licenseSource", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._licenseSource = None
                    return
            Holder.__name__ = "ConfigureLicenseSourceRequestType_Holder"
            self.pyclass = Holder

    class UpdateLicenseRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateLicenseRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateLicenseRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"licenseKey"), aname="_licenseKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"labels"), aname="_labels", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._licenseKey = None
                    self._labels = []
                    return
            Holder.__name__ = "UpdateLicenseRequestType_Holder"
            self.pyclass = Holder

    class AddLicenseRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddLicenseRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddLicenseRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"licenseKey"), aname="_licenseKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyValue",lazy=True)(pname=(ns,"labels"), aname="_labels", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._licenseKey = None
                    self._labels = []
                    return
            Holder.__name__ = "AddLicenseRequestType_Holder"
            self.pyclass = Holder

    class RemoveLicenseRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveLicenseRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveLicenseRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"licenseKey"), aname="_licenseKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._licenseKey = None
                    return
            Holder.__name__ = "RemoveLicenseRequestType_Holder"
            self.pyclass = Holder

    class DecodeLicenseRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DecodeLicenseRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DecodeLicenseRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"licenseKey"), aname="_licenseKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._licenseKey = None
                    return
            Holder.__name__ = "DecodeLicenseRequestType_Holder"
            self.pyclass = Holder

    class UpdateLicenseLabelRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateLicenseLabelRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateLicenseLabelRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"licenseKey"), aname="_licenseKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"labelKey"), aname="_labelKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"labelValue"), aname="_labelValue", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._licenseKey = None
                    self._labelKey = None
                    self._labelValue = None
                    return
            Holder.__name__ = "UpdateLicenseLabelRequestType_Holder"
            self.pyclass = Holder

    class RemoveLicenseLabelRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveLicenseLabelRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveLicenseLabelRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"licenseKey"), aname="_licenseKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"labelKey"), aname="_labelKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._licenseKey = None
                    self._labelKey = None
                    return
            Holder.__name__ = "RemoveLicenseLabelRequestType_Holder"
            self.pyclass = Holder

    class ReloadRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReloadRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReloadRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ReloadRequestType_Holder"
            self.pyclass = Holder

    class RenameRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RenameRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RenameRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newName"), aname="_newName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._newName = None
                    return
            Holder.__name__ = "RenameRequestType_Holder"
            self.pyclass = Holder

    class DestroyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DestroyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DestroyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DestroyRequestType_Holder"
            self.pyclass = Holder

    class DestroyNetworkRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DestroyNetworkRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DestroyNetworkRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DestroyNetworkRequestType_Holder"
            self.pyclass = Holder

    class LookupVmOverheadMemoryRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LookupVmOverheadMemoryRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.LookupVmOverheadMemoryRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._host = None
                    return
            Holder.__name__ = "LookupVmOverheadMemoryRequestType_Holder"
            self.pyclass = Holder

    class ValidateHostRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ValidateHostRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ValidateHostRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ovfDescriptor"), aname="_ovfDescriptor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OvfValidateHostParams",lazy=True)(pname=(ns,"vhp"), aname="_vhp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._ovfDescriptor = None
                    self._host = None
                    self._vhp = None
                    return
            Holder.__name__ = "ValidateHostRequestType_Holder"
            self.pyclass = Holder

    class ParseDescriptorRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ParseDescriptorRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ParseDescriptorRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ovfDescriptor"), aname="_ovfDescriptor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OvfParseDescriptorParams",lazy=True)(pname=(ns,"pdp"), aname="_pdp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._ovfDescriptor = None
                    self._pdp = None
                    return
            Holder.__name__ = "ParseDescriptorRequestType_Holder"
            self.pyclass = Holder

    class CreateImportSpecRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateImportSpecRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateImportSpecRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ovfDescriptor"), aname="_ovfDescriptor", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"resourcePool"), aname="_resourcePool", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OvfCreateImportSpecParams",lazy=True)(pname=(ns,"cisp"), aname="_cisp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._ovfDescriptor = None
                    self._resourcePool = None
                    self._datastore = None
                    self._cisp = None
                    return
            Holder.__name__ = "CreateImportSpecRequestType_Holder"
            self.pyclass = Holder

    class CreateDescriptorRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateDescriptorRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateDescriptorRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"obj"), aname="_obj", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OvfCreateDescriptorParams",lazy=True)(pname=(ns,"cdp"), aname="_cdp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._obj = None
                    self._cdp = None
                    return
            Holder.__name__ = "CreateDescriptorRequestType_Holder"
            self.pyclass = Holder

    class QueryPerfProviderSummaryRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryPerfProviderSummaryRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryPerfProviderSummaryRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    return
            Holder.__name__ = "QueryPerfProviderSummaryRequestType_Holder"
            self.pyclass = Holder

    class QueryAvailablePerfMetricRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryAvailablePerfMetricRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryAvailablePerfMetricRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"beginTime"), aname="_beginTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"endTime"), aname="_endTime", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"intervalId"), aname="_intervalId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    self._beginTime = None
                    self._endTime = None
                    self._intervalId = None
                    return
            Holder.__name__ = "QueryAvailablePerfMetricRequestType_Holder"
            self.pyclass = Holder

    class QueryPerfCounterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryPerfCounterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryPerfCounterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"counterId"), aname="_counterId", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._counterId = []
                    return
            Holder.__name__ = "QueryPerfCounterRequestType_Holder"
            self.pyclass = Holder

    class QueryPerfCounterByLevelRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryPerfCounterByLevelRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryPerfCounterByLevelRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"level"), aname="_level", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._level = None
                    return
            Holder.__name__ = "QueryPerfCounterByLevelRequestType_Holder"
            self.pyclass = Holder

    class QueryPerfRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryPerfRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryPerfRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PerfQuerySpec",lazy=True)(pname=(ns,"querySpec"), aname="_querySpec", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._querySpec = []
                    return
            Holder.__name__ = "QueryPerfRequestType_Holder"
            self.pyclass = Holder

    class QueryPerfCompositeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryPerfCompositeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryPerfCompositeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PerfQuerySpec",lazy=True)(pname=(ns,"querySpec"), aname="_querySpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._querySpec = None
                    return
            Holder.__name__ = "QueryPerfCompositeRequestType_Holder"
            self.pyclass = Holder

    class CreatePerfIntervalRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreatePerfIntervalRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreatePerfIntervalRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PerfInterval",lazy=True)(pname=(ns,"intervalId"), aname="_intervalId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._intervalId = None
                    return
            Holder.__name__ = "CreatePerfIntervalRequestType_Holder"
            self.pyclass = Holder

    class RemovePerfIntervalRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemovePerfIntervalRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemovePerfIntervalRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"samplePeriod"), aname="_samplePeriod", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._samplePeriod = None
                    return
            Holder.__name__ = "RemovePerfIntervalRequestType_Holder"
            self.pyclass = Holder

    class UpdatePerfIntervalRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdatePerfIntervalRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdatePerfIntervalRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PerfInterval",lazy=True)(pname=(ns,"interval"), aname="_interval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._interval = None
                    return
            Holder.__name__ = "UpdatePerfIntervalRequestType_Holder"
            self.pyclass = Holder

    class UpdateCounterLevelMappingRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateCounterLevelMappingRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateCounterLevelMappingRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PerformanceManagerCounterLevelMapping",lazy=True)(pname=(ns,"counterLevelMap"), aname="_counterLevelMap", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._counterLevelMap = []
                    return
            Holder.__name__ = "UpdateCounterLevelMappingRequestType_Holder"
            self.pyclass = Holder

    class ResetCounterLevelMappingRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ResetCounterLevelMappingRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ResetCounterLevelMappingRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"counters"), aname="_counters", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._counters = []
                    return
            Holder.__name__ = "ResetCounterLevelMappingRequestType_Holder"
            self.pyclass = Holder

    class EstimateDatabaseSizeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EstimateDatabaseSizeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EstimateDatabaseSizeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DatabaseSizeParam",lazy=True)(pname=(ns,"dbSizeParam"), aname="_dbSizeParam", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._dbSizeParam = None
                    return
            Holder.__name__ = "EstimateDatabaseSizeRequestType_Holder"
            self.pyclass = Holder

    class UpdateConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceConfigSpec",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._config = None
                    return
            Holder.__name__ = "UpdateConfigRequestType_Holder"
            self.pyclass = Holder

    class MoveIntoResourcePoolRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MoveIntoResourcePoolRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MoveIntoResourcePoolRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"list"), aname="_list", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._list = []
                    return
            Holder.__name__ = "MoveIntoResourcePoolRequestType_Holder"
            self.pyclass = Holder

    class UpdateChildResourceConfigurationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateChildResourceConfigurationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateChildResourceConfigurationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = []
                    return
            Holder.__name__ = "UpdateChildResourceConfigurationRequestType_Holder"
            self.pyclass = Holder

    class CreateResourcePoolRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateResourcePoolRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateResourcePoolRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateResourcePoolRequestType_Holder"
            self.pyclass = Holder

    class DestroyChildrenRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DestroyChildrenRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DestroyChildrenRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DestroyChildrenRequestType_Holder"
            self.pyclass = Holder

    class CreateVAppRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateVAppRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateVAppRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ResourceConfigSpec",lazy=True)(pname=(ns,"resSpec"), aname="_resSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vmFolder"), aname="_vmFolder", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._resSpec = None
                    self._configSpec = None
                    self._vmFolder = None
                    return
            Holder.__name__ = "CreateVAppRequestType_Holder"
            self.pyclass = Holder

    class CreateChildVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateChildVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateChildVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineConfigSpec",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._config = None
                    self._host = None
                    return
            Holder.__name__ = "CreateChildVMRequestType_Holder"
            self.pyclass = Holder

    class RegisterChildVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RegisterChildVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RegisterChildVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._path = None
                    self._name = None
                    self._host = None
                    return
            Holder.__name__ = "RegisterChildVMRequestType_Holder"
            self.pyclass = Holder

    class ImportVAppRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ImportVAppRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ImportVAppRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ImportSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"folder"), aname="_folder", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    self._folder = None
                    self._host = None
                    return
            Holder.__name__ = "ImportVAppRequestType_Holder"
            self.pyclass = Holder

    class QueryResourceConfigOptionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryResourceConfigOptionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryResourceConfigOptionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryResourceConfigOptionRequestType_Holder"
            self.pyclass = Holder

    class RefreshRuntimeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshRuntimeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshRuntimeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RefreshRuntimeRequestType_Holder"
            self.pyclass = Holder

    class FindByUuidRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FindByUuidRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FindByUuidRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmSearch"), aname="_vmSearch", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datacenter = None
                    self._uuid = None
                    self._vmSearch = None
                    self._instanceUuid = None
                    return
            Holder.__name__ = "FindByUuidRequestType_Holder"
            self.pyclass = Holder

    class FindByDatastorePathRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FindByDatastorePathRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FindByDatastorePathRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datacenter = None
                    self._path = None
                    return
            Holder.__name__ = "FindByDatastorePathRequestType_Holder"
            self.pyclass = Holder

    class FindByDnsNameRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FindByDnsNameRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FindByDnsNameRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dnsName"), aname="_dnsName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmSearch"), aname="_vmSearch", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datacenter = None
                    self._dnsName = None
                    self._vmSearch = None
                    return
            Holder.__name__ = "FindByDnsNameRequestType_Holder"
            self.pyclass = Holder

    class FindByIpRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FindByIpRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FindByIpRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ip"), aname="_ip", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmSearch"), aname="_vmSearch", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datacenter = None
                    self._ip = None
                    self._vmSearch = None
                    return
            Holder.__name__ = "FindByIpRequestType_Holder"
            self.pyclass = Holder

    class FindByInventoryPathRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FindByInventoryPathRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FindByInventoryPathRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"inventoryPath"), aname="_inventoryPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._inventoryPath = None
                    return
            Holder.__name__ = "FindByInventoryPathRequestType_Holder"
            self.pyclass = Holder

    class FindChildRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FindChildRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FindChildRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    self._name = None
                    return
            Holder.__name__ = "FindChildRequestType_Holder"
            self.pyclass = Holder

    class FindAllByUuidRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FindAllByUuidRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FindAllByUuidRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmSearch"), aname="_vmSearch", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"instanceUuid"), aname="_instanceUuid", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datacenter = None
                    self._uuid = None
                    self._vmSearch = None
                    self._instanceUuid = None
                    return
            Holder.__name__ = "FindAllByUuidRequestType_Holder"
            self.pyclass = Holder

    class FindAllByDnsNameRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FindAllByDnsNameRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FindAllByDnsNameRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dnsName"), aname="_dnsName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmSearch"), aname="_vmSearch", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datacenter = None
                    self._dnsName = None
                    self._vmSearch = None
                    return
            Holder.__name__ = "FindAllByDnsNameRequestType_Holder"
            self.pyclass = Holder

    class FindAllByIpRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FindAllByIpRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FindAllByIpRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ip"), aname="_ip", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"vmSearch"), aname="_vmSearch", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datacenter = None
                    self._ip = None
                    self._vmSearch = None
                    return
            Holder.__name__ = "FindAllByIpRequestType_Holder"
            self.pyclass = Holder

    class CurrentTimeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CurrentTimeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CurrentTimeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "CurrentTimeRequestType_Holder"
            self.pyclass = Holder

    class RetrieveServiceContentRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveServiceContentRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveServiceContentRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RetrieveServiceContentRequestType_Holder"
            self.pyclass = Holder

    class ValidateMigrationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ValidateMigrationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ValidateMigrationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachinePowerState",lazy=True)(pname=(ns,"state"), aname="_state", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"testType"), aname="_testType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pool"), aname="_pool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = []
                    self._state = None
                    self._testType = []
                    self._pool = None
                    self._host = None
                    return
            Holder.__name__ = "ValidateMigrationRequestType_Holder"
            self.pyclass = Holder

    class QueryVMotionCompatibilityRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryVMotionCompatibilityRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryVMotionCompatibilityRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"compatibility"), aname="_compatibility", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._host = []
                    self._compatibility = []
                    return
            Holder.__name__ = "QueryVMotionCompatibilityRequestType_Holder"
            self.pyclass = Holder

    class RetrieveProductComponentsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveProductComponentsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveProductComponentsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RetrieveProductComponentsRequestType_Holder"
            self.pyclass = Holder

    class QueryServiceListRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryServiceListRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryServiceListRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"serviceName"), aname="_serviceName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"location"), aname="_location", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._serviceName = None
                    self._location = []
                    return
            Holder.__name__ = "QueryServiceListRequestType_Holder"
            self.pyclass = Holder

    class UpdateServiceMessageRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateServiceMessageRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateServiceMessageRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"message"), aname="_message", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._message = None
                    return
            Holder.__name__ = "UpdateServiceMessageRequestType_Holder"
            self.pyclass = Holder

    class LoginByTokenRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LoginByTokenRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.LoginByTokenRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"locale"), aname="_locale", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._locale = None
                    return
            Holder.__name__ = "LoginByTokenRequestType_Holder"
            self.pyclass = Holder

    class LoginRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LoginRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.LoginRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"locale"), aname="_locale", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._userName = None
                    self._password = None
                    self._locale = None
                    return
            Holder.__name__ = "LoginRequestType_Holder"
            self.pyclass = Holder

    class LoginBySSPIRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LoginBySSPIRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.LoginBySSPIRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"base64Token"), aname="_base64Token", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"locale"), aname="_locale", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._base64Token = None
                    self._locale = None
                    return
            Holder.__name__ = "LoginBySSPIRequestType_Holder"
            self.pyclass = Holder

    class LogoutRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LogoutRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.LogoutRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "LogoutRequestType_Holder"
            self.pyclass = Holder

    class AcquireLocalTicketRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AcquireLocalTicketRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AcquireLocalTicketRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._userName = None
                    return
            Holder.__name__ = "AcquireLocalTicketRequestType_Holder"
            self.pyclass = Holder

    class AcquireGenericServiceTicketRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AcquireGenericServiceTicketRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AcquireGenericServiceTicketRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SessionManagerServiceRequestSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "AcquireGenericServiceTicketRequestType_Holder"
            self.pyclass = Holder

    class TerminateSessionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "TerminateSessionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.TerminateSessionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sessionId"), aname="_sessionId", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._sessionId = []
                    return
            Holder.__name__ = "TerminateSessionRequestType_Holder"
            self.pyclass = Holder

    class SetLocaleRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetLocaleRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetLocaleRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"locale"), aname="_locale", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._locale = None
                    return
            Holder.__name__ = "SetLocaleRequestType_Holder"
            self.pyclass = Holder

    class LoginExtensionBySubjectNameRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LoginExtensionBySubjectNameRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.LoginExtensionBySubjectNameRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"locale"), aname="_locale", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._extensionKey = None
                    self._locale = None
                    return
            Holder.__name__ = "LoginExtensionBySubjectNameRequestType_Holder"
            self.pyclass = Holder

    class LoginExtensionByCertificateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LoginExtensionByCertificateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.LoginExtensionByCertificateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"extensionKey"), aname="_extensionKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"locale"), aname="_locale", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._extensionKey = None
                    self._locale = None
                    return
            Holder.__name__ = "LoginExtensionByCertificateRequestType_Holder"
            self.pyclass = Holder

    class ImpersonateUserRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ImpersonateUserRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ImpersonateUserRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"locale"), aname="_locale", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._userName = None
                    self._locale = None
                    return
            Holder.__name__ = "ImpersonateUserRequestType_Holder"
            self.pyclass = Holder

    class SessionIsActiveRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SessionIsActiveRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SessionIsActiveRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sessionID"), aname="_sessionID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._sessionID = None
                    self._userName = None
                    return
            Holder.__name__ = "SessionIsActiveRequestType_Holder"
            self.pyclass = Holder

    class AcquireCloneTicketRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AcquireCloneTicketRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AcquireCloneTicketRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "AcquireCloneTicketRequestType_Holder"
            self.pyclass = Holder

    class CloneSessionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CloneSessionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CloneSessionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"cloneTicket"), aname="_cloneTicket", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cloneTicket = None
                    return
            Holder.__name__ = "CloneSessionRequestType_Holder"
            self.pyclass = Holder

    class ExecuteSimpleCommandRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExecuteSimpleCommandRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExecuteSimpleCommandRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"arguments"), aname="_arguments", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._arguments = []
                    return
            Holder.__name__ = "ExecuteSimpleCommandRequestType_Holder"
            self.pyclass = Holder

    class ConfigureDatastoreIORMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ConfigureDatastoreIORMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ConfigureDatastoreIORMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageIORMConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    self._spec = None
                    return
            Holder.__name__ = "ConfigureDatastoreIORMRequestType_Holder"
            self.pyclass = Holder

    class QueryIORMConfigOptionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryIORMConfigOptionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryIORMConfigOptionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    return
            Holder.__name__ = "QueryIORMConfigOptionRequestType_Holder"
            self.pyclass = Holder

    class QueryDatastorePerformanceSummaryRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryDatastorePerformanceSummaryRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryDatastorePerformanceSummaryRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    return
            Holder.__name__ = "QueryDatastorePerformanceSummaryRequestType_Holder"
            self.pyclass = Holder

    class ApplyStorageDrsRecommendationToPodRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ApplyStorageDrsRecommendationToPodRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ApplyStorageDrsRecommendationToPodRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pod"), aname="_pod", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._pod = None
                    self._key = None
                    return
            Holder.__name__ = "ApplyStorageDrsRecommendationToPodRequestType_Holder"
            self.pyclass = Holder

    class ApplyStorageDrsRecommendationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ApplyStorageDrsRecommendationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ApplyStorageDrsRecommendationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._key = []
                    return
            Holder.__name__ = "ApplyStorageDrsRecommendationRequestType_Holder"
            self.pyclass = Holder

    class CancelStorageDrsRecommendationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CancelStorageDrsRecommendationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CancelStorageDrsRecommendationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._key = []
                    return
            Holder.__name__ = "CancelStorageDrsRecommendationRequestType_Holder"
            self.pyclass = Holder

    class RefreshStorageDrsRecommendationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshStorageDrsRecommendationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshStorageDrsRecommendationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pod"), aname="_pod", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._pod = None
                    return
            Holder.__name__ = "RefreshStorageDrsRecommendationRequestType_Holder"
            self.pyclass = Holder

    class RefreshStorageDrsRecommendationsForPodRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshStorageDrsRecommendationsForPodRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshStorageDrsRecommendationsForPodRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pod"), aname="_pod", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._pod = None
                    return
            Holder.__name__ = "RefreshStorageDrsRecommendationsForPodRequestType_Holder"
            self.pyclass = Holder

    class ConfigureStorageDrsForPodRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ConfigureStorageDrsForPodRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ConfigureStorageDrsForPodRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pod"), aname="_pod", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageDrsConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"modify"), aname="_modify", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._pod = None
                    self._spec = None
                    self._modify = None
                    return
            Holder.__name__ = "ConfigureStorageDrsForPodRequestType_Holder"
            self.pyclass = Holder

    class ValidateStoragePodConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ValidateStoragePodConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ValidateStoragePodConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pod"), aname="_pod", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StorageDrsConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._pod = None
                    self._spec = None
                    return
            Holder.__name__ = "ValidateStoragePodConfigRequestType_Holder"
            self.pyclass = Holder

    class RecommendDatastoresRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RecommendDatastoresRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RecommendDatastoresRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StoragePlacementSpec",lazy=True)(pname=(ns,"storageSpec"), aname="_storageSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._storageSpec = None
                    return
            Holder.__name__ = "RecommendDatastoresRequestType_Holder"
            self.pyclass = Holder

    class CancelTaskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CancelTaskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CancelTaskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "CancelTaskRequestType_Holder"
            self.pyclass = Holder

    class UpdateProgressRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateProgressRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateProgressRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"percentDone"), aname="_percentDone", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._percentDone = None
                    return
            Holder.__name__ = "UpdateProgressRequestType_Holder"
            self.pyclass = Holder

    class SetTaskStateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetTaskStateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetTaskStateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","TaskInfoState",lazy=True)(pname=(ns,"state"), aname="_state", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.AnyType(pname=(ns,"result"), aname="_result", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"fault"), aname="_fault", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._state = None
                    self._result = None
                    self._fault = None
                    return
            Holder.__name__ = "SetTaskStateRequestType_Holder"
            self.pyclass = Holder

    class SetTaskDescriptionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetTaskDescriptionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetTaskDescriptionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","LocalizableMessage",lazy=True)(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._description = None
                    return
            Holder.__name__ = "SetTaskDescriptionRequestType_Holder"
            self.pyclass = Holder

    class ReadNextTasksRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReadNextTasksRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReadNextTasksRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxCount"), aname="_maxCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._maxCount = None
                    return
            Holder.__name__ = "ReadNextTasksRequestType_Holder"
            self.pyclass = Holder

    class ReadPreviousTasksRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReadPreviousTasksRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReadPreviousTasksRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxCount"), aname="_maxCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._maxCount = None
                    return
            Holder.__name__ = "ReadPreviousTasksRequestType_Holder"
            self.pyclass = Holder

    class CreateCollectorForTasksRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateCollectorForTasksRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateCollectorForTasksRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","TaskFilterSpec",lazy=True)(pname=(ns,"filter"), aname="_filter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filter = None
                    return
            Holder.__name__ = "CreateCollectorForTasksRequestType_Holder"
            self.pyclass = Holder

    class CreateTaskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateTaskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateTaskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"obj"), aname="_obj", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"taskTypeId"), aname="_taskTypeId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"initiatedBy"), aname="_initiatedBy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"cancelable"), aname="_cancelable", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"parentTaskKey"), aname="_parentTaskKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"activationId"), aname="_activationId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._obj = None
                    self._taskTypeId = None
                    self._initiatedBy = None
                    self._cancelable = None
                    self._parentTaskKey = None
                    self._activationId = None
                    return
            Holder.__name__ = "CreateTaskRequestType_Holder"
            self.pyclass = Holder

    class RetrieveUserGroupsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveUserGroupsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveUserGroupsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"domain"), aname="_domain", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"searchStr"), aname="_searchStr", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"belongsToGroup"), aname="_belongsToGroup", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"belongsToUser"), aname="_belongsToUser", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"exactMatch"), aname="_exactMatch", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"findUsers"), aname="_findUsers", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"findGroups"), aname="_findGroups", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._domain = None
                    self._searchStr = None
                    self._belongsToGroup = None
                    self._belongsToUser = None
                    self._exactMatch = None
                    self._findUsers = None
                    self._findGroups = None
                    return
            Holder.__name__ = "RetrieveUserGroupsRequestType_Holder"
            self.pyclass = Holder

    class UpdateVAppConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateVAppConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateVAppConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "UpdateVAppConfigRequestType_Holder"
            self.pyclass = Holder

    class UpdateLinkedChildrenRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateLinkedChildrenRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateLinkedChildrenRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualAppLinkInfo",lazy=True)(pname=(ns,"addChangeSet"), aname="_addChangeSet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"removeSet"), aname="_removeSet", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._addChangeSet = []
                    self._removeSet = []
                    return
            Holder.__name__ = "UpdateLinkedChildrenRequestType_Holder"
            self.pyclass = Holder

    class CloneVAppRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CloneVAppRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CloneVAppRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"target"), aname="_target", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VAppCloneSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._target = None
                    self._spec = None
                    return
            Holder.__name__ = "CloneVAppRequestType_Holder"
            self.pyclass = Holder

    class ExportVAppRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExportVAppRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExportVAppRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ExportVAppRequestType_Holder"
            self.pyclass = Holder

    class PowerOnVAppRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PowerOnVAppRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PowerOnVAppRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "PowerOnVAppRequestType_Holder"
            self.pyclass = Holder

    class PowerOffVAppRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PowerOffVAppRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PowerOffVAppRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._force = None
                    return
            Holder.__name__ = "PowerOffVAppRequestType_Holder"
            self.pyclass = Holder

    class SuspendVAppRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SuspendVAppRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SuspendVAppRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "SuspendVAppRequestType_Holder"
            self.pyclass = Holder

    class unregisterVAppRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "unregisterVAppRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.unregisterVAppRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "unregisterVAppRequestType_Holder"
            self.pyclass = Holder

    class CreateVirtualDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateVirtualDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateVirtualDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDiskSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateVirtualDiskRequestType_Holder"
            self.pyclass = Holder

    class DeleteVirtualDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteVirtualDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteVirtualDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    return
            Holder.__name__ = "DeleteVirtualDiskRequestType_Holder"
            self.pyclass = Holder

    class MoveVirtualDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MoveVirtualDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MoveVirtualDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sourceName"), aname="_sourceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"sourceDatacenter"), aname="_sourceDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"destName"), aname="_destName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"destDatacenter"), aname="_destDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._sourceName = None
                    self._sourceDatacenter = None
                    self._destName = None
                    self._destDatacenter = None
                    self._force = None
                    self._profile = []
                    return
            Holder.__name__ = "MoveVirtualDiskRequestType_Holder"
            self.pyclass = Holder

    class CopyVirtualDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CopyVirtualDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CopyVirtualDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"sourceName"), aname="_sourceName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"sourceDatacenter"), aname="_sourceDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"destName"), aname="_destName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"destDatacenter"), aname="_destDatacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDiskSpec",lazy=True)(pname=(ns,"destSpec"), aname="_destSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._sourceName = None
                    self._sourceDatacenter = None
                    self._destName = None
                    self._destDatacenter = None
                    self._destSpec = None
                    self._force = None
                    return
            Holder.__name__ = "CopyVirtualDiskRequestType_Holder"
            self.pyclass = Holder

    class ExtendVirtualDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExtendVirtualDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExtendVirtualDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"newCapacityKb"), aname="_newCapacityKb", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"eagerZero"), aname="_eagerZero", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    self._newCapacityKb = None
                    self._eagerZero = None
                    return
            Holder.__name__ = "ExtendVirtualDiskRequestType_Holder"
            self.pyclass = Holder

    class QueryVirtualDiskFragmentationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryVirtualDiskFragmentationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryVirtualDiskFragmentationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    return
            Holder.__name__ = "QueryVirtualDiskFragmentationRequestType_Holder"
            self.pyclass = Holder

    class DefragmentVirtualDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DefragmentVirtualDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DefragmentVirtualDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    return
            Holder.__name__ = "DefragmentVirtualDiskRequestType_Holder"
            self.pyclass = Holder

    class ShrinkVirtualDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ShrinkVirtualDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ShrinkVirtualDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"copy"), aname="_copy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    self._copy = None
                    return
            Holder.__name__ = "ShrinkVirtualDiskRequestType_Holder"
            self.pyclass = Holder

    class InflateVirtualDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "InflateVirtualDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.InflateVirtualDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    return
            Holder.__name__ = "InflateVirtualDiskRequestType_Holder"
            self.pyclass = Holder

    class EagerZeroVirtualDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EagerZeroVirtualDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EagerZeroVirtualDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    return
            Holder.__name__ = "EagerZeroVirtualDiskRequestType_Holder"
            self.pyclass = Holder

    class ZeroFillVirtualDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ZeroFillVirtualDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ZeroFillVirtualDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    return
            Holder.__name__ = "ZeroFillVirtualDiskRequestType_Holder"
            self.pyclass = Holder

    class SetVirtualDiskUuidRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetVirtualDiskUuidRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetVirtualDiskUuidRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    self._uuid = None
                    return
            Holder.__name__ = "SetVirtualDiskUuidRequestType_Holder"
            self.pyclass = Holder

    class QueryVirtualDiskUuidRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryVirtualDiskUuidRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryVirtualDiskUuidRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    return
            Holder.__name__ = "QueryVirtualDiskUuidRequestType_Holder"
            self.pyclass = Holder

    class QueryVirtualDiskGeometryRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryVirtualDiskGeometryRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryVirtualDiskGeometryRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._datacenter = None
                    return
            Holder.__name__ = "QueryVirtualDiskGeometryRequestType_Holder"
            self.pyclass = Holder

    class ImportUnmanagedSnapshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ImportUnmanagedSnapshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ImportUnmanagedSnapshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vdisk"), aname="_vdisk", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vvolId"), aname="_vvolId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vdisk = None
                    self._datacenter = None
                    self._vvolId = None
                    return
            Holder.__name__ = "ImportUnmanagedSnapshotRequestType_Holder"
            self.pyclass = Holder

    class ReleaseManagedSnapshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReleaseManagedSnapshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReleaseManagedSnapshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vdisk"), aname="_vdisk", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datacenter"), aname="_datacenter", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vdisk = None
                    self._datacenter = None
                    return
            Holder.__name__ = "ReleaseManagedSnapshotRequestType_Holder"
            self.pyclass = Holder

    class RefreshStorageInfoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshStorageInfoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshStorageInfoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RefreshStorageInfoRequestType_Holder"
            self.pyclass = Holder

    class CreateSnapshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateSnapshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateSnapshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"memory"), aname="_memory", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"quiesce"), aname="_quiesce", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._description = None
                    self._memory = None
                    self._quiesce = None
                    return
            Holder.__name__ = "CreateSnapshotRequestType_Holder"
            self.pyclass = Holder

    class CreateSnapshotExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateSnapshotExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateSnapshotExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"memory"), aname="_memory", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineGuestQuiesceSpec",lazy=True)(pname=(ns,"quiesceSpec"), aname="_quiesceSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._description = None
                    self._memory = None
                    self._quiesceSpec = None
                    return
            Holder.__name__ = "CreateSnapshotExRequestType_Holder"
            self.pyclass = Holder

    class RevertToCurrentSnapshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RevertToCurrentSnapshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RevertToCurrentSnapshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"suppressPowerOn"), aname="_suppressPowerOn", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._suppressPowerOn = None
                    return
            Holder.__name__ = "RevertToCurrentSnapshotRequestType_Holder"
            self.pyclass = Holder

    class RemoveAllSnapshotsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveAllSnapshotsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveAllSnapshotsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"consolidate"), aname="_consolidate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._consolidate = None
                    return
            Holder.__name__ = "RemoveAllSnapshotsRequestType_Holder"
            self.pyclass = Holder

    class ConsolidateVMDisksRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ConsolidateVMDisksRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ConsolidateVMDisksRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ConsolidateVMDisksRequestType_Holder"
            self.pyclass = Holder

    class EstimateStorageForConsolidateSnapshotsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EstimateStorageForConsolidateSnapshotsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EstimateStorageForConsolidateSnapshotsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "EstimateStorageForConsolidateSnapshotsRequestType_Holder"
            self.pyclass = Holder

    class ReconfigVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "ReconfigVMRequestType_Holder"
            self.pyclass = Holder

    class UpgradeVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpgradeVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpgradeVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"version"), aname="_version", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._version = None
                    return
            Holder.__name__ = "UpgradeVMRequestType_Holder"
            self.pyclass = Holder

    class ExtractOvfEnvironmentRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExtractOvfEnvironmentRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExtractOvfEnvironmentRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ExtractOvfEnvironmentRequestType_Holder"
            self.pyclass = Holder

    class PowerOnVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PowerOnVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PowerOnVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    return
            Holder.__name__ = "PowerOnVMRequestType_Holder"
            self.pyclass = Holder

    class PowerOffVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PowerOffVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PowerOffVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "PowerOffVMRequestType_Holder"
            self.pyclass = Holder

    class SuspendVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SuspendVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SuspendVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "SuspendVMRequestType_Holder"
            self.pyclass = Holder

    class ResetVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ResetVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ResetVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ResetVMRequestType_Holder"
            self.pyclass = Holder

    class ShutdownGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ShutdownGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ShutdownGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ShutdownGuestRequestType_Holder"
            self.pyclass = Holder

    class RebootGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RebootGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RebootGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RebootGuestRequestType_Holder"
            self.pyclass = Holder

    class StandbyGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StandbyGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.StandbyGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "StandbyGuestRequestType_Holder"
            self.pyclass = Holder

    class AnswerVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AnswerVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AnswerVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"questionId"), aname="_questionId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"answerChoice"), aname="_answerChoice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._questionId = None
                    self._answerChoice = None
                    return
            Holder.__name__ = "AnswerVMRequestType_Holder"
            self.pyclass = Holder

    class CustomizeVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CustomizeVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CustomizeVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "CustomizeVMRequestType_Holder"
            self.pyclass = Holder

    class CheckCustomizationSpecRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckCustomizationSpecRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckCustomizationSpecRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CustomizationSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "CheckCustomizationSpecRequestType_Holder"
            self.pyclass = Holder

    class MigrateVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MigrateVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MigrateVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pool"), aname="_pool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineMovePriority",lazy=True)(pname=(ns,"priority"), aname="_priority", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachinePowerState",lazy=True)(pname=(ns,"state"), aname="_state", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._pool = None
                    self._host = None
                    self._priority = None
                    self._state = None
                    return
            Holder.__name__ = "MigrateVMRequestType_Holder"
            self.pyclass = Holder

    class RelocateVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RelocateVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RelocateVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineRelocateSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineMovePriority",lazy=True)(pname=(ns,"priority"), aname="_priority", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    self._priority = None
                    return
            Holder.__name__ = "RelocateVMRequestType_Holder"
            self.pyclass = Holder

    class CloneVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CloneVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CloneVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"folder"), aname="_folder", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineCloneSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._folder = None
                    self._name = None
                    self._spec = None
                    return
            Holder.__name__ = "CloneVMRequestType_Holder"
            self.pyclass = Holder

    class InstantCloneRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "InstantCloneRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.InstantCloneRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineInstantCloneSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "InstantCloneRequestType_Holder"
            self.pyclass = Holder

    class ExportVmRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExportVmRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExportVmRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ExportVmRequestType_Holder"
            self.pyclass = Holder

    class MarkAsTemplateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MarkAsTemplateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MarkAsTemplateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "MarkAsTemplateRequestType_Holder"
            self.pyclass = Holder

    class MarkAsVirtualMachineRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MarkAsVirtualMachineRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MarkAsVirtualMachineRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pool"), aname="_pool", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._pool = None
                    self._host = None
                    return
            Holder.__name__ = "MarkAsVirtualMachineRequestType_Holder"
            self.pyclass = Holder

    class UnregisterVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UnregisterVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UnregisterVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "UnregisterVMRequestType_Holder"
            self.pyclass = Holder

    class ResetGuestInformationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ResetGuestInformationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ResetGuestInformationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ResetGuestInformationRequestType_Holder"
            self.pyclass = Holder

    class MountToolsInstallerRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MountToolsInstallerRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MountToolsInstallerRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "MountToolsInstallerRequestType_Holder"
            self.pyclass = Holder

    class UnmountToolsInstallerRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UnmountToolsInstallerRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UnmountToolsInstallerRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "UnmountToolsInstallerRequestType_Holder"
            self.pyclass = Holder

    class UpgradeToolsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpgradeToolsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpgradeToolsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"installerOptions"), aname="_installerOptions", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._installerOptions = None
                    return
            Holder.__name__ = "UpgradeToolsRequestType_Holder"
            self.pyclass = Holder

    class AcquireMksTicketRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AcquireMksTicketRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AcquireMksTicketRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "AcquireMksTicketRequestType_Holder"
            self.pyclass = Holder

    class AcquireTicketRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AcquireTicketRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AcquireTicketRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"ticketType"), aname="_ticketType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._ticketType = None
                    return
            Holder.__name__ = "AcquireTicketRequestType_Holder"
            self.pyclass = Holder

    class SetScreenResolutionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetScreenResolutionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetScreenResolutionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"width"), aname="_width", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"height"), aname="_height", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._width = None
                    self._height = None
                    return
            Holder.__name__ = "SetScreenResolutionRequestType_Holder"
            self.pyclass = Holder

    class DefragmentAllDisksRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DefragmentAllDisksRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DefragmentAllDisksRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DefragmentAllDisksRequestType_Holder"
            self.pyclass = Holder

    class CreateSecondaryVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateSecondaryVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateSecondaryVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    return
            Holder.__name__ = "CreateSecondaryVMRequestType_Holder"
            self.pyclass = Holder

    class CreateSecondaryVMExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateSecondaryVMExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateSecondaryVMExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FaultToleranceConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateSecondaryVMExRequestType_Holder"
            self.pyclass = Holder

    class TurnOffFaultToleranceForVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "TurnOffFaultToleranceForVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.TurnOffFaultToleranceForVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "TurnOffFaultToleranceForVMRequestType_Holder"
            self.pyclass = Holder

    class MakePrimaryVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MakePrimaryVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MakePrimaryVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    return
            Holder.__name__ = "MakePrimaryVMRequestType_Holder"
            self.pyclass = Holder

    class TerminateFaultTolerantVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "TerminateFaultTolerantVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.TerminateFaultTolerantVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    return
            Holder.__name__ = "TerminateFaultTolerantVMRequestType_Holder"
            self.pyclass = Holder

    class DisableSecondaryVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DisableSecondaryVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DisableSecondaryVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    return
            Holder.__name__ = "DisableSecondaryVMRequestType_Holder"
            self.pyclass = Holder

    class EnableSecondaryVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EnableSecondaryVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EnableSecondaryVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._host = None
                    return
            Holder.__name__ = "EnableSecondaryVMRequestType_Holder"
            self.pyclass = Holder

    class SetDisplayTopologyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetDisplayTopologyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetDisplayTopologyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineDisplayTopology",lazy=True)(pname=(ns,"displays"), aname="_displays", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._displays = []
                    return
            Holder.__name__ = "SetDisplayTopologyRequestType_Holder"
            self.pyclass = Holder

    class StartRecordingRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StartRecordingRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.StartRecordingRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._description = None
                    return
            Holder.__name__ = "StartRecordingRequestType_Holder"
            self.pyclass = Holder

    class StopRecordingRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StopRecordingRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.StopRecordingRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "StopRecordingRequestType_Holder"
            self.pyclass = Holder

    class StartReplayingRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StartReplayingRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.StartReplayingRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"replaySnapshot"), aname="_replaySnapshot", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._replaySnapshot = None
                    return
            Holder.__name__ = "StartReplayingRequestType_Holder"
            self.pyclass = Holder

    class StopReplayingRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StopReplayingRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.StopReplayingRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "StopReplayingRequestType_Holder"
            self.pyclass = Holder

    class PromoteDisksRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PromoteDisksRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PromoteDisksRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"unlink"), aname="_unlink", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualDisk",lazy=True)(pname=(ns,"disks"), aname="_disks", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._unlink = None
                    self._disks = []
                    return
            Holder.__name__ = "PromoteDisksRequestType_Holder"
            self.pyclass = Holder

    class CreateScreenshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateScreenshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateScreenshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "CreateScreenshotRequestType_Holder"
            self.pyclass = Holder

    class PutUsbScanCodesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PutUsbScanCodesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PutUsbScanCodesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","UsbScanCodeSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "PutUsbScanCodesRequestType_Holder"
            self.pyclass = Holder

    class QueryChangedDiskAreasRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryChangedDiskAreasRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryChangedDiskAreasRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"snapshot"), aname="_snapshot", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"deviceKey"), aname="_deviceKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"startOffset"), aname="_startOffset", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"changeId"), aname="_changeId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._snapshot = None
                    self._deviceKey = None
                    self._startOffset = None
                    self._changeId = None
                    return
            Holder.__name__ = "QueryChangedDiskAreasRequestType_Holder"
            self.pyclass = Holder

    class QueryUnownedFilesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryUnownedFilesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryUnownedFilesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryUnownedFilesRequestType_Holder"
            self.pyclass = Holder

    class reloadVirtualMachineFromPathRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "reloadVirtualMachineFromPathRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.reloadVirtualMachineFromPathRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"configurationPath"), aname="_configurationPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._configurationPath = None
                    return
            Holder.__name__ = "reloadVirtualMachineFromPathRequestType_Holder"
            self.pyclass = Holder

    class QueryFaultToleranceCompatibilityRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryFaultToleranceCompatibilityRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryFaultToleranceCompatibilityRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryFaultToleranceCompatibilityRequestType_Holder"
            self.pyclass = Holder

    class QueryFaultToleranceCompatibilityExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryFaultToleranceCompatibilityExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryFaultToleranceCompatibilityExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"forLegacyFt"), aname="_forLegacyFt", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._forLegacyFt = None
                    return
            Holder.__name__ = "QueryFaultToleranceCompatibilityExRequestType_Holder"
            self.pyclass = Holder

    class TerminateVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "TerminateVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.TerminateVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "TerminateVMRequestType_Holder"
            self.pyclass = Holder

    class SendNMIRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SendNMIRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SendNMIRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "SendNMIRequestType_Holder"
            self.pyclass = Holder

    class AttachDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AttachDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AttachDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"diskId"), aname="_diskId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"controllerKey"), aname="_controllerKey", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"unitNumber"), aname="_unitNumber", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._diskId = None
                    self._datastore = None
                    self._controllerKey = None
                    self._unitNumber = None
                    return
            Holder.__name__ = "AttachDiskRequestType_Holder"
            self.pyclass = Holder

    class DetachDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DetachDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DetachDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"diskId"), aname="_diskId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._diskId = None
                    return
            Holder.__name__ = "DetachDiskRequestType_Holder"
            self.pyclass = Holder

    class ApplyEvcModeVMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ApplyEvcModeVMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ApplyEvcModeVMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFeatureMask",lazy=True)(pname=(ns,"mask"), aname="_mask", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"completeMasks"), aname="_completeMasks", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._mask = []
                    self._completeMasks = None
                    return
            Holder.__name__ = "ApplyEvcModeVMRequestType_Holder"
            self.pyclass = Holder

    class CryptoUnlockRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CryptoUnlockRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CryptoUnlockRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "CryptoUnlockRequestType_Holder"
            self.pyclass = Holder

    class PerformVsanUpgradePreflightCheckRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PerformVsanUpgradePreflightCheckRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PerformVsanUpgradePreflightCheckRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"cluster"), aname="_cluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"downgradeFormat"), aname="_downgradeFormat", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cluster = None
                    self._downgradeFormat = None
                    return
            Holder.__name__ = "PerformVsanUpgradePreflightCheckRequestType_Holder"
            self.pyclass = Holder

    class QueryVsanUpgradeStatusRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryVsanUpgradeStatusRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryVsanUpgradeStatusRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"cluster"), aname="_cluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cluster = None
                    return
            Holder.__name__ = "QueryVsanUpgradeStatusRequestType_Holder"
            self.pyclass = Holder

    class PerformVsanUpgradeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PerformVsanUpgradeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PerformVsanUpgradeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"cluster"), aname="_cluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"performObjectUpgrade"), aname="_performObjectUpgrade", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"downgradeFormat"), aname="_downgradeFormat", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"allowReducedRedundancy"), aname="_allowReducedRedundancy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"excludeHosts"), aname="_excludeHosts", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cluster = None
                    self._performObjectUpgrade = None
                    self._downgradeFormat = None
                    self._allowReducedRedundancy = None
                    self._excludeHosts = []
                    return
            Holder.__name__ = "PerformVsanUpgradeRequestType_Holder"
            self.pyclass = Holder

    class RemoveAlarmRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveAlarmRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveAlarmRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RemoveAlarmRequestType_Holder"
            self.pyclass = Holder

    class ReconfigureAlarmRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigureAlarmRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigureAlarmRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AlarmSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "ReconfigureAlarmRequestType_Holder"
            self.pyclass = Holder

    class CreateAlarmRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateAlarmRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateAlarmRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AlarmSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateAlarmRequestType_Holder"
            self.pyclass = Holder

    class GetAlarmRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GetAlarmRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GetAlarmRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    return
            Holder.__name__ = "GetAlarmRequestType_Holder"
            self.pyclass = Holder

    class AreAlarmActionsEnabledRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AreAlarmActionsEnabledRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AreAlarmActionsEnabledRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    return
            Holder.__name__ = "AreAlarmActionsEnabledRequestType_Holder"
            self.pyclass = Holder

    class EnableAlarmActionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EnableAlarmActionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EnableAlarmActionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    self._enabled = None
                    return
            Holder.__name__ = "EnableAlarmActionsRequestType_Holder"
            self.pyclass = Holder

    class GetAlarmStateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GetAlarmStateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GetAlarmStateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    return
            Holder.__name__ = "GetAlarmStateRequestType_Holder"
            self.pyclass = Holder

    class AcknowledgeAlarmRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AcknowledgeAlarmRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AcknowledgeAlarmRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"alarm"), aname="_alarm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._alarm = None
                    self._entity = None
                    return
            Holder.__name__ = "AcknowledgeAlarmRequestType_Holder"
            self.pyclass = Holder

    class ClearTriggeredAlarmsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClearTriggeredAlarmsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ClearTriggeredAlarmsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AlarmFilterSpec",lazy=True)(pname=(ns,"filter"), aname="_filter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filter = None
                    return
            Holder.__name__ = "ClearTriggeredAlarmsRequestType_Holder"
            self.pyclass = Holder

    class ConfigureEvcModeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ConfigureEvcModeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ConfigureEvcModeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"evcModeKey"), aname="_evcModeKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._evcModeKey = None
                    return
            Holder.__name__ = "ConfigureEvcModeRequestType_Holder"
            self.pyclass = Holder

    class DisableEvcModeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DisableEvcModeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DisableEvcModeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DisableEvcModeRequestType_Holder"
            self.pyclass = Holder

    class CheckConfigureEvcModeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckConfigureEvcModeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckConfigureEvcModeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"evcModeKey"), aname="_evcModeKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._evcModeKey = None
                    return
            Holder.__name__ = "CheckConfigureEvcModeRequestType_Holder"
            self.pyclass = Holder

    class CheckAddHostEvcRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckAddHostEvcRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckAddHostEvcRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostConnectSpec",lazy=True)(pname=(ns,"cnxSpec"), aname="_cnxSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cnxSpec = None
                    return
            Holder.__name__ = "CheckAddHostEvcRequestType_Holder"
            self.pyclass = Holder

    class ReconfigureDVPortgroupRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigureDVPortgroupRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigureDVPortgroupRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DVPortgroupConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "ReconfigureDVPortgroupRequestType_Holder"
            self.pyclass = Holder

    class DVPortgroupRollbackRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DVPortgroupRollbackRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DVPortgroupRollbackRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","EntityBackupConfig",lazy=True)(pname=(ns,"entityBackup"), aname="_entityBackup", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entityBackup = None
                    return
            Holder.__name__ = "DVPortgroupRollbackRequestType_Holder"
            self.pyclass = Holder

    class QueryAvailableDvsSpecRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryAvailableDvsSpecRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryAvailableDvsSpecRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"recommended"), aname="_recommended", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._recommended = None
                    return
            Holder.__name__ = "QueryAvailableDvsSpecRequestType_Holder"
            self.pyclass = Holder

    class QueryCompatibleHostForNewDvsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryCompatibleHostForNewDvsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryCompatibleHostForNewDvsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"container"), aname="_container", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"recursive"), aname="_recursive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"switchProductSpec"), aname="_switchProductSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._container = None
                    self._recursive = None
                    self._switchProductSpec = None
                    return
            Holder.__name__ = "QueryCompatibleHostForNewDvsRequestType_Holder"
            self.pyclass = Holder

    class QueryCompatibleHostForExistingDvsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryCompatibleHostForExistingDvsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryCompatibleHostForExistingDvsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"container"), aname="_container", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"recursive"), aname="_recursive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"dvs"), aname="_dvs", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._container = None
                    self._recursive = None
                    self._dvs = None
                    return
            Holder.__name__ = "QueryCompatibleHostForExistingDvsRequestType_Holder"
            self.pyclass = Holder

    class QueryDvsCompatibleHostSpecRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryDvsCompatibleHostSpecRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryDvsCompatibleHostSpecRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"switchProductSpec"), aname="_switchProductSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._switchProductSpec = None
                    return
            Holder.__name__ = "QueryDvsCompatibleHostSpecRequestType_Holder"
            self.pyclass = Holder

    class QueryDvsFeatureCapabilityRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryDvsFeatureCapabilityRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryDvsFeatureCapabilityRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"switchProductSpec"), aname="_switchProductSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._switchProductSpec = None
                    return
            Holder.__name__ = "QueryDvsFeatureCapabilityRequestType_Holder"
            self.pyclass = Holder

    class QueryDvsByUuidRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryDvsByUuidRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryDvsByUuidRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._uuid = None
                    return
            Holder.__name__ = "QueryDvsByUuidRequestType_Holder"
            self.pyclass = Holder

    class QueryDvsConfigTargetRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryDvsConfigTargetRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryDvsConfigTargetRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"dvs"), aname="_dvs", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._dvs = None
                    return
            Holder.__name__ = "QueryDvsConfigTargetRequestType_Holder"
            self.pyclass = Holder

    class QueryDvsCheckCompatibilityRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryDvsCheckCompatibilityRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryDvsCheckCompatibilityRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchManagerHostContainer",lazy=True)(pname=(ns,"hostContainer"), aname="_hostContainer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchManagerDvsProductSpec",lazy=True)(pname=(ns,"dvsProductSpec"), aname="_dvsProductSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","DistributedVirtualSwitchManagerHostDvsFilterSpec",lazy=True)(pname=(ns,"hostFilterSpec"), aname="_hostFilterSpec", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._hostContainer = None
                    self._dvsProductSpec = None
                    self._hostFilterSpec = []
                    return
            Holder.__name__ = "QueryDvsCheckCompatibilityRequestType_Holder"
            self.pyclass = Holder

    class RectifyDvsOnHostRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RectifyDvsOnHostRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RectifyDvsOnHostRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hosts"), aname="_hosts", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._hosts = []
                    return
            Holder.__name__ = "RectifyDvsOnHostRequestType_Holder"
            self.pyclass = Holder

    class DVSManagerExportEntityRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DVSManagerExportEntityRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DVSManagerExportEntityRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SelectionSet",lazy=True)(pname=(ns,"selectionSet"), aname="_selectionSet", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._selectionSet = []
                    return
            Holder.__name__ = "DVSManagerExportEntityRequestType_Holder"
            self.pyclass = Holder

    class DVSManagerImportEntityRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DVSManagerImportEntityRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DVSManagerImportEntityRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","EntityBackupConfig",lazy=True)(pname=(ns,"entityBackup"), aname="_entityBackup", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"importType"), aname="_importType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entityBackup = []
                    self._importType = None
                    return
            Holder.__name__ = "DVSManagerImportEntityRequestType_Holder"
            self.pyclass = Holder

    class DVSManagerLookupDvPortGroupRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DVSManagerLookupDvPortGroupRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DVSManagerLookupDvPortGroupRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"switchUuid"), aname="_switchUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroupKey"), aname="_portgroupKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._switchUuid = None
                    self._portgroupKey = None
                    return
            Holder.__name__ = "DVSManagerLookupDvPortGroupRequestType_Holder"
            self.pyclass = Holder

    class UpdateDVSLacpGroupConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateDVSLacpGroupConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateDVSLacpGroupConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VMwareDvsLacpGroupSpec",lazy=True)(pname=(ns,"lacpGroupSpec"), aname="_lacpGroupSpec", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._lacpGroupSpec = []
                    return
            Holder.__name__ = "UpdateDVSLacpGroupConfigRequestType_Holder"
            self.pyclass = Holder

    class AddKeyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddKeyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddKeyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoKeyPlain",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._key = None
                    return
            Holder.__name__ = "AddKeyRequestType_Holder"
            self.pyclass = Holder

    class AddKeysRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddKeysRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddKeysRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoKeyPlain",lazy=True)(pname=(ns,"keys"), aname="_keys", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._keys = []
                    return
            Holder.__name__ = "AddKeysRequestType_Holder"
            self.pyclass = Holder

    class RemoveKeyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveKeyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveKeyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._key = None
                    self._force = None
                    return
            Holder.__name__ = "RemoveKeyRequestType_Holder"
            self.pyclass = Holder

    class RemoveKeysRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveKeysRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveKeysRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"keys"), aname="_keys", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._keys = []
                    self._force = None
                    return
            Holder.__name__ = "RemoveKeysRequestType_Holder"
            self.pyclass = Holder

    class ListKeysRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ListKeysRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ListKeysRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"limit"), aname="_limit", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._limit = None
                    return
            Holder.__name__ = "ListKeysRequestType_Holder"
            self.pyclass = Holder

    class CryptoManagerHostPrepareRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CryptoManagerHostPrepareRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CryptoManagerHostPrepareRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "CryptoManagerHostPrepareRequestType_Holder"
            self.pyclass = Holder

    class CryptoManagerHostEnableRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CryptoManagerHostEnableRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CryptoManagerHostEnableRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoKeyPlain",lazy=True)(pname=(ns,"initialKey"), aname="_initialKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._initialKey = None
                    return
            Holder.__name__ = "CryptoManagerHostEnableRequestType_Holder"
            self.pyclass = Holder

    class ChangeKeyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ChangeKeyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ChangeKeyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoKeyPlain",lazy=True)(pname=(ns,"newKey"), aname="_newKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._newKey = None
                    return
            Holder.__name__ = "ChangeKeyRequestType_Holder"
            self.pyclass = Holder

    class RegisterKmipServerRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RegisterKmipServerRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RegisterKmipServerRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KmipServerSpec",lazy=True)(pname=(ns,"server"), aname="_server", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._server = None
                    return
            Holder.__name__ = "RegisterKmipServerRequestType_Holder"
            self.pyclass = Holder

    class MarkDefaultRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MarkDefaultRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MarkDefaultRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"clusterId"), aname="_clusterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._clusterId = None
                    return
            Holder.__name__ = "MarkDefaultRequestType_Holder"
            self.pyclass = Holder

    class UpdateKmipServerRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateKmipServerRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateKmipServerRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KmipServerSpec",lazy=True)(pname=(ns,"server"), aname="_server", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._server = None
                    return
            Holder.__name__ = "UpdateKmipServerRequestType_Holder"
            self.pyclass = Holder

    class RemoveKmipServerRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveKmipServerRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveKmipServerRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"clusterId"), aname="_clusterId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"serverName"), aname="_serverName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._clusterId = None
                    self._serverName = None
                    return
            Holder.__name__ = "RemoveKmipServerRequestType_Holder"
            self.pyclass = Holder

    class ListKmipServersRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ListKmipServersRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ListKmipServersRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"limit"), aname="_limit", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._limit = None
                    return
            Holder.__name__ = "ListKmipServersRequestType_Holder"
            self.pyclass = Holder

    class RetrieveKmipServersStatusRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveKmipServersStatusRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveKmipServersStatusRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KmipClusterInfo",lazy=True)(pname=(ns,"clusters"), aname="_clusters", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._clusters = []
                    return
            Holder.__name__ = "RetrieveKmipServersStatusRequestType_Holder"
            self.pyclass = Holder

    class GenerateKeyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GenerateKeyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GenerateKeyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"keyProvider"), aname="_keyProvider", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._keyProvider = None
                    return
            Holder.__name__ = "GenerateKeyRequestType_Holder"
            self.pyclass = Holder

    class RetrieveKmipServerCertRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveKmipServerCertRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveKmipServerCertRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"keyProvider"), aname="_keyProvider", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KmipServerInfo",lazy=True)(pname=(ns,"server"), aname="_server", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._keyProvider = None
                    self._server = None
                    return
            Holder.__name__ = "RetrieveKmipServerCertRequestType_Holder"
            self.pyclass = Holder

    class UploadKmipServerCertRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UploadKmipServerCertRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UploadKmipServerCertRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"cluster"), aname="_cluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"certificate"), aname="_certificate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cluster = None
                    self._certificate = None
                    return
            Holder.__name__ = "UploadKmipServerCertRequestType_Holder"
            self.pyclass = Holder

    class GenerateSelfSignedClientCertRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GenerateSelfSignedClientCertRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GenerateSelfSignedClientCertRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"cluster"), aname="_cluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cluster = None
                    return
            Holder.__name__ = "GenerateSelfSignedClientCertRequestType_Holder"
            self.pyclass = Holder

    class GenerateClientCsrRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GenerateClientCsrRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GenerateClientCsrRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"cluster"), aname="_cluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cluster = None
                    return
            Holder.__name__ = "GenerateClientCsrRequestType_Holder"
            self.pyclass = Holder

    class RetrieveSelfSignedClientCertRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveSelfSignedClientCertRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveSelfSignedClientCertRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"cluster"), aname="_cluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cluster = None
                    return
            Holder.__name__ = "RetrieveSelfSignedClientCertRequestType_Holder"
            self.pyclass = Holder

    class RetrieveClientCsrRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveClientCsrRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveClientCsrRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"cluster"), aname="_cluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cluster = None
                    return
            Holder.__name__ = "RetrieveClientCsrRequestType_Holder"
            self.pyclass = Holder

    class RetrieveClientCertRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveClientCertRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveClientCertRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"cluster"), aname="_cluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cluster = None
                    return
            Holder.__name__ = "RetrieveClientCertRequestType_Holder"
            self.pyclass = Holder

    class UpdateSelfSignedClientCertRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateSelfSignedClientCertRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateSelfSignedClientCertRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"cluster"), aname="_cluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"certificate"), aname="_certificate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cluster = None
                    self._certificate = None
                    return
            Holder.__name__ = "UpdateSelfSignedClientCertRequestType_Holder"
            self.pyclass = Holder

    class UpdateKmsSignedCsrClientCertRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateKmsSignedCsrClientCertRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateKmsSignedCsrClientCertRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"cluster"), aname="_cluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"certificate"), aname="_certificate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cluster = None
                    self._certificate = None
                    return
            Holder.__name__ = "UpdateKmsSignedCsrClientCertRequestType_Holder"
            self.pyclass = Holder

    class UploadClientCertRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UploadClientCertRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UploadClientCertRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","KeyProviderId",lazy=True)(pname=(ns,"cluster"), aname="_cluster", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"certificate"), aname="_certificate", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"privateKey"), aname="_privateKey", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cluster = None
                    self._certificate = None
                    self._privateKey = None
                    return
            Holder.__name__ = "UploadClientCertRequestType_Holder"
            self.pyclass = Holder

    class ReadNextEventsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReadNextEventsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReadNextEventsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxCount"), aname="_maxCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._maxCount = None
                    return
            Holder.__name__ = "ReadNextEventsRequestType_Holder"
            self.pyclass = Holder

    class ReadPreviousEventsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReadPreviousEventsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReadPreviousEventsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxCount"), aname="_maxCount", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._maxCount = None
                    return
            Holder.__name__ = "ReadPreviousEventsRequestType_Holder"
            self.pyclass = Holder

    class RetrieveArgumentDescriptionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveArgumentDescriptionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveArgumentDescriptionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"eventTypeId"), aname="_eventTypeId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._eventTypeId = None
                    return
            Holder.__name__ = "RetrieveArgumentDescriptionRequestType_Holder"
            self.pyclass = Holder

    class CreateCollectorForEventsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateCollectorForEventsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateCollectorForEventsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","EventFilterSpec",lazy=True)(pname=(ns,"filter"), aname="_filter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filter = None
                    return
            Holder.__name__ = "CreateCollectorForEventsRequestType_Holder"
            self.pyclass = Holder

    class LogUserEventRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LogUserEventRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.LogUserEventRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"msg"), aname="_msg", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    self._msg = None
                    return
            Holder.__name__ = "LogUserEventRequestType_Holder"
            self.pyclass = Holder

    class QueryEventsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryEventsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryEventsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","EventFilterSpec",lazy=True)(pname=(ns,"filter"), aname="_filter", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._filter = None
                    return
            Holder.__name__ = "QueryEventsRequestType_Holder"
            self.pyclass = Holder

    class PostEventRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "PostEventRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.PostEventRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","Event",lazy=True)(pname=(ns,"eventToPost"), aname="_eventToPost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","TaskInfo",lazy=True)(pname=(ns,"taskInfo"), aname="_taskInfo", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._eventToPost = None
                    self._taskInfo = None
                    return
            Holder.__name__ = "PostEventRequestType_Holder"
            self.pyclass = Holder

    class JoinDomainRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "JoinDomainRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.JoinDomainRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"domainName"), aname="_domainName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._domainName = None
                    self._userName = None
                    self._password = None
                    return
            Holder.__name__ = "JoinDomainRequestType_Holder"
            self.pyclass = Holder

    class JoinDomainWithCAMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "JoinDomainWithCAMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.JoinDomainWithCAMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"domainName"), aname="_domainName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"camServer"), aname="_camServer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._domainName = None
                    self._camServer = None
                    return
            Holder.__name__ = "JoinDomainWithCAMRequestType_Holder"
            self.pyclass = Holder

    class ImportCertificateForCAMRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ImportCertificateForCAMRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ImportCertificateForCAMRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"certPath"), aname="_certPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"camServer"), aname="_camServer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._certPath = None
                    self._camServer = None
                    return
            Holder.__name__ = "ImportCertificateForCAMRequestType_Holder"
            self.pyclass = Holder

    class LeaveCurrentDomainRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "LeaveCurrentDomainRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.LeaveCurrentDomainRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._force = None
                    return
            Holder.__name__ = "LeaveCurrentDomainRequestType_Holder"
            self.pyclass = Holder

    class EnableSmartCardAuthenticationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EnableSmartCardAuthenticationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EnableSmartCardAuthenticationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "EnableSmartCardAuthenticationRequestType_Holder"
            self.pyclass = Holder

    class InstallSmartCardTrustAnchorRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "InstallSmartCardTrustAnchorRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.InstallSmartCardTrustAnchorRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"cert"), aname="_cert", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cert = None
                    return
            Holder.__name__ = "InstallSmartCardTrustAnchorRequestType_Holder"
            self.pyclass = Holder

    class ReplaceSmartCardTrustAnchorsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReplaceSmartCardTrustAnchorsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReplaceSmartCardTrustAnchorsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"certs"), aname="_certs", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._certs = []
                    return
            Holder.__name__ = "ReplaceSmartCardTrustAnchorsRequestType_Holder"
            self.pyclass = Holder

    class RemoveSmartCardTrustAnchorRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveSmartCardTrustAnchorRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveSmartCardTrustAnchorRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"issuer"), aname="_issuer", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"serial"), aname="_serial", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._issuer = None
                    self._serial = None
                    return
            Holder.__name__ = "RemoveSmartCardTrustAnchorRequestType_Holder"
            self.pyclass = Holder

    class RemoveSmartCardTrustAnchorByFingerprintRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveSmartCardTrustAnchorByFingerprintRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveSmartCardTrustAnchorByFingerprintRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"fingerprint"), aname="_fingerprint", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"digest"), aname="_digest", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._fingerprint = None
                    self._digest = None
                    return
            Holder.__name__ = "RemoveSmartCardTrustAnchorByFingerprintRequestType_Holder"
            self.pyclass = Holder

    class ListSmartCardTrustAnchorsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ListSmartCardTrustAnchorsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ListSmartCardTrustAnchorsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ListSmartCardTrustAnchorsRequestType_Holder"
            self.pyclass = Holder

    class DisableSmartCardAuthenticationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DisableSmartCardAuthenticationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DisableSmartCardAuthenticationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DisableSmartCardAuthenticationRequestType_Holder"
            self.pyclass = Holder

    class ReconfigureAutostartRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigureAutostartRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigureAutostartRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostAutoStartManagerConfig",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "ReconfigureAutostartRequestType_Holder"
            self.pyclass = Holder

    class AutoStartPowerOnRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AutoStartPowerOnRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AutoStartPowerOnRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "AutoStartPowerOnRequestType_Holder"
            self.pyclass = Holder

    class AutoStartPowerOffRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AutoStartPowerOffRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AutoStartPowerOffRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "AutoStartPowerOffRequestType_Holder"
            self.pyclass = Holder

    class QueryBootDevicesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryBootDevicesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryBootDevicesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryBootDevicesRequestType_Holder"
            self.pyclass = Holder

    class UpdateBootDeviceRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateBootDeviceRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateBootDeviceRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._key = None
                    return
            Holder.__name__ = "UpdateBootDeviceRequestType_Holder"
            self.pyclass = Holder

    class ConfigureHostCacheRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ConfigureHostCacheRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ConfigureHostCacheRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostCacheConfigurationSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "ConfigureHostCacheRequestType_Holder"
            self.pyclass = Holder

    class GenerateCertificateSigningRequestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GenerateCertificateSigningRequestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GenerateCertificateSigningRequestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"useIpAddressAsCommonName"), aname="_useIpAddressAsCommonName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._useIpAddressAsCommonName = None
                    return
            Holder.__name__ = "GenerateCertificateSigningRequestRequestType_Holder"
            self.pyclass = Holder

    class GenerateCertificateSigningRequestByDnRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GenerateCertificateSigningRequestByDnRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GenerateCertificateSigningRequestByDnRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"distinguishedName"), aname="_distinguishedName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._distinguishedName = None
                    return
            Holder.__name__ = "GenerateCertificateSigningRequestByDnRequestType_Holder"
            self.pyclass = Holder

    class InstallServerCertificateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "InstallServerCertificateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.InstallServerCertificateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"cert"), aname="_cert", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cert = None
                    return
            Holder.__name__ = "InstallServerCertificateRequestType_Holder"
            self.pyclass = Holder

    class ReplaceCACertificatesAndCRLsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReplaceCACertificatesAndCRLsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReplaceCACertificatesAndCRLsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"caCert"), aname="_caCert", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"caCrl"), aname="_caCrl", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._caCert = []
                    self._caCrl = []
                    return
            Holder.__name__ = "ReplaceCACertificatesAndCRLsRequestType_Holder"
            self.pyclass = Holder

    class ListCACertificatesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ListCACertificatesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ListCACertificatesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ListCACertificatesRequestType_Holder"
            self.pyclass = Holder

    class ListCACertificateRevocationListsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ListCACertificateRevocationListsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ListCACertificateRevocationListsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ListCACertificateRevocationListsRequestType_Holder"
            self.pyclass = Holder

    class EnableHyperThreadingRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EnableHyperThreadingRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EnableHyperThreadingRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "EnableHyperThreadingRequestType_Holder"
            self.pyclass = Holder

    class DisableHyperThreadingRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DisableHyperThreadingRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DisableHyperThreadingRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DisableHyperThreadingRequestType_Holder"
            self.pyclass = Holder

    class SearchDatastoreRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SearchDatastoreRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SearchDatastoreRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastorePath"), aname="_datastorePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDatastoreBrowserSearchSpec",lazy=True)(pname=(ns,"searchSpec"), aname="_searchSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastorePath = None
                    self._searchSpec = None
                    return
            Holder.__name__ = "SearchDatastoreRequestType_Holder"
            self.pyclass = Holder

    class SearchDatastoreSubFoldersRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SearchDatastoreSubFoldersRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SearchDatastoreSubFoldersRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastorePath"), aname="_datastorePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDatastoreBrowserSearchSpec",lazy=True)(pname=(ns,"searchSpec"), aname="_searchSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastorePath = None
                    self._searchSpec = None
                    return
            Holder.__name__ = "SearchDatastoreSubFoldersRequestType_Holder"
            self.pyclass = Holder

    class DeleteFileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteFileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteFileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"datastorePath"), aname="_datastorePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastorePath = None
                    return
            Holder.__name__ = "DeleteFileRequestType_Holder"
            self.pyclass = Holder

    class UpdateLocalSwapDatastoreRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateLocalSwapDatastoreRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateLocalSwapDatastoreRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    return
            Holder.__name__ = "UpdateLocalSwapDatastoreRequestType_Holder"
            self.pyclass = Holder

    class QueryAvailableDisksForVmfsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryAvailableDisksForVmfsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryAvailableDisksForVmfsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    return
            Holder.__name__ = "QueryAvailableDisksForVmfsRequestType_Holder"
            self.pyclass = Holder

    class QueryVmfsDatastoreCreateOptionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryVmfsDatastoreCreateOptionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryVmfsDatastoreCreateOptionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"devicePath"), aname="_devicePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"vmfsMajorVersion"), aname="_vmfsMajorVersion", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._devicePath = None
                    self._vmfsMajorVersion = None
                    return
            Holder.__name__ = "QueryVmfsDatastoreCreateOptionsRequestType_Holder"
            self.pyclass = Holder

    class CreateVmfsDatastoreRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateVmfsDatastoreRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateVmfsDatastoreRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmfsDatastoreCreateSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateVmfsDatastoreRequestType_Holder"
            self.pyclass = Holder

    class QueryVmfsDatastoreExtendOptionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryVmfsDatastoreExtendOptionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryVmfsDatastoreExtendOptionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"devicePath"), aname="_devicePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"suppressExpandCandidates"), aname="_suppressExpandCandidates", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    self._devicePath = None
                    self._suppressExpandCandidates = None
                    return
            Holder.__name__ = "QueryVmfsDatastoreExtendOptionsRequestType_Holder"
            self.pyclass = Holder

    class QueryVmfsDatastoreExpandOptionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryVmfsDatastoreExpandOptionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryVmfsDatastoreExpandOptionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    return
            Holder.__name__ = "QueryVmfsDatastoreExpandOptionsRequestType_Holder"
            self.pyclass = Holder

    class ExtendVmfsDatastoreRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExtendVmfsDatastoreRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExtendVmfsDatastoreRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmfsDatastoreExtendSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    self._spec = None
                    return
            Holder.__name__ = "ExtendVmfsDatastoreRequestType_Holder"
            self.pyclass = Holder

    class ExpandVmfsDatastoreRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExpandVmfsDatastoreRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExpandVmfsDatastoreRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmfsDatastoreExpandSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    self._spec = None
                    return
            Holder.__name__ = "ExpandVmfsDatastoreRequestType_Holder"
            self.pyclass = Holder

    class CreateNasDatastoreRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateNasDatastoreRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateNasDatastoreRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNasVolumeSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateNasDatastoreRequestType_Holder"
            self.pyclass = Holder

    class CreateLocalDatastoreRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateLocalDatastoreRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateLocalDatastoreRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._path = None
                    return
            Holder.__name__ = "CreateLocalDatastoreRequestType_Holder"
            self.pyclass = Holder

    class CreateVvolDatastoreRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateVvolDatastoreRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateVvolDatastoreRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDatastoreSystemVvolDatastoreSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateVvolDatastoreRequestType_Holder"
            self.pyclass = Holder

    class RemoveDatastoreRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveDatastoreRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveDatastoreRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    return
            Holder.__name__ = "RemoveDatastoreRequestType_Holder"
            self.pyclass = Holder

    class RemoveDatastoreExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveDatastoreExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveDatastoreExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = []
                    return
            Holder.__name__ = "RemoveDatastoreExRequestType_Holder"
            self.pyclass = Holder

    class ConfigureDatastorePrincipalRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ConfigureDatastorePrincipalRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ConfigureDatastorePrincipalRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._userName = None
                    self._password = None
                    return
            Holder.__name__ = "ConfigureDatastorePrincipalRequestType_Holder"
            self.pyclass = Holder

    class QueryUnresolvedVmfsVolumesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryUnresolvedVmfsVolumesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryUnresolvedVmfsVolumesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryUnresolvedVmfsVolumesRequestType_Holder"
            self.pyclass = Holder

    class ResignatureUnresolvedVmfsVolumeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ResignatureUnresolvedVmfsVolumeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ResignatureUnresolvedVmfsVolumeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostUnresolvedVmfsResignatureSpec",lazy=True)(pname=(ns,"resolutionSpec"), aname="_resolutionSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._resolutionSpec = None
                    return
            Holder.__name__ = "ResignatureUnresolvedVmfsVolumeRequestType_Holder"
            self.pyclass = Holder

    class UpdateDateTimeConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateDateTimeConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateDateTimeConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDateTimeConfig",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._config = None
                    return
            Holder.__name__ = "UpdateDateTimeConfigRequestType_Holder"
            self.pyclass = Holder

    class QueryAvailableTimeZonesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryAvailableTimeZonesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryAvailableTimeZonesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryAvailableTimeZonesRequestType_Holder"
            self.pyclass = Holder

    class QueryDateTimeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryDateTimeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryDateTimeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryDateTimeRequestType_Holder"
            self.pyclass = Holder

    class UpdateDateTimeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateDateTimeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateDateTimeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"dateTime"), aname="_dateTime", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._dateTime = None
                    return
            Holder.__name__ = "UpdateDateTimeRequestType_Holder"
            self.pyclass = Holder

    class RefreshDateTimeSystemRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshDateTimeSystemRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshDateTimeSystemRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RefreshDateTimeSystemRequestType_Holder"
            self.pyclass = Holder

    class QueryAvailablePartitionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryAvailablePartitionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryAvailablePartitionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryAvailablePartitionRequestType_Holder"
            self.pyclass = Holder

    class SelectActivePartitionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SelectActivePartitionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SelectActivePartitionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDiskPartition",lazy=True)(pname=(ns,"partition"), aname="_partition", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._partition = None
                    return
            Holder.__name__ = "SelectActivePartitionRequestType_Holder"
            self.pyclass = Holder

    class QueryPartitionCreateOptionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryPartitionCreateOptionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryPartitionCreateOptionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"storageType"), aname="_storageType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diagnosticType"), aname="_diagnosticType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._storageType = None
                    self._diagnosticType = None
                    return
            Holder.__name__ = "QueryPartitionCreateOptionsRequestType_Holder"
            self.pyclass = Holder

    class QueryPartitionCreateDescRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryPartitionCreateDescRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryPartitionCreateDescRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diskUuid"), aname="_diskUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"diagnosticType"), aname="_diagnosticType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._diskUuid = None
                    self._diagnosticType = None
                    return
            Holder.__name__ = "QueryPartitionCreateDescRequestType_Holder"
            self.pyclass = Holder

    class CreateDiagnosticPartitionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateDiagnosticPartitionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateDiagnosticPartitionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiagnosticPartitionCreateSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateDiagnosticPartitionRequestType_Holder"
            self.pyclass = Holder

    class EsxAgentHostManagerUpdateConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EsxAgentHostManagerUpdateConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EsxAgentHostManagerUpdateConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostEsxAgentHostManagerConfigInfo",lazy=True)(pname=(ns,"configInfo"), aname="_configInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._configInfo = None
                    return
            Holder.__name__ = "EsxAgentHostManagerUpdateConfigRequestType_Holder"
            self.pyclass = Holder

    class UpdateDefaultPolicyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateDefaultPolicyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateDefaultPolicyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFirewallDefaultPolicy",lazy=True)(pname=(ns,"defaultPolicy"), aname="_defaultPolicy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._defaultPolicy = None
                    return
            Holder.__name__ = "UpdateDefaultPolicyRequestType_Holder"
            self.pyclass = Holder

    class EnableRulesetRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EnableRulesetRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EnableRulesetRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    return
            Holder.__name__ = "EnableRulesetRequestType_Holder"
            self.pyclass = Holder

    class DisableRulesetRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DisableRulesetRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DisableRulesetRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    return
            Holder.__name__ = "DisableRulesetRequestType_Holder"
            self.pyclass = Holder

    class UpdateRulesetRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateRulesetRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateRulesetRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostFirewallRulesetRulesetSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._spec = None
                    return
            Holder.__name__ = "UpdateRulesetRequestType_Holder"
            self.pyclass = Holder

    class RefreshFirewallRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshFirewallRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshFirewallRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RefreshFirewallRequestType_Holder"
            self.pyclass = Holder

    class ResetFirmwareToFactoryDefaultsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ResetFirmwareToFactoryDefaultsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ResetFirmwareToFactoryDefaultsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ResetFirmwareToFactoryDefaultsRequestType_Holder"
            self.pyclass = Holder

    class BackupFirmwareConfigurationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "BackupFirmwareConfigurationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.BackupFirmwareConfigurationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "BackupFirmwareConfigurationRequestType_Holder"
            self.pyclass = Holder

    class QueryFirmwareConfigUploadURLRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryFirmwareConfigUploadURLRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryFirmwareConfigUploadURLRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryFirmwareConfigUploadURLRequestType_Holder"
            self.pyclass = Holder

    class RestoreFirmwareConfigurationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RestoreFirmwareConfigurationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RestoreFirmwareConfigurationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._force = None
                    return
            Holder.__name__ = "RestoreFirmwareConfigurationRequestType_Holder"
            self.pyclass = Holder

    class RefreshGraphicsManagerRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshGraphicsManagerRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshGraphicsManagerRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RefreshGraphicsManagerRequestType_Holder"
            self.pyclass = Holder

    class IsSharedGraphicsActiveRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "IsSharedGraphicsActiveRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.IsSharedGraphicsActiveRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "IsSharedGraphicsActiveRequestType_Holder"
            self.pyclass = Holder

    class UpdateGraphicsConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateGraphicsConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateGraphicsConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostGraphicsConfig",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._config = None
                    return
            Holder.__name__ = "UpdateGraphicsConfigRequestType_Holder"
            self.pyclass = Holder

    class RefreshHealthStatusSystemRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshHealthStatusSystemRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshHealthStatusSystemRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RefreshHealthStatusSystemRequestType_Holder"
            self.pyclass = Holder

    class ResetSystemHealthInfoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ResetSystemHealthInfoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ResetSystemHealthInfoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ResetSystemHealthInfoRequestType_Holder"
            self.pyclass = Holder

    class ClearSystemEventLogRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClearSystemEventLogRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ClearSystemEventLogRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ClearSystemEventLogRequestType_Holder"
            self.pyclass = Holder

    class FetchSystemEventLogRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FetchSystemEventLogRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FetchSystemEventLogRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "FetchSystemEventLogRequestType_Holder"
            self.pyclass = Holder

    class RetrieveHostAccessControlEntriesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveHostAccessControlEntriesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveHostAccessControlEntriesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RetrieveHostAccessControlEntriesRequestType_Holder"
            self.pyclass = Holder

    class ChangeAccessModeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ChangeAccessModeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ChangeAccessModeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"principal"), aname="_principal", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"isGroup"), aname="_isGroup", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostAccessMode",lazy=True)(pname=(ns,"accessMode"), aname="_accessMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._principal = None
                    self._isGroup = None
                    self._accessMode = None
                    return
            Holder.__name__ = "ChangeAccessModeRequestType_Holder"
            self.pyclass = Holder

    class QuerySystemUsersRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QuerySystemUsersRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QuerySystemUsersRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QuerySystemUsersRequestType_Holder"
            self.pyclass = Holder

    class UpdateSystemUsersRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateSystemUsersRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateSystemUsersRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"users"), aname="_users", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._users = []
                    return
            Holder.__name__ = "UpdateSystemUsersRequestType_Holder"
            self.pyclass = Holder

    class QueryLockdownExceptionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryLockdownExceptionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryLockdownExceptionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryLockdownExceptionsRequestType_Holder"
            self.pyclass = Holder

    class UpdateLockdownExceptionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateLockdownExceptionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateLockdownExceptionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"users"), aname="_users", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._users = []
                    return
            Holder.__name__ = "UpdateLockdownExceptionsRequestType_Holder"
            self.pyclass = Holder

    class ChangeLockdownModeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ChangeLockdownModeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ChangeLockdownModeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostLockdownMode",lazy=True)(pname=(ns,"mode"), aname="_mode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._mode = None
                    return
            Holder.__name__ = "ChangeLockdownModeRequestType_Holder"
            self.pyclass = Holder

    class HostImageConfigGetAcceptanceRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostImageConfigGetAcceptanceRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostImageConfigGetAcceptanceRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "HostImageConfigGetAcceptanceRequestType_Holder"
            self.pyclass = Holder

    class HostImageConfigGetProfileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostImageConfigGetProfileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostImageConfigGetProfileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "HostImageConfigGetProfileRequestType_Holder"
            self.pyclass = Holder

    class UpdateHostImageAcceptanceLevelRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateHostImageAcceptanceLevelRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateHostImageAcceptanceLevelRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"newAcceptanceLevel"), aname="_newAcceptanceLevel", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._newAcceptanceLevel = None
                    return
            Holder.__name__ = "UpdateHostImageAcceptanceLevelRequestType_Holder"
            self.pyclass = Holder

    class fetchSoftwarePackagesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "fetchSoftwarePackagesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.fetchSoftwarePackagesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "fetchSoftwarePackagesRequestType_Holder"
            self.pyclass = Holder

    class installDateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "installDateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.installDateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "installDateRequestType_Holder"
            self.pyclass = Holder

    class QueryVnicStatusRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryVnicStatusRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryVnicStatusRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vnicDevice = None
                    return
            Holder.__name__ = "QueryVnicStatusRequestType_Holder"
            self.pyclass = Holder

    class QueryPnicStatusRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryPnicStatusRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryPnicStatusRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pnicDevice"), aname="_pnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._pnicDevice = None
                    return
            Holder.__name__ = "QueryPnicStatusRequestType_Holder"
            self.pyclass = Holder

    class QueryBoundVnicsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryBoundVnicsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryBoundVnicsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaName"), aname="_iScsiHbaName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaName = None
                    return
            Holder.__name__ = "QueryBoundVnicsRequestType_Holder"
            self.pyclass = Holder

    class QueryCandidateNicsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryCandidateNicsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryCandidateNicsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaName"), aname="_iScsiHbaName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaName = None
                    return
            Holder.__name__ = "QueryCandidateNicsRequestType_Holder"
            self.pyclass = Holder

    class BindVnicRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "BindVnicRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.BindVnicRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaName"), aname="_iScsiHbaName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaName = None
                    self._vnicDevice = None
                    return
            Holder.__name__ = "BindVnicRequestType_Holder"
            self.pyclass = Holder

    class UnbindVnicRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UnbindVnicRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UnbindVnicRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaName"), aname="_iScsiHbaName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vnicDevice"), aname="_vnicDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaName = None
                    self._vnicDevice = None
                    self._force = None
                    return
            Holder.__name__ = "UnbindVnicRequestType_Holder"
            self.pyclass = Holder

    class QueryMigrationDependenciesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryMigrationDependenciesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryMigrationDependenciesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pnicDevice"), aname="_pnicDevice", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._pnicDevice = []
                    return
            Holder.__name__ = "QueryMigrationDependenciesRequestType_Holder"
            self.pyclass = Holder

    class QueryModulesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryModulesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryModulesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryModulesRequestType_Holder"
            self.pyclass = Holder

    class UpdateModuleOptionStringRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateModuleOptionStringRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateModuleOptionStringRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"options"), aname="_options", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._options = None
                    return
            Holder.__name__ = "UpdateModuleOptionStringRequestType_Holder"
            self.pyclass = Holder

    class QueryConfiguredModuleOptionStringRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryConfiguredModuleOptionStringRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryConfiguredModuleOptionStringRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    return
            Holder.__name__ = "QueryConfiguredModuleOptionStringRequestType_Holder"
            self.pyclass = Holder

    class CreateUserRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateUserRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateUserRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostAccountSpec",lazy=True)(pname=(ns,"user"), aname="_user", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._user = None
                    return
            Holder.__name__ = "CreateUserRequestType_Holder"
            self.pyclass = Holder

    class UpdateUserRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateUserRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateUserRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostAccountSpec",lazy=True)(pname=(ns,"user"), aname="_user", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._user = None
                    return
            Holder.__name__ = "UpdateUserRequestType_Holder"
            self.pyclass = Holder

    class CreateGroupRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateGroupRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateGroupRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostAccountSpec",lazy=True)(pname=(ns,"group"), aname="_group", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._group = None
                    return
            Holder.__name__ = "CreateGroupRequestType_Holder"
            self.pyclass = Holder

    class RemoveUserRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveUserRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveUserRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"userName"), aname="_userName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._userName = None
                    return
            Holder.__name__ = "RemoveUserRequestType_Holder"
            self.pyclass = Holder

    class RemoveGroupRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveGroupRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveGroupRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"groupName"), aname="_groupName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._groupName = None
                    return
            Holder.__name__ = "RemoveGroupRequestType_Holder"
            self.pyclass = Holder

    class AssignUserToGroupRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AssignUserToGroupRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AssignUserToGroupRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"user"), aname="_user", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"group"), aname="_group", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._user = None
                    self._group = None
                    return
            Holder.__name__ = "AssignUserToGroupRequestType_Holder"
            self.pyclass = Holder

    class UnassignUserFromGroupRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UnassignUserFromGroupRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UnassignUserFromGroupRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"user"), aname="_user", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"group"), aname="_group", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._user = None
                    self._group = None
                    return
            Holder.__name__ = "UnassignUserFromGroupRequestType_Holder"
            self.pyclass = Holder

    class ReconfigureServiceConsoleReservationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigureServiceConsoleReservationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigureServiceConsoleReservationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"cfgBytes"), aname="_cfgBytes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._cfgBytes = None
                    return
            Holder.__name__ = "ReconfigureServiceConsoleReservationRequestType_Holder"
            self.pyclass = Holder

    class ReconfigureVirtualMachineReservationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigureVirtualMachineReservationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigureVirtualMachineReservationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineMemoryReservationSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "ReconfigureVirtualMachineReservationRequestType_Holder"
            self.pyclass = Holder

    class UpdateNetworkConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateNetworkConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateNetworkConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostNetworkConfig",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"changeMode"), aname="_changeMode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._config = None
                    self._changeMode = None
                    return
            Holder.__name__ = "UpdateNetworkConfigRequestType_Holder"
            self.pyclass = Holder

    class UpdateDnsConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateDnsConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateDnsConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDnsConfig",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._config = None
                    return
            Holder.__name__ = "UpdateDnsConfigRequestType_Holder"
            self.pyclass = Holder

    class UpdateIpRouteConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateIpRouteConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateIpRouteConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpRouteConfig",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._config = None
                    return
            Holder.__name__ = "UpdateIpRouteConfigRequestType_Holder"
            self.pyclass = Holder

    class UpdateConsoleIpRouteConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateConsoleIpRouteConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateConsoleIpRouteConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpRouteConfig",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._config = None
                    return
            Holder.__name__ = "UpdateConsoleIpRouteConfigRequestType_Holder"
            self.pyclass = Holder

    class UpdateIpRouteTableConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateIpRouteTableConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateIpRouteTableConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpRouteTableConfig",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._config = None
                    return
            Holder.__name__ = "UpdateIpRouteTableConfigRequestType_Holder"
            self.pyclass = Holder

    class AddVirtualSwitchRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddVirtualSwitchRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddVirtualSwitchRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vswitchName"), aname="_vswitchName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualSwitchSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vswitchName = None
                    self._spec = None
                    return
            Holder.__name__ = "AddVirtualSwitchRequestType_Holder"
            self.pyclass = Holder

    class RemoveVirtualSwitchRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveVirtualSwitchRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveVirtualSwitchRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vswitchName"), aname="_vswitchName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vswitchName = None
                    return
            Holder.__name__ = "RemoveVirtualSwitchRequestType_Holder"
            self.pyclass = Holder

    class UpdateVirtualSwitchRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateVirtualSwitchRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateVirtualSwitchRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vswitchName"), aname="_vswitchName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualSwitchSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vswitchName = None
                    self._spec = None
                    return
            Holder.__name__ = "UpdateVirtualSwitchRequestType_Holder"
            self.pyclass = Holder

    class AddPortGroupRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddPortGroupRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddPortGroupRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPortGroupSpec",lazy=True)(pname=(ns,"portgrp"), aname="_portgrp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._portgrp = None
                    return
            Holder.__name__ = "AddPortGroupRequestType_Holder"
            self.pyclass = Holder

    class RemovePortGroupRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemovePortGroupRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemovePortGroupRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pgName"), aname="_pgName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._pgName = None
                    return
            Holder.__name__ = "RemovePortGroupRequestType_Holder"
            self.pyclass = Holder

    class UpdatePortGroupRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdatePortGroupRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdatePortGroupRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pgName"), aname="_pgName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPortGroupSpec",lazy=True)(pname=(ns,"portgrp"), aname="_portgrp", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._pgName = None
                    self._portgrp = None
                    return
            Holder.__name__ = "UpdatePortGroupRequestType_Holder"
            self.pyclass = Holder

    class UpdatePhysicalNicLinkSpeedRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdatePhysicalNicLinkSpeedRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdatePhysicalNicLinkSpeedRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PhysicalNicLinkInfo",lazy=True)(pname=(ns,"linkSpeed"), aname="_linkSpeed", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._device = None
                    self._linkSpeed = None
                    return
            Holder.__name__ = "UpdatePhysicalNicLinkSpeedRequestType_Holder"
            self.pyclass = Holder

    class QueryNetworkHintRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryNetworkHintRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryNetworkHintRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._device = []
                    return
            Holder.__name__ = "QueryNetworkHintRequestType_Holder"
            self.pyclass = Holder

    class AddVirtualNicRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddVirtualNicRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddVirtualNicRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroup"), aname="_portgroup", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicSpec",lazy=True)(pname=(ns,"nic"), aname="_nic", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._portgroup = None
                    self._nic = None
                    return
            Holder.__name__ = "AddVirtualNicRequestType_Holder"
            self.pyclass = Holder

    class RemoveVirtualNicRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveVirtualNicRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveVirtualNicRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._device = None
                    return
            Holder.__name__ = "RemoveVirtualNicRequestType_Holder"
            self.pyclass = Holder

    class UpdateVirtualNicRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateVirtualNicRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateVirtualNicRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicSpec",lazy=True)(pname=(ns,"nic"), aname="_nic", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._device = None
                    self._nic = None
                    return
            Holder.__name__ = "UpdateVirtualNicRequestType_Holder"
            self.pyclass = Holder

    class AddServiceConsoleVirtualNicRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddServiceConsoleVirtualNicRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddServiceConsoleVirtualNicRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"portgroup"), aname="_portgroup", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicSpec",lazy=True)(pname=(ns,"nic"), aname="_nic", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._portgroup = None
                    self._nic = None
                    return
            Holder.__name__ = "AddServiceConsoleVirtualNicRequestType_Holder"
            self.pyclass = Holder

    class RemoveServiceConsoleVirtualNicRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveServiceConsoleVirtualNicRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveServiceConsoleVirtualNicRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._device = None
                    return
            Holder.__name__ = "RemoveServiceConsoleVirtualNicRequestType_Holder"
            self.pyclass = Holder

    class UpdateServiceConsoleVirtualNicRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateServiceConsoleVirtualNicRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateServiceConsoleVirtualNicRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVirtualNicSpec",lazy=True)(pname=(ns,"nic"), aname="_nic", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._device = None
                    self._nic = None
                    return
            Holder.__name__ = "UpdateServiceConsoleVirtualNicRequestType_Holder"
            self.pyclass = Holder

    class RestartServiceConsoleVirtualNicRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RestartServiceConsoleVirtualNicRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RestartServiceConsoleVirtualNicRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._device = None
                    return
            Holder.__name__ = "RestartServiceConsoleVirtualNicRequestType_Holder"
            self.pyclass = Holder

    class RefreshNetworkSystemRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshNetworkSystemRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshNetworkSystemRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RefreshNetworkSystemRequestType_Holder"
            self.pyclass = Holder

    class CreateNvdimmNamespaceRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateNvdimmNamespaceRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateNvdimmNamespaceRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NvdimmNamespaceCreateSpec",lazy=True)(pname=(ns,"createSpec"), aname="_createSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._createSpec = None
                    return
            Holder.__name__ = "CreateNvdimmNamespaceRequestType_Holder"
            self.pyclass = Holder

    class DeleteNvdimmNamespaceRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteNvdimmNamespaceRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteNvdimmNamespaceRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NvdimmNamespaceDeleteSpec",lazy=True)(pname=(ns,"deleteSpec"), aname="_deleteSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._deleteSpec = None
                    return
            Holder.__name__ = "DeleteNvdimmNamespaceRequestType_Holder"
            self.pyclass = Holder

    class DeleteNvdimmBlockNamespacesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteNvdimmBlockNamespacesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteNvdimmBlockNamespacesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DeleteNvdimmBlockNamespacesRequestType_Holder"
            self.pyclass = Holder

    class CheckHostPatchRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckHostPatchRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckHostPatchRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"metaUrls"), aname="_metaUrls", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"bundleUrls"), aname="_bundleUrls", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPatchManagerPatchManagerOperationSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._metaUrls = []
                    self._bundleUrls = []
                    self._spec = None
                    return
            Holder.__name__ = "CheckHostPatchRequestType_Holder"
            self.pyclass = Holder

    class ScanHostPatchRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ScanHostPatchRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ScanHostPatchRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPatchManagerLocator",lazy=True)(pname=(ns,"repository"), aname="_repository", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"updateID"), aname="_updateID", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._repository = None
                    self._updateID = []
                    return
            Holder.__name__ = "ScanHostPatchRequestType_Holder"
            self.pyclass = Holder

    class ScanHostPatchV2RequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ScanHostPatchV2RequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ScanHostPatchV2RequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"metaUrls"), aname="_metaUrls", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"bundleUrls"), aname="_bundleUrls", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPatchManagerPatchManagerOperationSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._metaUrls = []
                    self._bundleUrls = []
                    self._spec = None
                    return
            Holder.__name__ = "ScanHostPatchV2RequestType_Holder"
            self.pyclass = Holder

    class StageHostPatchRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StageHostPatchRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.StageHostPatchRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"metaUrls"), aname="_metaUrls", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"bundleUrls"), aname="_bundleUrls", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vibUrls"), aname="_vibUrls", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPatchManagerPatchManagerOperationSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._metaUrls = []
                    self._bundleUrls = []
                    self._vibUrls = []
                    self._spec = None
                    return
            Holder.__name__ = "StageHostPatchRequestType_Holder"
            self.pyclass = Holder

    class InstallHostPatchRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "InstallHostPatchRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.InstallHostPatchRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPatchManagerLocator",lazy=True)(pname=(ns,"repository"), aname="_repository", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"updateID"), aname="_updateID", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._repository = None
                    self._updateID = None
                    self._force = None
                    return
            Holder.__name__ = "InstallHostPatchRequestType_Holder"
            self.pyclass = Holder

    class InstallHostPatchV2RequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "InstallHostPatchV2RequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.InstallHostPatchV2RequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"metaUrls"), aname="_metaUrls", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"bundleUrls"), aname="_bundleUrls", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vibUrls"), aname="_vibUrls", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPatchManagerPatchManagerOperationSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._metaUrls = []
                    self._bundleUrls = []
                    self._vibUrls = []
                    self._spec = None
                    return
            Holder.__name__ = "InstallHostPatchV2RequestType_Holder"
            self.pyclass = Holder

    class UninstallHostPatchRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UninstallHostPatchRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UninstallHostPatchRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"bulletinIds"), aname="_bulletinIds", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPatchManagerPatchManagerOperationSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._bulletinIds = []
                    self._spec = None
                    return
            Holder.__name__ = "UninstallHostPatchRequestType_Holder"
            self.pyclass = Holder

    class QueryHostPatchRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryHostPatchRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryHostPatchRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPatchManagerPatchManagerOperationSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "QueryHostPatchRequestType_Holder"
            self.pyclass = Holder

    class RefreshRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RefreshRequestType_Holder"
            self.pyclass = Holder

    class UpdatePassthruConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdatePassthruConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdatePassthruConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostPciPassthruConfig",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._config = []
                    return
            Holder.__name__ = "UpdatePassthruConfigRequestType_Holder"
            self.pyclass = Holder

    class ConfigurePowerPolicyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ConfigurePowerPolicyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ConfigurePowerPolicyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"key"), aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._key = None
                    return
            Holder.__name__ = "ConfigurePowerPolicyRequestType_Holder"
            self.pyclass = Holder

    class UpdateServicePolicyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateServicePolicyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateServicePolicyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"policy"), aname="_policy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._policy = None
                    return
            Holder.__name__ = "UpdateServicePolicyRequestType_Holder"
            self.pyclass = Holder

    class StartServiceRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StartServiceRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.StartServiceRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    return
            Holder.__name__ = "StartServiceRequestType_Holder"
            self.pyclass = Holder

    class StopServiceRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StopServiceRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.StopServiceRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    return
            Holder.__name__ = "StopServiceRequestType_Holder"
            self.pyclass = Holder

    class RestartServiceRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RestartServiceRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RestartServiceRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    return
            Holder.__name__ = "RestartServiceRequestType_Holder"
            self.pyclass = Holder

    class UninstallServiceRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UninstallServiceRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UninstallServiceRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    return
            Holder.__name__ = "UninstallServiceRequestType_Holder"
            self.pyclass = Holder

    class RefreshServicesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshServicesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshServicesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RefreshServicesRequestType_Holder"
            self.pyclass = Holder

    class ReconfigureSnmpAgentRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigureSnmpAgentRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigureSnmpAgentRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSnmpConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "ReconfigureSnmpAgentRequestType_Holder"
            self.pyclass = Holder

    class SendTestNotificationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SendTestNotificationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SendTestNotificationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "SendTestNotificationRequestType_Holder"
            self.pyclass = Holder

    class RetrieveDiskPartitionInfoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveDiskPartitionInfoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveDiskPartitionInfoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"devicePath"), aname="_devicePath", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._devicePath = []
                    return
            Holder.__name__ = "RetrieveDiskPartitionInfoRequestType_Holder"
            self.pyclass = Holder

    class ComputeDiskPartitionInfoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ComputeDiskPartitionInfoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ComputeDiskPartitionInfoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"devicePath"), aname="_devicePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiskPartitionLayout",lazy=True)(pname=(ns,"layout"), aname="_layout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"partitionFormat"), aname="_partitionFormat", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._devicePath = None
                    self._layout = None
                    self._partitionFormat = None
                    return
            Holder.__name__ = "ComputeDiskPartitionInfoRequestType_Holder"
            self.pyclass = Holder

    class ComputeDiskPartitionInfoForResizeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ComputeDiskPartitionInfoForResizeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ComputeDiskPartitionInfoForResizeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDiskPartition",lazy=True)(pname=(ns,"partition"), aname="_partition", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiskPartitionBlockRange",lazy=True)(pname=(ns,"blockRange"), aname="_blockRange", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"partitionFormat"), aname="_partitionFormat", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._partition = None
                    self._blockRange = None
                    self._partitionFormat = None
                    return
            Holder.__name__ = "ComputeDiskPartitionInfoForResizeRequestType_Holder"
            self.pyclass = Holder

    class UpdateDiskPartitionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateDiskPartitionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateDiskPartitionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"devicePath"), aname="_devicePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiskPartitionSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._devicePath = None
                    self._spec = None
                    return
            Holder.__name__ = "UpdateDiskPartitionsRequestType_Holder"
            self.pyclass = Holder

    class FormatVmfsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FormatVmfsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FormatVmfsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVmfsSpec",lazy=True)(pname=(ns,"createSpec"), aname="_createSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._createSpec = None
                    return
            Holder.__name__ = "FormatVmfsRequestType_Holder"
            self.pyclass = Holder

    class MountVmfsVolumeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MountVmfsVolumeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MountVmfsVolumeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsUuid"), aname="_vmfsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vmfsUuid = None
                    return
            Holder.__name__ = "MountVmfsVolumeRequestType_Holder"
            self.pyclass = Holder

    class UnmountVmfsVolumeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UnmountVmfsVolumeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UnmountVmfsVolumeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsUuid"), aname="_vmfsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vmfsUuid = None
                    return
            Holder.__name__ = "UnmountVmfsVolumeRequestType_Holder"
            self.pyclass = Holder

    class UnmountVmfsVolumeExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UnmountVmfsVolumeExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UnmountVmfsVolumeExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsUuid"), aname="_vmfsUuid", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vmfsUuid = []
                    return
            Holder.__name__ = "UnmountVmfsVolumeExRequestType_Holder"
            self.pyclass = Holder

    class MountVmfsVolumeExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MountVmfsVolumeExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MountVmfsVolumeExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsUuid"), aname="_vmfsUuid", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vmfsUuid = []
                    return
            Holder.__name__ = "MountVmfsVolumeExRequestType_Holder"
            self.pyclass = Holder

    class UnmapVmfsVolumeExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UnmapVmfsVolumeExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UnmapVmfsVolumeExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsUuid"), aname="_vmfsUuid", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vmfsUuid = []
                    return
            Holder.__name__ = "UnmapVmfsVolumeExRequestType_Holder"
            self.pyclass = Holder

    class DeleteVmfsVolumeStateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteVmfsVolumeStateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteVmfsVolumeStateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsUuid"), aname="_vmfsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vmfsUuid = None
                    return
            Holder.__name__ = "DeleteVmfsVolumeStateRequestType_Holder"
            self.pyclass = Holder

    class RescanVmfsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RescanVmfsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RescanVmfsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RescanVmfsRequestType_Holder"
            self.pyclass = Holder

    class AttachVmfsExtentRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AttachVmfsExtentRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AttachVmfsExtentRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsPath"), aname="_vmfsPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDiskPartition",lazy=True)(pname=(ns,"extent"), aname="_extent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vmfsPath = None
                    self._extent = None
                    return
            Holder.__name__ = "AttachVmfsExtentRequestType_Holder"
            self.pyclass = Holder

    class ExpandVmfsExtentRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExpandVmfsExtentRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExpandVmfsExtentRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsPath"), aname="_vmfsPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDiskPartition",lazy=True)(pname=(ns,"extent"), aname="_extent", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vmfsPath = None
                    self._extent = None
                    return
            Holder.__name__ = "ExpandVmfsExtentRequestType_Holder"
            self.pyclass = Holder

    class UpgradeVmfsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpgradeVmfsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpgradeVmfsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsPath"), aname="_vmfsPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vmfsPath = None
                    return
            Holder.__name__ = "UpgradeVmfsRequestType_Holder"
            self.pyclass = Holder

    class UpgradeVmLayoutRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpgradeVmLayoutRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpgradeVmLayoutRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "UpgradeVmLayoutRequestType_Holder"
            self.pyclass = Holder

    class QueryUnresolvedVmfsVolumeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryUnresolvedVmfsVolumeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryUnresolvedVmfsVolumeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryUnresolvedVmfsVolumeRequestType_Holder"
            self.pyclass = Holder

    class ResolveMultipleUnresolvedVmfsVolumesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ResolveMultipleUnresolvedVmfsVolumesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ResolveMultipleUnresolvedVmfsVolumesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostUnresolvedVmfsResolutionSpec",lazy=True)(pname=(ns,"resolutionSpec"), aname="_resolutionSpec", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._resolutionSpec = []
                    return
            Holder.__name__ = "ResolveMultipleUnresolvedVmfsVolumesRequestType_Holder"
            self.pyclass = Holder

    class ResolveMultipleUnresolvedVmfsVolumesExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ResolveMultipleUnresolvedVmfsVolumesExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ResolveMultipleUnresolvedVmfsVolumesExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostUnresolvedVmfsResolutionSpec",lazy=True)(pname=(ns,"resolutionSpec"), aname="_resolutionSpec", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._resolutionSpec = []
                    return
            Holder.__name__ = "ResolveMultipleUnresolvedVmfsVolumesExRequestType_Holder"
            self.pyclass = Holder

    class UnmountForceMountedVmfsVolumeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UnmountForceMountedVmfsVolumeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UnmountForceMountedVmfsVolumeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsUuid"), aname="_vmfsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vmfsUuid = None
                    return
            Holder.__name__ = "UnmountForceMountedVmfsVolumeRequestType_Holder"
            self.pyclass = Holder

    class RescanHbaRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RescanHbaRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RescanHbaRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hbaDevice"), aname="_hbaDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._hbaDevice = None
                    return
            Holder.__name__ = "RescanHbaRequestType_Holder"
            self.pyclass = Holder

    class RescanAllHbaRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RescanAllHbaRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RescanAllHbaRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RescanAllHbaRequestType_Holder"
            self.pyclass = Holder

    class UpdateSoftwareInternetScsiEnabledRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateSoftwareInternetScsiEnabledRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateSoftwareInternetScsiEnabledRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"enabled"), aname="_enabled", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._enabled = None
                    return
            Holder.__name__ = "UpdateSoftwareInternetScsiEnabledRequestType_Holder"
            self.pyclass = Holder

    class UpdateInternetScsiDiscoveryPropertiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateInternetScsiDiscoveryPropertiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateInternetScsiDiscoveryPropertiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaDevice"), aname="_iScsiHbaDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaDiscoveryProperties",lazy=True)(pname=(ns,"discoveryProperties"), aname="_discoveryProperties", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaDevice = None
                    self._discoveryProperties = None
                    return
            Holder.__name__ = "UpdateInternetScsiDiscoveryPropertiesRequestType_Holder"
            self.pyclass = Holder

    class UpdateInternetScsiAuthenticationPropertiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateInternetScsiAuthenticationPropertiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateInternetScsiAuthenticationPropertiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaDevice"), aname="_iScsiHbaDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaAuthenticationProperties",lazy=True)(pname=(ns,"authenticationProperties"), aname="_authenticationProperties", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaTargetSet",lazy=True)(pname=(ns,"targetSet"), aname="_targetSet", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaDevice = None
                    self._authenticationProperties = None
                    self._targetSet = None
                    return
            Holder.__name__ = "UpdateInternetScsiAuthenticationPropertiesRequestType_Holder"
            self.pyclass = Holder

    class UpdateInternetScsiDigestPropertiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateInternetScsiDigestPropertiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateInternetScsiDigestPropertiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaDevice"), aname="_iScsiHbaDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaTargetSet",lazy=True)(pname=(ns,"targetSet"), aname="_targetSet", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaDigestProperties",lazy=True)(pname=(ns,"digestProperties"), aname="_digestProperties", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaDevice = None
                    self._targetSet = None
                    self._digestProperties = None
                    return
            Holder.__name__ = "UpdateInternetScsiDigestPropertiesRequestType_Holder"
            self.pyclass = Holder

    class UpdateInternetScsiAdvancedOptionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateInternetScsiAdvancedOptionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateInternetScsiAdvancedOptionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaDevice"), aname="_iScsiHbaDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaTargetSet",lazy=True)(pname=(ns,"targetSet"), aname="_targetSet", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaParamValue",lazy=True)(pname=(ns,"options"), aname="_options", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaDevice = None
                    self._targetSet = None
                    self._options = []
                    return
            Holder.__name__ = "UpdateInternetScsiAdvancedOptionsRequestType_Holder"
            self.pyclass = Holder

    class UpdateInternetScsiIPPropertiesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateInternetScsiIPPropertiesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateInternetScsiIPPropertiesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaDevice"), aname="_iScsiHbaDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaIPProperties",lazy=True)(pname=(ns,"ipProperties"), aname="_ipProperties", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaDevice = None
                    self._ipProperties = None
                    return
            Holder.__name__ = "UpdateInternetScsiIPPropertiesRequestType_Holder"
            self.pyclass = Holder

    class UpdateInternetScsiNameRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateInternetScsiNameRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateInternetScsiNameRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaDevice"), aname="_iScsiHbaDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiName"), aname="_iScsiName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaDevice = None
                    self._iScsiName = None
                    return
            Holder.__name__ = "UpdateInternetScsiNameRequestType_Holder"
            self.pyclass = Holder

    class UpdateInternetScsiAliasRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateInternetScsiAliasRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateInternetScsiAliasRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaDevice"), aname="_iScsiHbaDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiAlias"), aname="_iScsiAlias", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaDevice = None
                    self._iScsiAlias = None
                    return
            Holder.__name__ = "UpdateInternetScsiAliasRequestType_Holder"
            self.pyclass = Holder

    class AddInternetScsiSendTargetsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddInternetScsiSendTargetsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddInternetScsiSendTargetsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaDevice"), aname="_iScsiHbaDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaSendTarget",lazy=True)(pname=(ns,"targets"), aname="_targets", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaDevice = None
                    self._targets = []
                    return
            Holder.__name__ = "AddInternetScsiSendTargetsRequestType_Holder"
            self.pyclass = Holder

    class RemoveInternetScsiSendTargetsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveInternetScsiSendTargetsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveInternetScsiSendTargetsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaDevice"), aname="_iScsiHbaDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaSendTarget",lazy=True)(pname=(ns,"targets"), aname="_targets", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaDevice = None
                    self._targets = []
                    return
            Holder.__name__ = "RemoveInternetScsiSendTargetsRequestType_Holder"
            self.pyclass = Holder

    class AddInternetScsiStaticTargetsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddInternetScsiStaticTargetsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddInternetScsiStaticTargetsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaDevice"), aname="_iScsiHbaDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaStaticTarget",lazy=True)(pname=(ns,"targets"), aname="_targets", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaDevice = None
                    self._targets = []
                    return
            Holder.__name__ = "AddInternetScsiStaticTargetsRequestType_Holder"
            self.pyclass = Holder

    class RemoveInternetScsiStaticTargetsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveInternetScsiStaticTargetsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveInternetScsiStaticTargetsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"iScsiHbaDevice"), aname="_iScsiHbaDevice", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostInternetScsiHbaStaticTarget",lazy=True)(pname=(ns,"targets"), aname="_targets", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._iScsiHbaDevice = None
                    self._targets = []
                    return
            Holder.__name__ = "RemoveInternetScsiStaticTargetsRequestType_Holder"
            self.pyclass = Holder

    class EnableMultipathPathRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EnableMultipathPathRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EnableMultipathPathRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pathName"), aname="_pathName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._pathName = None
                    return
            Holder.__name__ = "EnableMultipathPathRequestType_Holder"
            self.pyclass = Holder

    class DisableMultipathPathRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DisableMultipathPathRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DisableMultipathPathRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"pathName"), aname="_pathName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._pathName = None
                    return
            Holder.__name__ = "DisableMultipathPathRequestType_Holder"
            self.pyclass = Holder

    class SetMultipathLunPolicyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetMultipathLunPolicyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetMultipathLunPolicyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lunId"), aname="_lunId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostMultipathInfoLogicalUnitPolicy",lazy=True)(pname=(ns,"policy"), aname="_policy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._lunId = None
                    self._policy = None
                    return
            Holder.__name__ = "SetMultipathLunPolicyRequestType_Holder"
            self.pyclass = Holder

    class QueryPathSelectionPolicyOptionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryPathSelectionPolicyOptionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryPathSelectionPolicyOptionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryPathSelectionPolicyOptionsRequestType_Holder"
            self.pyclass = Holder

    class QueryStorageArrayTypePolicyOptionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryStorageArrayTypePolicyOptionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryStorageArrayTypePolicyOptionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryStorageArrayTypePolicyOptionsRequestType_Holder"
            self.pyclass = Holder

    class UpdateScsiLunDisplayNameRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateScsiLunDisplayNameRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateScsiLunDisplayNameRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lunUuid"), aname="_lunUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"displayName"), aname="_displayName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._lunUuid = None
                    self._displayName = None
                    return
            Holder.__name__ = "UpdateScsiLunDisplayNameRequestType_Holder"
            self.pyclass = Holder

    class DetachScsiLunRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DetachScsiLunRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DetachScsiLunRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lunUuid"), aname="_lunUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._lunUuid = None
                    return
            Holder.__name__ = "DetachScsiLunRequestType_Holder"
            self.pyclass = Holder

    class DetachScsiLunExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DetachScsiLunExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DetachScsiLunExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lunUuid"), aname="_lunUuid", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._lunUuid = []
                    return
            Holder.__name__ = "DetachScsiLunExRequestType_Holder"
            self.pyclass = Holder

    class DeleteScsiLunStateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteScsiLunStateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteScsiLunStateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lunCanonicalName"), aname="_lunCanonicalName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._lunCanonicalName = None
                    return
            Holder.__name__ = "DeleteScsiLunStateRequestType_Holder"
            self.pyclass = Holder

    class AttachScsiLunRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AttachScsiLunRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AttachScsiLunRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lunUuid"), aname="_lunUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._lunUuid = None
                    return
            Holder.__name__ = "AttachScsiLunRequestType_Holder"
            self.pyclass = Holder

    class AttachScsiLunExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AttachScsiLunExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AttachScsiLunExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"lunUuid"), aname="_lunUuid", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._lunUuid = []
                    return
            Holder.__name__ = "AttachScsiLunExRequestType_Holder"
            self.pyclass = Holder

    class RefreshStorageSystemRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RefreshStorageSystemRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RefreshStorageSystemRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RefreshStorageSystemRequestType_Holder"
            self.pyclass = Holder

    class DiscoverFcoeHbasRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DiscoverFcoeHbasRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DiscoverFcoeHbasRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","FcoeConfigFcoeSpecification",lazy=True)(pname=(ns,"fcoeSpec"), aname="_fcoeSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._fcoeSpec = None
                    return
            Holder.__name__ = "DiscoverFcoeHbasRequestType_Holder"
            self.pyclass = Holder

    class MarkForRemovalRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MarkForRemovalRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MarkForRemovalRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"hbaName"), aname="_hbaName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"remove"), aname="_remove", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._hbaName = None
                    self._remove = None
                    return
            Holder.__name__ = "MarkForRemovalRequestType_Holder"
            self.pyclass = Holder

    class FormatVffsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FormatVffsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FormatVffsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVffsSpec",lazy=True)(pname=(ns,"createSpec"), aname="_createSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._createSpec = None
                    return
            Holder.__name__ = "FormatVffsRequestType_Holder"
            self.pyclass = Holder

    class ExtendVffsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExtendVffsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExtendVffsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vffsPath"), aname="_vffsPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"devicePath"), aname="_devicePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostDiskPartitionSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vffsPath = None
                    self._devicePath = None
                    self._spec = None
                    return
            Holder.__name__ = "ExtendVffsRequestType_Holder"
            self.pyclass = Holder

    class DestroyVffsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DestroyVffsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DestroyVffsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vffsPath"), aname="_vffsPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vffsPath = None
                    return
            Holder.__name__ = "DestroyVffsRequestType_Holder"
            self.pyclass = Holder

    class MountVffsVolumeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MountVffsVolumeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MountVffsVolumeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vffsUuid"), aname="_vffsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vffsUuid = None
                    return
            Holder.__name__ = "MountVffsVolumeRequestType_Holder"
            self.pyclass = Holder

    class UnmountVffsVolumeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UnmountVffsVolumeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UnmountVffsVolumeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vffsUuid"), aname="_vffsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vffsUuid = None
                    return
            Holder.__name__ = "UnmountVffsVolumeRequestType_Holder"
            self.pyclass = Holder

    class DeleteVffsVolumeStateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteVffsVolumeStateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteVffsVolumeStateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vffsUuid"), aname="_vffsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vffsUuid = None
                    return
            Holder.__name__ = "DeleteVffsVolumeStateRequestType_Holder"
            self.pyclass = Holder

    class RescanVffsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RescanVffsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RescanVffsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RescanVffsRequestType_Holder"
            self.pyclass = Holder

    class QueryAvailableSsdsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryAvailableSsdsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryAvailableSsdsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vffsPath"), aname="_vffsPath", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vffsPath = None
                    return
            Holder.__name__ = "QueryAvailableSsdsRequestType_Holder"
            self.pyclass = Holder

    class SetNFSUserRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetNFSUserRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetNFSUserRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"user"), aname="_user", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._user = None
                    self._password = None
                    return
            Holder.__name__ = "SetNFSUserRequestType_Holder"
            self.pyclass = Holder

    class ChangeNFSUserPasswordRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ChangeNFSUserPasswordRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ChangeNFSUserPasswordRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"password"), aname="_password", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._password = None
                    return
            Holder.__name__ = "ChangeNFSUserPasswordRequestType_Holder"
            self.pyclass = Holder

    class QueryNFSUserRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryNFSUserRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryNFSUserRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryNFSUserRequestType_Holder"
            self.pyclass = Holder

    class ClearNFSUserRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClearNFSUserRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ClearNFSUserRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ClearNFSUserRequestType_Holder"
            self.pyclass = Holder

    class TurnDiskLocatorLedOnRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "TurnDiskLocatorLedOnRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.TurnDiskLocatorLedOnRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"scsiDiskUuids"), aname="_scsiDiskUuids", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._scsiDiskUuids = []
                    return
            Holder.__name__ = "TurnDiskLocatorLedOnRequestType_Holder"
            self.pyclass = Holder

    class TurnDiskLocatorLedOffRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "TurnDiskLocatorLedOffRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.TurnDiskLocatorLedOffRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"scsiDiskUuids"), aname="_scsiDiskUuids", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._scsiDiskUuids = []
                    return
            Holder.__name__ = "TurnDiskLocatorLedOffRequestType_Holder"
            self.pyclass = Holder

    class MarkAsSsdRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MarkAsSsdRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MarkAsSsdRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"scsiDiskUuid"), aname="_scsiDiskUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._scsiDiskUuid = None
                    return
            Holder.__name__ = "MarkAsSsdRequestType_Holder"
            self.pyclass = Holder

    class MarkAsNonSsdRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MarkAsNonSsdRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MarkAsNonSsdRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"scsiDiskUuid"), aname="_scsiDiskUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._scsiDiskUuid = None
                    return
            Holder.__name__ = "MarkAsNonSsdRequestType_Holder"
            self.pyclass = Holder

    class MarkAsLocalRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MarkAsLocalRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MarkAsLocalRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"scsiDiskUuid"), aname="_scsiDiskUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._scsiDiskUuid = None
                    return
            Holder.__name__ = "MarkAsLocalRequestType_Holder"
            self.pyclass = Holder

    class MarkAsNonLocalRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MarkAsNonLocalRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MarkAsNonLocalRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"scsiDiskUuid"), aname="_scsiDiskUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._scsiDiskUuid = None
                    return
            Holder.__name__ = "MarkAsNonLocalRequestType_Holder"
            self.pyclass = Holder

    class UpdateVmfsUnmapPriorityRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateVmfsUnmapPriorityRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateVmfsUnmapPriorityRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsUuid"), aname="_vmfsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"unmapPriority"), aname="_unmapPriority", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vmfsUuid = None
                    self._unmapPriority = None
                    return
            Holder.__name__ = "UpdateVmfsUnmapPriorityRequestType_Holder"
            self.pyclass = Holder

    class UpdateVmfsUnmapBandwidthRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateVmfsUnmapBandwidthRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateVmfsUnmapBandwidthRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vmfsUuid"), aname="_vmfsUuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VmfsUnmapBandwidthSpec",lazy=True)(pname=(ns,"unmapBandwidthSpec"), aname="_unmapBandwidthSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vmfsUuid = None
                    self._unmapBandwidthSpec = None
                    return
            Holder.__name__ = "UpdateVmfsUnmapBandwidthRequestType_Holder"
            self.pyclass = Holder

    class QueryVmfsConfigOptionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryVmfsConfigOptionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryVmfsConfigOptionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryVmfsConfigOptionRequestType_Holder"
            self.pyclass = Holder

    class ConfigureVFlashResourceExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ConfigureVFlashResourceExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ConfigureVFlashResourceExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"devicePath"), aname="_devicePath", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._devicePath = []
                    return
            Holder.__name__ = "ConfigureVFlashResourceExRequestType_Holder"
            self.pyclass = Holder

    class HostConfigureVFlashResourceRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostConfigureVFlashResourceRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostConfigureVFlashResourceRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVFlashManagerVFlashResourceConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "HostConfigureVFlashResourceRequestType_Holder"
            self.pyclass = Holder

    class HostRemoveVFlashResourceRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostRemoveVFlashResourceRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostRemoveVFlashResourceRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "HostRemoveVFlashResourceRequestType_Holder"
            self.pyclass = Holder

    class HostConfigVFlashCacheRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostConfigVFlashCacheRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostConfigVFlashCacheRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVFlashManagerVFlashCacheConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "HostConfigVFlashCacheRequestType_Holder"
            self.pyclass = Holder

    class HostGetVFlashModuleDefaultConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostGetVFlashModuleDefaultConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostGetVFlashModuleDefaultConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"vFlashModule"), aname="_vFlashModule", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vFlashModule = None
                    return
            Holder.__name__ = "HostGetVFlashModuleDefaultConfigRequestType_Holder"
            self.pyclass = Holder

    class UpdateIpConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateIpConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateIpConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostIpConfig",lazy=True)(pname=(ns,"ipConfig"), aname="_ipConfig", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._ipConfig = None
                    return
            Holder.__name__ = "UpdateIpConfigRequestType_Holder"
            self.pyclass = Holder

    class SelectVnicRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SelectVnicRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SelectVnicRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._device = None
                    return
            Holder.__name__ = "SelectVnicRequestType_Holder"
            self.pyclass = Holder

    class DeselectVnicRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeselectVnicRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeselectVnicRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DeselectVnicRequestType_Holder"
            self.pyclass = Holder

    class QueryNetConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryNetConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryNetConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nicType"), aname="_nicType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._nicType = None
                    return
            Holder.__name__ = "QueryNetConfigRequestType_Holder"
            self.pyclass = Holder

    class SelectVnicForNicTypeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SelectVnicForNicTypeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SelectVnicForNicTypeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nicType"), aname="_nicType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._nicType = None
                    self._device = None
                    return
            Holder.__name__ = "SelectVnicForNicTypeRequestType_Holder"
            self.pyclass = Holder

    class DeselectVnicForNicTypeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeselectVnicForNicTypeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeselectVnicForNicTypeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"nicType"), aname="_nicType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"device"), aname="_device", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._nicType = None
                    self._device = None
                    return
            Holder.__name__ = "DeselectVnicForNicTypeRequestType_Holder"
            self.pyclass = Holder

    class QueryCmmdsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryCmmdsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryCmmdsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostVsanInternalSystemCmmdsQuery",lazy=True)(pname=(ns,"queries"), aname="_queries", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._queries = []
                    return
            Holder.__name__ = "QueryCmmdsRequestType_Holder"
            self.pyclass = Holder

    class QueryPhysicalVsanDisksRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryPhysicalVsanDisksRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryPhysicalVsanDisksRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"props"), aname="_props", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._props = []
                    return
            Holder.__name__ = "QueryPhysicalVsanDisksRequestType_Holder"
            self.pyclass = Holder

    class QueryVsanObjectsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryVsanObjectsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryVsanObjectsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuids"), aname="_uuids", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._uuids = []
                    return
            Holder.__name__ = "QueryVsanObjectsRequestType_Holder"
            self.pyclass = Holder

    class QueryObjectsOnPhysicalVsanDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryObjectsOnPhysicalVsanDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryObjectsOnPhysicalVsanDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"disks"), aname="_disks", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._disks = []
                    return
            Holder.__name__ = "QueryObjectsOnPhysicalVsanDiskRequestType_Holder"
            self.pyclass = Holder

    class AbdicateDomOwnershipRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AbdicateDomOwnershipRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AbdicateDomOwnershipRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuids"), aname="_uuids", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._uuids = []
                    return
            Holder.__name__ = "AbdicateDomOwnershipRequestType_Holder"
            self.pyclass = Holder

    class QueryVsanStatisticsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryVsanStatisticsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryVsanStatisticsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"labels"), aname="_labels", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._labels = []
                    return
            Holder.__name__ = "QueryVsanStatisticsRequestType_Holder"
            self.pyclass = Holder

    class ReconfigureDomObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigureDomObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigureDomObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuid"), aname="_uuid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"policy"), aname="_policy", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._uuid = None
                    self._policy = None
                    return
            Holder.__name__ = "ReconfigureDomObjectRequestType_Holder"
            self.pyclass = Holder

    class QuerySyncingVsanObjectsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QuerySyncingVsanObjectsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QuerySyncingVsanObjectsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuids"), aname="_uuids", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._uuids = []
                    return
            Holder.__name__ = "QuerySyncingVsanObjectsRequestType_Holder"
            self.pyclass = Holder

    class RunVsanPhysicalDiskDiagnosticsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RunVsanPhysicalDiskDiagnosticsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RunVsanPhysicalDiskDiagnosticsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"disks"), aname="_disks", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._disks = []
                    return
            Holder.__name__ = "RunVsanPhysicalDiskDiagnosticsRequestType_Holder"
            self.pyclass = Holder

    class GetVsanObjExtAttrsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GetVsanObjExtAttrsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GetVsanObjExtAttrsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuids"), aname="_uuids", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._uuids = []
                    return
            Holder.__name__ = "GetVsanObjExtAttrsRequestType_Holder"
            self.pyclass = Holder

    class ReconfigurationSatisfiableRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigurationSatisfiableRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigurationSatisfiableRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanPolicyChangeBatch",lazy=True)(pname=(ns,"pcbs"), aname="_pcbs", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ignoreSatisfiability"), aname="_ignoreSatisfiability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._pcbs = []
                    self._ignoreSatisfiability = None
                    return
            Holder.__name__ = "ReconfigurationSatisfiableRequestType_Holder"
            self.pyclass = Holder

    class CanProvisionObjectsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CanProvisionObjectsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CanProvisionObjectsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanNewPolicyBatch",lazy=True)(pname=(ns,"npbs"), aname="_npbs", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"ignoreSatisfiability"), aname="_ignoreSatisfiability", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._npbs = []
                    self._ignoreSatisfiability = None
                    return
            Holder.__name__ = "CanProvisionObjectsRequestType_Holder"
            self.pyclass = Holder

    class DeleteVsanObjectsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteVsanObjectsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteVsanObjectsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuids"), aname="_uuids", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"force"), aname="_force", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._uuids = []
                    self._force = None
                    return
            Holder.__name__ = "DeleteVsanObjectsRequestType_Holder"
            self.pyclass = Holder

    class UpgradeVsanObjectsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpgradeVsanObjectsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpgradeVsanObjectsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuids"), aname="_uuids", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"newVersion"), aname="_newVersion", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._uuids = []
                    self._newVersion = None
                    return
            Holder.__name__ = "UpgradeVsanObjectsRequestType_Holder"
            self.pyclass = Holder

    class QueryVsanObjectUuidsByFilterRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryVsanObjectUuidsByFilterRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryVsanObjectUuidsByFilterRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"uuids"), aname="_uuids", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"limit"), aname="_limit", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"version"), aname="_version", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._uuids = []
                    self._limit = None
                    self._version = None
                    return
            Holder.__name__ = "QueryVsanObjectUuidsByFilterRequestType_Holder"
            self.pyclass = Holder

    class QueryDisksForVsanRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryDisksForVsanRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryDisksForVsanRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"canonicalName"), aname="_canonicalName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._canonicalName = []
                    return
            Holder.__name__ = "QueryDisksForVsanRequestType_Holder"
            self.pyclass = Holder

    class AddDisksRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddDisksRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddDisksRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDisk",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._disk = []
                    return
            Holder.__name__ = "AddDisksRequestType_Holder"
            self.pyclass = Holder

    class InitializeDisksRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "InitializeDisksRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.InitializeDisksRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostDiskMapping",lazy=True)(pname=(ns,"mapping"), aname="_mapping", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._mapping = []
                    return
            Holder.__name__ = "InitializeDisksRequestType_Holder"
            self.pyclass = Holder

    class RemoveDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostScsiDisk",lazy=True)(pname=(ns,"disk"), aname="_disk", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostMaintenanceSpec",lazy=True)(pname=(ns,"maintenanceSpec"), aname="_maintenanceSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"timeout"), aname="_timeout", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._disk = []
                    self._maintenanceSpec = None
                    self._timeout = None
                    return
            Holder.__name__ = "RemoveDiskRequestType_Holder"
            self.pyclass = Holder

    class RemoveDiskMappingRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveDiskMappingRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveDiskMappingRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostDiskMapping",lazy=True)(pname=(ns,"mapping"), aname="_mapping", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostMaintenanceSpec",lazy=True)(pname=(ns,"maintenanceSpec"), aname="_maintenanceSpec", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"timeout"), aname="_timeout", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._mapping = []
                    self._maintenanceSpec = None
                    self._timeout = None
                    return
            Holder.__name__ = "RemoveDiskMappingRequestType_Holder"
            self.pyclass = Holder

    class UnmountDiskMappingRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UnmountDiskMappingRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UnmountDiskMappingRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostDiskMapping",lazy=True)(pname=(ns,"mapping"), aname="_mapping", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._mapping = []
                    return
            Holder.__name__ = "UnmountDiskMappingRequestType_Holder"
            self.pyclass = Holder

    class UpdateVsanRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateVsanRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateVsanRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VsanHostConfigInfo",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._config = None
                    return
            Holder.__name__ = "UpdateVsanRequestType_Holder"
            self.pyclass = Holder

    class QueryHostStatusRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryHostStatusRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryHostStatusRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "QueryHostStatusRequestType_Holder"
            self.pyclass = Holder

    class EvacuateVsanNodeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "EvacuateVsanNodeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.EvacuateVsanNodeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostMaintenanceSpec",lazy=True)(pname=(ns,"maintenanceSpec"), aname="_maintenanceSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"timeout"), aname="_timeout", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._maintenanceSpec = None
                    self._timeout = None
                    return
            Holder.__name__ = "EvacuateVsanNodeRequestType_Holder"
            self.pyclass = Holder

    class RecommissionVsanNodeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RecommissionVsanNodeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RecommissionVsanNodeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RecommissionVsanNodeRequestType_Holder"
            self.pyclass = Holder

    class QueryOptionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryOptionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryOptionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    return
            Holder.__name__ = "QueryOptionsRequestType_Holder"
            self.pyclass = Holder

    class UpdateOptionsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateOptionsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateOptionsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"changedValue"), aname="_changedValue", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._changedValue = []
                    return
            Holder.__name__ = "UpdateOptionsRequestType_Holder"
            self.pyclass = Holder

    class CheckComplianceRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckComplianceRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckComplianceRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._profile = []
                    self._entity = []
                    return
            Holder.__name__ = "CheckComplianceRequestType_Holder"
            self.pyclass = Holder

    class QueryComplianceStatusRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryComplianceStatusRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryComplianceStatusRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._profile = []
                    self._entity = []
                    return
            Holder.__name__ = "QueryComplianceStatusRequestType_Holder"
            self.pyclass = Holder

    class ClearComplianceStatusRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClearComplianceStatusRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ClearComplianceStatusRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._profile = []
                    self._entity = []
                    return
            Holder.__name__ = "ClearComplianceStatusRequestType_Holder"
            self.pyclass = Holder

    class QueryExpressionMetadataRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryExpressionMetadataRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryExpressionMetadataRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"expressionName"), aname="_expressionName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._expressionName = []
                    self._profile = None
                    return
            Holder.__name__ = "QueryExpressionMetadataRequestType_Holder"
            self.pyclass = Holder

    class RetrieveDescriptionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveDescriptionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveDescriptionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RetrieveDescriptionRequestType_Holder"
            self.pyclass = Holder

    class DestroyProfileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DestroyProfileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DestroyProfileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DestroyProfileRequestType_Holder"
            self.pyclass = Holder

    class AssociateProfileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AssociateProfileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AssociateProfileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = []
                    return
            Holder.__name__ = "AssociateProfileRequestType_Holder"
            self.pyclass = Holder

    class DissociateProfileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DissociateProfileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DissociateProfileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = []
                    return
            Holder.__name__ = "DissociateProfileRequestType_Holder"
            self.pyclass = Holder

    class CheckProfileComplianceRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckProfileComplianceRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckProfileComplianceRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = []
                    return
            Holder.__name__ = "CheckProfileComplianceRequestType_Holder"
            self.pyclass = Holder

    class ExportProfileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExportProfileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExportProfileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ExportProfileRequestType_Holder"
            self.pyclass = Holder

    class CreateProfileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateProfileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateProfileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileCreateSpec",lazy=True)(pname=(ns,"createSpec"), aname="_createSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._createSpec = None
                    return
            Holder.__name__ = "CreateProfileRequestType_Holder"
            self.pyclass = Holder

    class QueryPolicyMetadataRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryPolicyMetadataRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryPolicyMetadataRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"policyName"), aname="_policyName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._policyName = []
                    self._profile = None
                    return
            Holder.__name__ = "QueryPolicyMetadataRequestType_Holder"
            self.pyclass = Holder

    class FindAssociatedProfileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "FindAssociatedProfileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FindAssociatedProfileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    return
            Holder.__name__ = "FindAssociatedProfileRequestType_Holder"
            self.pyclass = Holder

    class UpdateClusterProfileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateClusterProfileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateClusterProfileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ClusterProfileConfigSpec",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._config = None
                    return
            Holder.__name__ = "UpdateClusterProfileRequestType_Holder"
            self.pyclass = Holder

    class HostProfileResetValidationStateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostProfileResetValidationStateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostProfileResetValidationStateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "HostProfileResetValidationStateRequestType_Holder"
            self.pyclass = Holder

    class UpdateReferenceHostRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateReferenceHostRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateReferenceHostRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    return
            Holder.__name__ = "UpdateReferenceHostRequestType_Holder"
            self.pyclass = Holder

    class UpdateHostProfileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateHostProfileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateHostProfileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostProfileConfigSpec",lazy=True)(pname=(ns,"config"), aname="_config", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._config = None
                    return
            Holder.__name__ = "UpdateHostProfileRequestType_Holder"
            self.pyclass = Holder

    class ExecuteHostProfileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExecuteHostProfileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExecuteHostProfileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileDeferredPolicyOptionParameter",lazy=True)(pname=(ns,"deferredParam"), aname="_deferredParam", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._deferredParam = []
                    return
            Holder.__name__ = "ExecuteHostProfileRequestType_Holder"
            self.pyclass = Holder

    class UpdateHostSpecificationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateHostSpecificationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateHostSpecificationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSpecification",lazy=True)(pname=(ns,"hostSpec"), aname="_hostSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._hostSpec = None
                    return
            Holder.__name__ = "UpdateHostSpecificationRequestType_Holder"
            self.pyclass = Holder

    class UpdateHostSubSpecificationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateHostSubSpecificationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateHostSubSpecificationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostSubSpecification",lazy=True)(pname=(ns,"hostSubSpec"), aname="_hostSubSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._hostSubSpec = None
                    return
            Holder.__name__ = "UpdateHostSubSpecificationRequestType_Holder"
            self.pyclass = Holder

    class RetrieveHostSpecificationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveHostSpecificationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveHostSpecificationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"fromHost"), aname="_fromHost", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._fromHost = None
                    return
            Holder.__name__ = "RetrieveHostSpecificationRequestType_Holder"
            self.pyclass = Holder

    class DeleteHostSubSpecificationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteHostSubSpecificationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteHostSubSpecificationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"subSpecName"), aname="_subSpecName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._subSpecName = None
                    return
            Holder.__name__ = "DeleteHostSubSpecificationRequestType_Holder"
            self.pyclass = Holder

    class DeleteHostSpecificationRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteHostSpecificationRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteHostSpecificationRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    return
            Holder.__name__ = "DeleteHostSpecificationRequestType_Holder"
            self.pyclass = Holder

    class HostSpecGetUpdatedHostsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostSpecGetUpdatedHostsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostSpecGetUpdatedHostsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"startChangeID"), aname="_startChangeID", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"endChangeID"), aname="_endChangeID", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._startChangeID = None
                    self._endChangeID = None
                    return
            Holder.__name__ = "HostSpecGetUpdatedHostsRequestType_Holder"
            self.pyclass = Holder

    class ApplyHostConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ApplyHostConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ApplyHostConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ProfileDeferredPolicyOptionParameter",lazy=True)(pname=(ns,"userInput"), aname="_userInput", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._configSpec = None
                    self._userInput = []
                    return
            Holder.__name__ = "ApplyHostConfigRequestType_Holder"
            self.pyclass = Holder

    class GenerateConfigTaskListRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GenerateConfigTaskListRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GenerateConfigTaskListRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._configSpec = None
                    self._host = None
                    return
            Holder.__name__ = "GenerateConfigTaskListRequestType_Holder"
            self.pyclass = Holder

    class GenerateHostProfileTaskListRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GenerateHostProfileTaskListRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GenerateHostProfileTaskListRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._configSpec = None
                    self._host = None
                    return
            Holder.__name__ = "GenerateHostProfileTaskListRequestType_Holder"
            self.pyclass = Holder

    class QueryHostProfileMetadataRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryHostProfileMetadataRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryHostProfileMetadataRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"profileName"), aname="_profileName", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._profileName = []
                    self._profile = None
                    return
            Holder.__name__ = "QueryHostProfileMetadataRequestType_Holder"
            self.pyclass = Holder

    class QueryProfileStructureRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryProfileStructureRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryProfileStructureRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._profile = None
                    return
            Holder.__name__ = "QueryProfileStructureRequestType_Holder"
            self.pyclass = Holder

    class CreateDefaultProfileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateDefaultProfileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateDefaultProfileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"profileType"), aname="_profileType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"profileTypeName"), aname="_profileTypeName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._profileType = None
                    self._profileTypeName = None
                    self._profile = None
                    return
            Holder.__name__ = "CreateDefaultProfileRequestType_Holder"
            self.pyclass = Holder

    class UpdateAnswerFileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateAnswerFileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateAnswerFileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","AnswerFileCreateSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._configSpec = None
                    return
            Holder.__name__ = "UpdateAnswerFileRequestType_Holder"
            self.pyclass = Holder

    class RetrieveAnswerFileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveAnswerFileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveAnswerFileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    return
            Holder.__name__ = "RetrieveAnswerFileRequestType_Holder"
            self.pyclass = Holder

    class RetrieveAnswerFileForProfileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveAnswerFileForProfileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveAnswerFileForProfileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"applyProfile"), aname="_applyProfile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._applyProfile = None
                    return
            Holder.__name__ = "RetrieveAnswerFileForProfileRequestType_Holder"
            self.pyclass = Holder

    class ExportAnswerFileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExportAnswerFileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExportAnswerFileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    return
            Holder.__name__ = "ExportAnswerFileRequestType_Holder"
            self.pyclass = Holder

    class CheckAnswerFileStatusRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckAnswerFileStatusRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckAnswerFileStatusRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = []
                    return
            Holder.__name__ = "CheckAnswerFileStatusRequestType_Holder"
            self.pyclass = Holder

    class QueryAnswerFileStatusRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryAnswerFileStatusRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryAnswerFileStatusRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = []
                    return
            Holder.__name__ = "QueryAnswerFileStatusRequestType_Holder"
            self.pyclass = Holder

    class UpdateHostCustomizationsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateHostCustomizationsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateHostCustomizationsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostProfileManagerHostToConfigSpecMap",lazy=True)(pname=(ns,"hostToConfigSpecMap"), aname="_hostToConfigSpecMap", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._hostToConfigSpecMap = []
                    return
            Holder.__name__ = "UpdateHostCustomizationsRequestType_Holder"
            self.pyclass = Holder

    class RetrieveHostCustomizationsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveHostCustomizationsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveHostCustomizationsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hosts"), aname="_hosts", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._hosts = []
                    return
            Holder.__name__ = "RetrieveHostCustomizationsRequestType_Holder"
            self.pyclass = Holder

    class RetrieveHostCustomizationsForProfileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveHostCustomizationsForProfileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveHostCustomizationsForProfileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"hosts"), aname="_hosts", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"applyProfile"), aname="_applyProfile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._hosts = []
                    self._applyProfile = None
                    return
            Holder.__name__ = "RetrieveHostCustomizationsForProfileRequestType_Holder"
            self.pyclass = Holder

    class GenerateHostConfigTaskSpecRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GenerateHostConfigTaskSpecRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GenerateHostConfigTaskSpecRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","StructuredCustomizations",lazy=True)(pname=(ns,"hostsInfo"), aname="_hostsInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._hostsInfo = []
                    return
            Holder.__name__ = "GenerateHostConfigTaskSpecRequestType_Holder"
            self.pyclass = Holder

    class ApplyEntitiesConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ApplyEntitiesConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ApplyEntitiesConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ApplyHostProfileConfigurationSpec",lazy=True)(pname=(ns,"applyConfigSpecs"), aname="_applyConfigSpecs", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._applyConfigSpecs = []
                    return
            Holder.__name__ = "ApplyEntitiesConfigRequestType_Holder"
            self.pyclass = Holder

    class ValidateHostProfileCompositionRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ValidateHostProfileCompositionRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ValidateHostProfileCompositionRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"source"), aname="_source", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"targets"), aname="_targets", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"toBeMerged"), aname="_toBeMerged", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"toReplaceWith"), aname="_toReplaceWith", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"toBeDeleted"), aname="_toBeDeleted", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"enableStatusToBeCopied"), aname="_enableStatusToBeCopied", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"errorOnly"), aname="_errorOnly", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._source = None
                    self._targets = []
                    self._toBeMerged = None
                    self._toReplaceWith = None
                    self._toBeDeleted = None
                    self._enableStatusToBeCopied = None
                    self._errorOnly = None
                    return
            Holder.__name__ = "ValidateHostProfileCompositionRequestType_Holder"
            self.pyclass = Holder

    class CompositeHostProfileRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CompositeHostProfileRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CompositeHostProfileRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"source"), aname="_source", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"targets"), aname="_targets", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"toBeMerged"), aname="_toBeMerged", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"toBeReplacedWith"), aname="_toBeReplacedWith", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"toBeDeleted"), aname="_toBeDeleted", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","HostApplyProfile",lazy=True)(pname=(ns,"enableStatusToBeCopied"), aname="_enableStatusToBeCopied", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._source = None
                    self._targets = []
                    self._toBeMerged = None
                    self._toBeReplacedWith = None
                    self._toBeDeleted = None
                    self._enableStatusToBeCopied = None
                    return
            Holder.__name__ = "CompositeHostProfileRequestType_Holder"
            self.pyclass = Holder

    class RemoveScheduledTaskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveScheduledTaskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveScheduledTaskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RemoveScheduledTaskRequestType_Holder"
            self.pyclass = Holder

    class ReconfigureScheduledTaskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconfigureScheduledTaskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconfigureScheduledTaskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ScheduledTaskSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "ReconfigureScheduledTaskRequestType_Holder"
            self.pyclass = Holder

    class RunScheduledTaskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RunScheduledTaskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RunScheduledTaskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "RunScheduledTaskRequestType_Holder"
            self.pyclass = Holder

    class CreateScheduledTaskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateScheduledTaskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateScheduledTaskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ScheduledTaskSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateScheduledTaskRequestType_Holder"
            self.pyclass = Holder

    class RetrieveEntityScheduledTaskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveEntityScheduledTaskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveEntityScheduledTaskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = None
                    return
            Holder.__name__ = "RetrieveEntityScheduledTaskRequestType_Holder"
            self.pyclass = Holder

    class CreateObjectScheduledTaskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateObjectScheduledTaskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateObjectScheduledTaskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"obj"), aname="_obj", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ScheduledTaskSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._obj = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateObjectScheduledTaskRequestType_Holder"
            self.pyclass = Holder

    class RetrieveObjectScheduledTaskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveObjectScheduledTaskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveObjectScheduledTaskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"obj"), aname="_obj", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._obj = None
                    return
            Holder.__name__ = "RetrieveObjectScheduledTaskRequestType_Holder"
            self.pyclass = Holder

    class prepareVchaRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "prepareVchaRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.prepareVchaRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VchaClusterNetworkSpec",lazy=True)(pname=(ns,"networkSpec"), aname="_networkSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._networkSpec = None
                    return
            Holder.__name__ = "prepareVchaRequestType_Holder"
            self.pyclass = Holder

    class deployVchaRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "deployVchaRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.deployVchaRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VchaClusterDeploymentSpec",lazy=True)(pname=(ns,"deploymentSpec"), aname="_deploymentSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._deploymentSpec = None
                    return
            Holder.__name__ = "deployVchaRequestType_Holder"
            self.pyclass = Holder

    class configureVchaRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "configureVchaRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.configureVchaRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VchaClusterConfigSpec",lazy=True)(pname=(ns,"configSpec"), aname="_configSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._configSpec = None
                    return
            Holder.__name__ = "configureVchaRequestType_Holder"
            self.pyclass = Holder

    class createPassiveNodeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "createPassiveNodeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.createPassiveNodeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","PassiveNodeDeploymentSpec",lazy=True)(pname=(ns,"passiveDeploymentSpec"), aname="_passiveDeploymentSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SourceNodeSpec",lazy=True)(pname=(ns,"sourceVcSpec"), aname="_sourceVcSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._passiveDeploymentSpec = None
                    self._sourceVcSpec = None
                    return
            Holder.__name__ = "createPassiveNodeRequestType_Holder"
            self.pyclass = Holder

    class createWitnessNodeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "createWitnessNodeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.createWitnessNodeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","NodeDeploymentSpec",lazy=True)(pname=(ns,"witnessDeploymentSpec"), aname="_witnessDeploymentSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","SourceNodeSpec",lazy=True)(pname=(ns,"sourceVcSpec"), aname="_sourceVcSpec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._witnessDeploymentSpec = None
                    self._sourceVcSpec = None
                    return
            Holder.__name__ = "createWitnessNodeRequestType_Holder"
            self.pyclass = Holder

    class getVchaConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "getVchaConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.getVchaConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "getVchaConfigRequestType_Holder"
            self.pyclass = Holder

    class destroyVchaRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "destroyVchaRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.destroyVchaRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "destroyVchaRequestType_Holder"
            self.pyclass = Holder

    class setClusterModeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "setClusterModeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.setClusterModeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"mode"), aname="_mode", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._mode = None
                    return
            Holder.__name__ = "setClusterModeRequestType_Holder"
            self.pyclass = Holder

    class getClusterModeRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "getClusterModeRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.getClusterModeRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "getClusterModeRequestType_Holder"
            self.pyclass = Holder

    class GetVchaClusterHealthRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "GetVchaClusterHealthRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.GetVchaClusterHealthRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "GetVchaClusterHealthRequestType_Holder"
            self.pyclass = Holder

    class initiateFailoverRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "initiateFailoverRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.initiateFailoverRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"planned"), aname="_planned", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._planned = None
                    return
            Holder.__name__ = "initiateFailoverRequestType_Holder"
            self.pyclass = Holder

    class OpenInventoryViewFolderRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "OpenInventoryViewFolderRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.OpenInventoryViewFolderRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = []
                    return
            Holder.__name__ = "OpenInventoryViewFolderRequestType_Holder"
            self.pyclass = Holder

    class CloseInventoryViewFolderRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CloseInventoryViewFolderRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CloseInventoryViewFolderRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"entity"), aname="_entity", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._entity = []
                    return
            Holder.__name__ = "CloseInventoryViewFolderRequestType_Holder"
            self.pyclass = Holder

    class ModifyListViewRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ModifyListViewRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ModifyListViewRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"add"), aname="_add", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"remove"), aname="_remove", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._add = []
                    self._remove = []
                    return
            Holder.__name__ = "ModifyListViewRequestType_Holder"
            self.pyclass = Holder

    class ResetListViewRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ResetListViewRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ResetListViewRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"obj"), aname="_obj", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._obj = []
                    return
            Holder.__name__ = "ResetListViewRequestType_Holder"
            self.pyclass = Holder

    class ResetListViewFromViewRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ResetListViewFromViewRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ResetListViewFromViewRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"view"), aname="_view", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._view = None
                    return
            Holder.__name__ = "ResetListViewFromViewRequestType_Holder"
            self.pyclass = Holder

    class DestroyViewRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DestroyViewRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DestroyViewRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "DestroyViewRequestType_Holder"
            self.pyclass = Holder

    class CreateInventoryViewRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateInventoryViewRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateInventoryViewRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "CreateInventoryViewRequestType_Holder"
            self.pyclass = Holder

    class CreateContainerViewRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateContainerViewRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateContainerViewRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"container"), aname="_container", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"type"), aname="_type", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"recursive"), aname="_recursive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._container = None
                    self._type = []
                    self._recursive = None
                    return
            Holder.__name__ = "CreateContainerViewRequestType_Holder"
            self.pyclass = Holder

    class CreateListViewRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateListViewRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateListViewRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"obj"), aname="_obj", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._obj = []
                    return
            Holder.__name__ = "CreateListViewRequestType_Holder"
            self.pyclass = Holder

    class CreateListViewFromViewRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateListViewFromViewRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateListViewFromViewRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"view"), aname="_view", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._view = None
                    return
            Holder.__name__ = "CreateListViewFromViewRequestType_Holder"
            self.pyclass = Holder

    class RevertToSnapshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RevertToSnapshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RevertToSnapshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"suppressPowerOn"), aname="_suppressPowerOn", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._host = None
                    self._suppressPowerOn = None
                    return
            Holder.__name__ = "RevertToSnapshotRequestType_Holder"
            self.pyclass = Holder

    class RemoveSnapshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveSnapshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveSnapshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"removeChildren"), aname="_removeChildren", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"consolidate"), aname="_consolidate", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._removeChildren = None
                    self._consolidate = None
                    return
            Holder.__name__ = "RemoveSnapshotRequestType_Holder"
            self.pyclass = Holder

    class RenameSnapshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RenameSnapshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RenameSnapshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._name = None
                    self._description = None
                    return
            Holder.__name__ = "RenameSnapshotRequestType_Holder"
            self.pyclass = Holder

    class ExportSnapshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExportSnapshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExportSnapshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    return
            Holder.__name__ = "ExportSnapshotRequestType_Holder"
            self.pyclass = Holder

    class CheckCompatibilityRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckCompatibilityRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckCompatibilityRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pool"), aname="_pool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"testType"), aname="_testType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._host = None
                    self._pool = None
                    self._testType = []
                    return
            Holder.__name__ = "CheckCompatibilityRequestType_Holder"
            self.pyclass = Holder

    class CheckVmConfigRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckVmConfigRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckVmConfigRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineConfigSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pool"), aname="_pool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"testType"), aname="_testType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    self._vm = None
                    self._host = None
                    self._pool = None
                    self._testType = []
                    return
            Holder.__name__ = "CheckVmConfigRequestType_Holder"
            self.pyclass = Holder

    class CheckPowerOnRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckPowerOnRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckPowerOnRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pool"), aname="_pool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"testType"), aname="_testType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._host = None
                    self._pool = None
                    self._testType = []
                    return
            Holder.__name__ = "CheckPowerOnRequestType_Holder"
            self.pyclass = Holder

    class QueryVMotionCompatibilityExRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "QueryVMotionCompatibilityExRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.QueryVMotionCompatibilityExRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = []
                    self._host = []
                    return
            Holder.__name__ = "QueryVMotionCompatibilityExRequestType_Holder"
            self.pyclass = Holder

    class CheckMigrateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckMigrateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckMigrateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"host"), aname="_host", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"pool"), aname="_pool", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachinePowerState",lazy=True)(pname=(ns,"state"), aname="_state", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"testType"), aname="_testType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._host = None
                    self._pool = None
                    self._state = None
                    self._testType = []
                    return
            Holder.__name__ = "CheckMigrateRequestType_Holder"
            self.pyclass = Holder

    class CheckRelocateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckRelocateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckRelocateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineRelocateSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"testType"), aname="_testType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._spec = None
                    self._testType = []
                    return
            Holder.__name__ = "CheckRelocateRequestType_Holder"
            self.pyclass = Holder

    class CheckCloneRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckCloneRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckCloneRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"folder"), aname="_folder", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineCloneSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"testType"), aname="_testType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._folder = None
                    self._name = None
                    self._spec = None
                    self._testType = []
                    return
            Holder.__name__ = "CheckCloneRequestType_Holder"
            self.pyclass = Holder

    class CheckInstantCloneRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CheckInstantCloneRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CheckInstantCloneRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineInstantCloneSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"testType"), aname="_testType", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._spec = None
                    self._testType = []
                    return
            Holder.__name__ = "CheckInstantCloneRequestType_Holder"
            self.pyclass = Holder

    class AddGuestAliasRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AddGuestAliasRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AddGuestAliasRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"username"), aname="_username", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"mapCert"), aname="_mapCert", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"base64Cert"), aname="_base64Cert", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthAliasInfo",lazy=True)(pname=(ns,"aliasInfo"), aname="_aliasInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._username = None
                    self._mapCert = None
                    self._base64Cert = None
                    self._aliasInfo = None
                    return
            Holder.__name__ = "AddGuestAliasRequestType_Holder"
            self.pyclass = Holder

    class RemoveGuestAliasRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveGuestAliasRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveGuestAliasRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"username"), aname="_username", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"base64Cert"), aname="_base64Cert", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthSubject",lazy=True)(pname=(ns,"subject"), aname="_subject", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._username = None
                    self._base64Cert = None
                    self._subject = None
                    return
            Holder.__name__ = "RemoveGuestAliasRequestType_Holder"
            self.pyclass = Holder

    class RemoveGuestAliasByCertRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RemoveGuestAliasByCertRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RemoveGuestAliasByCertRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"username"), aname="_username", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"base64Cert"), aname="_base64Cert", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._username = None
                    self._base64Cert = None
                    return
            Holder.__name__ = "RemoveGuestAliasByCertRequestType_Holder"
            self.pyclass = Holder

    class ListGuestAliasesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ListGuestAliasesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ListGuestAliasesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"username"), aname="_username", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._username = None
                    return
            Holder.__name__ = "ListGuestAliasesRequestType_Holder"
            self.pyclass = Holder

    class ListGuestMappedAliasesRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ListGuestMappedAliasesRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ListGuestMappedAliasesRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    return
            Holder.__name__ = "ListGuestMappedAliasesRequestType_Holder"
            self.pyclass = Holder

    class ValidateCredentialsInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ValidateCredentialsInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ValidateCredentialsInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    return
            Holder.__name__ = "ValidateCredentialsInGuestRequestType_Holder"
            self.pyclass = Holder

    class AcquireCredentialsInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AcquireCredentialsInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AcquireCredentialsInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"requestedAuth"), aname="_requestedAuth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"sessionID"), aname="_sessionID", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._requestedAuth = None
                    self._sessionID = None
                    return
            Holder.__name__ = "AcquireCredentialsInGuestRequestType_Holder"
            self.pyclass = Holder

    class ReleaseCredentialsInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReleaseCredentialsInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReleaseCredentialsInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    return
            Holder.__name__ = "ReleaseCredentialsInGuestRequestType_Holder"
            self.pyclass = Holder

    class MakeDirectoryInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MakeDirectoryInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MakeDirectoryInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"directoryPath"), aname="_directoryPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"createParentDirectories"), aname="_createParentDirectories", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._directoryPath = None
                    self._createParentDirectories = None
                    return
            Holder.__name__ = "MakeDirectoryInGuestRequestType_Holder"
            self.pyclass = Holder

    class DeleteFileInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteFileInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteFileInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filePath"), aname="_filePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._filePath = None
                    return
            Holder.__name__ = "DeleteFileInGuestRequestType_Holder"
            self.pyclass = Holder

    class DeleteDirectoryInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteDirectoryInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteDirectoryInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"directoryPath"), aname="_directoryPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"recursive"), aname="_recursive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._directoryPath = None
                    self._recursive = None
                    return
            Holder.__name__ = "DeleteDirectoryInGuestRequestType_Holder"
            self.pyclass = Holder

    class MoveDirectoryInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MoveDirectoryInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MoveDirectoryInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"srcDirectoryPath"), aname="_srcDirectoryPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dstDirectoryPath"), aname="_dstDirectoryPath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._srcDirectoryPath = None
                    self._dstDirectoryPath = None
                    return
            Holder.__name__ = "MoveDirectoryInGuestRequestType_Holder"
            self.pyclass = Holder

    class MoveFileInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "MoveFileInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.MoveFileInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"srcFilePath"), aname="_srcFilePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"dstFilePath"), aname="_dstFilePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"overwrite"), aname="_overwrite", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._srcFilePath = None
                    self._dstFilePath = None
                    self._overwrite = None
                    return
            Holder.__name__ = "MoveFileInGuestRequestType_Holder"
            self.pyclass = Holder

    class CreateTemporaryFileInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateTemporaryFileInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateTemporaryFileInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"prefix"), aname="_prefix", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"suffix"), aname="_suffix", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"directoryPath"), aname="_directoryPath", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._prefix = None
                    self._suffix = None
                    self._directoryPath = None
                    return
            Holder.__name__ = "CreateTemporaryFileInGuestRequestType_Holder"
            self.pyclass = Holder

    class CreateTemporaryDirectoryInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateTemporaryDirectoryInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateTemporaryDirectoryInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"prefix"), aname="_prefix", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"suffix"), aname="_suffix", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"directoryPath"), aname="_directoryPath", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._prefix = None
                    self._suffix = None
                    self._directoryPath = None
                    return
            Holder.__name__ = "CreateTemporaryDirectoryInGuestRequestType_Holder"
            self.pyclass = Holder

    class ListFilesInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ListFilesInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ListFilesInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"filePath"), aname="_filePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"index"), aname="_index", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Iint(pname=(ns,"maxResults"), aname="_maxResults", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"matchPattern"), aname="_matchPattern", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._filePath = None
                    self._index = None
                    self._maxResults = None
                    self._matchPattern = None
                    return
            Holder.__name__ = "ListFilesInGuestRequestType_Holder"
            self.pyclass = Holder

    class ChangeFileAttributesInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ChangeFileAttributesInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ChangeFileAttributesInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestFilePath"), aname="_guestFilePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestFileAttributes",lazy=True)(pname=(ns,"fileAttributes"), aname="_fileAttributes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._guestFilePath = None
                    self._fileAttributes = None
                    return
            Holder.__name__ = "ChangeFileAttributesInGuestRequestType_Holder"
            self.pyclass = Holder

    class InitiateFileTransferFromGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "InitiateFileTransferFromGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.InitiateFileTransferFromGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestFilePath"), aname="_guestFilePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._guestFilePath = None
                    return
            Holder.__name__ = "InitiateFileTransferFromGuestRequestType_Holder"
            self.pyclass = Holder

    class InitiateFileTransferToGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "InitiateFileTransferToGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.InitiateFileTransferToGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"guestFilePath"), aname="_guestFilePath", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestFileAttributes",lazy=True)(pname=(ns,"fileAttributes"), aname="_fileAttributes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"fileSize"), aname="_fileSize", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"overwrite"), aname="_overwrite", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._guestFilePath = None
                    self._fileAttributes = None
                    self._fileSize = None
                    self._overwrite = None
                    return
            Holder.__name__ = "InitiateFileTransferToGuestRequestType_Holder"
            self.pyclass = Holder

    class StartProgramInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "StartProgramInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.StartProgramInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestProgramSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._spec = None
                    return
            Holder.__name__ = "StartProgramInGuestRequestType_Holder"
            self.pyclass = Holder

    class ListProcessesInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ListProcessesInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ListProcessesInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"pids"), aname="_pids", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._pids = []
                    return
            Holder.__name__ = "ListProcessesInGuestRequestType_Holder"
            self.pyclass = Holder

    class TerminateProcessInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "TerminateProcessInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.TerminateProcessInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"pid"), aname="_pid", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._pid = None
                    return
            Holder.__name__ = "TerminateProcessInGuestRequestType_Holder"
            self.pyclass = Holder

    class ReadEnvironmentVariableInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReadEnvironmentVariableInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReadEnvironmentVariableInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"names"), aname="_names", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._names = []
                    return
            Holder.__name__ = "ReadEnvironmentVariableInGuestRequestType_Holder"
            self.pyclass = Holder

    class CreateRegistryKeyInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateRegistryKeyInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateRegistryKeyInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestRegKeyNameSpec",lazy=True)(pname=(ns,"keyName"), aname="_keyName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"isVolatile"), aname="_isVolatile", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"classType"), aname="_classType", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._keyName = None
                    self._isVolatile = None
                    self._classType = None
                    return
            Holder.__name__ = "CreateRegistryKeyInGuestRequestType_Holder"
            self.pyclass = Holder

    class ListRegistryKeysInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ListRegistryKeysInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ListRegistryKeysInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestRegKeyNameSpec",lazy=True)(pname=(ns,"keyName"), aname="_keyName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"recursive"), aname="_recursive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"matchPattern"), aname="_matchPattern", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._keyName = None
                    self._recursive = None
                    self._matchPattern = None
                    return
            Holder.__name__ = "ListRegistryKeysInGuestRequestType_Holder"
            self.pyclass = Holder

    class DeleteRegistryKeyInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteRegistryKeyInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteRegistryKeyInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestRegKeyNameSpec",lazy=True)(pname=(ns,"keyName"), aname="_keyName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"recursive"), aname="_recursive", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._keyName = None
                    self._recursive = None
                    return
            Holder.__name__ = "DeleteRegistryKeyInGuestRequestType_Holder"
            self.pyclass = Holder

    class SetRegistryValueInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetRegistryValueInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetRegistryValueInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestRegValueSpec",lazy=True)(pname=(ns,"value"), aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._value = None
                    return
            Holder.__name__ = "SetRegistryValueInGuestRequestType_Holder"
            self.pyclass = Holder

    class ListRegistryValuesInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ListRegistryValuesInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ListRegistryValuesInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestRegKeyNameSpec",lazy=True)(pname=(ns,"keyName"), aname="_keyName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.Boolean(pname=(ns,"expandStrings"), aname="_expandStrings", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"matchPattern"), aname="_matchPattern", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._keyName = None
                    self._expandStrings = None
                    self._matchPattern = None
                    return
            Holder.__name__ = "ListRegistryValuesInGuestRequestType_Holder"
            self.pyclass = Holder

    class DeleteRegistryValueInGuestRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteRegistryValueInGuestRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteRegistryValueInGuestRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"vm"), aname="_vm", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"auth"), aname="_auth", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","GuestRegValueNameSpec",lazy=True)(pname=(ns,"valueName"), aname="_valueName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._vm = None
                    self._auth = None
                    self._valueName = None
                    return
            Holder.__name__ = "DeleteRegistryValueInGuestRequestType_Holder"
            self.pyclass = Holder

    class HostCreateDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostCreateDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostCreateDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VslmCreateSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "HostCreateDiskRequestType_Holder"
            self.pyclass = Holder

    class HostRegisterDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostRegisterDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostRegisterDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._path = None
                    self._name = None
                    return
            Holder.__name__ = "HostRegisterDiskRequestType_Holder"
            self.pyclass = Holder

    class HostExtendDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostExtendDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostExtendDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"newCapacityInMB"), aname="_newCapacityInMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._newCapacityInMB = None
                    return
            Holder.__name__ = "HostExtendDiskRequestType_Holder"
            self.pyclass = Holder

    class HostInflateDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostInflateDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostInflateDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    return
            Holder.__name__ = "HostInflateDiskRequestType_Holder"
            self.pyclass = Holder

    class HostRenameVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostRenameVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostRenameVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._name = None
                    return
            Holder.__name__ = "HostRenameVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class HostRetrieveVStorageInfrastructureObjectPolicyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostRetrieveVStorageInfrastructureObjectPolicyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostRetrieveVStorageInfrastructureObjectPolicyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    return
            Holder.__name__ = "HostRetrieveVStorageInfrastructureObjectPolicyRequestType_Holder"
            self.pyclass = Holder

    class HostDeleteVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostDeleteVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostDeleteVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    return
            Holder.__name__ = "HostDeleteVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class HostRetrieveVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostRetrieveVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostRetrieveVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    return
            Holder.__name__ = "HostRetrieveVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class HostRetrieveVStorageObjectStateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostRetrieveVStorageObjectStateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostRetrieveVStorageObjectStateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    return
            Holder.__name__ = "HostRetrieveVStorageObjectStateRequestType_Holder"
            self.pyclass = Holder

    class HostListVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostListVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostListVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    return
            Holder.__name__ = "HostListVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class HostCloneVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostCloneVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostCloneVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VslmCloneSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._spec = None
                    return
            Holder.__name__ = "HostCloneVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class HostRelocateVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostRelocateVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostRelocateVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VslmRelocateSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._spec = None
                    return
            Holder.__name__ = "HostRelocateVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class HostSetVStorageObjectControlFlagsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostSetVStorageObjectControlFlagsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostSetVStorageObjectControlFlagsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"controlFlags"), aname="_controlFlags", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._controlFlags = []
                    return
            Holder.__name__ = "HostSetVStorageObjectControlFlagsRequestType_Holder"
            self.pyclass = Holder

    class HostClearVStorageObjectControlFlagsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostClearVStorageObjectControlFlagsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostClearVStorageObjectControlFlagsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"controlFlags"), aname="_controlFlags", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._controlFlags = []
                    return
            Holder.__name__ = "HostClearVStorageObjectControlFlagsRequestType_Holder"
            self.pyclass = Holder

    class HostReconcileDatastoreInventoryRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostReconcileDatastoreInventoryRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostReconcileDatastoreInventoryRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    return
            Holder.__name__ = "HostReconcileDatastoreInventoryRequestType_Holder"
            self.pyclass = Holder

    class HostScheduleReconcileDatastoreInventoryRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostScheduleReconcileDatastoreInventoryRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostScheduleReconcileDatastoreInventoryRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    return
            Holder.__name__ = "HostScheduleReconcileDatastoreInventoryRequestType_Holder"
            self.pyclass = Holder

    class HostVStorageObjectCreateSnapshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostVStorageObjectCreateSnapshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostVStorageObjectCreateSnapshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._description = None
                    return
            Holder.__name__ = "HostVStorageObjectCreateSnapshotRequestType_Holder"
            self.pyclass = Holder

    class HostVStorageObjectDeleteSnapshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostVStorageObjectDeleteSnapshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostVStorageObjectDeleteSnapshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"snapshotId"), aname="_snapshotId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._snapshotId = None
                    return
            Holder.__name__ = "HostVStorageObjectDeleteSnapshotRequestType_Holder"
            self.pyclass = Holder

    class HostVStorageObjectRetrieveSnapshotInfoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostVStorageObjectRetrieveSnapshotInfoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostVStorageObjectRetrieveSnapshotInfoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    return
            Holder.__name__ = "HostVStorageObjectRetrieveSnapshotInfoRequestType_Holder"
            self.pyclass = Holder

    class HostVStorageObjectCreateDiskFromSnapshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostVStorageObjectCreateDiskFromSnapshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostVStorageObjectCreateDiskFromSnapshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"snapshotId"), aname="_snapshotId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoSpec",lazy=True)(pname=(ns,"crypto"), aname="_crypto", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._snapshotId = None
                    self._name = None
                    self._profile = []
                    self._crypto = None
                    self._path = None
                    return
            Holder.__name__ = "HostVStorageObjectCreateDiskFromSnapshotRequestType_Holder"
            self.pyclass = Holder

    class HostVStorageObjectRevertRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "HostVStorageObjectRevertRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.HostVStorageObjectRevertRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"snapshotId"), aname="_snapshotId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._snapshotId = None
                    return
            Holder.__name__ = "HostVStorageObjectRevertRequestType_Holder"
            self.pyclass = Holder

    class CreateDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VslmCreateSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "CreateDiskRequestType_Holder"
            self.pyclass = Holder

    class RegisterDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RegisterDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RegisterDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._path = None
                    self._name = None
                    return
            Holder.__name__ = "RegisterDiskRequestType_Holder"
            self.pyclass = Holder

    class ExtendDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ExtendDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExtendDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"newCapacityInMB"), aname="_newCapacityInMB", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._newCapacityInMB = None
                    return
            Holder.__name__ = "ExtendDiskRequestType_Holder"
            self.pyclass = Holder

    class InflateDiskRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "InflateDiskRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.InflateDiskRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    return
            Holder.__name__ = "InflateDiskRequestType_Holder"
            self.pyclass = Holder

    class RenameVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RenameVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RenameVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._name = None
                    return
            Holder.__name__ = "RenameVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class UpdateVStorageObjectPolicyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateVStorageObjectPolicyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateVStorageObjectPolicyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._profile = []
                    return
            Holder.__name__ = "UpdateVStorageObjectPolicyRequestType_Holder"
            self.pyclass = Holder

    class UpdateVStorageInfrastructureObjectPolicyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "UpdateVStorageInfrastructureObjectPolicyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.UpdateVStorageInfrastructureObjectPolicyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","vslmInfrastructureObjectPolicySpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._spec = None
                    return
            Holder.__name__ = "UpdateVStorageInfrastructureObjectPolicyRequestType_Holder"
            self.pyclass = Holder

    class RetrieveVStorageInfrastructureObjectPolicyRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveVStorageInfrastructureObjectPolicyRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveVStorageInfrastructureObjectPolicyRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    return
            Holder.__name__ = "RetrieveVStorageInfrastructureObjectPolicyRequestType_Holder"
            self.pyclass = Holder

    class DeleteVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    return
            Holder.__name__ = "DeleteVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class RetrieveVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    return
            Holder.__name__ = "RetrieveVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class RetrieveVStorageObjectStateRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveVStorageObjectStateRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveVStorageObjectStateRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    return
            Holder.__name__ = "RetrieveVStorageObjectStateRequestType_Holder"
            self.pyclass = Holder

    class RetrieveVStorageObjectAssociationsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveVStorageObjectAssociationsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveVStorageObjectAssociationsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","RetrieveVStorageObjSpec",lazy=True)(pname=(ns,"ids"), aname="_ids", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._ids = []
                    return
            Holder.__name__ = "RetrieveVStorageObjectAssociationsRequestType_Holder"
            self.pyclass = Holder

    class ListVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ListVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ListVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    return
            Holder.__name__ = "ListVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class CloneVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CloneVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CloneVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VslmCloneSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._spec = None
                    return
            Holder.__name__ = "CloneVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class RelocateVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RelocateVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RelocateVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VslmRelocateSpec",lazy=True)(pname=(ns,"spec"), aname="_spec", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._spec = None
                    return
            Holder.__name__ = "RelocateVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class SetVStorageObjectControlFlagsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "SetVStorageObjectControlFlagsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.SetVStorageObjectControlFlagsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"controlFlags"), aname="_controlFlags", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._controlFlags = []
                    return
            Holder.__name__ = "SetVStorageObjectControlFlagsRequestType_Holder"
            self.pyclass = Holder

    class ClearVStorageObjectControlFlagsRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ClearVStorageObjectControlFlagsRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ClearVStorageObjectControlFlagsRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"controlFlags"), aname="_controlFlags", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._controlFlags = []
                    return
            Holder.__name__ = "ClearVStorageObjectControlFlagsRequestType_Holder"
            self.pyclass = Holder

    class AttachTagToVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "AttachTagToVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.AttachTagToVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"category"), aname="_category", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"tag"), aname="_tag", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._category = None
                    self._tag = None
                    return
            Holder.__name__ = "AttachTagToVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class DetachTagFromVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DetachTagFromVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DetachTagFromVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"category"), aname="_category", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"tag"), aname="_tag", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._category = None
                    self._tag = None
                    return
            Holder.__name__ = "DetachTagFromVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class ListVStorageObjectsAttachedToTagRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ListVStorageObjectsAttachedToTagRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ListVStorageObjectsAttachedToTagRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"category"), aname="_category", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"tag"), aname="_tag", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._category = None
                    self._tag = None
                    return
            Holder.__name__ = "ListVStorageObjectsAttachedToTagRequestType_Holder"
            self.pyclass = Holder

    class ListTagsAttachedToVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ListTagsAttachedToVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ListTagsAttachedToVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    return
            Holder.__name__ = "ListTagsAttachedToVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class ReconcileDatastoreInventoryRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ReconcileDatastoreInventoryRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ReconcileDatastoreInventoryRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    return
            Holder.__name__ = "ReconcileDatastoreInventoryRequestType_Holder"
            self.pyclass = Holder

    class ScheduleReconcileDatastoreInventoryRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "ScheduleReconcileDatastoreInventoryRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ScheduleReconcileDatastoreInventoryRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._datastore = None
                    return
            Holder.__name__ = "ScheduleReconcileDatastoreInventoryRequestType_Holder"
            self.pyclass = Holder

    class VStorageObjectCreateSnapshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "VStorageObjectCreateSnapshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.VStorageObjectCreateSnapshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._description = None
                    return
            Holder.__name__ = "VStorageObjectCreateSnapshotRequestType_Holder"
            self.pyclass = Holder

    class DeleteSnapshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "DeleteSnapshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DeleteSnapshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"snapshotId"), aname="_snapshotId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._snapshotId = None
                    return
            Holder.__name__ = "DeleteSnapshotRequestType_Holder"
            self.pyclass = Holder

    class RetrieveSnapshotInfoRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RetrieveSnapshotInfoRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RetrieveSnapshotInfoRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    return
            Holder.__name__ = "RetrieveSnapshotInfoRequestType_Holder"
            self.pyclass = Holder

    class CreateDiskFromSnapshotRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "CreateDiskFromSnapshotRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.CreateDiskFromSnapshotRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"snapshotId"), aname="_snapshotId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","VirtualMachineProfileSpec",lazy=True)(pname=(ns,"profile"), aname="_profile", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","CryptoSpec",lazy=True)(pname=(ns,"crypto"), aname="_crypto", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), pysphere.ZSI.TC.String(pname=(ns,"path"), aname="_path", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._snapshotId = None
                    self._name = None
                    self._profile = []
                    self._crypto = None
                    self._path = None
                    return
            Holder.__name__ = "CreateDiskFromSnapshotRequestType_Holder"
            self.pyclass = Holder

    class RevertVStorageObjectRequestType_Def(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, TypeDefinition)):
        schema = "urn:vim25"
        type = (schema, "RevertVStorageObjectRequestType")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.RevertVStorageObjectRequestType_Def.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"_this"), aname="__this", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"id"), aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"datastore"), aname="_datastore", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:vim25","ID",lazy=True)(pname=(ns,"snapshotId"), aname="_snapshotId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            pysphere.ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self.__this = None
                    self._id = None
                    self._datastore = None
                    self._snapshotId = None
                    return
            Holder.__name__ = "RevertVStorageObjectRequestType_Holder"
            self.pyclass = Holder

    class versionURI_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TC.String, ElementDeclaration)):
        literal = "versionURI"
        schema = "urn:vim25"
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","versionURI")
            kw["aname"] = "_versionURI"
            class IHolder(str): typecode=self
            kw["pyclass"] = IHolder
            IHolder.__name__ = "_versionURI_immutable_holder"
            pysphere.ZSI.TC.String.__init__(self, **kw)

    class AddAuthorizationRole_Dec(ElementDeclaration):
        literal = "AddAuthorizationRole"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddAuthorizationRole")
            kw["aname"] = "_AddAuthorizationRole"
            if ns0.AddAuthorizationRoleRequestType_Def not in ns0.AddAuthorizationRole_Dec.__bases__:
                bases = list(ns0.AddAuthorizationRole_Dec.__bases__)
                bases.insert(0, ns0.AddAuthorizationRoleRequestType_Def)
                ns0.AddAuthorizationRole_Dec.__bases__ = tuple(bases)

            ns0.AddAuthorizationRoleRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddAuthorizationRole_Dec_Holder"

    class AddAuthorizationRoleResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddAuthorizationRoleResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddAuthorizationRoleResponse_Dec.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AddAuthorizationRoleResponse")
            kw["aname"] = "_AddAuthorizationRoleResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AddAuthorizationRoleResponse_Holder"
            self.pyclass = Holder

    class RemoveAuthorizationRole_Dec(ElementDeclaration):
        literal = "RemoveAuthorizationRole"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveAuthorizationRole")
            kw["aname"] = "_RemoveAuthorizationRole"
            if ns0.RemoveAuthorizationRoleRequestType_Def not in ns0.RemoveAuthorizationRole_Dec.__bases__:
                bases = list(ns0.RemoveAuthorizationRole_Dec.__bases__)
                bases.insert(0, ns0.RemoveAuthorizationRoleRequestType_Def)
                ns0.RemoveAuthorizationRole_Dec.__bases__ = tuple(bases)

            ns0.RemoveAuthorizationRoleRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveAuthorizationRole_Dec_Holder"

    class RemoveAuthorizationRoleResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveAuthorizationRoleResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveAuthorizationRoleResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveAuthorizationRoleResponse")
            kw["aname"] = "_RemoveAuthorizationRoleResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveAuthorizationRoleResponse_Holder"
            self.pyclass = Holder

    class UpdateAuthorizationRole_Dec(ElementDeclaration):
        literal = "UpdateAuthorizationRole"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateAuthorizationRole")
            kw["aname"] = "_UpdateAuthorizationRole"
            if ns0.UpdateAuthorizationRoleRequestType_Def not in ns0.UpdateAuthorizationRole_Dec.__bases__:
                bases = list(ns0.UpdateAuthorizationRole_Dec.__bases__)
                bases.insert(0, ns0.UpdateAuthorizationRoleRequestType_Def)
                ns0.UpdateAuthorizationRole_Dec.__bases__ = tuple(bases)

            ns0.UpdateAuthorizationRoleRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateAuthorizationRole_Dec_Holder"

    class UpdateAuthorizationRoleResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateAuthorizationRoleResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateAuthorizationRoleResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateAuthorizationRoleResponse")
            kw["aname"] = "_UpdateAuthorizationRoleResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateAuthorizationRoleResponse_Holder"
            self.pyclass = Holder

    class MergePermissions_Dec(ElementDeclaration):
        literal = "MergePermissions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MergePermissions")
            kw["aname"] = "_MergePermissions"
            if ns0.MergePermissionsRequestType_Def not in ns0.MergePermissions_Dec.__bases__:
                bases = list(ns0.MergePermissions_Dec.__bases__)
                bases.insert(0, ns0.MergePermissionsRequestType_Def)
                ns0.MergePermissions_Dec.__bases__ = tuple(bases)

            ns0.MergePermissionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MergePermissions_Dec_Holder"

    class MergePermissionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MergePermissionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MergePermissionsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","MergePermissionsResponse")
            kw["aname"] = "_MergePermissionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "MergePermissionsResponse_Holder"
            self.pyclass = Holder

    class RetrieveRolePermissions_Dec(ElementDeclaration):
        literal = "RetrieveRolePermissions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveRolePermissions")
            kw["aname"] = "_RetrieveRolePermissions"
            if ns0.RetrieveRolePermissionsRequestType_Def not in ns0.RetrieveRolePermissions_Dec.__bases__:
                bases = list(ns0.RetrieveRolePermissions_Dec.__bases__)
                bases.insert(0, ns0.RetrieveRolePermissionsRequestType_Def)
                ns0.RetrieveRolePermissions_Dec.__bases__ = tuple(bases)

            ns0.RetrieveRolePermissionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveRolePermissions_Dec_Holder"

    class RetrieveRolePermissionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveRolePermissionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveRolePermissionsResponse_Dec.schema
            TClist = [GTD("urn:vim25","Permission",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveRolePermissionsResponse")
            kw["aname"] = "_RetrieveRolePermissionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrieveRolePermissionsResponse_Holder"
            self.pyclass = Holder

    class RetrieveEntityPermissions_Dec(ElementDeclaration):
        literal = "RetrieveEntityPermissions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveEntityPermissions")
            kw["aname"] = "_RetrieveEntityPermissions"
            if ns0.RetrieveEntityPermissionsRequestType_Def not in ns0.RetrieveEntityPermissions_Dec.__bases__:
                bases = list(ns0.RetrieveEntityPermissions_Dec.__bases__)
                bases.insert(0, ns0.RetrieveEntityPermissionsRequestType_Def)
                ns0.RetrieveEntityPermissions_Dec.__bases__ = tuple(bases)

            ns0.RetrieveEntityPermissionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveEntityPermissions_Dec_Holder"

    class RetrieveEntityPermissionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveEntityPermissionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveEntityPermissionsResponse_Dec.schema
            TClist = [GTD("urn:vim25","Permission",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveEntityPermissionsResponse")
            kw["aname"] = "_RetrieveEntityPermissionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrieveEntityPermissionsResponse_Holder"
            self.pyclass = Holder

    class RetrieveAllPermissions_Dec(ElementDeclaration):
        literal = "RetrieveAllPermissions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveAllPermissions")
            kw["aname"] = "_RetrieveAllPermissions"
            if ns0.RetrieveAllPermissionsRequestType_Def not in ns0.RetrieveAllPermissions_Dec.__bases__:
                bases = list(ns0.RetrieveAllPermissions_Dec.__bases__)
                bases.insert(0, ns0.RetrieveAllPermissionsRequestType_Def)
                ns0.RetrieveAllPermissions_Dec.__bases__ = tuple(bases)

            ns0.RetrieveAllPermissionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveAllPermissions_Dec_Holder"

    class RetrieveAllPermissionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveAllPermissionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveAllPermissionsResponse_Dec.schema
            TClist = [GTD("urn:vim25","Permission",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveAllPermissionsResponse")
            kw["aname"] = "_RetrieveAllPermissionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrieveAllPermissionsResponse_Holder"
            self.pyclass = Holder

    class SetEntityPermissions_Dec(ElementDeclaration):
        literal = "SetEntityPermissions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetEntityPermissions")
            kw["aname"] = "_SetEntityPermissions"
            if ns0.SetEntityPermissionsRequestType_Def not in ns0.SetEntityPermissions_Dec.__bases__:
                bases = list(ns0.SetEntityPermissions_Dec.__bases__)
                bases.insert(0, ns0.SetEntityPermissionsRequestType_Def)
                ns0.SetEntityPermissions_Dec.__bases__ = tuple(bases)

            ns0.SetEntityPermissionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetEntityPermissions_Dec_Holder"

    class SetEntityPermissionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetEntityPermissionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetEntityPermissionsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetEntityPermissionsResponse")
            kw["aname"] = "_SetEntityPermissionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetEntityPermissionsResponse_Holder"
            self.pyclass = Holder

    class ResetEntityPermissions_Dec(ElementDeclaration):
        literal = "ResetEntityPermissions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResetEntityPermissions")
            kw["aname"] = "_ResetEntityPermissions"
            if ns0.ResetEntityPermissionsRequestType_Def not in ns0.ResetEntityPermissions_Dec.__bases__:
                bases = list(ns0.ResetEntityPermissions_Dec.__bases__)
                bases.insert(0, ns0.ResetEntityPermissionsRequestType_Def)
                ns0.ResetEntityPermissions_Dec.__bases__ = tuple(bases)

            ns0.ResetEntityPermissionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResetEntityPermissions_Dec_Holder"

    class ResetEntityPermissionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ResetEntityPermissionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ResetEntityPermissionsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ResetEntityPermissionsResponse")
            kw["aname"] = "_ResetEntityPermissionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ResetEntityPermissionsResponse_Holder"
            self.pyclass = Holder

    class RemoveEntityPermission_Dec(ElementDeclaration):
        literal = "RemoveEntityPermission"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveEntityPermission")
            kw["aname"] = "_RemoveEntityPermission"
            if ns0.RemoveEntityPermissionRequestType_Def not in ns0.RemoveEntityPermission_Dec.__bases__:
                bases = list(ns0.RemoveEntityPermission_Dec.__bases__)
                bases.insert(0, ns0.RemoveEntityPermissionRequestType_Def)
                ns0.RemoveEntityPermission_Dec.__bases__ = tuple(bases)

            ns0.RemoveEntityPermissionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveEntityPermission_Dec_Holder"

    class RemoveEntityPermissionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveEntityPermissionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveEntityPermissionResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveEntityPermissionResponse")
            kw["aname"] = "_RemoveEntityPermissionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveEntityPermissionResponse_Holder"
            self.pyclass = Holder

    class HasPrivilegeOnEntity_Dec(ElementDeclaration):
        literal = "HasPrivilegeOnEntity"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HasPrivilegeOnEntity")
            kw["aname"] = "_HasPrivilegeOnEntity"
            if ns0.HasPrivilegeOnEntityRequestType_Def not in ns0.HasPrivilegeOnEntity_Dec.__bases__:
                bases = list(ns0.HasPrivilegeOnEntity_Dec.__bases__)
                bases.insert(0, ns0.HasPrivilegeOnEntityRequestType_Def)
                ns0.HasPrivilegeOnEntity_Dec.__bases__ = tuple(bases)

            ns0.HasPrivilegeOnEntityRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HasPrivilegeOnEntity_Dec_Holder"

    class HasPrivilegeOnEntityResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HasPrivilegeOnEntityResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HasPrivilegeOnEntityResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HasPrivilegeOnEntityResponse")
            kw["aname"] = "_HasPrivilegeOnEntityResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "HasPrivilegeOnEntityResponse_Holder"
            self.pyclass = Holder

    class HasPrivilegeOnEntities_Dec(ElementDeclaration):
        literal = "HasPrivilegeOnEntities"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HasPrivilegeOnEntities")
            kw["aname"] = "_HasPrivilegeOnEntities"
            if ns0.HasPrivilegeOnEntitiesRequestType_Def not in ns0.HasPrivilegeOnEntities_Dec.__bases__:
                bases = list(ns0.HasPrivilegeOnEntities_Dec.__bases__)
                bases.insert(0, ns0.HasPrivilegeOnEntitiesRequestType_Def)
                ns0.HasPrivilegeOnEntities_Dec.__bases__ = tuple(bases)

            ns0.HasPrivilegeOnEntitiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HasPrivilegeOnEntities_Dec_Holder"

    class HasPrivilegeOnEntitiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HasPrivilegeOnEntitiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HasPrivilegeOnEntitiesResponse_Dec.schema
            TClist = [GTD("urn:vim25","EntityPrivilege",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HasPrivilegeOnEntitiesResponse")
            kw["aname"] = "_HasPrivilegeOnEntitiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "HasPrivilegeOnEntitiesResponse_Holder"
            self.pyclass = Holder

    class HasUserPrivilegeOnEntities_Dec(ElementDeclaration):
        literal = "HasUserPrivilegeOnEntities"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HasUserPrivilegeOnEntities")
            kw["aname"] = "_HasUserPrivilegeOnEntities"
            if ns0.HasUserPrivilegeOnEntitiesRequestType_Def not in ns0.HasUserPrivilegeOnEntities_Dec.__bases__:
                bases = list(ns0.HasUserPrivilegeOnEntities_Dec.__bases__)
                bases.insert(0, ns0.HasUserPrivilegeOnEntitiesRequestType_Def)
                ns0.HasUserPrivilegeOnEntities_Dec.__bases__ = tuple(bases)

            ns0.HasUserPrivilegeOnEntitiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HasUserPrivilegeOnEntities_Dec_Holder"

    class HasUserPrivilegeOnEntitiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HasUserPrivilegeOnEntitiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HasUserPrivilegeOnEntitiesResponse_Dec.schema
            TClist = [GTD("urn:vim25","EntityPrivilege",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HasUserPrivilegeOnEntitiesResponse")
            kw["aname"] = "_HasUserPrivilegeOnEntitiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "HasUserPrivilegeOnEntitiesResponse_Holder"
            self.pyclass = Holder

    class FetchUserPrivilegeOnEntities_Dec(ElementDeclaration):
        literal = "FetchUserPrivilegeOnEntities"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FetchUserPrivilegeOnEntities")
            kw["aname"] = "_FetchUserPrivilegeOnEntities"
            if ns0.FetchUserPrivilegeOnEntitiesRequestType_Def not in ns0.FetchUserPrivilegeOnEntities_Dec.__bases__:
                bases = list(ns0.FetchUserPrivilegeOnEntities_Dec.__bases__)
                bases.insert(0, ns0.FetchUserPrivilegeOnEntitiesRequestType_Def)
                ns0.FetchUserPrivilegeOnEntities_Dec.__bases__ = tuple(bases)

            ns0.FetchUserPrivilegeOnEntitiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FetchUserPrivilegeOnEntities_Dec_Holder"

    class FetchUserPrivilegeOnEntitiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FetchUserPrivilegeOnEntitiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FetchUserPrivilegeOnEntitiesResponse_Dec.schema
            TClist = [GTD("urn:vim25","UserPrivilegeResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FetchUserPrivilegeOnEntitiesResponse")
            kw["aname"] = "_FetchUserPrivilegeOnEntitiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "FetchUserPrivilegeOnEntitiesResponse_Holder"
            self.pyclass = Holder

    class CertMgrRefreshCACertificatesAndCRLs_Task_Dec(ElementDeclaration):
        literal = "CertMgrRefreshCACertificatesAndCRLs_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CertMgrRefreshCACertificatesAndCRLs_Task")
            kw["aname"] = "_CertMgrRefreshCACertificatesAndCRLs_Task"
            if ns0.CertMgrRefreshCACertificatesAndCRLsRequestType_Def not in ns0.CertMgrRefreshCACertificatesAndCRLs_Task_Dec.__bases__:
                bases = list(ns0.CertMgrRefreshCACertificatesAndCRLs_Task_Dec.__bases__)
                bases.insert(0, ns0.CertMgrRefreshCACertificatesAndCRLsRequestType_Def)
                ns0.CertMgrRefreshCACertificatesAndCRLs_Task_Dec.__bases__ = tuple(bases)

            ns0.CertMgrRefreshCACertificatesAndCRLsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CertMgrRefreshCACertificatesAndCRLs_Task_Dec_Holder"

    class CertMgrRefreshCACertificatesAndCRLs_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CertMgrRefreshCACertificatesAndCRLs_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CertMgrRefreshCACertificatesAndCRLs_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CertMgrRefreshCACertificatesAndCRLs_TaskResponse")
            kw["aname"] = "_CertMgrRefreshCACertificatesAndCRLs_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CertMgrRefreshCACertificatesAndCRLs_TaskResponse_Holder"
            self.pyclass = Holder

    class CertMgrRefreshCertificates_Task_Dec(ElementDeclaration):
        literal = "CertMgrRefreshCertificates_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CertMgrRefreshCertificates_Task")
            kw["aname"] = "_CertMgrRefreshCertificates_Task"
            if ns0.CertMgrRefreshCertificatesRequestType_Def not in ns0.CertMgrRefreshCertificates_Task_Dec.__bases__:
                bases = list(ns0.CertMgrRefreshCertificates_Task_Dec.__bases__)
                bases.insert(0, ns0.CertMgrRefreshCertificatesRequestType_Def)
                ns0.CertMgrRefreshCertificates_Task_Dec.__bases__ = tuple(bases)

            ns0.CertMgrRefreshCertificatesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CertMgrRefreshCertificates_Task_Dec_Holder"

    class CertMgrRefreshCertificates_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CertMgrRefreshCertificates_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CertMgrRefreshCertificates_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CertMgrRefreshCertificates_TaskResponse")
            kw["aname"] = "_CertMgrRefreshCertificates_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CertMgrRefreshCertificates_TaskResponse_Holder"
            self.pyclass = Holder

    class CertMgrRevokeCertificates_Task_Dec(ElementDeclaration):
        literal = "CertMgrRevokeCertificates_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CertMgrRevokeCertificates_Task")
            kw["aname"] = "_CertMgrRevokeCertificates_Task"
            if ns0.CertMgrRevokeCertificatesRequestType_Def not in ns0.CertMgrRevokeCertificates_Task_Dec.__bases__:
                bases = list(ns0.CertMgrRevokeCertificates_Task_Dec.__bases__)
                bases.insert(0, ns0.CertMgrRevokeCertificatesRequestType_Def)
                ns0.CertMgrRevokeCertificates_Task_Dec.__bases__ = tuple(bases)

            ns0.CertMgrRevokeCertificatesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CertMgrRevokeCertificates_Task_Dec_Holder"

    class CertMgrRevokeCertificates_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CertMgrRevokeCertificates_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CertMgrRevokeCertificates_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CertMgrRevokeCertificates_TaskResponse")
            kw["aname"] = "_CertMgrRevokeCertificates_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CertMgrRevokeCertificates_TaskResponse_Holder"
            self.pyclass = Holder

    class ReconfigureCluster_Task_Dec(ElementDeclaration):
        literal = "ReconfigureCluster_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigureCluster_Task")
            kw["aname"] = "_ReconfigureCluster_Task"
            if ns0.ReconfigureClusterRequestType_Def not in ns0.ReconfigureCluster_Task_Dec.__bases__:
                bases = list(ns0.ReconfigureCluster_Task_Dec.__bases__)
                bases.insert(0, ns0.ReconfigureClusterRequestType_Def)
                ns0.ReconfigureCluster_Task_Dec.__bases__ = tuple(bases)

            ns0.ReconfigureClusterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigureCluster_Task_Dec_Holder"

    class ReconfigureCluster_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigureCluster_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigureCluster_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReconfigureCluster_TaskResponse")
            kw["aname"] = "_ReconfigureCluster_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ReconfigureCluster_TaskResponse_Holder"
            self.pyclass = Holder

    class ApplyRecommendation_Dec(ElementDeclaration):
        literal = "ApplyRecommendation"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ApplyRecommendation")
            kw["aname"] = "_ApplyRecommendation"
            if ns0.ApplyRecommendationRequestType_Def not in ns0.ApplyRecommendation_Dec.__bases__:
                bases = list(ns0.ApplyRecommendation_Dec.__bases__)
                bases.insert(0, ns0.ApplyRecommendationRequestType_Def)
                ns0.ApplyRecommendation_Dec.__bases__ = tuple(bases)

            ns0.ApplyRecommendationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ApplyRecommendation_Dec_Holder"

    class ApplyRecommendationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ApplyRecommendationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ApplyRecommendationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ApplyRecommendationResponse")
            kw["aname"] = "_ApplyRecommendationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ApplyRecommendationResponse_Holder"
            self.pyclass = Holder

    class CancelRecommendation_Dec(ElementDeclaration):
        literal = "CancelRecommendation"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CancelRecommendation")
            kw["aname"] = "_CancelRecommendation"
            if ns0.CancelRecommendationRequestType_Def not in ns0.CancelRecommendation_Dec.__bases__:
                bases = list(ns0.CancelRecommendation_Dec.__bases__)
                bases.insert(0, ns0.CancelRecommendationRequestType_Def)
                ns0.CancelRecommendation_Dec.__bases__ = tuple(bases)

            ns0.CancelRecommendationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CancelRecommendation_Dec_Holder"

    class CancelRecommendationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CancelRecommendationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CancelRecommendationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CancelRecommendationResponse")
            kw["aname"] = "_CancelRecommendationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CancelRecommendationResponse_Holder"
            self.pyclass = Holder

    class RecommendHostsForVm_Dec(ElementDeclaration):
        literal = "RecommendHostsForVm"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RecommendHostsForVm")
            kw["aname"] = "_RecommendHostsForVm"
            if ns0.RecommendHostsForVmRequestType_Def not in ns0.RecommendHostsForVm_Dec.__bases__:
                bases = list(ns0.RecommendHostsForVm_Dec.__bases__)
                bases.insert(0, ns0.RecommendHostsForVmRequestType_Def)
                ns0.RecommendHostsForVm_Dec.__bases__ = tuple(bases)

            ns0.RecommendHostsForVmRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RecommendHostsForVm_Dec_Holder"

    class RecommendHostsForVmResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RecommendHostsForVmResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RecommendHostsForVmResponse_Dec.schema
            TClist = [GTD("urn:vim25","ClusterHostRecommendation",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RecommendHostsForVmResponse")
            kw["aname"] = "_RecommendHostsForVmResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RecommendHostsForVmResponse_Holder"
            self.pyclass = Holder

    class AddHost_Task_Dec(ElementDeclaration):
        literal = "AddHost_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddHost_Task")
            kw["aname"] = "_AddHost_Task"
            if ns0.AddHostRequestType_Def not in ns0.AddHost_Task_Dec.__bases__:
                bases = list(ns0.AddHost_Task_Dec.__bases__)
                bases.insert(0, ns0.AddHostRequestType_Def)
                ns0.AddHost_Task_Dec.__bases__ = tuple(bases)

            ns0.AddHostRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddHost_Task_Dec_Holder"

    class AddHost_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddHost_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddHost_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AddHost_TaskResponse")
            kw["aname"] = "_AddHost_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AddHost_TaskResponse_Holder"
            self.pyclass = Holder

    class MoveInto_Task_Dec(ElementDeclaration):
        literal = "MoveInto_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MoveInto_Task")
            kw["aname"] = "_MoveInto_Task"
            if ns0.MoveIntoRequestType_Def not in ns0.MoveInto_Task_Dec.__bases__:
                bases = list(ns0.MoveInto_Task_Dec.__bases__)
                bases.insert(0, ns0.MoveIntoRequestType_Def)
                ns0.MoveInto_Task_Dec.__bases__ = tuple(bases)

            ns0.MoveIntoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MoveInto_Task_Dec_Holder"

    class MoveInto_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MoveInto_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MoveInto_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","MoveInto_TaskResponse")
            kw["aname"] = "_MoveInto_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "MoveInto_TaskResponse_Holder"
            self.pyclass = Holder

    class MoveHostInto_Task_Dec(ElementDeclaration):
        literal = "MoveHostInto_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MoveHostInto_Task")
            kw["aname"] = "_MoveHostInto_Task"
            if ns0.MoveHostIntoRequestType_Def not in ns0.MoveHostInto_Task_Dec.__bases__:
                bases = list(ns0.MoveHostInto_Task_Dec.__bases__)
                bases.insert(0, ns0.MoveHostIntoRequestType_Def)
                ns0.MoveHostInto_Task_Dec.__bases__ = tuple(bases)

            ns0.MoveHostIntoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MoveHostInto_Task_Dec_Holder"

    class MoveHostInto_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MoveHostInto_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MoveHostInto_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","MoveHostInto_TaskResponse")
            kw["aname"] = "_MoveHostInto_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "MoveHostInto_TaskResponse_Holder"
            self.pyclass = Holder

    class RefreshRecommendation_Dec(ElementDeclaration):
        literal = "RefreshRecommendation"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshRecommendation")
            kw["aname"] = "_RefreshRecommendation"
            if ns0.RefreshRecommendationRequestType_Def not in ns0.RefreshRecommendation_Dec.__bases__:
                bases = list(ns0.RefreshRecommendation_Dec.__bases__)
                bases.insert(0, ns0.RefreshRecommendationRequestType_Def)
                ns0.RefreshRecommendation_Dec.__bases__ = tuple(bases)

            ns0.RefreshRecommendationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshRecommendation_Dec_Holder"

    class RefreshRecommendationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshRecommendationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshRecommendationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshRecommendationResponse")
            kw["aname"] = "_RefreshRecommendationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshRecommendationResponse_Holder"
            self.pyclass = Holder

    class EvcManager_Dec(ElementDeclaration):
        literal = "EvcManager"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EvcManager")
            kw["aname"] = "_EvcManager"
            if ns0.EvcManagerRequestType_Def not in ns0.EvcManager_Dec.__bases__:
                bases = list(ns0.EvcManager_Dec.__bases__)
                bases.insert(0, ns0.EvcManagerRequestType_Def)
                ns0.EvcManager_Dec.__bases__ = tuple(bases)

            ns0.EvcManagerRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EvcManager_Dec_Holder"

    class EvcManagerResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EvcManagerResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EvcManagerResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","EvcManagerResponse")
            kw["aname"] = "_EvcManagerResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "EvcManagerResponse_Holder"
            self.pyclass = Holder

    class RetrieveDasAdvancedRuntimeInfo_Dec(ElementDeclaration):
        literal = "RetrieveDasAdvancedRuntimeInfo"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveDasAdvancedRuntimeInfo")
            kw["aname"] = "_RetrieveDasAdvancedRuntimeInfo"
            if ns0.RetrieveDasAdvancedRuntimeInfoRequestType_Def not in ns0.RetrieveDasAdvancedRuntimeInfo_Dec.__bases__:
                bases = list(ns0.RetrieveDasAdvancedRuntimeInfo_Dec.__bases__)
                bases.insert(0, ns0.RetrieveDasAdvancedRuntimeInfoRequestType_Def)
                ns0.RetrieveDasAdvancedRuntimeInfo_Dec.__bases__ = tuple(bases)

            ns0.RetrieveDasAdvancedRuntimeInfoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveDasAdvancedRuntimeInfo_Dec_Holder"

    class RetrieveDasAdvancedRuntimeInfoResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveDasAdvancedRuntimeInfoResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveDasAdvancedRuntimeInfoResponse_Dec.schema
            TClist = [GTD("urn:vim25","ClusterDasAdvancedRuntimeInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveDasAdvancedRuntimeInfoResponse")
            kw["aname"] = "_RetrieveDasAdvancedRuntimeInfoResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveDasAdvancedRuntimeInfoResponse_Holder"
            self.pyclass = Holder

    class ClusterEnterMaintenanceMode_Dec(ElementDeclaration):
        literal = "ClusterEnterMaintenanceMode"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ClusterEnterMaintenanceMode")
            kw["aname"] = "_ClusterEnterMaintenanceMode"
            if ns0.ClusterEnterMaintenanceModeRequestType_Def not in ns0.ClusterEnterMaintenanceMode_Dec.__bases__:
                bases = list(ns0.ClusterEnterMaintenanceMode_Dec.__bases__)
                bases.insert(0, ns0.ClusterEnterMaintenanceModeRequestType_Def)
                ns0.ClusterEnterMaintenanceMode_Dec.__bases__ = tuple(bases)

            ns0.ClusterEnterMaintenanceModeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ClusterEnterMaintenanceMode_Dec_Holder"

    class ClusterEnterMaintenanceModeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ClusterEnterMaintenanceModeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ClusterEnterMaintenanceModeResponse_Dec.schema
            TClist = [GTD("urn:vim25","ClusterEnterMaintenanceResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ClusterEnterMaintenanceModeResponse")
            kw["aname"] = "_ClusterEnterMaintenanceModeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ClusterEnterMaintenanceModeResponse_Holder"
            self.pyclass = Holder

    class PlaceVm_Dec(ElementDeclaration):
        literal = "PlaceVm"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PlaceVm")
            kw["aname"] = "_PlaceVm"
            if ns0.PlaceVmRequestType_Def not in ns0.PlaceVm_Dec.__bases__:
                bases = list(ns0.PlaceVm_Dec.__bases__)
                bases.insert(0, ns0.PlaceVmRequestType_Def)
                ns0.PlaceVm_Dec.__bases__ = tuple(bases)

            ns0.PlaceVmRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PlaceVm_Dec_Holder"

    class PlaceVmResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PlaceVmResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PlaceVmResponse_Dec.schema
            TClist = [GTD("urn:vim25","PlacementResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","PlaceVmResponse")
            kw["aname"] = "_PlaceVmResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "PlaceVmResponse_Holder"
            self.pyclass = Holder

    class FindRulesForVm_Dec(ElementDeclaration):
        literal = "FindRulesForVm"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FindRulesForVm")
            kw["aname"] = "_FindRulesForVm"
            if ns0.FindRulesForVmRequestType_Def not in ns0.FindRulesForVm_Dec.__bases__:
                bases = list(ns0.FindRulesForVm_Dec.__bases__)
                bases.insert(0, ns0.FindRulesForVmRequestType_Def)
                ns0.FindRulesForVm_Dec.__bases__ = tuple(bases)

            ns0.FindRulesForVmRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FindRulesForVm_Dec_Holder"

    class FindRulesForVmResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FindRulesForVmResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FindRulesForVmResponse_Dec.schema
            TClist = [GTD("urn:vim25","ClusterRuleInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FindRulesForVmResponse")
            kw["aname"] = "_FindRulesForVmResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "FindRulesForVmResponse_Holder"
            self.pyclass = Holder

    class StampAllRulesWithUuid_Task_Dec(ElementDeclaration):
        literal = "StampAllRulesWithUuid_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StampAllRulesWithUuid_Task")
            kw["aname"] = "_StampAllRulesWithUuid_Task"
            if ns0.StampAllRulesWithUuidRequestType_Def not in ns0.StampAllRulesWithUuid_Task_Dec.__bases__:
                bases = list(ns0.StampAllRulesWithUuid_Task_Dec.__bases__)
                bases.insert(0, ns0.StampAllRulesWithUuidRequestType_Def)
                ns0.StampAllRulesWithUuid_Task_Dec.__bases__ = tuple(bases)

            ns0.StampAllRulesWithUuidRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StampAllRulesWithUuid_Task_Dec_Holder"

    class StampAllRulesWithUuid_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "StampAllRulesWithUuid_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.StampAllRulesWithUuid_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","StampAllRulesWithUuid_TaskResponse")
            kw["aname"] = "_StampAllRulesWithUuid_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "StampAllRulesWithUuid_TaskResponse_Holder"
            self.pyclass = Holder

    class GetResourceUsage_Dec(ElementDeclaration):
        literal = "GetResourceUsage"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GetResourceUsage")
            kw["aname"] = "_GetResourceUsage"
            if ns0.GetResourceUsageRequestType_Def not in ns0.GetResourceUsage_Dec.__bases__:
                bases = list(ns0.GetResourceUsage_Dec.__bases__)
                bases.insert(0, ns0.GetResourceUsageRequestType_Def)
                ns0.GetResourceUsage_Dec.__bases__ = tuple(bases)

            ns0.GetResourceUsageRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GetResourceUsage_Dec_Holder"

    class GetResourceUsageResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GetResourceUsageResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GetResourceUsageResponse_Dec.schema
            TClist = [GTD("urn:vim25","ClusterResourceUsageSummary",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GetResourceUsageResponse")
            kw["aname"] = "_GetResourceUsageResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "GetResourceUsageResponse_Holder"
            self.pyclass = Holder

    class ReconfigureComputeResource_Task_Dec(ElementDeclaration):
        literal = "ReconfigureComputeResource_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigureComputeResource_Task")
            kw["aname"] = "_ReconfigureComputeResource_Task"
            if ns0.ReconfigureComputeResourceRequestType_Def not in ns0.ReconfigureComputeResource_Task_Dec.__bases__:
                bases = list(ns0.ReconfigureComputeResource_Task_Dec.__bases__)
                bases.insert(0, ns0.ReconfigureComputeResourceRequestType_Def)
                ns0.ReconfigureComputeResource_Task_Dec.__bases__ = tuple(bases)

            ns0.ReconfigureComputeResourceRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigureComputeResource_Task_Dec_Holder"

    class ReconfigureComputeResource_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigureComputeResource_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigureComputeResource_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReconfigureComputeResource_TaskResponse")
            kw["aname"] = "_ReconfigureComputeResource_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ReconfigureComputeResource_TaskResponse_Holder"
            self.pyclass = Holder

    class AddCustomFieldDef_Dec(ElementDeclaration):
        literal = "AddCustomFieldDef"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddCustomFieldDef")
            kw["aname"] = "_AddCustomFieldDef"
            if ns0.AddCustomFieldDefRequestType_Def not in ns0.AddCustomFieldDef_Dec.__bases__:
                bases = list(ns0.AddCustomFieldDef_Dec.__bases__)
                bases.insert(0, ns0.AddCustomFieldDefRequestType_Def)
                ns0.AddCustomFieldDef_Dec.__bases__ = tuple(bases)

            ns0.AddCustomFieldDefRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddCustomFieldDef_Dec_Holder"

    class AddCustomFieldDefResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddCustomFieldDefResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddCustomFieldDefResponse_Dec.schema
            TClist = [GTD("urn:vim25","CustomFieldDef",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AddCustomFieldDefResponse")
            kw["aname"] = "_AddCustomFieldDefResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AddCustomFieldDefResponse_Holder"
            self.pyclass = Holder

    class RemoveCustomFieldDef_Dec(ElementDeclaration):
        literal = "RemoveCustomFieldDef"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveCustomFieldDef")
            kw["aname"] = "_RemoveCustomFieldDef"
            if ns0.RemoveCustomFieldDefRequestType_Def not in ns0.RemoveCustomFieldDef_Dec.__bases__:
                bases = list(ns0.RemoveCustomFieldDef_Dec.__bases__)
                bases.insert(0, ns0.RemoveCustomFieldDefRequestType_Def)
                ns0.RemoveCustomFieldDef_Dec.__bases__ = tuple(bases)

            ns0.RemoveCustomFieldDefRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveCustomFieldDef_Dec_Holder"

    class RemoveCustomFieldDefResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveCustomFieldDefResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveCustomFieldDefResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveCustomFieldDefResponse")
            kw["aname"] = "_RemoveCustomFieldDefResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveCustomFieldDefResponse_Holder"
            self.pyclass = Holder

    class RenameCustomFieldDef_Dec(ElementDeclaration):
        literal = "RenameCustomFieldDef"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RenameCustomFieldDef")
            kw["aname"] = "_RenameCustomFieldDef"
            if ns0.RenameCustomFieldDefRequestType_Def not in ns0.RenameCustomFieldDef_Dec.__bases__:
                bases = list(ns0.RenameCustomFieldDef_Dec.__bases__)
                bases.insert(0, ns0.RenameCustomFieldDefRequestType_Def)
                ns0.RenameCustomFieldDef_Dec.__bases__ = tuple(bases)

            ns0.RenameCustomFieldDefRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RenameCustomFieldDef_Dec_Holder"

    class RenameCustomFieldDefResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RenameCustomFieldDefResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RenameCustomFieldDefResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RenameCustomFieldDefResponse")
            kw["aname"] = "_RenameCustomFieldDefResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RenameCustomFieldDefResponse_Holder"
            self.pyclass = Holder

    class SetField_Dec(ElementDeclaration):
        literal = "SetField"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetField")
            kw["aname"] = "_SetField"
            if ns0.SetFieldRequestType_Def not in ns0.SetField_Dec.__bases__:
                bases = list(ns0.SetField_Dec.__bases__)
                bases.insert(0, ns0.SetFieldRequestType_Def)
                ns0.SetField_Dec.__bases__ = tuple(bases)

            ns0.SetFieldRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetField_Dec_Holder"

    class SetFieldResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetFieldResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetFieldResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetFieldResponse")
            kw["aname"] = "_SetFieldResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetFieldResponse_Holder"
            self.pyclass = Holder

    class DoesCustomizationSpecExist_Dec(ElementDeclaration):
        literal = "DoesCustomizationSpecExist"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DoesCustomizationSpecExist")
            kw["aname"] = "_DoesCustomizationSpecExist"
            if ns0.DoesCustomizationSpecExistRequestType_Def not in ns0.DoesCustomizationSpecExist_Dec.__bases__:
                bases = list(ns0.DoesCustomizationSpecExist_Dec.__bases__)
                bases.insert(0, ns0.DoesCustomizationSpecExistRequestType_Def)
                ns0.DoesCustomizationSpecExist_Dec.__bases__ = tuple(bases)

            ns0.DoesCustomizationSpecExistRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DoesCustomizationSpecExist_Dec_Holder"

    class DoesCustomizationSpecExistResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DoesCustomizationSpecExistResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DoesCustomizationSpecExistResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DoesCustomizationSpecExistResponse")
            kw["aname"] = "_DoesCustomizationSpecExistResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DoesCustomizationSpecExistResponse_Holder"
            self.pyclass = Holder

    class GetCustomizationSpec_Dec(ElementDeclaration):
        literal = "GetCustomizationSpec"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GetCustomizationSpec")
            kw["aname"] = "_GetCustomizationSpec"
            if ns0.GetCustomizationSpecRequestType_Def not in ns0.GetCustomizationSpec_Dec.__bases__:
                bases = list(ns0.GetCustomizationSpec_Dec.__bases__)
                bases.insert(0, ns0.GetCustomizationSpecRequestType_Def)
                ns0.GetCustomizationSpec_Dec.__bases__ = tuple(bases)

            ns0.GetCustomizationSpecRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GetCustomizationSpec_Dec_Holder"

    class GetCustomizationSpecResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GetCustomizationSpecResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GetCustomizationSpecResponse_Dec.schema
            TClist = [GTD("urn:vim25","CustomizationSpecItem",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GetCustomizationSpecResponse")
            kw["aname"] = "_GetCustomizationSpecResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "GetCustomizationSpecResponse_Holder"
            self.pyclass = Holder

    class CreateCustomizationSpec_Dec(ElementDeclaration):
        literal = "CreateCustomizationSpec"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateCustomizationSpec")
            kw["aname"] = "_CreateCustomizationSpec"
            if ns0.CreateCustomizationSpecRequestType_Def not in ns0.CreateCustomizationSpec_Dec.__bases__:
                bases = list(ns0.CreateCustomizationSpec_Dec.__bases__)
                bases.insert(0, ns0.CreateCustomizationSpecRequestType_Def)
                ns0.CreateCustomizationSpec_Dec.__bases__ = tuple(bases)

            ns0.CreateCustomizationSpecRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateCustomizationSpec_Dec_Holder"

    class CreateCustomizationSpecResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateCustomizationSpecResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateCustomizationSpecResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CreateCustomizationSpecResponse")
            kw["aname"] = "_CreateCustomizationSpecResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CreateCustomizationSpecResponse_Holder"
            self.pyclass = Holder

    class OverwriteCustomizationSpec_Dec(ElementDeclaration):
        literal = "OverwriteCustomizationSpec"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OverwriteCustomizationSpec")
            kw["aname"] = "_OverwriteCustomizationSpec"
            if ns0.OverwriteCustomizationSpecRequestType_Def not in ns0.OverwriteCustomizationSpec_Dec.__bases__:
                bases = list(ns0.OverwriteCustomizationSpec_Dec.__bases__)
                bases.insert(0, ns0.OverwriteCustomizationSpecRequestType_Def)
                ns0.OverwriteCustomizationSpec_Dec.__bases__ = tuple(bases)

            ns0.OverwriteCustomizationSpecRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OverwriteCustomizationSpec_Dec_Holder"

    class OverwriteCustomizationSpecResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "OverwriteCustomizationSpecResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.OverwriteCustomizationSpecResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","OverwriteCustomizationSpecResponse")
            kw["aname"] = "_OverwriteCustomizationSpecResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "OverwriteCustomizationSpecResponse_Holder"
            self.pyclass = Holder

    class DeleteCustomizationSpec_Dec(ElementDeclaration):
        literal = "DeleteCustomizationSpec"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteCustomizationSpec")
            kw["aname"] = "_DeleteCustomizationSpec"
            if ns0.DeleteCustomizationSpecRequestType_Def not in ns0.DeleteCustomizationSpec_Dec.__bases__:
                bases = list(ns0.DeleteCustomizationSpec_Dec.__bases__)
                bases.insert(0, ns0.DeleteCustomizationSpecRequestType_Def)
                ns0.DeleteCustomizationSpec_Dec.__bases__ = tuple(bases)

            ns0.DeleteCustomizationSpecRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteCustomizationSpec_Dec_Holder"

    class DeleteCustomizationSpecResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteCustomizationSpecResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteCustomizationSpecResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DeleteCustomizationSpecResponse")
            kw["aname"] = "_DeleteCustomizationSpecResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DeleteCustomizationSpecResponse_Holder"
            self.pyclass = Holder

    class DuplicateCustomizationSpec_Dec(ElementDeclaration):
        literal = "DuplicateCustomizationSpec"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DuplicateCustomizationSpec")
            kw["aname"] = "_DuplicateCustomizationSpec"
            if ns0.DuplicateCustomizationSpecRequestType_Def not in ns0.DuplicateCustomizationSpec_Dec.__bases__:
                bases = list(ns0.DuplicateCustomizationSpec_Dec.__bases__)
                bases.insert(0, ns0.DuplicateCustomizationSpecRequestType_Def)
                ns0.DuplicateCustomizationSpec_Dec.__bases__ = tuple(bases)

            ns0.DuplicateCustomizationSpecRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DuplicateCustomizationSpec_Dec_Holder"

    class DuplicateCustomizationSpecResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DuplicateCustomizationSpecResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DuplicateCustomizationSpecResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DuplicateCustomizationSpecResponse")
            kw["aname"] = "_DuplicateCustomizationSpecResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DuplicateCustomizationSpecResponse_Holder"
            self.pyclass = Holder

    class RenameCustomizationSpec_Dec(ElementDeclaration):
        literal = "RenameCustomizationSpec"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RenameCustomizationSpec")
            kw["aname"] = "_RenameCustomizationSpec"
            if ns0.RenameCustomizationSpecRequestType_Def not in ns0.RenameCustomizationSpec_Dec.__bases__:
                bases = list(ns0.RenameCustomizationSpec_Dec.__bases__)
                bases.insert(0, ns0.RenameCustomizationSpecRequestType_Def)
                ns0.RenameCustomizationSpec_Dec.__bases__ = tuple(bases)

            ns0.RenameCustomizationSpecRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RenameCustomizationSpec_Dec_Holder"

    class RenameCustomizationSpecResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RenameCustomizationSpecResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RenameCustomizationSpecResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RenameCustomizationSpecResponse")
            kw["aname"] = "_RenameCustomizationSpecResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RenameCustomizationSpecResponse_Holder"
            self.pyclass = Holder

    class CustomizationSpecItemToXml_Dec(ElementDeclaration):
        literal = "CustomizationSpecItemToXml"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CustomizationSpecItemToXml")
            kw["aname"] = "_CustomizationSpecItemToXml"
            if ns0.CustomizationSpecItemToXmlRequestType_Def not in ns0.CustomizationSpecItemToXml_Dec.__bases__:
                bases = list(ns0.CustomizationSpecItemToXml_Dec.__bases__)
                bases.insert(0, ns0.CustomizationSpecItemToXmlRequestType_Def)
                ns0.CustomizationSpecItemToXml_Dec.__bases__ = tuple(bases)

            ns0.CustomizationSpecItemToXmlRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CustomizationSpecItemToXml_Dec_Holder"

    class CustomizationSpecItemToXmlResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CustomizationSpecItemToXmlResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CustomizationSpecItemToXmlResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CustomizationSpecItemToXmlResponse")
            kw["aname"] = "_CustomizationSpecItemToXmlResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CustomizationSpecItemToXmlResponse_Holder"
            self.pyclass = Holder

    class XmlToCustomizationSpecItem_Dec(ElementDeclaration):
        literal = "XmlToCustomizationSpecItem"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","XmlToCustomizationSpecItem")
            kw["aname"] = "_XmlToCustomizationSpecItem"
            if ns0.XmlToCustomizationSpecItemRequestType_Def not in ns0.XmlToCustomizationSpecItem_Dec.__bases__:
                bases = list(ns0.XmlToCustomizationSpecItem_Dec.__bases__)
                bases.insert(0, ns0.XmlToCustomizationSpecItemRequestType_Def)
                ns0.XmlToCustomizationSpecItem_Dec.__bases__ = tuple(bases)

            ns0.XmlToCustomizationSpecItemRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "XmlToCustomizationSpecItem_Dec_Holder"

    class XmlToCustomizationSpecItemResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "XmlToCustomizationSpecItemResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.XmlToCustomizationSpecItemResponse_Dec.schema
            TClist = [GTD("urn:vim25","CustomizationSpecItem",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","XmlToCustomizationSpecItemResponse")
            kw["aname"] = "_XmlToCustomizationSpecItemResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "XmlToCustomizationSpecItemResponse_Holder"
            self.pyclass = Holder

    class CheckCustomizationResources_Dec(ElementDeclaration):
        literal = "CheckCustomizationResources"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckCustomizationResources")
            kw["aname"] = "_CheckCustomizationResources"
            if ns0.CheckCustomizationResourcesRequestType_Def not in ns0.CheckCustomizationResources_Dec.__bases__:
                bases = list(ns0.CheckCustomizationResources_Dec.__bases__)
                bases.insert(0, ns0.CheckCustomizationResourcesRequestType_Def)
                ns0.CheckCustomizationResources_Dec.__bases__ = tuple(bases)

            ns0.CheckCustomizationResourcesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckCustomizationResources_Dec_Holder"

    class CheckCustomizationResourcesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckCustomizationResourcesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckCustomizationResourcesResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CheckCustomizationResourcesResponse")
            kw["aname"] = "_CheckCustomizationResourcesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CheckCustomizationResourcesResponse_Holder"
            self.pyclass = Holder

    class QueryConnectionInfo_Dec(ElementDeclaration):
        literal = "QueryConnectionInfo"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryConnectionInfo")
            kw["aname"] = "_QueryConnectionInfo"
            if ns0.QueryConnectionInfoRequestType_Def not in ns0.QueryConnectionInfo_Dec.__bases__:
                bases = list(ns0.QueryConnectionInfo_Dec.__bases__)
                bases.insert(0, ns0.QueryConnectionInfoRequestType_Def)
                ns0.QueryConnectionInfo_Dec.__bases__ = tuple(bases)

            ns0.QueryConnectionInfoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryConnectionInfo_Dec_Holder"

    class QueryConnectionInfoResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryConnectionInfoResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryConnectionInfoResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostConnectInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryConnectionInfoResponse")
            kw["aname"] = "_QueryConnectionInfoResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryConnectionInfoResponse_Holder"
            self.pyclass = Holder

    class QueryConnectionInfoViaSpec_Dec(ElementDeclaration):
        literal = "QueryConnectionInfoViaSpec"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryConnectionInfoViaSpec")
            kw["aname"] = "_QueryConnectionInfoViaSpec"
            if ns0.QueryConnectionInfoViaSpecRequestType_Def not in ns0.QueryConnectionInfoViaSpec_Dec.__bases__:
                bases = list(ns0.QueryConnectionInfoViaSpec_Dec.__bases__)
                bases.insert(0, ns0.QueryConnectionInfoViaSpecRequestType_Def)
                ns0.QueryConnectionInfoViaSpec_Dec.__bases__ = tuple(bases)

            ns0.QueryConnectionInfoViaSpecRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryConnectionInfoViaSpec_Dec_Holder"

    class QueryConnectionInfoViaSpecResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryConnectionInfoViaSpecResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryConnectionInfoViaSpecResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostConnectInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryConnectionInfoViaSpecResponse")
            kw["aname"] = "_QueryConnectionInfoViaSpecResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryConnectionInfoViaSpecResponse_Holder"
            self.pyclass = Holder

    class PowerOnMultiVM_Task_Dec(ElementDeclaration):
        literal = "PowerOnMultiVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PowerOnMultiVM_Task")
            kw["aname"] = "_PowerOnMultiVM_Task"
            if ns0.PowerOnMultiVMRequestType_Def not in ns0.PowerOnMultiVM_Task_Dec.__bases__:
                bases = list(ns0.PowerOnMultiVM_Task_Dec.__bases__)
                bases.insert(0, ns0.PowerOnMultiVMRequestType_Def)
                ns0.PowerOnMultiVM_Task_Dec.__bases__ = tuple(bases)

            ns0.PowerOnMultiVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PowerOnMultiVM_Task_Dec_Holder"

    class PowerOnMultiVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PowerOnMultiVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PowerOnMultiVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","PowerOnMultiVM_TaskResponse")
            kw["aname"] = "_PowerOnMultiVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "PowerOnMultiVM_TaskResponse_Holder"
            self.pyclass = Holder

    class queryDatacenterConfigOptionDescriptor_Dec(ElementDeclaration):
        literal = "queryDatacenterConfigOptionDescriptor"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","queryDatacenterConfigOptionDescriptor")
            kw["aname"] = "_queryDatacenterConfigOptionDescriptor"
            if ns0.queryDatacenterConfigOptionDescriptorRequestType_Def not in ns0.queryDatacenterConfigOptionDescriptor_Dec.__bases__:
                bases = list(ns0.queryDatacenterConfigOptionDescriptor_Dec.__bases__)
                bases.insert(0, ns0.queryDatacenterConfigOptionDescriptorRequestType_Def)
                ns0.queryDatacenterConfigOptionDescriptor_Dec.__bases__ = tuple(bases)

            ns0.queryDatacenterConfigOptionDescriptorRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "queryDatacenterConfigOptionDescriptor_Dec_Holder"

    class queryDatacenterConfigOptionDescriptorResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "queryDatacenterConfigOptionDescriptorResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.queryDatacenterConfigOptionDescriptorResponse_Dec.schema
            TClist = [GTD("urn:vim25","VirtualMachineConfigOptionDescriptor",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","queryDatacenterConfigOptionDescriptorResponse")
            kw["aname"] = "_queryDatacenterConfigOptionDescriptorResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "queryDatacenterConfigOptionDescriptorResponse_Holder"
            self.pyclass = Holder

    class ReconfigureDatacenter_Task_Dec(ElementDeclaration):
        literal = "ReconfigureDatacenter_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigureDatacenter_Task")
            kw["aname"] = "_ReconfigureDatacenter_Task"
            if ns0.ReconfigureDatacenterRequestType_Def not in ns0.ReconfigureDatacenter_Task_Dec.__bases__:
                bases = list(ns0.ReconfigureDatacenter_Task_Dec.__bases__)
                bases.insert(0, ns0.ReconfigureDatacenterRequestType_Def)
                ns0.ReconfigureDatacenter_Task_Dec.__bases__ = tuple(bases)

            ns0.ReconfigureDatacenterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigureDatacenter_Task_Dec_Holder"

    class ReconfigureDatacenter_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigureDatacenter_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigureDatacenter_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReconfigureDatacenter_TaskResponse")
            kw["aname"] = "_ReconfigureDatacenter_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ReconfigureDatacenter_TaskResponse_Holder"
            self.pyclass = Holder

    class RefreshDatastore_Dec(ElementDeclaration):
        literal = "RefreshDatastore"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshDatastore")
            kw["aname"] = "_RefreshDatastore"
            if ns0.RefreshDatastoreRequestType_Def not in ns0.RefreshDatastore_Dec.__bases__:
                bases = list(ns0.RefreshDatastore_Dec.__bases__)
                bases.insert(0, ns0.RefreshDatastoreRequestType_Def)
                ns0.RefreshDatastore_Dec.__bases__ = tuple(bases)

            ns0.RefreshDatastoreRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshDatastore_Dec_Holder"

    class RefreshDatastoreResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshDatastoreResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshDatastoreResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshDatastoreResponse")
            kw["aname"] = "_RefreshDatastoreResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshDatastoreResponse_Holder"
            self.pyclass = Holder

    class RefreshDatastoreStorageInfo_Dec(ElementDeclaration):
        literal = "RefreshDatastoreStorageInfo"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshDatastoreStorageInfo")
            kw["aname"] = "_RefreshDatastoreStorageInfo"
            if ns0.RefreshDatastoreStorageInfoRequestType_Def not in ns0.RefreshDatastoreStorageInfo_Dec.__bases__:
                bases = list(ns0.RefreshDatastoreStorageInfo_Dec.__bases__)
                bases.insert(0, ns0.RefreshDatastoreStorageInfoRequestType_Def)
                ns0.RefreshDatastoreStorageInfo_Dec.__bases__ = tuple(bases)

            ns0.RefreshDatastoreStorageInfoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshDatastoreStorageInfo_Dec_Holder"

    class RefreshDatastoreStorageInfoResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshDatastoreStorageInfoResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshDatastoreStorageInfoResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshDatastoreStorageInfoResponse")
            kw["aname"] = "_RefreshDatastoreStorageInfoResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshDatastoreStorageInfoResponse_Holder"
            self.pyclass = Holder

    class UpdateVirtualMachineFiles_Task_Dec(ElementDeclaration):
        literal = "UpdateVirtualMachineFiles_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateVirtualMachineFiles_Task")
            kw["aname"] = "_UpdateVirtualMachineFiles_Task"
            if ns0.UpdateVirtualMachineFilesRequestType_Def not in ns0.UpdateVirtualMachineFiles_Task_Dec.__bases__:
                bases = list(ns0.UpdateVirtualMachineFiles_Task_Dec.__bases__)
                bases.insert(0, ns0.UpdateVirtualMachineFilesRequestType_Def)
                ns0.UpdateVirtualMachineFiles_Task_Dec.__bases__ = tuple(bases)

            ns0.UpdateVirtualMachineFilesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateVirtualMachineFiles_Task_Dec_Holder"

    class UpdateVirtualMachineFiles_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateVirtualMachineFiles_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateVirtualMachineFiles_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpdateVirtualMachineFiles_TaskResponse")
            kw["aname"] = "_UpdateVirtualMachineFiles_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpdateVirtualMachineFiles_TaskResponse_Holder"
            self.pyclass = Holder

    class RenameDatastore_Dec(ElementDeclaration):
        literal = "RenameDatastore"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RenameDatastore")
            kw["aname"] = "_RenameDatastore"
            if ns0.RenameDatastoreRequestType_Def not in ns0.RenameDatastore_Dec.__bases__:
                bases = list(ns0.RenameDatastore_Dec.__bases__)
                bases.insert(0, ns0.RenameDatastoreRequestType_Def)
                ns0.RenameDatastore_Dec.__bases__ = tuple(bases)

            ns0.RenameDatastoreRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RenameDatastore_Dec_Holder"

    class RenameDatastoreResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RenameDatastoreResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RenameDatastoreResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RenameDatastoreResponse")
            kw["aname"] = "_RenameDatastoreResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RenameDatastoreResponse_Holder"
            self.pyclass = Holder

    class DestroyDatastore_Dec(ElementDeclaration):
        literal = "DestroyDatastore"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DestroyDatastore")
            kw["aname"] = "_DestroyDatastore"
            if ns0.DestroyDatastoreRequestType_Def not in ns0.DestroyDatastore_Dec.__bases__:
                bases = list(ns0.DestroyDatastore_Dec.__bases__)
                bases.insert(0, ns0.DestroyDatastoreRequestType_Def)
                ns0.DestroyDatastore_Dec.__bases__ = tuple(bases)

            ns0.DestroyDatastoreRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DestroyDatastore_Dec_Holder"

    class DestroyDatastoreResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DestroyDatastoreResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DestroyDatastoreResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DestroyDatastoreResponse")
            kw["aname"] = "_DestroyDatastoreResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DestroyDatastoreResponse_Holder"
            self.pyclass = Holder

    class DatastoreEnterMaintenanceMode_Dec(ElementDeclaration):
        literal = "DatastoreEnterMaintenanceMode"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DatastoreEnterMaintenanceMode")
            kw["aname"] = "_DatastoreEnterMaintenanceMode"
            if ns0.DatastoreEnterMaintenanceModeRequestType_Def not in ns0.DatastoreEnterMaintenanceMode_Dec.__bases__:
                bases = list(ns0.DatastoreEnterMaintenanceMode_Dec.__bases__)
                bases.insert(0, ns0.DatastoreEnterMaintenanceModeRequestType_Def)
                ns0.DatastoreEnterMaintenanceMode_Dec.__bases__ = tuple(bases)

            ns0.DatastoreEnterMaintenanceModeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DatastoreEnterMaintenanceMode_Dec_Holder"

    class DatastoreEnterMaintenanceModeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DatastoreEnterMaintenanceModeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DatastoreEnterMaintenanceModeResponse_Dec.schema
            TClist = [GTD("urn:vim25","StoragePlacementResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DatastoreEnterMaintenanceModeResponse")
            kw["aname"] = "_DatastoreEnterMaintenanceModeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DatastoreEnterMaintenanceModeResponse_Holder"
            self.pyclass = Holder

    class DatastoreExitMaintenanceMode_Task_Dec(ElementDeclaration):
        literal = "DatastoreExitMaintenanceMode_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DatastoreExitMaintenanceMode_Task")
            kw["aname"] = "_DatastoreExitMaintenanceMode_Task"
            if ns0.DatastoreExitMaintenanceModeRequestType_Def not in ns0.DatastoreExitMaintenanceMode_Task_Dec.__bases__:
                bases = list(ns0.DatastoreExitMaintenanceMode_Task_Dec.__bases__)
                bases.insert(0, ns0.DatastoreExitMaintenanceModeRequestType_Def)
                ns0.DatastoreExitMaintenanceMode_Task_Dec.__bases__ = tuple(bases)

            ns0.DatastoreExitMaintenanceModeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DatastoreExitMaintenanceMode_Task_Dec_Holder"

    class DatastoreExitMaintenanceMode_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DatastoreExitMaintenanceMode_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DatastoreExitMaintenanceMode_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DatastoreExitMaintenanceMode_TaskResponse")
            kw["aname"] = "_DatastoreExitMaintenanceMode_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DatastoreExitMaintenanceMode_TaskResponse_Holder"
            self.pyclass = Holder

    class UpdateVVolVirtualMachineFiles_Task_Dec(ElementDeclaration):
        literal = "UpdateVVolVirtualMachineFiles_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateVVolVirtualMachineFiles_Task")
            kw["aname"] = "_UpdateVVolVirtualMachineFiles_Task"
            if ns0.UpdateVVolVirtualMachineFilesRequestType_Def not in ns0.UpdateVVolVirtualMachineFiles_Task_Dec.__bases__:
                bases = list(ns0.UpdateVVolVirtualMachineFiles_Task_Dec.__bases__)
                bases.insert(0, ns0.UpdateVVolVirtualMachineFilesRequestType_Def)
                ns0.UpdateVVolVirtualMachineFiles_Task_Dec.__bases__ = tuple(bases)

            ns0.UpdateVVolVirtualMachineFilesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateVVolVirtualMachineFiles_Task_Dec_Holder"

    class UpdateVVolVirtualMachineFiles_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateVVolVirtualMachineFiles_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateVVolVirtualMachineFiles_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpdateVVolVirtualMachineFiles_TaskResponse")
            kw["aname"] = "_UpdateVVolVirtualMachineFiles_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpdateVVolVirtualMachineFiles_TaskResponse_Holder"
            self.pyclass = Holder

    class CreateDirectory_Dec(ElementDeclaration):
        literal = "CreateDirectory"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateDirectory")
            kw["aname"] = "_CreateDirectory"
            if ns0.CreateDirectoryRequestType_Def not in ns0.CreateDirectory_Dec.__bases__:
                bases = list(ns0.CreateDirectory_Dec.__bases__)
                bases.insert(0, ns0.CreateDirectoryRequestType_Def)
                ns0.CreateDirectory_Dec.__bases__ = tuple(bases)

            ns0.CreateDirectoryRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateDirectory_Dec_Holder"

    class CreateDirectoryResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateDirectoryResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateDirectoryResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateDirectoryResponse")
            kw["aname"] = "_CreateDirectoryResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateDirectoryResponse_Holder"
            self.pyclass = Holder

    class DeleteDirectory_Dec(ElementDeclaration):
        literal = "DeleteDirectory"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteDirectory")
            kw["aname"] = "_DeleteDirectory"
            if ns0.DeleteDirectoryRequestType_Def not in ns0.DeleteDirectory_Dec.__bases__:
                bases = list(ns0.DeleteDirectory_Dec.__bases__)
                bases.insert(0, ns0.DeleteDirectoryRequestType_Def)
                ns0.DeleteDirectory_Dec.__bases__ = tuple(bases)

            ns0.DeleteDirectoryRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteDirectory_Dec_Holder"

    class DeleteDirectoryResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteDirectoryResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteDirectoryResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DeleteDirectoryResponse")
            kw["aname"] = "_DeleteDirectoryResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DeleteDirectoryResponse_Holder"
            self.pyclass = Holder

    class ConvertNamespacePathToUuidPath_Dec(ElementDeclaration):
        literal = "ConvertNamespacePathToUuidPath"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConvertNamespacePathToUuidPath")
            kw["aname"] = "_ConvertNamespacePathToUuidPath"
            if ns0.ConvertNamespacePathToUuidPathRequestType_Def not in ns0.ConvertNamespacePathToUuidPath_Dec.__bases__:
                bases = list(ns0.ConvertNamespacePathToUuidPath_Dec.__bases__)
                bases.insert(0, ns0.ConvertNamespacePathToUuidPathRequestType_Def)
                ns0.ConvertNamespacePathToUuidPath_Dec.__bases__ = tuple(bases)

            ns0.ConvertNamespacePathToUuidPathRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConvertNamespacePathToUuidPath_Dec_Holder"

    class ConvertNamespacePathToUuidPathResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ConvertNamespacePathToUuidPathResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ConvertNamespacePathToUuidPathResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ConvertNamespacePathToUuidPathResponse")
            kw["aname"] = "_ConvertNamespacePathToUuidPathResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ConvertNamespacePathToUuidPathResponse_Holder"
            self.pyclass = Holder

    class QueryDescriptions_Dec(ElementDeclaration):
        literal = "QueryDescriptions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryDescriptions")
            kw["aname"] = "_QueryDescriptions"
            if ns0.QueryDescriptionsRequestType_Def not in ns0.QueryDescriptions_Dec.__bases__:
                bases = list(ns0.QueryDescriptions_Dec.__bases__)
                bases.insert(0, ns0.QueryDescriptionsRequestType_Def)
                ns0.QueryDescriptions_Dec.__bases__ = tuple(bases)

            ns0.QueryDescriptionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryDescriptions_Dec_Holder"

    class QueryDescriptionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryDescriptionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryDescriptionsResponse_Dec.schema
            TClist = [GTD("urn:vim25","DiagnosticManagerLogDescriptor",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryDescriptionsResponse")
            kw["aname"] = "_QueryDescriptionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryDescriptionsResponse_Holder"
            self.pyclass = Holder

    class BrowseDiagnosticLog_Dec(ElementDeclaration):
        literal = "BrowseDiagnosticLog"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","BrowseDiagnosticLog")
            kw["aname"] = "_BrowseDiagnosticLog"
            if ns0.BrowseDiagnosticLogRequestType_Def not in ns0.BrowseDiagnosticLog_Dec.__bases__:
                bases = list(ns0.BrowseDiagnosticLog_Dec.__bases__)
                bases.insert(0, ns0.BrowseDiagnosticLogRequestType_Def)
                ns0.BrowseDiagnosticLog_Dec.__bases__ = tuple(bases)

            ns0.BrowseDiagnosticLogRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "BrowseDiagnosticLog_Dec_Holder"

    class BrowseDiagnosticLogResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "BrowseDiagnosticLogResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.BrowseDiagnosticLogResponse_Dec.schema
            TClist = [GTD("urn:vim25","DiagnosticManagerLogHeader",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","BrowseDiagnosticLogResponse")
            kw["aname"] = "_BrowseDiagnosticLogResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "BrowseDiagnosticLogResponse_Holder"
            self.pyclass = Holder

    class GenerateLogBundles_Task_Dec(ElementDeclaration):
        literal = "GenerateLogBundles_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GenerateLogBundles_Task")
            kw["aname"] = "_GenerateLogBundles_Task"
            if ns0.GenerateLogBundlesRequestType_Def not in ns0.GenerateLogBundles_Task_Dec.__bases__:
                bases = list(ns0.GenerateLogBundles_Task_Dec.__bases__)
                bases.insert(0, ns0.GenerateLogBundlesRequestType_Def)
                ns0.GenerateLogBundles_Task_Dec.__bases__ = tuple(bases)

            ns0.GenerateLogBundlesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GenerateLogBundles_Task_Dec_Holder"

    class GenerateLogBundles_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GenerateLogBundles_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GenerateLogBundles_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GenerateLogBundles_TaskResponse")
            kw["aname"] = "_GenerateLogBundles_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "GenerateLogBundles_TaskResponse_Holder"
            self.pyclass = Holder

    class FetchDVPortKeys_Dec(ElementDeclaration):
        literal = "FetchDVPortKeys"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FetchDVPortKeys")
            kw["aname"] = "_FetchDVPortKeys"
            if ns0.FetchDVPortKeysRequestType_Def not in ns0.FetchDVPortKeys_Dec.__bases__:
                bases = list(ns0.FetchDVPortKeys_Dec.__bases__)
                bases.insert(0, ns0.FetchDVPortKeysRequestType_Def)
                ns0.FetchDVPortKeys_Dec.__bases__ = tuple(bases)

            ns0.FetchDVPortKeysRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FetchDVPortKeys_Dec_Holder"

    class FetchDVPortKeysResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FetchDVPortKeysResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FetchDVPortKeysResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FetchDVPortKeysResponse")
            kw["aname"] = "_FetchDVPortKeysResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "FetchDVPortKeysResponse_Holder"
            self.pyclass = Holder

    class FetchDVPorts_Dec(ElementDeclaration):
        literal = "FetchDVPorts"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FetchDVPorts")
            kw["aname"] = "_FetchDVPorts"
            if ns0.FetchDVPortsRequestType_Def not in ns0.FetchDVPorts_Dec.__bases__:
                bases = list(ns0.FetchDVPorts_Dec.__bases__)
                bases.insert(0, ns0.FetchDVPortsRequestType_Def)
                ns0.FetchDVPorts_Dec.__bases__ = tuple(bases)

            ns0.FetchDVPortsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FetchDVPorts_Dec_Holder"

    class FetchDVPortsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FetchDVPortsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FetchDVPortsResponse_Dec.schema
            TClist = [GTD("urn:vim25","DistributedVirtualPort",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FetchDVPortsResponse")
            kw["aname"] = "_FetchDVPortsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "FetchDVPortsResponse_Holder"
            self.pyclass = Holder

    class QueryUsedVlanIdInDvs_Dec(ElementDeclaration):
        literal = "QueryUsedVlanIdInDvs"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryUsedVlanIdInDvs")
            kw["aname"] = "_QueryUsedVlanIdInDvs"
            if ns0.QueryUsedVlanIdInDvsRequestType_Def not in ns0.QueryUsedVlanIdInDvs_Dec.__bases__:
                bases = list(ns0.QueryUsedVlanIdInDvs_Dec.__bases__)
                bases.insert(0, ns0.QueryUsedVlanIdInDvsRequestType_Def)
                ns0.QueryUsedVlanIdInDvs_Dec.__bases__ = tuple(bases)

            ns0.QueryUsedVlanIdInDvsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryUsedVlanIdInDvs_Dec_Holder"

    class QueryUsedVlanIdInDvsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryUsedVlanIdInDvsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryUsedVlanIdInDvsResponse_Dec.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryUsedVlanIdInDvsResponse")
            kw["aname"] = "_QueryUsedVlanIdInDvsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryUsedVlanIdInDvsResponse_Holder"
            self.pyclass = Holder

    class ReconfigureDvs_Task_Dec(ElementDeclaration):
        literal = "ReconfigureDvs_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigureDvs_Task")
            kw["aname"] = "_ReconfigureDvs_Task"
            if ns0.ReconfigureDvsRequestType_Def not in ns0.ReconfigureDvs_Task_Dec.__bases__:
                bases = list(ns0.ReconfigureDvs_Task_Dec.__bases__)
                bases.insert(0, ns0.ReconfigureDvsRequestType_Def)
                ns0.ReconfigureDvs_Task_Dec.__bases__ = tuple(bases)

            ns0.ReconfigureDvsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigureDvs_Task_Dec_Holder"

    class ReconfigureDvs_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigureDvs_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigureDvs_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReconfigureDvs_TaskResponse")
            kw["aname"] = "_ReconfigureDvs_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ReconfigureDvs_TaskResponse_Holder"
            self.pyclass = Holder

    class PerformDvsProductSpecOperation_Task_Dec(ElementDeclaration):
        literal = "PerformDvsProductSpecOperation_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PerformDvsProductSpecOperation_Task")
            kw["aname"] = "_PerformDvsProductSpecOperation_Task"
            if ns0.PerformDvsProductSpecOperationRequestType_Def not in ns0.PerformDvsProductSpecOperation_Task_Dec.__bases__:
                bases = list(ns0.PerformDvsProductSpecOperation_Task_Dec.__bases__)
                bases.insert(0, ns0.PerformDvsProductSpecOperationRequestType_Def)
                ns0.PerformDvsProductSpecOperation_Task_Dec.__bases__ = tuple(bases)

            ns0.PerformDvsProductSpecOperationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PerformDvsProductSpecOperation_Task_Dec_Holder"

    class PerformDvsProductSpecOperation_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PerformDvsProductSpecOperation_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PerformDvsProductSpecOperation_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","PerformDvsProductSpecOperation_TaskResponse")
            kw["aname"] = "_PerformDvsProductSpecOperation_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "PerformDvsProductSpecOperation_TaskResponse_Holder"
            self.pyclass = Holder

    class MergeDvs_Task_Dec(ElementDeclaration):
        literal = "MergeDvs_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MergeDvs_Task")
            kw["aname"] = "_MergeDvs_Task"
            if ns0.MergeDvsRequestType_Def not in ns0.MergeDvs_Task_Dec.__bases__:
                bases = list(ns0.MergeDvs_Task_Dec.__bases__)
                bases.insert(0, ns0.MergeDvsRequestType_Def)
                ns0.MergeDvs_Task_Dec.__bases__ = tuple(bases)

            ns0.MergeDvsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MergeDvs_Task_Dec_Holder"

    class MergeDvs_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MergeDvs_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MergeDvs_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","MergeDvs_TaskResponse")
            kw["aname"] = "_MergeDvs_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "MergeDvs_TaskResponse_Holder"
            self.pyclass = Holder

    class AddDVPortgroup_Task_Dec(ElementDeclaration):
        literal = "AddDVPortgroup_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddDVPortgroup_Task")
            kw["aname"] = "_AddDVPortgroup_Task"
            if ns0.AddDVPortgroupRequestType_Def not in ns0.AddDVPortgroup_Task_Dec.__bases__:
                bases = list(ns0.AddDVPortgroup_Task_Dec.__bases__)
                bases.insert(0, ns0.AddDVPortgroupRequestType_Def)
                ns0.AddDVPortgroup_Task_Dec.__bases__ = tuple(bases)

            ns0.AddDVPortgroupRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddDVPortgroup_Task_Dec_Holder"

    class AddDVPortgroup_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddDVPortgroup_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddDVPortgroup_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AddDVPortgroup_TaskResponse")
            kw["aname"] = "_AddDVPortgroup_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AddDVPortgroup_TaskResponse_Holder"
            self.pyclass = Holder

    class MoveDVPort_Task_Dec(ElementDeclaration):
        literal = "MoveDVPort_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MoveDVPort_Task")
            kw["aname"] = "_MoveDVPort_Task"
            if ns0.MoveDVPortRequestType_Def not in ns0.MoveDVPort_Task_Dec.__bases__:
                bases = list(ns0.MoveDVPort_Task_Dec.__bases__)
                bases.insert(0, ns0.MoveDVPortRequestType_Def)
                ns0.MoveDVPort_Task_Dec.__bases__ = tuple(bases)

            ns0.MoveDVPortRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MoveDVPort_Task_Dec_Holder"

    class MoveDVPort_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MoveDVPort_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MoveDVPort_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","MoveDVPort_TaskResponse")
            kw["aname"] = "_MoveDVPort_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "MoveDVPort_TaskResponse_Holder"
            self.pyclass = Holder

    class UpdateDvsCapability_Dec(ElementDeclaration):
        literal = "UpdateDvsCapability"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateDvsCapability")
            kw["aname"] = "_UpdateDvsCapability"
            if ns0.UpdateDvsCapabilityRequestType_Def not in ns0.UpdateDvsCapability_Dec.__bases__:
                bases = list(ns0.UpdateDvsCapability_Dec.__bases__)
                bases.insert(0, ns0.UpdateDvsCapabilityRequestType_Def)
                ns0.UpdateDvsCapability_Dec.__bases__ = tuple(bases)

            ns0.UpdateDvsCapabilityRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateDvsCapability_Dec_Holder"

    class UpdateDvsCapabilityResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateDvsCapabilityResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateDvsCapabilityResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateDvsCapabilityResponse")
            kw["aname"] = "_UpdateDvsCapabilityResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateDvsCapabilityResponse_Holder"
            self.pyclass = Holder

    class ReconfigureDVPort_Task_Dec(ElementDeclaration):
        literal = "ReconfigureDVPort_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigureDVPort_Task")
            kw["aname"] = "_ReconfigureDVPort_Task"
            if ns0.ReconfigureDVPortRequestType_Def not in ns0.ReconfigureDVPort_Task_Dec.__bases__:
                bases = list(ns0.ReconfigureDVPort_Task_Dec.__bases__)
                bases.insert(0, ns0.ReconfigureDVPortRequestType_Def)
                ns0.ReconfigureDVPort_Task_Dec.__bases__ = tuple(bases)

            ns0.ReconfigureDVPortRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigureDVPort_Task_Dec_Holder"

    class ReconfigureDVPort_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigureDVPort_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigureDVPort_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReconfigureDVPort_TaskResponse")
            kw["aname"] = "_ReconfigureDVPort_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ReconfigureDVPort_TaskResponse_Holder"
            self.pyclass = Holder

    class RefreshDVPortState_Dec(ElementDeclaration):
        literal = "RefreshDVPortState"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshDVPortState")
            kw["aname"] = "_RefreshDVPortState"
            if ns0.RefreshDVPortStateRequestType_Def not in ns0.RefreshDVPortState_Dec.__bases__:
                bases = list(ns0.RefreshDVPortState_Dec.__bases__)
                bases.insert(0, ns0.RefreshDVPortStateRequestType_Def)
                ns0.RefreshDVPortState_Dec.__bases__ = tuple(bases)

            ns0.RefreshDVPortStateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshDVPortState_Dec_Holder"

    class RefreshDVPortStateResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshDVPortStateResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshDVPortStateResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshDVPortStateResponse")
            kw["aname"] = "_RefreshDVPortStateResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshDVPortStateResponse_Holder"
            self.pyclass = Holder

    class RectifyDvsHost_Task_Dec(ElementDeclaration):
        literal = "RectifyDvsHost_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RectifyDvsHost_Task")
            kw["aname"] = "_RectifyDvsHost_Task"
            if ns0.RectifyDvsHostRequestType_Def not in ns0.RectifyDvsHost_Task_Dec.__bases__:
                bases = list(ns0.RectifyDvsHost_Task_Dec.__bases__)
                bases.insert(0, ns0.RectifyDvsHostRequestType_Def)
                ns0.RectifyDvsHost_Task_Dec.__bases__ = tuple(bases)

            ns0.RectifyDvsHostRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RectifyDvsHost_Task_Dec_Holder"

    class RectifyDvsHost_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RectifyDvsHost_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RectifyDvsHost_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RectifyDvsHost_TaskResponse")
            kw["aname"] = "_RectifyDvsHost_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RectifyDvsHost_TaskResponse_Holder"
            self.pyclass = Holder

    class UpdateNetworkResourcePool_Dec(ElementDeclaration):
        literal = "UpdateNetworkResourcePool"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateNetworkResourcePool")
            kw["aname"] = "_UpdateNetworkResourcePool"
            if ns0.UpdateNetworkResourcePoolRequestType_Def not in ns0.UpdateNetworkResourcePool_Dec.__bases__:
                bases = list(ns0.UpdateNetworkResourcePool_Dec.__bases__)
                bases.insert(0, ns0.UpdateNetworkResourcePoolRequestType_Def)
                ns0.UpdateNetworkResourcePool_Dec.__bases__ = tuple(bases)

            ns0.UpdateNetworkResourcePoolRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateNetworkResourcePool_Dec_Holder"

    class UpdateNetworkResourcePoolResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateNetworkResourcePoolResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateNetworkResourcePoolResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateNetworkResourcePoolResponse")
            kw["aname"] = "_UpdateNetworkResourcePoolResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateNetworkResourcePoolResponse_Holder"
            self.pyclass = Holder

    class AddNetworkResourcePool_Dec(ElementDeclaration):
        literal = "AddNetworkResourcePool"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddNetworkResourcePool")
            kw["aname"] = "_AddNetworkResourcePool"
            if ns0.AddNetworkResourcePoolRequestType_Def not in ns0.AddNetworkResourcePool_Dec.__bases__:
                bases = list(ns0.AddNetworkResourcePool_Dec.__bases__)
                bases.insert(0, ns0.AddNetworkResourcePoolRequestType_Def)
                ns0.AddNetworkResourcePool_Dec.__bases__ = tuple(bases)

            ns0.AddNetworkResourcePoolRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddNetworkResourcePool_Dec_Holder"

    class AddNetworkResourcePoolResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddNetworkResourcePoolResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddNetworkResourcePoolResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AddNetworkResourcePoolResponse")
            kw["aname"] = "_AddNetworkResourcePoolResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AddNetworkResourcePoolResponse_Holder"
            self.pyclass = Holder

    class RemoveNetworkResourcePool_Dec(ElementDeclaration):
        literal = "RemoveNetworkResourcePool"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveNetworkResourcePool")
            kw["aname"] = "_RemoveNetworkResourcePool"
            if ns0.RemoveNetworkResourcePoolRequestType_Def not in ns0.RemoveNetworkResourcePool_Dec.__bases__:
                bases = list(ns0.RemoveNetworkResourcePool_Dec.__bases__)
                bases.insert(0, ns0.RemoveNetworkResourcePoolRequestType_Def)
                ns0.RemoveNetworkResourcePool_Dec.__bases__ = tuple(bases)

            ns0.RemoveNetworkResourcePoolRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveNetworkResourcePool_Dec_Holder"

    class RemoveNetworkResourcePoolResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveNetworkResourcePoolResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveNetworkResourcePoolResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveNetworkResourcePoolResponse")
            kw["aname"] = "_RemoveNetworkResourcePoolResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveNetworkResourcePoolResponse_Holder"
            self.pyclass = Holder

    class DvsReconfigureVmVnicNetworkResourcePool_Task_Dec(ElementDeclaration):
        literal = "DvsReconfigureVmVnicNetworkResourcePool_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DvsReconfigureVmVnicNetworkResourcePool_Task")
            kw["aname"] = "_DvsReconfigureVmVnicNetworkResourcePool_Task"
            if ns0.DvsReconfigureVmVnicNetworkResourcePoolRequestType_Def not in ns0.DvsReconfigureVmVnicNetworkResourcePool_Task_Dec.__bases__:
                bases = list(ns0.DvsReconfigureVmVnicNetworkResourcePool_Task_Dec.__bases__)
                bases.insert(0, ns0.DvsReconfigureVmVnicNetworkResourcePoolRequestType_Def)
                ns0.DvsReconfigureVmVnicNetworkResourcePool_Task_Dec.__bases__ = tuple(bases)

            ns0.DvsReconfigureVmVnicNetworkResourcePoolRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DvsReconfigureVmVnicNetworkResourcePool_Task_Dec_Holder"

    class DvsReconfigureVmVnicNetworkResourcePool_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DvsReconfigureVmVnicNetworkResourcePool_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DvsReconfigureVmVnicNetworkResourcePool_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DvsReconfigureVmVnicNetworkResourcePool_TaskResponse")
            kw["aname"] = "_DvsReconfigureVmVnicNetworkResourcePool_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DvsReconfigureVmVnicNetworkResourcePool_TaskResponse_Holder"
            self.pyclass = Holder

    class EnableNetworkResourceManagement_Dec(ElementDeclaration):
        literal = "EnableNetworkResourceManagement"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EnableNetworkResourceManagement")
            kw["aname"] = "_EnableNetworkResourceManagement"
            if ns0.EnableNetworkResourceManagementRequestType_Def not in ns0.EnableNetworkResourceManagement_Dec.__bases__:
                bases = list(ns0.EnableNetworkResourceManagement_Dec.__bases__)
                bases.insert(0, ns0.EnableNetworkResourceManagementRequestType_Def)
                ns0.EnableNetworkResourceManagement_Dec.__bases__ = tuple(bases)

            ns0.EnableNetworkResourceManagementRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EnableNetworkResourceManagement_Dec_Holder"

    class EnableNetworkResourceManagementResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EnableNetworkResourceManagementResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EnableNetworkResourceManagementResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","EnableNetworkResourceManagementResponse")
            kw["aname"] = "_EnableNetworkResourceManagementResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "EnableNetworkResourceManagementResponse_Holder"
            self.pyclass = Holder

    class DVSRollback_Task_Dec(ElementDeclaration):
        literal = "DVSRollback_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DVSRollback_Task")
            kw["aname"] = "_DVSRollback_Task"
            if ns0.DVSRollbackRequestType_Def not in ns0.DVSRollback_Task_Dec.__bases__:
                bases = list(ns0.DVSRollback_Task_Dec.__bases__)
                bases.insert(0, ns0.DVSRollbackRequestType_Def)
                ns0.DVSRollback_Task_Dec.__bases__ = tuple(bases)

            ns0.DVSRollbackRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DVSRollback_Task_Dec_Holder"

    class DVSRollback_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DVSRollback_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DVSRollback_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DVSRollback_TaskResponse")
            kw["aname"] = "_DVSRollback_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DVSRollback_TaskResponse_Holder"
            self.pyclass = Holder

    class CreateDVPortgroup_Task_Dec(ElementDeclaration):
        literal = "CreateDVPortgroup_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateDVPortgroup_Task")
            kw["aname"] = "_CreateDVPortgroup_Task"
            if ns0.CreateDVPortgroupRequestType_Def not in ns0.CreateDVPortgroup_Task_Dec.__bases__:
                bases = list(ns0.CreateDVPortgroup_Task_Dec.__bases__)
                bases.insert(0, ns0.CreateDVPortgroupRequestType_Def)
                ns0.CreateDVPortgroup_Task_Dec.__bases__ = tuple(bases)

            ns0.CreateDVPortgroupRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateDVPortgroup_Task_Dec_Holder"

    class CreateDVPortgroup_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateDVPortgroup_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateDVPortgroup_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateDVPortgroup_TaskResponse")
            kw["aname"] = "_CreateDVPortgroup_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateDVPortgroup_TaskResponse_Holder"
            self.pyclass = Holder

    class UpdateDVSHealthCheckConfig_Task_Dec(ElementDeclaration):
        literal = "UpdateDVSHealthCheckConfig_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateDVSHealthCheckConfig_Task")
            kw["aname"] = "_UpdateDVSHealthCheckConfig_Task"
            if ns0.UpdateDVSHealthCheckConfigRequestType_Def not in ns0.UpdateDVSHealthCheckConfig_Task_Dec.__bases__:
                bases = list(ns0.UpdateDVSHealthCheckConfig_Task_Dec.__bases__)
                bases.insert(0, ns0.UpdateDVSHealthCheckConfigRequestType_Def)
                ns0.UpdateDVSHealthCheckConfig_Task_Dec.__bases__ = tuple(bases)

            ns0.UpdateDVSHealthCheckConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateDVSHealthCheckConfig_Task_Dec_Holder"

    class UpdateDVSHealthCheckConfig_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateDVSHealthCheckConfig_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateDVSHealthCheckConfig_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpdateDVSHealthCheckConfig_TaskResponse")
            kw["aname"] = "_UpdateDVSHealthCheckConfig_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpdateDVSHealthCheckConfig_TaskResponse_Holder"
            self.pyclass = Holder

    class LookupDvPortGroup_Dec(ElementDeclaration):
        literal = "LookupDvPortGroup"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LookupDvPortGroup")
            kw["aname"] = "_LookupDvPortGroup"
            if ns0.LookupDvPortGroupRequestType_Def not in ns0.LookupDvPortGroup_Dec.__bases__:
                bases = list(ns0.LookupDvPortGroup_Dec.__bases__)
                bases.insert(0, ns0.LookupDvPortGroupRequestType_Def)
                ns0.LookupDvPortGroup_Dec.__bases__ = tuple(bases)

            ns0.LookupDvPortGroupRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LookupDvPortGroup_Dec_Holder"

    class LookupDvPortGroupResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "LookupDvPortGroupResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.LookupDvPortGroupResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","LookupDvPortGroupResponse")
            kw["aname"] = "_LookupDvPortGroupResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "LookupDvPortGroupResponse_Holder"
            self.pyclass = Holder

    class QueryConfigOptionDescriptor_Dec(ElementDeclaration):
        literal = "QueryConfigOptionDescriptor"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryConfigOptionDescriptor")
            kw["aname"] = "_QueryConfigOptionDescriptor"
            if ns0.QueryConfigOptionDescriptorRequestType_Def not in ns0.QueryConfigOptionDescriptor_Dec.__bases__:
                bases = list(ns0.QueryConfigOptionDescriptor_Dec.__bases__)
                bases.insert(0, ns0.QueryConfigOptionDescriptorRequestType_Def)
                ns0.QueryConfigOptionDescriptor_Dec.__bases__ = tuple(bases)

            ns0.QueryConfigOptionDescriptorRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryConfigOptionDescriptor_Dec_Holder"

    class QueryConfigOptionDescriptorResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryConfigOptionDescriptorResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryConfigOptionDescriptorResponse_Dec.schema
            TClist = [GTD("urn:vim25","VirtualMachineConfigOptionDescriptor",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryConfigOptionDescriptorResponse")
            kw["aname"] = "_QueryConfigOptionDescriptorResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryConfigOptionDescriptorResponse_Holder"
            self.pyclass = Holder

    class QueryConfigOption_Dec(ElementDeclaration):
        literal = "QueryConfigOption"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryConfigOption")
            kw["aname"] = "_QueryConfigOption"
            if ns0.QueryConfigOptionRequestType_Def not in ns0.QueryConfigOption_Dec.__bases__:
                bases = list(ns0.QueryConfigOption_Dec.__bases__)
                bases.insert(0, ns0.QueryConfigOptionRequestType_Def)
                ns0.QueryConfigOption_Dec.__bases__ = tuple(bases)

            ns0.QueryConfigOptionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryConfigOption_Dec_Holder"

    class QueryConfigOptionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryConfigOptionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryConfigOptionResponse_Dec.schema
            TClist = [GTD("urn:vim25","VirtualMachineConfigOption",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryConfigOptionResponse")
            kw["aname"] = "_QueryConfigOptionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryConfigOptionResponse_Holder"
            self.pyclass = Holder

    class QueryConfigOptionEx_Dec(ElementDeclaration):
        literal = "QueryConfigOptionEx"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryConfigOptionEx")
            kw["aname"] = "_QueryConfigOptionEx"
            if ns0.QueryConfigOptionExRequestType_Def not in ns0.QueryConfigOptionEx_Dec.__bases__:
                bases = list(ns0.QueryConfigOptionEx_Dec.__bases__)
                bases.insert(0, ns0.QueryConfigOptionExRequestType_Def)
                ns0.QueryConfigOptionEx_Dec.__bases__ = tuple(bases)

            ns0.QueryConfigOptionExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryConfigOptionEx_Dec_Holder"

    class QueryConfigOptionExResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryConfigOptionExResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryConfigOptionExResponse_Dec.schema
            TClist = [GTD("urn:vim25","VirtualMachineConfigOption",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryConfigOptionExResponse")
            kw["aname"] = "_QueryConfigOptionExResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryConfigOptionExResponse_Holder"
            self.pyclass = Holder

    class QueryConfigTarget_Dec(ElementDeclaration):
        literal = "QueryConfigTarget"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryConfigTarget")
            kw["aname"] = "_QueryConfigTarget"
            if ns0.QueryConfigTargetRequestType_Def not in ns0.QueryConfigTarget_Dec.__bases__:
                bases = list(ns0.QueryConfigTarget_Dec.__bases__)
                bases.insert(0, ns0.QueryConfigTargetRequestType_Def)
                ns0.QueryConfigTarget_Dec.__bases__ = tuple(bases)

            ns0.QueryConfigTargetRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryConfigTarget_Dec_Holder"

    class QueryConfigTargetResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryConfigTargetResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryConfigTargetResponse_Dec.schema
            TClist = [GTD("urn:vim25","ConfigTarget",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryConfigTargetResponse")
            kw["aname"] = "_QueryConfigTargetResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryConfigTargetResponse_Holder"
            self.pyclass = Holder

    class QueryTargetCapabilities_Dec(ElementDeclaration):
        literal = "QueryTargetCapabilities"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryTargetCapabilities")
            kw["aname"] = "_QueryTargetCapabilities"
            if ns0.QueryTargetCapabilitiesRequestType_Def not in ns0.QueryTargetCapabilities_Dec.__bases__:
                bases = list(ns0.QueryTargetCapabilities_Dec.__bases__)
                bases.insert(0, ns0.QueryTargetCapabilitiesRequestType_Def)
                ns0.QueryTargetCapabilities_Dec.__bases__ = tuple(bases)

            ns0.QueryTargetCapabilitiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryTargetCapabilities_Dec_Holder"

    class QueryTargetCapabilitiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryTargetCapabilitiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryTargetCapabilitiesResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostCapability",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryTargetCapabilitiesResponse")
            kw["aname"] = "_QueryTargetCapabilitiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryTargetCapabilitiesResponse_Holder"
            self.pyclass = Holder

    class setCustomValue_Dec(ElementDeclaration):
        literal = "setCustomValue"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","setCustomValue")
            kw["aname"] = "_setCustomValue"
            if ns0.setCustomValueRequestType_Def not in ns0.setCustomValue_Dec.__bases__:
                bases = list(ns0.setCustomValue_Dec.__bases__)
                bases.insert(0, ns0.setCustomValueRequestType_Def)
                ns0.setCustomValue_Dec.__bases__ = tuple(bases)

            ns0.setCustomValueRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "setCustomValue_Dec_Holder"

    class setCustomValueResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "setCustomValueResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.setCustomValueResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","setCustomValueResponse")
            kw["aname"] = "_setCustomValueResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "setCustomValueResponse_Holder"
            self.pyclass = Holder

    class UnregisterExtension_Dec(ElementDeclaration):
        literal = "UnregisterExtension"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnregisterExtension")
            kw["aname"] = "_UnregisterExtension"
            if ns0.UnregisterExtensionRequestType_Def not in ns0.UnregisterExtension_Dec.__bases__:
                bases = list(ns0.UnregisterExtension_Dec.__bases__)
                bases.insert(0, ns0.UnregisterExtensionRequestType_Def)
                ns0.UnregisterExtension_Dec.__bases__ = tuple(bases)

            ns0.UnregisterExtensionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnregisterExtension_Dec_Holder"

    class UnregisterExtensionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UnregisterExtensionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UnregisterExtensionResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UnregisterExtensionResponse")
            kw["aname"] = "_UnregisterExtensionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UnregisterExtensionResponse_Holder"
            self.pyclass = Holder

    class FindExtension_Dec(ElementDeclaration):
        literal = "FindExtension"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FindExtension")
            kw["aname"] = "_FindExtension"
            if ns0.FindExtensionRequestType_Def not in ns0.FindExtension_Dec.__bases__:
                bases = list(ns0.FindExtension_Dec.__bases__)
                bases.insert(0, ns0.FindExtensionRequestType_Def)
                ns0.FindExtension_Dec.__bases__ = tuple(bases)

            ns0.FindExtensionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FindExtension_Dec_Holder"

    class FindExtensionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FindExtensionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FindExtensionResponse_Dec.schema
            TClist = [GTD("urn:vim25","Extension",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FindExtensionResponse")
            kw["aname"] = "_FindExtensionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "FindExtensionResponse_Holder"
            self.pyclass = Holder

    class RegisterExtension_Dec(ElementDeclaration):
        literal = "RegisterExtension"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RegisterExtension")
            kw["aname"] = "_RegisterExtension"
            if ns0.RegisterExtensionRequestType_Def not in ns0.RegisterExtension_Dec.__bases__:
                bases = list(ns0.RegisterExtension_Dec.__bases__)
                bases.insert(0, ns0.RegisterExtensionRequestType_Def)
                ns0.RegisterExtension_Dec.__bases__ = tuple(bases)

            ns0.RegisterExtensionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RegisterExtension_Dec_Holder"

    class RegisterExtensionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RegisterExtensionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RegisterExtensionResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RegisterExtensionResponse")
            kw["aname"] = "_RegisterExtensionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RegisterExtensionResponse_Holder"
            self.pyclass = Holder

    class UpdateExtension_Dec(ElementDeclaration):
        literal = "UpdateExtension"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateExtension")
            kw["aname"] = "_UpdateExtension"
            if ns0.UpdateExtensionRequestType_Def not in ns0.UpdateExtension_Dec.__bases__:
                bases = list(ns0.UpdateExtension_Dec.__bases__)
                bases.insert(0, ns0.UpdateExtensionRequestType_Def)
                ns0.UpdateExtension_Dec.__bases__ = tuple(bases)

            ns0.UpdateExtensionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateExtension_Dec_Holder"

    class UpdateExtensionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateExtensionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateExtensionResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateExtensionResponse")
            kw["aname"] = "_UpdateExtensionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateExtensionResponse_Holder"
            self.pyclass = Holder

    class GetPublicKey_Dec(ElementDeclaration):
        literal = "GetPublicKey"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GetPublicKey")
            kw["aname"] = "_GetPublicKey"
            if ns0.GetPublicKeyRequestType_Def not in ns0.GetPublicKey_Dec.__bases__:
                bases = list(ns0.GetPublicKey_Dec.__bases__)
                bases.insert(0, ns0.GetPublicKeyRequestType_Def)
                ns0.GetPublicKey_Dec.__bases__ = tuple(bases)

            ns0.GetPublicKeyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GetPublicKey_Dec_Holder"

    class GetPublicKeyResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GetPublicKeyResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GetPublicKeyResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GetPublicKeyResponse")
            kw["aname"] = "_GetPublicKeyResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "GetPublicKeyResponse_Holder"
            self.pyclass = Holder

    class SetPublicKey_Dec(ElementDeclaration):
        literal = "SetPublicKey"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetPublicKey")
            kw["aname"] = "_SetPublicKey"
            if ns0.SetPublicKeyRequestType_Def not in ns0.SetPublicKey_Dec.__bases__:
                bases = list(ns0.SetPublicKey_Dec.__bases__)
                bases.insert(0, ns0.SetPublicKeyRequestType_Def)
                ns0.SetPublicKey_Dec.__bases__ = tuple(bases)

            ns0.SetPublicKeyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetPublicKey_Dec_Holder"

    class SetPublicKeyResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetPublicKeyResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetPublicKeyResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetPublicKeyResponse")
            kw["aname"] = "_SetPublicKeyResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetPublicKeyResponse_Holder"
            self.pyclass = Holder

    class SetExtensionCertificate_Dec(ElementDeclaration):
        literal = "SetExtensionCertificate"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetExtensionCertificate")
            kw["aname"] = "_SetExtensionCertificate"
            if ns0.SetExtensionCertificateRequestType_Def not in ns0.SetExtensionCertificate_Dec.__bases__:
                bases = list(ns0.SetExtensionCertificate_Dec.__bases__)
                bases.insert(0, ns0.SetExtensionCertificateRequestType_Def)
                ns0.SetExtensionCertificate_Dec.__bases__ = tuple(bases)

            ns0.SetExtensionCertificateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetExtensionCertificate_Dec_Holder"

    class SetExtensionCertificateResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetExtensionCertificateResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetExtensionCertificateResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetExtensionCertificateResponse")
            kw["aname"] = "_SetExtensionCertificateResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetExtensionCertificateResponse_Holder"
            self.pyclass = Holder

    class QueryManagedBy_Dec(ElementDeclaration):
        literal = "QueryManagedBy"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryManagedBy")
            kw["aname"] = "_QueryManagedBy"
            if ns0.QueryManagedByRequestType_Def not in ns0.QueryManagedBy_Dec.__bases__:
                bases = list(ns0.QueryManagedBy_Dec.__bases__)
                bases.insert(0, ns0.QueryManagedByRequestType_Def)
                ns0.QueryManagedBy_Dec.__bases__ = tuple(bases)

            ns0.QueryManagedByRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryManagedBy_Dec_Holder"

    class QueryManagedByResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryManagedByResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryManagedByResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryManagedByResponse")
            kw["aname"] = "_QueryManagedByResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryManagedByResponse_Holder"
            self.pyclass = Holder

    class QueryExtensionIpAllocationUsage_Dec(ElementDeclaration):
        literal = "QueryExtensionIpAllocationUsage"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryExtensionIpAllocationUsage")
            kw["aname"] = "_QueryExtensionIpAllocationUsage"
            if ns0.QueryExtensionIpAllocationUsageRequestType_Def not in ns0.QueryExtensionIpAllocationUsage_Dec.__bases__:
                bases = list(ns0.QueryExtensionIpAllocationUsage_Dec.__bases__)
                bases.insert(0, ns0.QueryExtensionIpAllocationUsageRequestType_Def)
                ns0.QueryExtensionIpAllocationUsage_Dec.__bases__ = tuple(bases)

            ns0.QueryExtensionIpAllocationUsageRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryExtensionIpAllocationUsage_Dec_Holder"

    class QueryExtensionIpAllocationUsageResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryExtensionIpAllocationUsageResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryExtensionIpAllocationUsageResponse_Dec.schema
            TClist = [GTD("urn:vim25","ExtensionManagerIpAllocationUsage",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryExtensionIpAllocationUsageResponse")
            kw["aname"] = "_QueryExtensionIpAllocationUsageResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryExtensionIpAllocationUsageResponse_Holder"
            self.pyclass = Holder

    class MoveDatastoreFile_Task_Dec(ElementDeclaration):
        literal = "MoveDatastoreFile_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MoveDatastoreFile_Task")
            kw["aname"] = "_MoveDatastoreFile_Task"
            if ns0.MoveDatastoreFileRequestType_Def not in ns0.MoveDatastoreFile_Task_Dec.__bases__:
                bases = list(ns0.MoveDatastoreFile_Task_Dec.__bases__)
                bases.insert(0, ns0.MoveDatastoreFileRequestType_Def)
                ns0.MoveDatastoreFile_Task_Dec.__bases__ = tuple(bases)

            ns0.MoveDatastoreFileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MoveDatastoreFile_Task_Dec_Holder"

    class MoveDatastoreFile_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MoveDatastoreFile_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MoveDatastoreFile_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","MoveDatastoreFile_TaskResponse")
            kw["aname"] = "_MoveDatastoreFile_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "MoveDatastoreFile_TaskResponse_Holder"
            self.pyclass = Holder

    class CopyDatastoreFile_Task_Dec(ElementDeclaration):
        literal = "CopyDatastoreFile_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CopyDatastoreFile_Task")
            kw["aname"] = "_CopyDatastoreFile_Task"
            if ns0.CopyDatastoreFileRequestType_Def not in ns0.CopyDatastoreFile_Task_Dec.__bases__:
                bases = list(ns0.CopyDatastoreFile_Task_Dec.__bases__)
                bases.insert(0, ns0.CopyDatastoreFileRequestType_Def)
                ns0.CopyDatastoreFile_Task_Dec.__bases__ = tuple(bases)

            ns0.CopyDatastoreFileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CopyDatastoreFile_Task_Dec_Holder"

    class CopyDatastoreFile_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CopyDatastoreFile_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CopyDatastoreFile_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CopyDatastoreFile_TaskResponse")
            kw["aname"] = "_CopyDatastoreFile_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CopyDatastoreFile_TaskResponse_Holder"
            self.pyclass = Holder

    class DeleteDatastoreFile_Task_Dec(ElementDeclaration):
        literal = "DeleteDatastoreFile_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteDatastoreFile_Task")
            kw["aname"] = "_DeleteDatastoreFile_Task"
            if ns0.DeleteDatastoreFileRequestType_Def not in ns0.DeleteDatastoreFile_Task_Dec.__bases__:
                bases = list(ns0.DeleteDatastoreFile_Task_Dec.__bases__)
                bases.insert(0, ns0.DeleteDatastoreFileRequestType_Def)
                ns0.DeleteDatastoreFile_Task_Dec.__bases__ = tuple(bases)

            ns0.DeleteDatastoreFileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteDatastoreFile_Task_Dec_Holder"

    class DeleteDatastoreFile_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteDatastoreFile_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteDatastoreFile_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DeleteDatastoreFile_TaskResponse")
            kw["aname"] = "_DeleteDatastoreFile_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DeleteDatastoreFile_TaskResponse_Holder"
            self.pyclass = Holder

    class MakeDirectory_Dec(ElementDeclaration):
        literal = "MakeDirectory"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MakeDirectory")
            kw["aname"] = "_MakeDirectory"
            if ns0.MakeDirectoryRequestType_Def not in ns0.MakeDirectory_Dec.__bases__:
                bases = list(ns0.MakeDirectory_Dec.__bases__)
                bases.insert(0, ns0.MakeDirectoryRequestType_Def)
                ns0.MakeDirectory_Dec.__bases__ = tuple(bases)

            ns0.MakeDirectoryRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MakeDirectory_Dec_Holder"

    class MakeDirectoryResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MakeDirectoryResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MakeDirectoryResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","MakeDirectoryResponse")
            kw["aname"] = "_MakeDirectoryResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "MakeDirectoryResponse_Holder"
            self.pyclass = Holder

    class ChangeOwner_Dec(ElementDeclaration):
        literal = "ChangeOwner"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ChangeOwner")
            kw["aname"] = "_ChangeOwner"
            if ns0.ChangeOwnerRequestType_Def not in ns0.ChangeOwner_Dec.__bases__:
                bases = list(ns0.ChangeOwner_Dec.__bases__)
                bases.insert(0, ns0.ChangeOwnerRequestType_Def)
                ns0.ChangeOwner_Dec.__bases__ = tuple(bases)

            ns0.ChangeOwnerRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ChangeOwner_Dec_Holder"

    class ChangeOwnerResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ChangeOwnerResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ChangeOwnerResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ChangeOwnerResponse")
            kw["aname"] = "_ChangeOwnerResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ChangeOwnerResponse_Holder"
            self.pyclass = Holder

    class CreateFolder_Dec(ElementDeclaration):
        literal = "CreateFolder"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateFolder")
            kw["aname"] = "_CreateFolder"
            if ns0.CreateFolderRequestType_Def not in ns0.CreateFolder_Dec.__bases__:
                bases = list(ns0.CreateFolder_Dec.__bases__)
                bases.insert(0, ns0.CreateFolderRequestType_Def)
                ns0.CreateFolder_Dec.__bases__ = tuple(bases)

            ns0.CreateFolderRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateFolder_Dec_Holder"

    class CreateFolderResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateFolderResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateFolderResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateFolderResponse")
            kw["aname"] = "_CreateFolderResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateFolderResponse_Holder"
            self.pyclass = Holder

    class MoveIntoFolder_Task_Dec(ElementDeclaration):
        literal = "MoveIntoFolder_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MoveIntoFolder_Task")
            kw["aname"] = "_MoveIntoFolder_Task"
            if ns0.MoveIntoFolderRequestType_Def not in ns0.MoveIntoFolder_Task_Dec.__bases__:
                bases = list(ns0.MoveIntoFolder_Task_Dec.__bases__)
                bases.insert(0, ns0.MoveIntoFolderRequestType_Def)
                ns0.MoveIntoFolder_Task_Dec.__bases__ = tuple(bases)

            ns0.MoveIntoFolderRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MoveIntoFolder_Task_Dec_Holder"

    class MoveIntoFolder_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MoveIntoFolder_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MoveIntoFolder_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","MoveIntoFolder_TaskResponse")
            kw["aname"] = "_MoveIntoFolder_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "MoveIntoFolder_TaskResponse_Holder"
            self.pyclass = Holder

    class CreateVM_Task_Dec(ElementDeclaration):
        literal = "CreateVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateVM_Task")
            kw["aname"] = "_CreateVM_Task"
            if ns0.CreateVMRequestType_Def not in ns0.CreateVM_Task_Dec.__bases__:
                bases = list(ns0.CreateVM_Task_Dec.__bases__)
                bases.insert(0, ns0.CreateVMRequestType_Def)
                ns0.CreateVM_Task_Dec.__bases__ = tuple(bases)

            ns0.CreateVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateVM_Task_Dec_Holder"

    class CreateVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateVM_TaskResponse")
            kw["aname"] = "_CreateVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateVM_TaskResponse_Holder"
            self.pyclass = Holder

    class RegisterVM_Task_Dec(ElementDeclaration):
        literal = "RegisterVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RegisterVM_Task")
            kw["aname"] = "_RegisterVM_Task"
            if ns0.RegisterVMRequestType_Def not in ns0.RegisterVM_Task_Dec.__bases__:
                bases = list(ns0.RegisterVM_Task_Dec.__bases__)
                bases.insert(0, ns0.RegisterVMRequestType_Def)
                ns0.RegisterVM_Task_Dec.__bases__ = tuple(bases)

            ns0.RegisterVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RegisterVM_Task_Dec_Holder"

    class RegisterVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RegisterVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RegisterVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RegisterVM_TaskResponse")
            kw["aname"] = "_RegisterVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RegisterVM_TaskResponse_Holder"
            self.pyclass = Holder

    class CreateCluster_Dec(ElementDeclaration):
        literal = "CreateCluster"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateCluster")
            kw["aname"] = "_CreateCluster"
            if ns0.CreateClusterRequestType_Def not in ns0.CreateCluster_Dec.__bases__:
                bases = list(ns0.CreateCluster_Dec.__bases__)
                bases.insert(0, ns0.CreateClusterRequestType_Def)
                ns0.CreateCluster_Dec.__bases__ = tuple(bases)

            ns0.CreateClusterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateCluster_Dec_Holder"

    class CreateClusterResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateClusterResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateClusterResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateClusterResponse")
            kw["aname"] = "_CreateClusterResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateClusterResponse_Holder"
            self.pyclass = Holder

    class CreateClusterEx_Dec(ElementDeclaration):
        literal = "CreateClusterEx"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateClusterEx")
            kw["aname"] = "_CreateClusterEx"
            if ns0.CreateClusterExRequestType_Def not in ns0.CreateClusterEx_Dec.__bases__:
                bases = list(ns0.CreateClusterEx_Dec.__bases__)
                bases.insert(0, ns0.CreateClusterExRequestType_Def)
                ns0.CreateClusterEx_Dec.__bases__ = tuple(bases)

            ns0.CreateClusterExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateClusterEx_Dec_Holder"

    class CreateClusterExResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateClusterExResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateClusterExResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateClusterExResponse")
            kw["aname"] = "_CreateClusterExResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateClusterExResponse_Holder"
            self.pyclass = Holder

    class AddStandaloneHost_Task_Dec(ElementDeclaration):
        literal = "AddStandaloneHost_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddStandaloneHost_Task")
            kw["aname"] = "_AddStandaloneHost_Task"
            if ns0.AddStandaloneHostRequestType_Def not in ns0.AddStandaloneHost_Task_Dec.__bases__:
                bases = list(ns0.AddStandaloneHost_Task_Dec.__bases__)
                bases.insert(0, ns0.AddStandaloneHostRequestType_Def)
                ns0.AddStandaloneHost_Task_Dec.__bases__ = tuple(bases)

            ns0.AddStandaloneHostRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddStandaloneHost_Task_Dec_Holder"

    class AddStandaloneHost_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddStandaloneHost_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddStandaloneHost_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AddStandaloneHost_TaskResponse")
            kw["aname"] = "_AddStandaloneHost_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AddStandaloneHost_TaskResponse_Holder"
            self.pyclass = Holder

    class CreateDatacenter_Dec(ElementDeclaration):
        literal = "CreateDatacenter"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateDatacenter")
            kw["aname"] = "_CreateDatacenter"
            if ns0.CreateDatacenterRequestType_Def not in ns0.CreateDatacenter_Dec.__bases__:
                bases = list(ns0.CreateDatacenter_Dec.__bases__)
                bases.insert(0, ns0.CreateDatacenterRequestType_Def)
                ns0.CreateDatacenter_Dec.__bases__ = tuple(bases)

            ns0.CreateDatacenterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateDatacenter_Dec_Holder"

    class CreateDatacenterResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateDatacenterResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateDatacenterResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateDatacenterResponse")
            kw["aname"] = "_CreateDatacenterResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateDatacenterResponse_Holder"
            self.pyclass = Holder

    class UnregisterAndDestroy_Task_Dec(ElementDeclaration):
        literal = "UnregisterAndDestroy_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnregisterAndDestroy_Task")
            kw["aname"] = "_UnregisterAndDestroy_Task"
            if ns0.UnregisterAndDestroyRequestType_Def not in ns0.UnregisterAndDestroy_Task_Dec.__bases__:
                bases = list(ns0.UnregisterAndDestroy_Task_Dec.__bases__)
                bases.insert(0, ns0.UnregisterAndDestroyRequestType_Def)
                ns0.UnregisterAndDestroy_Task_Dec.__bases__ = tuple(bases)

            ns0.UnregisterAndDestroyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnregisterAndDestroy_Task_Dec_Holder"

    class UnregisterAndDestroy_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UnregisterAndDestroy_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UnregisterAndDestroy_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UnregisterAndDestroy_TaskResponse")
            kw["aname"] = "_UnregisterAndDestroy_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UnregisterAndDestroy_TaskResponse_Holder"
            self.pyclass = Holder

    class CreateDVS_Task_Dec(ElementDeclaration):
        literal = "CreateDVS_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateDVS_Task")
            kw["aname"] = "_CreateDVS_Task"
            if ns0.CreateDVSRequestType_Def not in ns0.CreateDVS_Task_Dec.__bases__:
                bases = list(ns0.CreateDVS_Task_Dec.__bases__)
                bases.insert(0, ns0.CreateDVSRequestType_Def)
                ns0.CreateDVS_Task_Dec.__bases__ = tuple(bases)

            ns0.CreateDVSRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateDVS_Task_Dec_Holder"

    class CreateDVS_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateDVS_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateDVS_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateDVS_TaskResponse")
            kw["aname"] = "_CreateDVS_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateDVS_TaskResponse_Holder"
            self.pyclass = Holder

    class CreateStoragePod_Dec(ElementDeclaration):
        literal = "CreateStoragePod"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateStoragePod")
            kw["aname"] = "_CreateStoragePod"
            if ns0.CreateStoragePodRequestType_Def not in ns0.CreateStoragePod_Dec.__bases__:
                bases = list(ns0.CreateStoragePod_Dec.__bases__)
                bases.insert(0, ns0.CreateStoragePodRequestType_Def)
                ns0.CreateStoragePod_Dec.__bases__ = tuple(bases)

            ns0.CreateStoragePodRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateStoragePod_Dec_Holder"

    class CreateStoragePodResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateStoragePodResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateStoragePodResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateStoragePodResponse")
            kw["aname"] = "_CreateStoragePodResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateStoragePodResponse_Holder"
            self.pyclass = Holder

    class RegisterHealthUpdateProvider_Dec(ElementDeclaration):
        literal = "RegisterHealthUpdateProvider"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RegisterHealthUpdateProvider")
            kw["aname"] = "_RegisterHealthUpdateProvider"
            if ns0.RegisterHealthUpdateProviderRequestType_Def not in ns0.RegisterHealthUpdateProvider_Dec.__bases__:
                bases = list(ns0.RegisterHealthUpdateProvider_Dec.__bases__)
                bases.insert(0, ns0.RegisterHealthUpdateProviderRequestType_Def)
                ns0.RegisterHealthUpdateProvider_Dec.__bases__ = tuple(bases)

            ns0.RegisterHealthUpdateProviderRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RegisterHealthUpdateProvider_Dec_Holder"

    class RegisterHealthUpdateProviderResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RegisterHealthUpdateProviderResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RegisterHealthUpdateProviderResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RegisterHealthUpdateProviderResponse")
            kw["aname"] = "_RegisterHealthUpdateProviderResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RegisterHealthUpdateProviderResponse_Holder"
            self.pyclass = Holder

    class UnregisterHealthUpdateProvider_Dec(ElementDeclaration):
        literal = "UnregisterHealthUpdateProvider"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnregisterHealthUpdateProvider")
            kw["aname"] = "_UnregisterHealthUpdateProvider"
            if ns0.UnregisterHealthUpdateProviderRequestType_Def not in ns0.UnregisterHealthUpdateProvider_Dec.__bases__:
                bases = list(ns0.UnregisterHealthUpdateProvider_Dec.__bases__)
                bases.insert(0, ns0.UnregisterHealthUpdateProviderRequestType_Def)
                ns0.UnregisterHealthUpdateProvider_Dec.__bases__ = tuple(bases)

            ns0.UnregisterHealthUpdateProviderRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnregisterHealthUpdateProvider_Dec_Holder"

    class UnregisterHealthUpdateProviderResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UnregisterHealthUpdateProviderResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UnregisterHealthUpdateProviderResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UnregisterHealthUpdateProviderResponse")
            kw["aname"] = "_UnregisterHealthUpdateProviderResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UnregisterHealthUpdateProviderResponse_Holder"
            self.pyclass = Holder

    class QueryProviderList_Dec(ElementDeclaration):
        literal = "QueryProviderList"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryProviderList")
            kw["aname"] = "_QueryProviderList"
            if ns0.QueryProviderListRequestType_Def not in ns0.QueryProviderList_Dec.__bases__:
                bases = list(ns0.QueryProviderList_Dec.__bases__)
                bases.insert(0, ns0.QueryProviderListRequestType_Def)
                ns0.QueryProviderList_Dec.__bases__ = tuple(bases)

            ns0.QueryProviderListRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryProviderList_Dec_Holder"

    class QueryProviderListResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryProviderListResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryProviderListResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryProviderListResponse")
            kw["aname"] = "_QueryProviderListResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryProviderListResponse_Holder"
            self.pyclass = Holder

    class HasProvider_Dec(ElementDeclaration):
        literal = "HasProvider"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HasProvider")
            kw["aname"] = "_HasProvider"
            if ns0.HasProviderRequestType_Def not in ns0.HasProvider_Dec.__bases__:
                bases = list(ns0.HasProvider_Dec.__bases__)
                bases.insert(0, ns0.HasProviderRequestType_Def)
                ns0.HasProvider_Dec.__bases__ = tuple(bases)

            ns0.HasProviderRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HasProvider_Dec_Holder"

    class HasProviderResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HasProviderResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HasProviderResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HasProviderResponse")
            kw["aname"] = "_HasProviderResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HasProviderResponse_Holder"
            self.pyclass = Holder

    class QueryProviderName_Dec(ElementDeclaration):
        literal = "QueryProviderName"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryProviderName")
            kw["aname"] = "_QueryProviderName"
            if ns0.QueryProviderNameRequestType_Def not in ns0.QueryProviderName_Dec.__bases__:
                bases = list(ns0.QueryProviderName_Dec.__bases__)
                bases.insert(0, ns0.QueryProviderNameRequestType_Def)
                ns0.QueryProviderName_Dec.__bases__ = tuple(bases)

            ns0.QueryProviderNameRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryProviderName_Dec_Holder"

    class QueryProviderNameResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryProviderNameResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryProviderNameResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryProviderNameResponse")
            kw["aname"] = "_QueryProviderNameResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryProviderNameResponse_Holder"
            self.pyclass = Holder

    class QueryHealthUpdateInfos_Dec(ElementDeclaration):
        literal = "QueryHealthUpdateInfos"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryHealthUpdateInfos")
            kw["aname"] = "_QueryHealthUpdateInfos"
            if ns0.QueryHealthUpdateInfosRequestType_Def not in ns0.QueryHealthUpdateInfos_Dec.__bases__:
                bases = list(ns0.QueryHealthUpdateInfos_Dec.__bases__)
                bases.insert(0, ns0.QueryHealthUpdateInfosRequestType_Def)
                ns0.QueryHealthUpdateInfos_Dec.__bases__ = tuple(bases)

            ns0.QueryHealthUpdateInfosRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryHealthUpdateInfos_Dec_Holder"

    class QueryHealthUpdateInfosResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryHealthUpdateInfosResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryHealthUpdateInfosResponse_Dec.schema
            TClist = [GTD("urn:vim25","HealthUpdateInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryHealthUpdateInfosResponse")
            kw["aname"] = "_QueryHealthUpdateInfosResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryHealthUpdateInfosResponse_Holder"
            self.pyclass = Holder

    class AddMonitoredEntities_Dec(ElementDeclaration):
        literal = "AddMonitoredEntities"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddMonitoredEntities")
            kw["aname"] = "_AddMonitoredEntities"
            if ns0.AddMonitoredEntitiesRequestType_Def not in ns0.AddMonitoredEntities_Dec.__bases__:
                bases = list(ns0.AddMonitoredEntities_Dec.__bases__)
                bases.insert(0, ns0.AddMonitoredEntitiesRequestType_Def)
                ns0.AddMonitoredEntities_Dec.__bases__ = tuple(bases)

            ns0.AddMonitoredEntitiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddMonitoredEntities_Dec_Holder"

    class AddMonitoredEntitiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddMonitoredEntitiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddMonitoredEntitiesResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AddMonitoredEntitiesResponse")
            kw["aname"] = "_AddMonitoredEntitiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AddMonitoredEntitiesResponse_Holder"
            self.pyclass = Holder

    class RemoveMonitoredEntities_Dec(ElementDeclaration):
        literal = "RemoveMonitoredEntities"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveMonitoredEntities")
            kw["aname"] = "_RemoveMonitoredEntities"
            if ns0.RemoveMonitoredEntitiesRequestType_Def not in ns0.RemoveMonitoredEntities_Dec.__bases__:
                bases = list(ns0.RemoveMonitoredEntities_Dec.__bases__)
                bases.insert(0, ns0.RemoveMonitoredEntitiesRequestType_Def)
                ns0.RemoveMonitoredEntities_Dec.__bases__ = tuple(bases)

            ns0.RemoveMonitoredEntitiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveMonitoredEntities_Dec_Holder"

    class RemoveMonitoredEntitiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveMonitoredEntitiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveMonitoredEntitiesResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveMonitoredEntitiesResponse")
            kw["aname"] = "_RemoveMonitoredEntitiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveMonitoredEntitiesResponse_Holder"
            self.pyclass = Holder

    class QueryMonitoredEntities_Dec(ElementDeclaration):
        literal = "QueryMonitoredEntities"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryMonitoredEntities")
            kw["aname"] = "_QueryMonitoredEntities"
            if ns0.QueryMonitoredEntitiesRequestType_Def not in ns0.QueryMonitoredEntities_Dec.__bases__:
                bases = list(ns0.QueryMonitoredEntities_Dec.__bases__)
                bases.insert(0, ns0.QueryMonitoredEntitiesRequestType_Def)
                ns0.QueryMonitoredEntities_Dec.__bases__ = tuple(bases)

            ns0.QueryMonitoredEntitiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryMonitoredEntities_Dec_Holder"

    class QueryMonitoredEntitiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryMonitoredEntitiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryMonitoredEntitiesResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryMonitoredEntitiesResponse")
            kw["aname"] = "_QueryMonitoredEntitiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryMonitoredEntitiesResponse_Holder"
            self.pyclass = Holder

    class HasMonitoredEntity_Dec(ElementDeclaration):
        literal = "HasMonitoredEntity"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HasMonitoredEntity")
            kw["aname"] = "_HasMonitoredEntity"
            if ns0.HasMonitoredEntityRequestType_Def not in ns0.HasMonitoredEntity_Dec.__bases__:
                bases = list(ns0.HasMonitoredEntity_Dec.__bases__)
                bases.insert(0, ns0.HasMonitoredEntityRequestType_Def)
                ns0.HasMonitoredEntity_Dec.__bases__ = tuple(bases)

            ns0.HasMonitoredEntityRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HasMonitoredEntity_Dec_Holder"

    class HasMonitoredEntityResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HasMonitoredEntityResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HasMonitoredEntityResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HasMonitoredEntityResponse")
            kw["aname"] = "_HasMonitoredEntityResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HasMonitoredEntityResponse_Holder"
            self.pyclass = Holder

    class QueryUnmonitoredHosts_Dec(ElementDeclaration):
        literal = "QueryUnmonitoredHosts"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryUnmonitoredHosts")
            kw["aname"] = "_QueryUnmonitoredHosts"
            if ns0.QueryUnmonitoredHostsRequestType_Def not in ns0.QueryUnmonitoredHosts_Dec.__bases__:
                bases = list(ns0.QueryUnmonitoredHosts_Dec.__bases__)
                bases.insert(0, ns0.QueryUnmonitoredHostsRequestType_Def)
                ns0.QueryUnmonitoredHosts_Dec.__bases__ = tuple(bases)

            ns0.QueryUnmonitoredHostsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryUnmonitoredHosts_Dec_Holder"

    class QueryUnmonitoredHostsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryUnmonitoredHostsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryUnmonitoredHostsResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryUnmonitoredHostsResponse")
            kw["aname"] = "_QueryUnmonitoredHostsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryUnmonitoredHostsResponse_Holder"
            self.pyclass = Holder

    class PostHealthUpdates_Dec(ElementDeclaration):
        literal = "PostHealthUpdates"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PostHealthUpdates")
            kw["aname"] = "_PostHealthUpdates"
            if ns0.PostHealthUpdatesRequestType_Def not in ns0.PostHealthUpdates_Dec.__bases__:
                bases = list(ns0.PostHealthUpdates_Dec.__bases__)
                bases.insert(0, ns0.PostHealthUpdatesRequestType_Def)
                ns0.PostHealthUpdates_Dec.__bases__ = tuple(bases)

            ns0.PostHealthUpdatesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PostHealthUpdates_Dec_Holder"

    class PostHealthUpdatesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PostHealthUpdatesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PostHealthUpdatesResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","PostHealthUpdatesResponse")
            kw["aname"] = "_PostHealthUpdatesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "PostHealthUpdatesResponse_Holder"
            self.pyclass = Holder

    class QueryHealthUpdates_Dec(ElementDeclaration):
        literal = "QueryHealthUpdates"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryHealthUpdates")
            kw["aname"] = "_QueryHealthUpdates"
            if ns0.QueryHealthUpdatesRequestType_Def not in ns0.QueryHealthUpdates_Dec.__bases__:
                bases = list(ns0.QueryHealthUpdates_Dec.__bases__)
                bases.insert(0, ns0.QueryHealthUpdatesRequestType_Def)
                ns0.QueryHealthUpdates_Dec.__bases__ = tuple(bases)

            ns0.QueryHealthUpdatesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryHealthUpdates_Dec_Holder"

    class QueryHealthUpdatesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryHealthUpdatesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryHealthUpdatesResponse_Dec.schema
            TClist = [GTD("urn:vim25","HealthUpdate",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryHealthUpdatesResponse")
            kw["aname"] = "_QueryHealthUpdatesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryHealthUpdatesResponse_Holder"
            self.pyclass = Holder

    class AddFilter_Dec(ElementDeclaration):
        literal = "AddFilter"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddFilter")
            kw["aname"] = "_AddFilter"
            if ns0.AddFilterRequestType_Def not in ns0.AddFilter_Dec.__bases__:
                bases = list(ns0.AddFilter_Dec.__bases__)
                bases.insert(0, ns0.AddFilterRequestType_Def)
                ns0.AddFilter_Dec.__bases__ = tuple(bases)

            ns0.AddFilterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddFilter_Dec_Holder"

    class AddFilterResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddFilterResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddFilterResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AddFilterResponse")
            kw["aname"] = "_AddFilterResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AddFilterResponse_Holder"
            self.pyclass = Holder

    class QueryFilterList_Dec(ElementDeclaration):
        literal = "QueryFilterList"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryFilterList")
            kw["aname"] = "_QueryFilterList"
            if ns0.QueryFilterListRequestType_Def not in ns0.QueryFilterList_Dec.__bases__:
                bases = list(ns0.QueryFilterList_Dec.__bases__)
                bases.insert(0, ns0.QueryFilterListRequestType_Def)
                ns0.QueryFilterList_Dec.__bases__ = tuple(bases)

            ns0.QueryFilterListRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryFilterList_Dec_Holder"

    class QueryFilterListResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryFilterListResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryFilterListResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryFilterListResponse")
            kw["aname"] = "_QueryFilterListResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryFilterListResponse_Holder"
            self.pyclass = Holder

    class QueryFilterName_Dec(ElementDeclaration):
        literal = "QueryFilterName"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryFilterName")
            kw["aname"] = "_QueryFilterName"
            if ns0.QueryFilterNameRequestType_Def not in ns0.QueryFilterName_Dec.__bases__:
                bases = list(ns0.QueryFilterName_Dec.__bases__)
                bases.insert(0, ns0.QueryFilterNameRequestType_Def)
                ns0.QueryFilterName_Dec.__bases__ = tuple(bases)

            ns0.QueryFilterNameRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryFilterName_Dec_Holder"

    class QueryFilterNameResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryFilterNameResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryFilterNameResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryFilterNameResponse")
            kw["aname"] = "_QueryFilterNameResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryFilterNameResponse_Holder"
            self.pyclass = Holder

    class QueryFilterInfoIds_Dec(ElementDeclaration):
        literal = "QueryFilterInfoIds"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryFilterInfoIds")
            kw["aname"] = "_QueryFilterInfoIds"
            if ns0.QueryFilterInfoIdsRequestType_Def not in ns0.QueryFilterInfoIds_Dec.__bases__:
                bases = list(ns0.QueryFilterInfoIds_Dec.__bases__)
                bases.insert(0, ns0.QueryFilterInfoIdsRequestType_Def)
                ns0.QueryFilterInfoIds_Dec.__bases__ = tuple(bases)

            ns0.QueryFilterInfoIdsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryFilterInfoIds_Dec_Holder"

    class QueryFilterInfoIdsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryFilterInfoIdsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryFilterInfoIdsResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryFilterInfoIdsResponse")
            kw["aname"] = "_QueryFilterInfoIdsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryFilterInfoIdsResponse_Holder"
            self.pyclass = Holder

    class QueryFilterEntities_Dec(ElementDeclaration):
        literal = "QueryFilterEntities"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryFilterEntities")
            kw["aname"] = "_QueryFilterEntities"
            if ns0.QueryFilterEntitiesRequestType_Def not in ns0.QueryFilterEntities_Dec.__bases__:
                bases = list(ns0.QueryFilterEntities_Dec.__bases__)
                bases.insert(0, ns0.QueryFilterEntitiesRequestType_Def)
                ns0.QueryFilterEntities_Dec.__bases__ = tuple(bases)

            ns0.QueryFilterEntitiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryFilterEntities_Dec_Holder"

    class QueryFilterEntitiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryFilterEntitiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryFilterEntitiesResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryFilterEntitiesResponse")
            kw["aname"] = "_QueryFilterEntitiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryFilterEntitiesResponse_Holder"
            self.pyclass = Holder

    class AddFilterEntities_Dec(ElementDeclaration):
        literal = "AddFilterEntities"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddFilterEntities")
            kw["aname"] = "_AddFilterEntities"
            if ns0.AddFilterEntitiesRequestType_Def not in ns0.AddFilterEntities_Dec.__bases__:
                bases = list(ns0.AddFilterEntities_Dec.__bases__)
                bases.insert(0, ns0.AddFilterEntitiesRequestType_Def)
                ns0.AddFilterEntities_Dec.__bases__ = tuple(bases)

            ns0.AddFilterEntitiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddFilterEntities_Dec_Holder"

    class AddFilterEntitiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddFilterEntitiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddFilterEntitiesResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AddFilterEntitiesResponse")
            kw["aname"] = "_AddFilterEntitiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AddFilterEntitiesResponse_Holder"
            self.pyclass = Holder

    class RemoveFilterEntities_Dec(ElementDeclaration):
        literal = "RemoveFilterEntities"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveFilterEntities")
            kw["aname"] = "_RemoveFilterEntities"
            if ns0.RemoveFilterEntitiesRequestType_Def not in ns0.RemoveFilterEntities_Dec.__bases__:
                bases = list(ns0.RemoveFilterEntities_Dec.__bases__)
                bases.insert(0, ns0.RemoveFilterEntitiesRequestType_Def)
                ns0.RemoveFilterEntities_Dec.__bases__ = tuple(bases)

            ns0.RemoveFilterEntitiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveFilterEntities_Dec_Holder"

    class RemoveFilterEntitiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveFilterEntitiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveFilterEntitiesResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveFilterEntitiesResponse")
            kw["aname"] = "_RemoveFilterEntitiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveFilterEntitiesResponse_Holder"
            self.pyclass = Holder

    class RemoveFilter_Dec(ElementDeclaration):
        literal = "RemoveFilter"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveFilter")
            kw["aname"] = "_RemoveFilter"
            if ns0.RemoveFilterRequestType_Def not in ns0.RemoveFilter_Dec.__bases__:
                bases = list(ns0.RemoveFilter_Dec.__bases__)
                bases.insert(0, ns0.RemoveFilterRequestType_Def)
                ns0.RemoveFilter_Dec.__bases__ = tuple(bases)

            ns0.RemoveFilterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveFilter_Dec_Holder"

    class RemoveFilterResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveFilterResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveFilterResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveFilterResponse")
            kw["aname"] = "_RemoveFilterResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveFilterResponse_Holder"
            self.pyclass = Holder

    class SetCollectorPageSize_Dec(ElementDeclaration):
        literal = "SetCollectorPageSize"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetCollectorPageSize")
            kw["aname"] = "_SetCollectorPageSize"
            if ns0.SetCollectorPageSizeRequestType_Def not in ns0.SetCollectorPageSize_Dec.__bases__:
                bases = list(ns0.SetCollectorPageSize_Dec.__bases__)
                bases.insert(0, ns0.SetCollectorPageSizeRequestType_Def)
                ns0.SetCollectorPageSize_Dec.__bases__ = tuple(bases)

            ns0.SetCollectorPageSizeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetCollectorPageSize_Dec_Holder"

    class SetCollectorPageSizeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetCollectorPageSizeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetCollectorPageSizeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetCollectorPageSizeResponse")
            kw["aname"] = "_SetCollectorPageSizeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetCollectorPageSizeResponse_Holder"
            self.pyclass = Holder

    class RewindCollector_Dec(ElementDeclaration):
        literal = "RewindCollector"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RewindCollector")
            kw["aname"] = "_RewindCollector"
            if ns0.RewindCollectorRequestType_Def not in ns0.RewindCollector_Dec.__bases__:
                bases = list(ns0.RewindCollector_Dec.__bases__)
                bases.insert(0, ns0.RewindCollectorRequestType_Def)
                ns0.RewindCollector_Dec.__bases__ = tuple(bases)

            ns0.RewindCollectorRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RewindCollector_Dec_Holder"

    class RewindCollectorResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RewindCollectorResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RewindCollectorResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RewindCollectorResponse")
            kw["aname"] = "_RewindCollectorResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RewindCollectorResponse_Holder"
            self.pyclass = Holder

    class ResetCollector_Dec(ElementDeclaration):
        literal = "ResetCollector"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResetCollector")
            kw["aname"] = "_ResetCollector"
            if ns0.ResetCollectorRequestType_Def not in ns0.ResetCollector_Dec.__bases__:
                bases = list(ns0.ResetCollector_Dec.__bases__)
                bases.insert(0, ns0.ResetCollectorRequestType_Def)
                ns0.ResetCollector_Dec.__bases__ = tuple(bases)

            ns0.ResetCollectorRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResetCollector_Dec_Holder"

    class ResetCollectorResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ResetCollectorResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ResetCollectorResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ResetCollectorResponse")
            kw["aname"] = "_ResetCollectorResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ResetCollectorResponse_Holder"
            self.pyclass = Holder

    class DestroyCollector_Dec(ElementDeclaration):
        literal = "DestroyCollector"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DestroyCollector")
            kw["aname"] = "_DestroyCollector"
            if ns0.DestroyCollectorRequestType_Def not in ns0.DestroyCollector_Dec.__bases__:
                bases = list(ns0.DestroyCollector_Dec.__bases__)
                bases.insert(0, ns0.DestroyCollectorRequestType_Def)
                ns0.DestroyCollector_Dec.__bases__ = tuple(bases)

            ns0.DestroyCollectorRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DestroyCollector_Dec_Holder"

    class DestroyCollectorResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DestroyCollectorResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DestroyCollectorResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DestroyCollectorResponse")
            kw["aname"] = "_DestroyCollectorResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DestroyCollectorResponse_Holder"
            self.pyclass = Holder

    class QueryTpmAttestationReport_Dec(ElementDeclaration):
        literal = "QueryTpmAttestationReport"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryTpmAttestationReport")
            kw["aname"] = "_QueryTpmAttestationReport"
            if ns0.QueryTpmAttestationReportRequestType_Def not in ns0.QueryTpmAttestationReport_Dec.__bases__:
                bases = list(ns0.QueryTpmAttestationReport_Dec.__bases__)
                bases.insert(0, ns0.QueryTpmAttestationReportRequestType_Def)
                ns0.QueryTpmAttestationReport_Dec.__bases__ = tuple(bases)

            ns0.QueryTpmAttestationReportRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryTpmAttestationReport_Dec_Holder"

    class QueryTpmAttestationReportResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryTpmAttestationReportResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryTpmAttestationReportResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostTpmAttestationReport",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryTpmAttestationReportResponse")
            kw["aname"] = "_QueryTpmAttestationReportResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryTpmAttestationReportResponse_Holder"
            self.pyclass = Holder

    class QueryHostConnectionInfo_Dec(ElementDeclaration):
        literal = "QueryHostConnectionInfo"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryHostConnectionInfo")
            kw["aname"] = "_QueryHostConnectionInfo"
            if ns0.QueryHostConnectionInfoRequestType_Def not in ns0.QueryHostConnectionInfo_Dec.__bases__:
                bases = list(ns0.QueryHostConnectionInfo_Dec.__bases__)
                bases.insert(0, ns0.QueryHostConnectionInfoRequestType_Def)
                ns0.QueryHostConnectionInfo_Dec.__bases__ = tuple(bases)

            ns0.QueryHostConnectionInfoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryHostConnectionInfo_Dec_Holder"

    class QueryHostConnectionInfoResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryHostConnectionInfoResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryHostConnectionInfoResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostConnectInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryHostConnectionInfoResponse")
            kw["aname"] = "_QueryHostConnectionInfoResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryHostConnectionInfoResponse_Holder"
            self.pyclass = Holder

    class UpdateSystemResources_Dec(ElementDeclaration):
        literal = "UpdateSystemResources"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateSystemResources")
            kw["aname"] = "_UpdateSystemResources"
            if ns0.UpdateSystemResourcesRequestType_Def not in ns0.UpdateSystemResources_Dec.__bases__:
                bases = list(ns0.UpdateSystemResources_Dec.__bases__)
                bases.insert(0, ns0.UpdateSystemResourcesRequestType_Def)
                ns0.UpdateSystemResources_Dec.__bases__ = tuple(bases)

            ns0.UpdateSystemResourcesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateSystemResources_Dec_Holder"

    class UpdateSystemResourcesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateSystemResourcesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateSystemResourcesResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateSystemResourcesResponse")
            kw["aname"] = "_UpdateSystemResourcesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateSystemResourcesResponse_Holder"
            self.pyclass = Holder

    class UpdateSystemSwapConfiguration_Dec(ElementDeclaration):
        literal = "UpdateSystemSwapConfiguration"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateSystemSwapConfiguration")
            kw["aname"] = "_UpdateSystemSwapConfiguration"
            if ns0.UpdateSystemSwapConfigurationRequestType_Def not in ns0.UpdateSystemSwapConfiguration_Dec.__bases__:
                bases = list(ns0.UpdateSystemSwapConfiguration_Dec.__bases__)
                bases.insert(0, ns0.UpdateSystemSwapConfigurationRequestType_Def)
                ns0.UpdateSystemSwapConfiguration_Dec.__bases__ = tuple(bases)

            ns0.UpdateSystemSwapConfigurationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateSystemSwapConfiguration_Dec_Holder"

    class UpdateSystemSwapConfigurationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateSystemSwapConfigurationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateSystemSwapConfigurationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateSystemSwapConfigurationResponse")
            kw["aname"] = "_UpdateSystemSwapConfigurationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateSystemSwapConfigurationResponse_Holder"
            self.pyclass = Holder

    class ReconnectHost_Task_Dec(ElementDeclaration):
        literal = "ReconnectHost_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconnectHost_Task")
            kw["aname"] = "_ReconnectHost_Task"
            if ns0.ReconnectHostRequestType_Def not in ns0.ReconnectHost_Task_Dec.__bases__:
                bases = list(ns0.ReconnectHost_Task_Dec.__bases__)
                bases.insert(0, ns0.ReconnectHostRequestType_Def)
                ns0.ReconnectHost_Task_Dec.__bases__ = tuple(bases)

            ns0.ReconnectHostRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconnectHost_Task_Dec_Holder"

    class ReconnectHost_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconnectHost_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconnectHost_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReconnectHost_TaskResponse")
            kw["aname"] = "_ReconnectHost_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ReconnectHost_TaskResponse_Holder"
            self.pyclass = Holder

    class DisconnectHost_Task_Dec(ElementDeclaration):
        literal = "DisconnectHost_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DisconnectHost_Task")
            kw["aname"] = "_DisconnectHost_Task"
            if ns0.DisconnectHostRequestType_Def not in ns0.DisconnectHost_Task_Dec.__bases__:
                bases = list(ns0.DisconnectHost_Task_Dec.__bases__)
                bases.insert(0, ns0.DisconnectHostRequestType_Def)
                ns0.DisconnectHost_Task_Dec.__bases__ = tuple(bases)

            ns0.DisconnectHostRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DisconnectHost_Task_Dec_Holder"

    class DisconnectHost_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DisconnectHost_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DisconnectHost_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DisconnectHost_TaskResponse")
            kw["aname"] = "_DisconnectHost_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DisconnectHost_TaskResponse_Holder"
            self.pyclass = Holder

    class EnterMaintenanceMode_Task_Dec(ElementDeclaration):
        literal = "EnterMaintenanceMode_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EnterMaintenanceMode_Task")
            kw["aname"] = "_EnterMaintenanceMode_Task"
            if ns0.EnterMaintenanceModeRequestType_Def not in ns0.EnterMaintenanceMode_Task_Dec.__bases__:
                bases = list(ns0.EnterMaintenanceMode_Task_Dec.__bases__)
                bases.insert(0, ns0.EnterMaintenanceModeRequestType_Def)
                ns0.EnterMaintenanceMode_Task_Dec.__bases__ = tuple(bases)

            ns0.EnterMaintenanceModeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EnterMaintenanceMode_Task_Dec_Holder"

    class EnterMaintenanceMode_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EnterMaintenanceMode_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EnterMaintenanceMode_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","EnterMaintenanceMode_TaskResponse")
            kw["aname"] = "_EnterMaintenanceMode_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "EnterMaintenanceMode_TaskResponse_Holder"
            self.pyclass = Holder

    class ExitMaintenanceMode_Task_Dec(ElementDeclaration):
        literal = "ExitMaintenanceMode_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExitMaintenanceMode_Task")
            kw["aname"] = "_ExitMaintenanceMode_Task"
            if ns0.ExitMaintenanceModeRequestType_Def not in ns0.ExitMaintenanceMode_Task_Dec.__bases__:
                bases = list(ns0.ExitMaintenanceMode_Task_Dec.__bases__)
                bases.insert(0, ns0.ExitMaintenanceModeRequestType_Def)
                ns0.ExitMaintenanceMode_Task_Dec.__bases__ = tuple(bases)

            ns0.ExitMaintenanceModeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExitMaintenanceMode_Task_Dec_Holder"

    class ExitMaintenanceMode_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExitMaintenanceMode_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExitMaintenanceMode_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ExitMaintenanceMode_TaskResponse")
            kw["aname"] = "_ExitMaintenanceMode_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ExitMaintenanceMode_TaskResponse_Holder"
            self.pyclass = Holder

    class RebootHost_Task_Dec(ElementDeclaration):
        literal = "RebootHost_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RebootHost_Task")
            kw["aname"] = "_RebootHost_Task"
            if ns0.RebootHostRequestType_Def not in ns0.RebootHost_Task_Dec.__bases__:
                bases = list(ns0.RebootHost_Task_Dec.__bases__)
                bases.insert(0, ns0.RebootHostRequestType_Def)
                ns0.RebootHost_Task_Dec.__bases__ = tuple(bases)

            ns0.RebootHostRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RebootHost_Task_Dec_Holder"

    class RebootHost_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RebootHost_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RebootHost_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RebootHost_TaskResponse")
            kw["aname"] = "_RebootHost_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RebootHost_TaskResponse_Holder"
            self.pyclass = Holder

    class ShutdownHost_Task_Dec(ElementDeclaration):
        literal = "ShutdownHost_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ShutdownHost_Task")
            kw["aname"] = "_ShutdownHost_Task"
            if ns0.ShutdownHostRequestType_Def not in ns0.ShutdownHost_Task_Dec.__bases__:
                bases = list(ns0.ShutdownHost_Task_Dec.__bases__)
                bases.insert(0, ns0.ShutdownHostRequestType_Def)
                ns0.ShutdownHost_Task_Dec.__bases__ = tuple(bases)

            ns0.ShutdownHostRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ShutdownHost_Task_Dec_Holder"

    class ShutdownHost_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ShutdownHost_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ShutdownHost_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ShutdownHost_TaskResponse")
            kw["aname"] = "_ShutdownHost_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ShutdownHost_TaskResponse_Holder"
            self.pyclass = Holder

    class PowerDownHostToStandBy_Task_Dec(ElementDeclaration):
        literal = "PowerDownHostToStandBy_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PowerDownHostToStandBy_Task")
            kw["aname"] = "_PowerDownHostToStandBy_Task"
            if ns0.PowerDownHostToStandByRequestType_Def not in ns0.PowerDownHostToStandBy_Task_Dec.__bases__:
                bases = list(ns0.PowerDownHostToStandBy_Task_Dec.__bases__)
                bases.insert(0, ns0.PowerDownHostToStandByRequestType_Def)
                ns0.PowerDownHostToStandBy_Task_Dec.__bases__ = tuple(bases)

            ns0.PowerDownHostToStandByRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PowerDownHostToStandBy_Task_Dec_Holder"

    class PowerDownHostToStandBy_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PowerDownHostToStandBy_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PowerDownHostToStandBy_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","PowerDownHostToStandBy_TaskResponse")
            kw["aname"] = "_PowerDownHostToStandBy_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "PowerDownHostToStandBy_TaskResponse_Holder"
            self.pyclass = Holder

    class PowerUpHostFromStandBy_Task_Dec(ElementDeclaration):
        literal = "PowerUpHostFromStandBy_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PowerUpHostFromStandBy_Task")
            kw["aname"] = "_PowerUpHostFromStandBy_Task"
            if ns0.PowerUpHostFromStandByRequestType_Def not in ns0.PowerUpHostFromStandBy_Task_Dec.__bases__:
                bases = list(ns0.PowerUpHostFromStandBy_Task_Dec.__bases__)
                bases.insert(0, ns0.PowerUpHostFromStandByRequestType_Def)
                ns0.PowerUpHostFromStandBy_Task_Dec.__bases__ = tuple(bases)

            ns0.PowerUpHostFromStandByRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PowerUpHostFromStandBy_Task_Dec_Holder"

    class PowerUpHostFromStandBy_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PowerUpHostFromStandBy_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PowerUpHostFromStandBy_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","PowerUpHostFromStandBy_TaskResponse")
            kw["aname"] = "_PowerUpHostFromStandBy_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "PowerUpHostFromStandBy_TaskResponse_Holder"
            self.pyclass = Holder

    class QueryMemoryOverhead_Dec(ElementDeclaration):
        literal = "QueryMemoryOverhead"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryMemoryOverhead")
            kw["aname"] = "_QueryMemoryOverhead"
            if ns0.QueryMemoryOverheadRequestType_Def not in ns0.QueryMemoryOverhead_Dec.__bases__:
                bases = list(ns0.QueryMemoryOverhead_Dec.__bases__)
                bases.insert(0, ns0.QueryMemoryOverheadRequestType_Def)
                ns0.QueryMemoryOverhead_Dec.__bases__ = tuple(bases)

            ns0.QueryMemoryOverheadRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryMemoryOverhead_Dec_Holder"

    class QueryMemoryOverheadResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryMemoryOverheadResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryMemoryOverheadResponse_Dec.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryMemoryOverheadResponse")
            kw["aname"] = "_QueryMemoryOverheadResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryMemoryOverheadResponse_Holder"
            self.pyclass = Holder

    class QueryMemoryOverheadEx_Dec(ElementDeclaration):
        literal = "QueryMemoryOverheadEx"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryMemoryOverheadEx")
            kw["aname"] = "_QueryMemoryOverheadEx"
            if ns0.QueryMemoryOverheadExRequestType_Def not in ns0.QueryMemoryOverheadEx_Dec.__bases__:
                bases = list(ns0.QueryMemoryOverheadEx_Dec.__bases__)
                bases.insert(0, ns0.QueryMemoryOverheadExRequestType_Def)
                ns0.QueryMemoryOverheadEx_Dec.__bases__ = tuple(bases)

            ns0.QueryMemoryOverheadExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryMemoryOverheadEx_Dec_Holder"

    class QueryMemoryOverheadExResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryMemoryOverheadExResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryMemoryOverheadExResponse_Dec.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryMemoryOverheadExResponse")
            kw["aname"] = "_QueryMemoryOverheadExResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryMemoryOverheadExResponse_Holder"
            self.pyclass = Holder

    class ReconfigureHostForDAS_Task_Dec(ElementDeclaration):
        literal = "ReconfigureHostForDAS_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigureHostForDAS_Task")
            kw["aname"] = "_ReconfigureHostForDAS_Task"
            if ns0.ReconfigureHostForDASRequestType_Def not in ns0.ReconfigureHostForDAS_Task_Dec.__bases__:
                bases = list(ns0.ReconfigureHostForDAS_Task_Dec.__bases__)
                bases.insert(0, ns0.ReconfigureHostForDASRequestType_Def)
                ns0.ReconfigureHostForDAS_Task_Dec.__bases__ = tuple(bases)

            ns0.ReconfigureHostForDASRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigureHostForDAS_Task_Dec_Holder"

    class ReconfigureHostForDAS_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigureHostForDAS_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigureHostForDAS_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReconfigureHostForDAS_TaskResponse")
            kw["aname"] = "_ReconfigureHostForDAS_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ReconfigureHostForDAS_TaskResponse_Holder"
            self.pyclass = Holder

    class UpdateFlags_Dec(ElementDeclaration):
        literal = "UpdateFlags"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateFlags")
            kw["aname"] = "_UpdateFlags"
            if ns0.UpdateFlagsRequestType_Def not in ns0.UpdateFlags_Dec.__bases__:
                bases = list(ns0.UpdateFlags_Dec.__bases__)
                bases.insert(0, ns0.UpdateFlagsRequestType_Def)
                ns0.UpdateFlags_Dec.__bases__ = tuple(bases)

            ns0.UpdateFlagsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateFlags_Dec_Holder"

    class UpdateFlagsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateFlagsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateFlagsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateFlagsResponse")
            kw["aname"] = "_UpdateFlagsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateFlagsResponse_Holder"
            self.pyclass = Holder

    class EnterLockdownMode_Dec(ElementDeclaration):
        literal = "EnterLockdownMode"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EnterLockdownMode")
            kw["aname"] = "_EnterLockdownMode"
            if ns0.EnterLockdownModeRequestType_Def not in ns0.EnterLockdownMode_Dec.__bases__:
                bases = list(ns0.EnterLockdownMode_Dec.__bases__)
                bases.insert(0, ns0.EnterLockdownModeRequestType_Def)
                ns0.EnterLockdownMode_Dec.__bases__ = tuple(bases)

            ns0.EnterLockdownModeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EnterLockdownMode_Dec_Holder"

    class EnterLockdownModeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EnterLockdownModeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EnterLockdownModeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","EnterLockdownModeResponse")
            kw["aname"] = "_EnterLockdownModeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "EnterLockdownModeResponse_Holder"
            self.pyclass = Holder

    class ExitLockdownMode_Dec(ElementDeclaration):
        literal = "ExitLockdownMode"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExitLockdownMode")
            kw["aname"] = "_ExitLockdownMode"
            if ns0.ExitLockdownModeRequestType_Def not in ns0.ExitLockdownMode_Dec.__bases__:
                bases = list(ns0.ExitLockdownMode_Dec.__bases__)
                bases.insert(0, ns0.ExitLockdownModeRequestType_Def)
                ns0.ExitLockdownMode_Dec.__bases__ = tuple(bases)

            ns0.ExitLockdownModeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExitLockdownMode_Dec_Holder"

    class ExitLockdownModeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExitLockdownModeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExitLockdownModeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ExitLockdownModeResponse")
            kw["aname"] = "_ExitLockdownModeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ExitLockdownModeResponse_Holder"
            self.pyclass = Holder

    class AcquireCimServicesTicket_Dec(ElementDeclaration):
        literal = "AcquireCimServicesTicket"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AcquireCimServicesTicket")
            kw["aname"] = "_AcquireCimServicesTicket"
            if ns0.AcquireCimServicesTicketRequestType_Def not in ns0.AcquireCimServicesTicket_Dec.__bases__:
                bases = list(ns0.AcquireCimServicesTicket_Dec.__bases__)
                bases.insert(0, ns0.AcquireCimServicesTicketRequestType_Def)
                ns0.AcquireCimServicesTicket_Dec.__bases__ = tuple(bases)

            ns0.AcquireCimServicesTicketRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AcquireCimServicesTicket_Dec_Holder"

    class AcquireCimServicesTicketResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AcquireCimServicesTicketResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AcquireCimServicesTicketResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostServiceTicket",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AcquireCimServicesTicketResponse")
            kw["aname"] = "_AcquireCimServicesTicketResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AcquireCimServicesTicketResponse_Holder"
            self.pyclass = Holder

    class UpdateIpmi_Dec(ElementDeclaration):
        literal = "UpdateIpmi"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateIpmi")
            kw["aname"] = "_UpdateIpmi"
            if ns0.UpdateIpmiRequestType_Def not in ns0.UpdateIpmi_Dec.__bases__:
                bases = list(ns0.UpdateIpmi_Dec.__bases__)
                bases.insert(0, ns0.UpdateIpmiRequestType_Def)
                ns0.UpdateIpmi_Dec.__bases__ = tuple(bases)

            ns0.UpdateIpmiRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateIpmi_Dec_Holder"

    class UpdateIpmiResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateIpmiResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateIpmiResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateIpmiResponse")
            kw["aname"] = "_UpdateIpmiResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateIpmiResponse_Holder"
            self.pyclass = Holder

    class RetrieveHardwareUptime_Dec(ElementDeclaration):
        literal = "RetrieveHardwareUptime"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveHardwareUptime")
            kw["aname"] = "_RetrieveHardwareUptime"
            if ns0.RetrieveHardwareUptimeRequestType_Def not in ns0.RetrieveHardwareUptime_Dec.__bases__:
                bases = list(ns0.RetrieveHardwareUptime_Dec.__bases__)
                bases.insert(0, ns0.RetrieveHardwareUptimeRequestType_Def)
                ns0.RetrieveHardwareUptime_Dec.__bases__ = tuple(bases)

            ns0.RetrieveHardwareUptimeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveHardwareUptime_Dec_Holder"

    class RetrieveHardwareUptimeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveHardwareUptimeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveHardwareUptimeResponse_Dec.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveHardwareUptimeResponse")
            kw["aname"] = "_RetrieveHardwareUptimeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveHardwareUptimeResponse_Holder"
            self.pyclass = Holder

    class PrepareCrypto_Dec(ElementDeclaration):
        literal = "PrepareCrypto"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PrepareCrypto")
            kw["aname"] = "_PrepareCrypto"
            if ns0.PrepareCryptoRequestType_Def not in ns0.PrepareCrypto_Dec.__bases__:
                bases = list(ns0.PrepareCrypto_Dec.__bases__)
                bases.insert(0, ns0.PrepareCryptoRequestType_Def)
                ns0.PrepareCrypto_Dec.__bases__ = tuple(bases)

            ns0.PrepareCryptoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PrepareCrypto_Dec_Holder"

    class PrepareCryptoResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PrepareCryptoResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PrepareCryptoResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","PrepareCryptoResponse")
            kw["aname"] = "_PrepareCryptoResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "PrepareCryptoResponse_Holder"
            self.pyclass = Holder

    class EnableCrypto_Dec(ElementDeclaration):
        literal = "EnableCrypto"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EnableCrypto")
            kw["aname"] = "_EnableCrypto"
            if ns0.EnableCryptoRequestType_Def not in ns0.EnableCrypto_Dec.__bases__:
                bases = list(ns0.EnableCrypto_Dec.__bases__)
                bases.insert(0, ns0.EnableCryptoRequestType_Def)
                ns0.EnableCrypto_Dec.__bases__ = tuple(bases)

            ns0.EnableCryptoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EnableCrypto_Dec_Holder"

    class EnableCryptoResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EnableCryptoResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EnableCryptoResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","EnableCryptoResponse")
            kw["aname"] = "_EnableCryptoResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "EnableCryptoResponse_Holder"
            self.pyclass = Holder

    class ConfigureCryptoKey_Dec(ElementDeclaration):
        literal = "ConfigureCryptoKey"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConfigureCryptoKey")
            kw["aname"] = "_ConfigureCryptoKey"
            if ns0.ConfigureCryptoKeyRequestType_Def not in ns0.ConfigureCryptoKey_Dec.__bases__:
                bases = list(ns0.ConfigureCryptoKey_Dec.__bases__)
                bases.insert(0, ns0.ConfigureCryptoKeyRequestType_Def)
                ns0.ConfigureCryptoKey_Dec.__bases__ = tuple(bases)

            ns0.ConfigureCryptoKeyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConfigureCryptoKey_Dec_Holder"

    class ConfigureCryptoKeyResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ConfigureCryptoKeyResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ConfigureCryptoKeyResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ConfigureCryptoKeyResponse")
            kw["aname"] = "_ConfigureCryptoKeyResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ConfigureCryptoKeyResponse_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseGetManifest_Dec(ElementDeclaration):
        literal = "HttpNfcLeaseGetManifest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HttpNfcLeaseGetManifest")
            kw["aname"] = "_HttpNfcLeaseGetManifest"
            if ns0.HttpNfcLeaseGetManifestRequestType_Def not in ns0.HttpNfcLeaseGetManifest_Dec.__bases__:
                bases = list(ns0.HttpNfcLeaseGetManifest_Dec.__bases__)
                bases.insert(0, ns0.HttpNfcLeaseGetManifestRequestType_Def)
                ns0.HttpNfcLeaseGetManifest_Dec.__bases__ = tuple(bases)

            ns0.HttpNfcLeaseGetManifestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HttpNfcLeaseGetManifest_Dec_Holder"

    class HttpNfcLeaseGetManifestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HttpNfcLeaseGetManifestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HttpNfcLeaseGetManifestResponse_Dec.schema
            TClist = [GTD("urn:vim25","HttpNfcLeaseManifestEntry",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HttpNfcLeaseGetManifestResponse")
            kw["aname"] = "_HttpNfcLeaseGetManifestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "HttpNfcLeaseGetManifestResponse_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseSetManifestChecksumType_Dec(ElementDeclaration):
        literal = "HttpNfcLeaseSetManifestChecksumType"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HttpNfcLeaseSetManifestChecksumType")
            kw["aname"] = "_HttpNfcLeaseSetManifestChecksumType"
            if ns0.HttpNfcLeaseSetManifestChecksumTypeRequestType_Def not in ns0.HttpNfcLeaseSetManifestChecksumType_Dec.__bases__:
                bases = list(ns0.HttpNfcLeaseSetManifestChecksumType_Dec.__bases__)
                bases.insert(0, ns0.HttpNfcLeaseSetManifestChecksumTypeRequestType_Def)
                ns0.HttpNfcLeaseSetManifestChecksumType_Dec.__bases__ = tuple(bases)

            ns0.HttpNfcLeaseSetManifestChecksumTypeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HttpNfcLeaseSetManifestChecksumType_Dec_Holder"

    class HttpNfcLeaseSetManifestChecksumTypeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HttpNfcLeaseSetManifestChecksumTypeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HttpNfcLeaseSetManifestChecksumTypeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","HttpNfcLeaseSetManifestChecksumTypeResponse")
            kw["aname"] = "_HttpNfcLeaseSetManifestChecksumTypeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "HttpNfcLeaseSetManifestChecksumTypeResponse_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseComplete_Dec(ElementDeclaration):
        literal = "HttpNfcLeaseComplete"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HttpNfcLeaseComplete")
            kw["aname"] = "_HttpNfcLeaseComplete"
            if ns0.HttpNfcLeaseCompleteRequestType_Def not in ns0.HttpNfcLeaseComplete_Dec.__bases__:
                bases = list(ns0.HttpNfcLeaseComplete_Dec.__bases__)
                bases.insert(0, ns0.HttpNfcLeaseCompleteRequestType_Def)
                ns0.HttpNfcLeaseComplete_Dec.__bases__ = tuple(bases)

            ns0.HttpNfcLeaseCompleteRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HttpNfcLeaseComplete_Dec_Holder"

    class HttpNfcLeaseCompleteResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HttpNfcLeaseCompleteResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HttpNfcLeaseCompleteResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","HttpNfcLeaseCompleteResponse")
            kw["aname"] = "_HttpNfcLeaseCompleteResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "HttpNfcLeaseCompleteResponse_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseAbort_Dec(ElementDeclaration):
        literal = "HttpNfcLeaseAbort"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HttpNfcLeaseAbort")
            kw["aname"] = "_HttpNfcLeaseAbort"
            if ns0.HttpNfcLeaseAbortRequestType_Def not in ns0.HttpNfcLeaseAbort_Dec.__bases__:
                bases = list(ns0.HttpNfcLeaseAbort_Dec.__bases__)
                bases.insert(0, ns0.HttpNfcLeaseAbortRequestType_Def)
                ns0.HttpNfcLeaseAbort_Dec.__bases__ = tuple(bases)

            ns0.HttpNfcLeaseAbortRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HttpNfcLeaseAbort_Dec_Holder"

    class HttpNfcLeaseAbortResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HttpNfcLeaseAbortResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HttpNfcLeaseAbortResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","HttpNfcLeaseAbortResponse")
            kw["aname"] = "_HttpNfcLeaseAbortResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "HttpNfcLeaseAbortResponse_Holder"
            self.pyclass = Holder

    class HttpNfcLeaseProgress_Dec(ElementDeclaration):
        literal = "HttpNfcLeaseProgress"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HttpNfcLeaseProgress")
            kw["aname"] = "_HttpNfcLeaseProgress"
            if ns0.HttpNfcLeaseProgressRequestType_Def not in ns0.HttpNfcLeaseProgress_Dec.__bases__:
                bases = list(ns0.HttpNfcLeaseProgress_Dec.__bases__)
                bases.insert(0, ns0.HttpNfcLeaseProgressRequestType_Def)
                ns0.HttpNfcLeaseProgress_Dec.__bases__ = tuple(bases)

            ns0.HttpNfcLeaseProgressRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HttpNfcLeaseProgress_Dec_Holder"

    class HttpNfcLeaseProgressResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HttpNfcLeaseProgressResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HttpNfcLeaseProgressResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","HttpNfcLeaseProgressResponse")
            kw["aname"] = "_HttpNfcLeaseProgressResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "HttpNfcLeaseProgressResponse_Holder"
            self.pyclass = Holder

    class HttpNfcLeasePullFromUrls_Task_Dec(ElementDeclaration):
        literal = "HttpNfcLeasePullFromUrls_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HttpNfcLeasePullFromUrls_Task")
            kw["aname"] = "_HttpNfcLeasePullFromUrls_Task"
            if ns0.HttpNfcLeasePullFromUrlsRequestType_Def not in ns0.HttpNfcLeasePullFromUrls_Task_Dec.__bases__:
                bases = list(ns0.HttpNfcLeasePullFromUrls_Task_Dec.__bases__)
                bases.insert(0, ns0.HttpNfcLeasePullFromUrlsRequestType_Def)
                ns0.HttpNfcLeasePullFromUrls_Task_Dec.__bases__ = tuple(bases)

            ns0.HttpNfcLeasePullFromUrlsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HttpNfcLeasePullFromUrls_Task_Dec_Holder"

    class HttpNfcLeasePullFromUrls_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HttpNfcLeasePullFromUrls_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HttpNfcLeasePullFromUrls_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HttpNfcLeasePullFromUrls_TaskResponse")
            kw["aname"] = "_HttpNfcLeasePullFromUrls_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HttpNfcLeasePullFromUrls_TaskResponse_Holder"
            self.pyclass = Holder

    class InstallIoFilter_Task_Dec(ElementDeclaration):
        literal = "InstallIoFilter_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InstallIoFilter_Task")
            kw["aname"] = "_InstallIoFilter_Task"
            if ns0.InstallIoFilterRequestType_Def not in ns0.InstallIoFilter_Task_Dec.__bases__:
                bases = list(ns0.InstallIoFilter_Task_Dec.__bases__)
                bases.insert(0, ns0.InstallIoFilterRequestType_Def)
                ns0.InstallIoFilter_Task_Dec.__bases__ = tuple(bases)

            ns0.InstallIoFilterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InstallIoFilter_Task_Dec_Holder"

    class InstallIoFilter_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "InstallIoFilter_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.InstallIoFilter_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","InstallIoFilter_TaskResponse")
            kw["aname"] = "_InstallIoFilter_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "InstallIoFilter_TaskResponse_Holder"
            self.pyclass = Holder

    class UninstallIoFilter_Task_Dec(ElementDeclaration):
        literal = "UninstallIoFilter_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UninstallIoFilter_Task")
            kw["aname"] = "_UninstallIoFilter_Task"
            if ns0.UninstallIoFilterRequestType_Def not in ns0.UninstallIoFilter_Task_Dec.__bases__:
                bases = list(ns0.UninstallIoFilter_Task_Dec.__bases__)
                bases.insert(0, ns0.UninstallIoFilterRequestType_Def)
                ns0.UninstallIoFilter_Task_Dec.__bases__ = tuple(bases)

            ns0.UninstallIoFilterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UninstallIoFilter_Task_Dec_Holder"

    class UninstallIoFilter_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UninstallIoFilter_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UninstallIoFilter_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UninstallIoFilter_TaskResponse")
            kw["aname"] = "_UninstallIoFilter_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UninstallIoFilter_TaskResponse_Holder"
            self.pyclass = Holder

    class UpgradeIoFilter_Task_Dec(ElementDeclaration):
        literal = "UpgradeIoFilter_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpgradeIoFilter_Task")
            kw["aname"] = "_UpgradeIoFilter_Task"
            if ns0.UpgradeIoFilterRequestType_Def not in ns0.UpgradeIoFilter_Task_Dec.__bases__:
                bases = list(ns0.UpgradeIoFilter_Task_Dec.__bases__)
                bases.insert(0, ns0.UpgradeIoFilterRequestType_Def)
                ns0.UpgradeIoFilter_Task_Dec.__bases__ = tuple(bases)

            ns0.UpgradeIoFilterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpgradeIoFilter_Task_Dec_Holder"

    class UpgradeIoFilter_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpgradeIoFilter_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpgradeIoFilter_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpgradeIoFilter_TaskResponse")
            kw["aname"] = "_UpgradeIoFilter_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpgradeIoFilter_TaskResponse_Holder"
            self.pyclass = Holder

    class QueryIoFilterIssues_Dec(ElementDeclaration):
        literal = "QueryIoFilterIssues"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryIoFilterIssues")
            kw["aname"] = "_QueryIoFilterIssues"
            if ns0.QueryIoFilterIssuesRequestType_Def not in ns0.QueryIoFilterIssues_Dec.__bases__:
                bases = list(ns0.QueryIoFilterIssues_Dec.__bases__)
                bases.insert(0, ns0.QueryIoFilterIssuesRequestType_Def)
                ns0.QueryIoFilterIssues_Dec.__bases__ = tuple(bases)

            ns0.QueryIoFilterIssuesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryIoFilterIssues_Dec_Holder"

    class QueryIoFilterIssuesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryIoFilterIssuesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryIoFilterIssuesResponse_Dec.schema
            TClist = [GTD("urn:vim25","IoFilterQueryIssueResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryIoFilterIssuesResponse")
            kw["aname"] = "_QueryIoFilterIssuesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryIoFilterIssuesResponse_Holder"
            self.pyclass = Holder

    class QueryIoFilterInfo_Dec(ElementDeclaration):
        literal = "QueryIoFilterInfo"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryIoFilterInfo")
            kw["aname"] = "_QueryIoFilterInfo"
            if ns0.QueryIoFilterInfoRequestType_Def not in ns0.QueryIoFilterInfo_Dec.__bases__:
                bases = list(ns0.QueryIoFilterInfo_Dec.__bases__)
                bases.insert(0, ns0.QueryIoFilterInfoRequestType_Def)
                ns0.QueryIoFilterInfo_Dec.__bases__ = tuple(bases)

            ns0.QueryIoFilterInfoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryIoFilterInfo_Dec_Holder"

    class QueryIoFilterInfoResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryIoFilterInfoResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryIoFilterInfoResponse_Dec.schema
            TClist = [GTD("urn:vim25","ClusterIoFilterInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryIoFilterInfoResponse")
            kw["aname"] = "_QueryIoFilterInfoResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryIoFilterInfoResponse_Holder"
            self.pyclass = Holder

    class ResolveInstallationErrorsOnHost_Task_Dec(ElementDeclaration):
        literal = "ResolveInstallationErrorsOnHost_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResolveInstallationErrorsOnHost_Task")
            kw["aname"] = "_ResolveInstallationErrorsOnHost_Task"
            if ns0.ResolveInstallationErrorsOnHostRequestType_Def not in ns0.ResolveInstallationErrorsOnHost_Task_Dec.__bases__:
                bases = list(ns0.ResolveInstallationErrorsOnHost_Task_Dec.__bases__)
                bases.insert(0, ns0.ResolveInstallationErrorsOnHostRequestType_Def)
                ns0.ResolveInstallationErrorsOnHost_Task_Dec.__bases__ = tuple(bases)

            ns0.ResolveInstallationErrorsOnHostRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResolveInstallationErrorsOnHost_Task_Dec_Holder"

    class ResolveInstallationErrorsOnHost_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ResolveInstallationErrorsOnHost_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ResolveInstallationErrorsOnHost_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ResolveInstallationErrorsOnHost_TaskResponse")
            kw["aname"] = "_ResolveInstallationErrorsOnHost_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ResolveInstallationErrorsOnHost_TaskResponse_Holder"
            self.pyclass = Holder

    class ResolveInstallationErrorsOnCluster_Task_Dec(ElementDeclaration):
        literal = "ResolveInstallationErrorsOnCluster_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResolveInstallationErrorsOnCluster_Task")
            kw["aname"] = "_ResolveInstallationErrorsOnCluster_Task"
            if ns0.ResolveInstallationErrorsOnClusterRequestType_Def not in ns0.ResolveInstallationErrorsOnCluster_Task_Dec.__bases__:
                bases = list(ns0.ResolveInstallationErrorsOnCluster_Task_Dec.__bases__)
                bases.insert(0, ns0.ResolveInstallationErrorsOnClusterRequestType_Def)
                ns0.ResolveInstallationErrorsOnCluster_Task_Dec.__bases__ = tuple(bases)

            ns0.ResolveInstallationErrorsOnClusterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResolveInstallationErrorsOnCluster_Task_Dec_Holder"

    class ResolveInstallationErrorsOnCluster_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ResolveInstallationErrorsOnCluster_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ResolveInstallationErrorsOnCluster_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ResolveInstallationErrorsOnCluster_TaskResponse")
            kw["aname"] = "_ResolveInstallationErrorsOnCluster_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ResolveInstallationErrorsOnCluster_TaskResponse_Holder"
            self.pyclass = Holder

    class QueryDisksUsingFilter_Dec(ElementDeclaration):
        literal = "QueryDisksUsingFilter"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryDisksUsingFilter")
            kw["aname"] = "_QueryDisksUsingFilter"
            if ns0.QueryDisksUsingFilterRequestType_Def not in ns0.QueryDisksUsingFilter_Dec.__bases__:
                bases = list(ns0.QueryDisksUsingFilter_Dec.__bases__)
                bases.insert(0, ns0.QueryDisksUsingFilterRequestType_Def)
                ns0.QueryDisksUsingFilter_Dec.__bases__ = tuple(bases)

            ns0.QueryDisksUsingFilterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryDisksUsingFilter_Dec_Holder"

    class QueryDisksUsingFilterResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryDisksUsingFilterResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryDisksUsingFilterResponse_Dec.schema
            TClist = [GTD("urn:vim25","VirtualDiskId",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryDisksUsingFilterResponse")
            kw["aname"] = "_QueryDisksUsingFilterResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryDisksUsingFilterResponse_Holder"
            self.pyclass = Holder

    class QueryIpPools_Dec(ElementDeclaration):
        literal = "QueryIpPools"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryIpPools")
            kw["aname"] = "_QueryIpPools"
            if ns0.QueryIpPoolsRequestType_Def not in ns0.QueryIpPools_Dec.__bases__:
                bases = list(ns0.QueryIpPools_Dec.__bases__)
                bases.insert(0, ns0.QueryIpPoolsRequestType_Def)
                ns0.QueryIpPools_Dec.__bases__ = tuple(bases)

            ns0.QueryIpPoolsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryIpPools_Dec_Holder"

    class QueryIpPoolsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryIpPoolsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryIpPoolsResponse_Dec.schema
            TClist = [GTD("urn:vim25","IpPool",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryIpPoolsResponse")
            kw["aname"] = "_QueryIpPoolsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryIpPoolsResponse_Holder"
            self.pyclass = Holder

    class CreateIpPool_Dec(ElementDeclaration):
        literal = "CreateIpPool"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateIpPool")
            kw["aname"] = "_CreateIpPool"
            if ns0.CreateIpPoolRequestType_Def not in ns0.CreateIpPool_Dec.__bases__:
                bases = list(ns0.CreateIpPool_Dec.__bases__)
                bases.insert(0, ns0.CreateIpPoolRequestType_Def)
                ns0.CreateIpPool_Dec.__bases__ = tuple(bases)

            ns0.CreateIpPoolRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateIpPool_Dec_Holder"

    class CreateIpPoolResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateIpPoolResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateIpPoolResponse_Dec.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateIpPoolResponse")
            kw["aname"] = "_CreateIpPoolResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateIpPoolResponse_Holder"
            self.pyclass = Holder

    class UpdateIpPool_Dec(ElementDeclaration):
        literal = "UpdateIpPool"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateIpPool")
            kw["aname"] = "_UpdateIpPool"
            if ns0.UpdateIpPoolRequestType_Def not in ns0.UpdateIpPool_Dec.__bases__:
                bases = list(ns0.UpdateIpPool_Dec.__bases__)
                bases.insert(0, ns0.UpdateIpPoolRequestType_Def)
                ns0.UpdateIpPool_Dec.__bases__ = tuple(bases)

            ns0.UpdateIpPoolRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateIpPool_Dec_Holder"

    class UpdateIpPoolResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateIpPoolResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateIpPoolResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateIpPoolResponse")
            kw["aname"] = "_UpdateIpPoolResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateIpPoolResponse_Holder"
            self.pyclass = Holder

    class DestroyIpPool_Dec(ElementDeclaration):
        literal = "DestroyIpPool"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DestroyIpPool")
            kw["aname"] = "_DestroyIpPool"
            if ns0.DestroyIpPoolRequestType_Def not in ns0.DestroyIpPool_Dec.__bases__:
                bases = list(ns0.DestroyIpPool_Dec.__bases__)
                bases.insert(0, ns0.DestroyIpPoolRequestType_Def)
                ns0.DestroyIpPool_Dec.__bases__ = tuple(bases)

            ns0.DestroyIpPoolRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DestroyIpPool_Dec_Holder"

    class DestroyIpPoolResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DestroyIpPoolResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DestroyIpPoolResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DestroyIpPoolResponse")
            kw["aname"] = "_DestroyIpPoolResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DestroyIpPoolResponse_Holder"
            self.pyclass = Holder

    class AllocateIpv4Address_Dec(ElementDeclaration):
        literal = "AllocateIpv4Address"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AllocateIpv4Address")
            kw["aname"] = "_AllocateIpv4Address"
            if ns0.AllocateIpv4AddressRequestType_Def not in ns0.AllocateIpv4Address_Dec.__bases__:
                bases = list(ns0.AllocateIpv4Address_Dec.__bases__)
                bases.insert(0, ns0.AllocateIpv4AddressRequestType_Def)
                ns0.AllocateIpv4Address_Dec.__bases__ = tuple(bases)

            ns0.AllocateIpv4AddressRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AllocateIpv4Address_Dec_Holder"

    class AllocateIpv4AddressResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AllocateIpv4AddressResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AllocateIpv4AddressResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AllocateIpv4AddressResponse")
            kw["aname"] = "_AllocateIpv4AddressResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AllocateIpv4AddressResponse_Holder"
            self.pyclass = Holder

    class AllocateIpv6Address_Dec(ElementDeclaration):
        literal = "AllocateIpv6Address"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AllocateIpv6Address")
            kw["aname"] = "_AllocateIpv6Address"
            if ns0.AllocateIpv6AddressRequestType_Def not in ns0.AllocateIpv6Address_Dec.__bases__:
                bases = list(ns0.AllocateIpv6Address_Dec.__bases__)
                bases.insert(0, ns0.AllocateIpv6AddressRequestType_Def)
                ns0.AllocateIpv6Address_Dec.__bases__ = tuple(bases)

            ns0.AllocateIpv6AddressRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AllocateIpv6Address_Dec_Holder"

    class AllocateIpv6AddressResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AllocateIpv6AddressResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AllocateIpv6AddressResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AllocateIpv6AddressResponse")
            kw["aname"] = "_AllocateIpv6AddressResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AllocateIpv6AddressResponse_Holder"
            self.pyclass = Holder

    class ReleaseIpAllocation_Dec(ElementDeclaration):
        literal = "ReleaseIpAllocation"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReleaseIpAllocation")
            kw["aname"] = "_ReleaseIpAllocation"
            if ns0.ReleaseIpAllocationRequestType_Def not in ns0.ReleaseIpAllocation_Dec.__bases__:
                bases = list(ns0.ReleaseIpAllocation_Dec.__bases__)
                bases.insert(0, ns0.ReleaseIpAllocationRequestType_Def)
                ns0.ReleaseIpAllocation_Dec.__bases__ = tuple(bases)

            ns0.ReleaseIpAllocationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReleaseIpAllocation_Dec_Holder"

    class ReleaseIpAllocationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReleaseIpAllocationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReleaseIpAllocationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ReleaseIpAllocationResponse")
            kw["aname"] = "_ReleaseIpAllocationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ReleaseIpAllocationResponse_Holder"
            self.pyclass = Holder

    class QueryIPAllocations_Dec(ElementDeclaration):
        literal = "QueryIPAllocations"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryIPAllocations")
            kw["aname"] = "_QueryIPAllocations"
            if ns0.QueryIPAllocationsRequestType_Def not in ns0.QueryIPAllocations_Dec.__bases__:
                bases = list(ns0.QueryIPAllocations_Dec.__bases__)
                bases.insert(0, ns0.QueryIPAllocationsRequestType_Def)
                ns0.QueryIPAllocations_Dec.__bases__ = tuple(bases)

            ns0.QueryIPAllocationsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryIPAllocations_Dec_Holder"

    class QueryIPAllocationsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryIPAllocationsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryIPAllocationsResponse_Dec.schema
            TClist = [GTD("urn:vim25","IpPoolManagerIpAllocation",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryIPAllocationsResponse")
            kw["aname"] = "_QueryIPAllocationsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryIPAllocationsResponse_Holder"
            self.pyclass = Holder

    class UpdateAssignedLicense_Dec(ElementDeclaration):
        literal = "UpdateAssignedLicense"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateAssignedLicense")
            kw["aname"] = "_UpdateAssignedLicense"
            if ns0.UpdateAssignedLicenseRequestType_Def not in ns0.UpdateAssignedLicense_Dec.__bases__:
                bases = list(ns0.UpdateAssignedLicense_Dec.__bases__)
                bases.insert(0, ns0.UpdateAssignedLicenseRequestType_Def)
                ns0.UpdateAssignedLicense_Dec.__bases__ = tuple(bases)

            ns0.UpdateAssignedLicenseRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateAssignedLicense_Dec_Holder"

    class UpdateAssignedLicenseResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateAssignedLicenseResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateAssignedLicenseResponse_Dec.schema
            TClist = [GTD("urn:vim25","LicenseManagerLicenseInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpdateAssignedLicenseResponse")
            kw["aname"] = "_UpdateAssignedLicenseResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpdateAssignedLicenseResponse_Holder"
            self.pyclass = Holder

    class RemoveAssignedLicense_Dec(ElementDeclaration):
        literal = "RemoveAssignedLicense"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveAssignedLicense")
            kw["aname"] = "_RemoveAssignedLicense"
            if ns0.RemoveAssignedLicenseRequestType_Def not in ns0.RemoveAssignedLicense_Dec.__bases__:
                bases = list(ns0.RemoveAssignedLicense_Dec.__bases__)
                bases.insert(0, ns0.RemoveAssignedLicenseRequestType_Def)
                ns0.RemoveAssignedLicense_Dec.__bases__ = tuple(bases)

            ns0.RemoveAssignedLicenseRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveAssignedLicense_Dec_Holder"

    class RemoveAssignedLicenseResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveAssignedLicenseResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveAssignedLicenseResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveAssignedLicenseResponse")
            kw["aname"] = "_RemoveAssignedLicenseResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveAssignedLicenseResponse_Holder"
            self.pyclass = Holder

    class QueryAssignedLicenses_Dec(ElementDeclaration):
        literal = "QueryAssignedLicenses"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryAssignedLicenses")
            kw["aname"] = "_QueryAssignedLicenses"
            if ns0.QueryAssignedLicensesRequestType_Def not in ns0.QueryAssignedLicenses_Dec.__bases__:
                bases = list(ns0.QueryAssignedLicenses_Dec.__bases__)
                bases.insert(0, ns0.QueryAssignedLicensesRequestType_Def)
                ns0.QueryAssignedLicenses_Dec.__bases__ = tuple(bases)

            ns0.QueryAssignedLicensesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryAssignedLicenses_Dec_Holder"

    class QueryAssignedLicensesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryAssignedLicensesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryAssignedLicensesResponse_Dec.schema
            TClist = [GTD("urn:vim25","LicenseAssignmentManagerLicenseAssignment",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryAssignedLicensesResponse")
            kw["aname"] = "_QueryAssignedLicensesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryAssignedLicensesResponse_Holder"
            self.pyclass = Holder

    class QuerySupportedFeatures_Dec(ElementDeclaration):
        literal = "QuerySupportedFeatures"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QuerySupportedFeatures")
            kw["aname"] = "_QuerySupportedFeatures"
            if ns0.QuerySupportedFeaturesRequestType_Def not in ns0.QuerySupportedFeatures_Dec.__bases__:
                bases = list(ns0.QuerySupportedFeatures_Dec.__bases__)
                bases.insert(0, ns0.QuerySupportedFeaturesRequestType_Def)
                ns0.QuerySupportedFeatures_Dec.__bases__ = tuple(bases)

            ns0.QuerySupportedFeaturesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QuerySupportedFeatures_Dec_Holder"

    class QuerySupportedFeaturesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QuerySupportedFeaturesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QuerySupportedFeaturesResponse_Dec.schema
            TClist = [GTD("urn:vim25","LicenseFeatureInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QuerySupportedFeaturesResponse")
            kw["aname"] = "_QuerySupportedFeaturesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QuerySupportedFeaturesResponse_Holder"
            self.pyclass = Holder

    class QueryLicenseSourceAvailability_Dec(ElementDeclaration):
        literal = "QueryLicenseSourceAvailability"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryLicenseSourceAvailability")
            kw["aname"] = "_QueryLicenseSourceAvailability"
            if ns0.QueryLicenseSourceAvailabilityRequestType_Def not in ns0.QueryLicenseSourceAvailability_Dec.__bases__:
                bases = list(ns0.QueryLicenseSourceAvailability_Dec.__bases__)
                bases.insert(0, ns0.QueryLicenseSourceAvailabilityRequestType_Def)
                ns0.QueryLicenseSourceAvailability_Dec.__bases__ = tuple(bases)

            ns0.QueryLicenseSourceAvailabilityRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryLicenseSourceAvailability_Dec_Holder"

    class QueryLicenseSourceAvailabilityResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryLicenseSourceAvailabilityResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryLicenseSourceAvailabilityResponse_Dec.schema
            TClist = [GTD("urn:vim25","LicenseAvailabilityInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryLicenseSourceAvailabilityResponse")
            kw["aname"] = "_QueryLicenseSourceAvailabilityResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryLicenseSourceAvailabilityResponse_Holder"
            self.pyclass = Holder

    class QueryLicenseUsage_Dec(ElementDeclaration):
        literal = "QueryLicenseUsage"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryLicenseUsage")
            kw["aname"] = "_QueryLicenseUsage"
            if ns0.QueryLicenseUsageRequestType_Def not in ns0.QueryLicenseUsage_Dec.__bases__:
                bases = list(ns0.QueryLicenseUsage_Dec.__bases__)
                bases.insert(0, ns0.QueryLicenseUsageRequestType_Def)
                ns0.QueryLicenseUsage_Dec.__bases__ = tuple(bases)

            ns0.QueryLicenseUsageRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryLicenseUsage_Dec_Holder"

    class QueryLicenseUsageResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryLicenseUsageResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryLicenseUsageResponse_Dec.schema
            TClist = [GTD("urn:vim25","LicenseUsageInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryLicenseUsageResponse")
            kw["aname"] = "_QueryLicenseUsageResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryLicenseUsageResponse_Holder"
            self.pyclass = Holder

    class SetLicenseEdition_Dec(ElementDeclaration):
        literal = "SetLicenseEdition"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetLicenseEdition")
            kw["aname"] = "_SetLicenseEdition"
            if ns0.SetLicenseEditionRequestType_Def not in ns0.SetLicenseEdition_Dec.__bases__:
                bases = list(ns0.SetLicenseEdition_Dec.__bases__)
                bases.insert(0, ns0.SetLicenseEditionRequestType_Def)
                ns0.SetLicenseEdition_Dec.__bases__ = tuple(bases)

            ns0.SetLicenseEditionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetLicenseEdition_Dec_Holder"

    class SetLicenseEditionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetLicenseEditionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetLicenseEditionResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetLicenseEditionResponse")
            kw["aname"] = "_SetLicenseEditionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetLicenseEditionResponse_Holder"
            self.pyclass = Holder

    class CheckLicenseFeature_Dec(ElementDeclaration):
        literal = "CheckLicenseFeature"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckLicenseFeature")
            kw["aname"] = "_CheckLicenseFeature"
            if ns0.CheckLicenseFeatureRequestType_Def not in ns0.CheckLicenseFeature_Dec.__bases__:
                bases = list(ns0.CheckLicenseFeature_Dec.__bases__)
                bases.insert(0, ns0.CheckLicenseFeatureRequestType_Def)
                ns0.CheckLicenseFeature_Dec.__bases__ = tuple(bases)

            ns0.CheckLicenseFeatureRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckLicenseFeature_Dec_Holder"

    class CheckLicenseFeatureResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckLicenseFeatureResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckLicenseFeatureResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckLicenseFeatureResponse")
            kw["aname"] = "_CheckLicenseFeatureResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckLicenseFeatureResponse_Holder"
            self.pyclass = Holder

    class EnableFeature_Dec(ElementDeclaration):
        literal = "EnableFeature"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EnableFeature")
            kw["aname"] = "_EnableFeature"
            if ns0.EnableFeatureRequestType_Def not in ns0.EnableFeature_Dec.__bases__:
                bases = list(ns0.EnableFeature_Dec.__bases__)
                bases.insert(0, ns0.EnableFeatureRequestType_Def)
                ns0.EnableFeature_Dec.__bases__ = tuple(bases)

            ns0.EnableFeatureRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EnableFeature_Dec_Holder"

    class EnableFeatureResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EnableFeatureResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EnableFeatureResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","EnableFeatureResponse")
            kw["aname"] = "_EnableFeatureResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "EnableFeatureResponse_Holder"
            self.pyclass = Holder

    class DisableFeature_Dec(ElementDeclaration):
        literal = "DisableFeature"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DisableFeature")
            kw["aname"] = "_DisableFeature"
            if ns0.DisableFeatureRequestType_Def not in ns0.DisableFeature_Dec.__bases__:
                bases = list(ns0.DisableFeature_Dec.__bases__)
                bases.insert(0, ns0.DisableFeatureRequestType_Def)
                ns0.DisableFeature_Dec.__bases__ = tuple(bases)

            ns0.DisableFeatureRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DisableFeature_Dec_Holder"

    class DisableFeatureResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DisableFeatureResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DisableFeatureResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DisableFeatureResponse")
            kw["aname"] = "_DisableFeatureResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DisableFeatureResponse_Holder"
            self.pyclass = Holder

    class ConfigureLicenseSource_Dec(ElementDeclaration):
        literal = "ConfigureLicenseSource"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConfigureLicenseSource")
            kw["aname"] = "_ConfigureLicenseSource"
            if ns0.ConfigureLicenseSourceRequestType_Def not in ns0.ConfigureLicenseSource_Dec.__bases__:
                bases = list(ns0.ConfigureLicenseSource_Dec.__bases__)
                bases.insert(0, ns0.ConfigureLicenseSourceRequestType_Def)
                ns0.ConfigureLicenseSource_Dec.__bases__ = tuple(bases)

            ns0.ConfigureLicenseSourceRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConfigureLicenseSource_Dec_Holder"

    class ConfigureLicenseSourceResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ConfigureLicenseSourceResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ConfigureLicenseSourceResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ConfigureLicenseSourceResponse")
            kw["aname"] = "_ConfigureLicenseSourceResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ConfigureLicenseSourceResponse_Holder"
            self.pyclass = Holder

    class UpdateLicense_Dec(ElementDeclaration):
        literal = "UpdateLicense"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateLicense")
            kw["aname"] = "_UpdateLicense"
            if ns0.UpdateLicenseRequestType_Def not in ns0.UpdateLicense_Dec.__bases__:
                bases = list(ns0.UpdateLicense_Dec.__bases__)
                bases.insert(0, ns0.UpdateLicenseRequestType_Def)
                ns0.UpdateLicense_Dec.__bases__ = tuple(bases)

            ns0.UpdateLicenseRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateLicense_Dec_Holder"

    class UpdateLicenseResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateLicenseResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateLicenseResponse_Dec.schema
            TClist = [GTD("urn:vim25","LicenseManagerLicenseInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpdateLicenseResponse")
            kw["aname"] = "_UpdateLicenseResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpdateLicenseResponse_Holder"
            self.pyclass = Holder

    class AddLicense_Dec(ElementDeclaration):
        literal = "AddLicense"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddLicense")
            kw["aname"] = "_AddLicense"
            if ns0.AddLicenseRequestType_Def not in ns0.AddLicense_Dec.__bases__:
                bases = list(ns0.AddLicense_Dec.__bases__)
                bases.insert(0, ns0.AddLicenseRequestType_Def)
                ns0.AddLicense_Dec.__bases__ = tuple(bases)

            ns0.AddLicenseRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddLicense_Dec_Holder"

    class AddLicenseResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddLicenseResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddLicenseResponse_Dec.schema
            TClist = [GTD("urn:vim25","LicenseManagerLicenseInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AddLicenseResponse")
            kw["aname"] = "_AddLicenseResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AddLicenseResponse_Holder"
            self.pyclass = Holder

    class RemoveLicense_Dec(ElementDeclaration):
        literal = "RemoveLicense"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveLicense")
            kw["aname"] = "_RemoveLicense"
            if ns0.RemoveLicenseRequestType_Def not in ns0.RemoveLicense_Dec.__bases__:
                bases = list(ns0.RemoveLicense_Dec.__bases__)
                bases.insert(0, ns0.RemoveLicenseRequestType_Def)
                ns0.RemoveLicense_Dec.__bases__ = tuple(bases)

            ns0.RemoveLicenseRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveLicense_Dec_Holder"

    class RemoveLicenseResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveLicenseResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveLicenseResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveLicenseResponse")
            kw["aname"] = "_RemoveLicenseResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveLicenseResponse_Holder"
            self.pyclass = Holder

    class DecodeLicense_Dec(ElementDeclaration):
        literal = "DecodeLicense"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DecodeLicense")
            kw["aname"] = "_DecodeLicense"
            if ns0.DecodeLicenseRequestType_Def not in ns0.DecodeLicense_Dec.__bases__:
                bases = list(ns0.DecodeLicense_Dec.__bases__)
                bases.insert(0, ns0.DecodeLicenseRequestType_Def)
                ns0.DecodeLicense_Dec.__bases__ = tuple(bases)

            ns0.DecodeLicenseRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DecodeLicense_Dec_Holder"

    class DecodeLicenseResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DecodeLicenseResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DecodeLicenseResponse_Dec.schema
            TClist = [GTD("urn:vim25","LicenseManagerLicenseInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DecodeLicenseResponse")
            kw["aname"] = "_DecodeLicenseResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DecodeLicenseResponse_Holder"
            self.pyclass = Holder

    class UpdateLicenseLabel_Dec(ElementDeclaration):
        literal = "UpdateLicenseLabel"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateLicenseLabel")
            kw["aname"] = "_UpdateLicenseLabel"
            if ns0.UpdateLicenseLabelRequestType_Def not in ns0.UpdateLicenseLabel_Dec.__bases__:
                bases = list(ns0.UpdateLicenseLabel_Dec.__bases__)
                bases.insert(0, ns0.UpdateLicenseLabelRequestType_Def)
                ns0.UpdateLicenseLabel_Dec.__bases__ = tuple(bases)

            ns0.UpdateLicenseLabelRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateLicenseLabel_Dec_Holder"

    class UpdateLicenseLabelResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateLicenseLabelResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateLicenseLabelResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateLicenseLabelResponse")
            kw["aname"] = "_UpdateLicenseLabelResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateLicenseLabelResponse_Holder"
            self.pyclass = Holder

    class RemoveLicenseLabel_Dec(ElementDeclaration):
        literal = "RemoveLicenseLabel"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveLicenseLabel")
            kw["aname"] = "_RemoveLicenseLabel"
            if ns0.RemoveLicenseLabelRequestType_Def not in ns0.RemoveLicenseLabel_Dec.__bases__:
                bases = list(ns0.RemoveLicenseLabel_Dec.__bases__)
                bases.insert(0, ns0.RemoveLicenseLabelRequestType_Def)
                ns0.RemoveLicenseLabel_Dec.__bases__ = tuple(bases)

            ns0.RemoveLicenseLabelRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveLicenseLabel_Dec_Holder"

    class RemoveLicenseLabelResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveLicenseLabelResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveLicenseLabelResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveLicenseLabelResponse")
            kw["aname"] = "_RemoveLicenseLabelResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveLicenseLabelResponse_Holder"
            self.pyclass = Holder

    class Reload_Dec(ElementDeclaration):
        literal = "Reload"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","Reload")
            kw["aname"] = "_Reload"
            if ns0.ReloadRequestType_Def not in ns0.Reload_Dec.__bases__:
                bases = list(ns0.Reload_Dec.__bases__)
                bases.insert(0, ns0.ReloadRequestType_Def)
                ns0.Reload_Dec.__bases__ = tuple(bases)

            ns0.ReloadRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "Reload_Dec_Holder"

    class ReloadResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReloadResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReloadResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ReloadResponse")
            kw["aname"] = "_ReloadResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ReloadResponse_Holder"
            self.pyclass = Holder

    class Rename_Task_Dec(ElementDeclaration):
        literal = "Rename_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","Rename_Task")
            kw["aname"] = "_Rename_Task"
            if ns0.RenameRequestType_Def not in ns0.Rename_Task_Dec.__bases__:
                bases = list(ns0.Rename_Task_Dec.__bases__)
                bases.insert(0, ns0.RenameRequestType_Def)
                ns0.Rename_Task_Dec.__bases__ = tuple(bases)

            ns0.RenameRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "Rename_Task_Dec_Holder"

    class Rename_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "Rename_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.Rename_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","Rename_TaskResponse")
            kw["aname"] = "_Rename_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "Rename_TaskResponse_Holder"
            self.pyclass = Holder

    class Destroy_Task_Dec(ElementDeclaration):
        literal = "Destroy_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","Destroy_Task")
            kw["aname"] = "_Destroy_Task"
            if ns0.DestroyRequestType_Def not in ns0.Destroy_Task_Dec.__bases__:
                bases = list(ns0.Destroy_Task_Dec.__bases__)
                bases.insert(0, ns0.DestroyRequestType_Def)
                ns0.Destroy_Task_Dec.__bases__ = tuple(bases)

            ns0.DestroyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "Destroy_Task_Dec_Holder"

    class Destroy_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "Destroy_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.Destroy_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","Destroy_TaskResponse")
            kw["aname"] = "_Destroy_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "Destroy_TaskResponse_Holder"
            self.pyclass = Holder

    class DestroyNetwork_Dec(ElementDeclaration):
        literal = "DestroyNetwork"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DestroyNetwork")
            kw["aname"] = "_DestroyNetwork"
            if ns0.DestroyNetworkRequestType_Def not in ns0.DestroyNetwork_Dec.__bases__:
                bases = list(ns0.DestroyNetwork_Dec.__bases__)
                bases.insert(0, ns0.DestroyNetworkRequestType_Def)
                ns0.DestroyNetwork_Dec.__bases__ = tuple(bases)

            ns0.DestroyNetworkRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DestroyNetwork_Dec_Holder"

    class DestroyNetworkResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DestroyNetworkResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DestroyNetworkResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DestroyNetworkResponse")
            kw["aname"] = "_DestroyNetworkResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DestroyNetworkResponse_Holder"
            self.pyclass = Holder

    class LookupVmOverheadMemory_Dec(ElementDeclaration):
        literal = "LookupVmOverheadMemory"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LookupVmOverheadMemory")
            kw["aname"] = "_LookupVmOverheadMemory"
            if ns0.LookupVmOverheadMemoryRequestType_Def not in ns0.LookupVmOverheadMemory_Dec.__bases__:
                bases = list(ns0.LookupVmOverheadMemory_Dec.__bases__)
                bases.insert(0, ns0.LookupVmOverheadMemoryRequestType_Def)
                ns0.LookupVmOverheadMemory_Dec.__bases__ = tuple(bases)

            ns0.LookupVmOverheadMemoryRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LookupVmOverheadMemory_Dec_Holder"

    class LookupVmOverheadMemoryResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "LookupVmOverheadMemoryResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.LookupVmOverheadMemoryResponse_Dec.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","LookupVmOverheadMemoryResponse")
            kw["aname"] = "_LookupVmOverheadMemoryResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "LookupVmOverheadMemoryResponse_Holder"
            self.pyclass = Holder

    class ValidateHost_Dec(ElementDeclaration):
        literal = "ValidateHost"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ValidateHost")
            kw["aname"] = "_ValidateHost"
            if ns0.ValidateHostRequestType_Def not in ns0.ValidateHost_Dec.__bases__:
                bases = list(ns0.ValidateHost_Dec.__bases__)
                bases.insert(0, ns0.ValidateHostRequestType_Def)
                ns0.ValidateHost_Dec.__bases__ = tuple(bases)

            ns0.ValidateHostRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ValidateHost_Dec_Holder"

    class ValidateHostResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ValidateHostResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ValidateHostResponse_Dec.schema
            TClist = [GTD("urn:vim25","OvfValidateHostResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ValidateHostResponse")
            kw["aname"] = "_ValidateHostResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ValidateHostResponse_Holder"
            self.pyclass = Holder

    class ParseDescriptor_Dec(ElementDeclaration):
        literal = "ParseDescriptor"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ParseDescriptor")
            kw["aname"] = "_ParseDescriptor"
            if ns0.ParseDescriptorRequestType_Def not in ns0.ParseDescriptor_Dec.__bases__:
                bases = list(ns0.ParseDescriptor_Dec.__bases__)
                bases.insert(0, ns0.ParseDescriptorRequestType_Def)
                ns0.ParseDescriptor_Dec.__bases__ = tuple(bases)

            ns0.ParseDescriptorRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ParseDescriptor_Dec_Holder"

    class ParseDescriptorResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ParseDescriptorResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ParseDescriptorResponse_Dec.schema
            TClist = [GTD("urn:vim25","OvfParseDescriptorResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ParseDescriptorResponse")
            kw["aname"] = "_ParseDescriptorResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ParseDescriptorResponse_Holder"
            self.pyclass = Holder

    class CreateImportSpec_Dec(ElementDeclaration):
        literal = "CreateImportSpec"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateImportSpec")
            kw["aname"] = "_CreateImportSpec"
            if ns0.CreateImportSpecRequestType_Def not in ns0.CreateImportSpec_Dec.__bases__:
                bases = list(ns0.CreateImportSpec_Dec.__bases__)
                bases.insert(0, ns0.CreateImportSpecRequestType_Def)
                ns0.CreateImportSpec_Dec.__bases__ = tuple(bases)

            ns0.CreateImportSpecRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateImportSpec_Dec_Holder"

    class CreateImportSpecResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateImportSpecResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateImportSpecResponse_Dec.schema
            TClist = [GTD("urn:vim25","OvfCreateImportSpecResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateImportSpecResponse")
            kw["aname"] = "_CreateImportSpecResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateImportSpecResponse_Holder"
            self.pyclass = Holder

    class CreateDescriptor_Dec(ElementDeclaration):
        literal = "CreateDescriptor"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateDescriptor")
            kw["aname"] = "_CreateDescriptor"
            if ns0.CreateDescriptorRequestType_Def not in ns0.CreateDescriptor_Dec.__bases__:
                bases = list(ns0.CreateDescriptor_Dec.__bases__)
                bases.insert(0, ns0.CreateDescriptorRequestType_Def)
                ns0.CreateDescriptor_Dec.__bases__ = tuple(bases)

            ns0.CreateDescriptorRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateDescriptor_Dec_Holder"

    class CreateDescriptorResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateDescriptorResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateDescriptorResponse_Dec.schema
            TClist = [GTD("urn:vim25","OvfCreateDescriptorResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateDescriptorResponse")
            kw["aname"] = "_CreateDescriptorResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateDescriptorResponse_Holder"
            self.pyclass = Holder

    class QueryPerfProviderSummary_Dec(ElementDeclaration):
        literal = "QueryPerfProviderSummary"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryPerfProviderSummary")
            kw["aname"] = "_QueryPerfProviderSummary"
            if ns0.QueryPerfProviderSummaryRequestType_Def not in ns0.QueryPerfProviderSummary_Dec.__bases__:
                bases = list(ns0.QueryPerfProviderSummary_Dec.__bases__)
                bases.insert(0, ns0.QueryPerfProviderSummaryRequestType_Def)
                ns0.QueryPerfProviderSummary_Dec.__bases__ = tuple(bases)

            ns0.QueryPerfProviderSummaryRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryPerfProviderSummary_Dec_Holder"

    class QueryPerfProviderSummaryResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryPerfProviderSummaryResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryPerfProviderSummaryResponse_Dec.schema
            TClist = [GTD("urn:vim25","PerfProviderSummary",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryPerfProviderSummaryResponse")
            kw["aname"] = "_QueryPerfProviderSummaryResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryPerfProviderSummaryResponse_Holder"
            self.pyclass = Holder

    class QueryAvailablePerfMetric_Dec(ElementDeclaration):
        literal = "QueryAvailablePerfMetric"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryAvailablePerfMetric")
            kw["aname"] = "_QueryAvailablePerfMetric"
            if ns0.QueryAvailablePerfMetricRequestType_Def not in ns0.QueryAvailablePerfMetric_Dec.__bases__:
                bases = list(ns0.QueryAvailablePerfMetric_Dec.__bases__)
                bases.insert(0, ns0.QueryAvailablePerfMetricRequestType_Def)
                ns0.QueryAvailablePerfMetric_Dec.__bases__ = tuple(bases)

            ns0.QueryAvailablePerfMetricRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryAvailablePerfMetric_Dec_Holder"

    class QueryAvailablePerfMetricResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryAvailablePerfMetricResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryAvailablePerfMetricResponse_Dec.schema
            TClist = [GTD("urn:vim25","PerfMetricId",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryAvailablePerfMetricResponse")
            kw["aname"] = "_QueryAvailablePerfMetricResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryAvailablePerfMetricResponse_Holder"
            self.pyclass = Holder

    class QueryPerfCounter_Dec(ElementDeclaration):
        literal = "QueryPerfCounter"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryPerfCounter")
            kw["aname"] = "_QueryPerfCounter"
            if ns0.QueryPerfCounterRequestType_Def not in ns0.QueryPerfCounter_Dec.__bases__:
                bases = list(ns0.QueryPerfCounter_Dec.__bases__)
                bases.insert(0, ns0.QueryPerfCounterRequestType_Def)
                ns0.QueryPerfCounter_Dec.__bases__ = tuple(bases)

            ns0.QueryPerfCounterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryPerfCounter_Dec_Holder"

    class QueryPerfCounterResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryPerfCounterResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryPerfCounterResponse_Dec.schema
            TClist = [GTD("urn:vim25","PerfCounterInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryPerfCounterResponse")
            kw["aname"] = "_QueryPerfCounterResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryPerfCounterResponse_Holder"
            self.pyclass = Holder

    class QueryPerfCounterByLevel_Dec(ElementDeclaration):
        literal = "QueryPerfCounterByLevel"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryPerfCounterByLevel")
            kw["aname"] = "_QueryPerfCounterByLevel"
            if ns0.QueryPerfCounterByLevelRequestType_Def not in ns0.QueryPerfCounterByLevel_Dec.__bases__:
                bases = list(ns0.QueryPerfCounterByLevel_Dec.__bases__)
                bases.insert(0, ns0.QueryPerfCounterByLevelRequestType_Def)
                ns0.QueryPerfCounterByLevel_Dec.__bases__ = tuple(bases)

            ns0.QueryPerfCounterByLevelRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryPerfCounterByLevel_Dec_Holder"

    class QueryPerfCounterByLevelResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryPerfCounterByLevelResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryPerfCounterByLevelResponse_Dec.schema
            TClist = [GTD("urn:vim25","PerfCounterInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryPerfCounterByLevelResponse")
            kw["aname"] = "_QueryPerfCounterByLevelResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryPerfCounterByLevelResponse_Holder"
            self.pyclass = Holder

    class QueryPerf_Dec(ElementDeclaration):
        literal = "QueryPerf"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryPerf")
            kw["aname"] = "_QueryPerf"
            if ns0.QueryPerfRequestType_Def not in ns0.QueryPerf_Dec.__bases__:
                bases = list(ns0.QueryPerf_Dec.__bases__)
                bases.insert(0, ns0.QueryPerfRequestType_Def)
                ns0.QueryPerf_Dec.__bases__ = tuple(bases)

            ns0.QueryPerfRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryPerf_Dec_Holder"

    class QueryPerfResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryPerfResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryPerfResponse_Dec.schema
            TClist = [GTD("urn:vim25","PerfEntityMetricBase",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryPerfResponse")
            kw["aname"] = "_QueryPerfResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryPerfResponse_Holder"
            self.pyclass = Holder

    class QueryPerfComposite_Dec(ElementDeclaration):
        literal = "QueryPerfComposite"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryPerfComposite")
            kw["aname"] = "_QueryPerfComposite"
            if ns0.QueryPerfCompositeRequestType_Def not in ns0.QueryPerfComposite_Dec.__bases__:
                bases = list(ns0.QueryPerfComposite_Dec.__bases__)
                bases.insert(0, ns0.QueryPerfCompositeRequestType_Def)
                ns0.QueryPerfComposite_Dec.__bases__ = tuple(bases)

            ns0.QueryPerfCompositeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryPerfComposite_Dec_Holder"

    class QueryPerfCompositeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryPerfCompositeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryPerfCompositeResponse_Dec.schema
            TClist = [GTD("urn:vim25","PerfCompositeMetric",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryPerfCompositeResponse")
            kw["aname"] = "_QueryPerfCompositeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryPerfCompositeResponse_Holder"
            self.pyclass = Holder

    class CreatePerfInterval_Dec(ElementDeclaration):
        literal = "CreatePerfInterval"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreatePerfInterval")
            kw["aname"] = "_CreatePerfInterval"
            if ns0.CreatePerfIntervalRequestType_Def not in ns0.CreatePerfInterval_Dec.__bases__:
                bases = list(ns0.CreatePerfInterval_Dec.__bases__)
                bases.insert(0, ns0.CreatePerfIntervalRequestType_Def)
                ns0.CreatePerfInterval_Dec.__bases__ = tuple(bases)

            ns0.CreatePerfIntervalRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreatePerfInterval_Dec_Holder"

    class CreatePerfIntervalResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreatePerfIntervalResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreatePerfIntervalResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CreatePerfIntervalResponse")
            kw["aname"] = "_CreatePerfIntervalResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CreatePerfIntervalResponse_Holder"
            self.pyclass = Holder

    class RemovePerfInterval_Dec(ElementDeclaration):
        literal = "RemovePerfInterval"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemovePerfInterval")
            kw["aname"] = "_RemovePerfInterval"
            if ns0.RemovePerfIntervalRequestType_Def not in ns0.RemovePerfInterval_Dec.__bases__:
                bases = list(ns0.RemovePerfInterval_Dec.__bases__)
                bases.insert(0, ns0.RemovePerfIntervalRequestType_Def)
                ns0.RemovePerfInterval_Dec.__bases__ = tuple(bases)

            ns0.RemovePerfIntervalRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemovePerfInterval_Dec_Holder"

    class RemovePerfIntervalResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemovePerfIntervalResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemovePerfIntervalResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemovePerfIntervalResponse")
            kw["aname"] = "_RemovePerfIntervalResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemovePerfIntervalResponse_Holder"
            self.pyclass = Holder

    class UpdatePerfInterval_Dec(ElementDeclaration):
        literal = "UpdatePerfInterval"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdatePerfInterval")
            kw["aname"] = "_UpdatePerfInterval"
            if ns0.UpdatePerfIntervalRequestType_Def not in ns0.UpdatePerfInterval_Dec.__bases__:
                bases = list(ns0.UpdatePerfInterval_Dec.__bases__)
                bases.insert(0, ns0.UpdatePerfIntervalRequestType_Def)
                ns0.UpdatePerfInterval_Dec.__bases__ = tuple(bases)

            ns0.UpdatePerfIntervalRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdatePerfInterval_Dec_Holder"

    class UpdatePerfIntervalResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdatePerfIntervalResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdatePerfIntervalResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdatePerfIntervalResponse")
            kw["aname"] = "_UpdatePerfIntervalResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdatePerfIntervalResponse_Holder"
            self.pyclass = Holder

    class UpdateCounterLevelMapping_Dec(ElementDeclaration):
        literal = "UpdateCounterLevelMapping"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateCounterLevelMapping")
            kw["aname"] = "_UpdateCounterLevelMapping"
            if ns0.UpdateCounterLevelMappingRequestType_Def not in ns0.UpdateCounterLevelMapping_Dec.__bases__:
                bases = list(ns0.UpdateCounterLevelMapping_Dec.__bases__)
                bases.insert(0, ns0.UpdateCounterLevelMappingRequestType_Def)
                ns0.UpdateCounterLevelMapping_Dec.__bases__ = tuple(bases)

            ns0.UpdateCounterLevelMappingRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateCounterLevelMapping_Dec_Holder"

    class UpdateCounterLevelMappingResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateCounterLevelMappingResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateCounterLevelMappingResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateCounterLevelMappingResponse")
            kw["aname"] = "_UpdateCounterLevelMappingResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateCounterLevelMappingResponse_Holder"
            self.pyclass = Holder

    class ResetCounterLevelMapping_Dec(ElementDeclaration):
        literal = "ResetCounterLevelMapping"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResetCounterLevelMapping")
            kw["aname"] = "_ResetCounterLevelMapping"
            if ns0.ResetCounterLevelMappingRequestType_Def not in ns0.ResetCounterLevelMapping_Dec.__bases__:
                bases = list(ns0.ResetCounterLevelMapping_Dec.__bases__)
                bases.insert(0, ns0.ResetCounterLevelMappingRequestType_Def)
                ns0.ResetCounterLevelMapping_Dec.__bases__ = tuple(bases)

            ns0.ResetCounterLevelMappingRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResetCounterLevelMapping_Dec_Holder"

    class ResetCounterLevelMappingResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ResetCounterLevelMappingResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ResetCounterLevelMappingResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ResetCounterLevelMappingResponse")
            kw["aname"] = "_ResetCounterLevelMappingResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ResetCounterLevelMappingResponse_Holder"
            self.pyclass = Holder

    class EstimateDatabaseSize_Dec(ElementDeclaration):
        literal = "EstimateDatabaseSize"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EstimateDatabaseSize")
            kw["aname"] = "_EstimateDatabaseSize"
            if ns0.EstimateDatabaseSizeRequestType_Def not in ns0.EstimateDatabaseSize_Dec.__bases__:
                bases = list(ns0.EstimateDatabaseSize_Dec.__bases__)
                bases.insert(0, ns0.EstimateDatabaseSizeRequestType_Def)
                ns0.EstimateDatabaseSize_Dec.__bases__ = tuple(bases)

            ns0.EstimateDatabaseSizeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EstimateDatabaseSize_Dec_Holder"

    class EstimateDatabaseSizeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EstimateDatabaseSizeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EstimateDatabaseSizeResponse_Dec.schema
            TClist = [GTD("urn:vim25","DatabaseSizeEstimate",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","EstimateDatabaseSizeResponse")
            kw["aname"] = "_EstimateDatabaseSizeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "EstimateDatabaseSizeResponse_Holder"
            self.pyclass = Holder

    class UpdateConfig_Dec(ElementDeclaration):
        literal = "UpdateConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateConfig")
            kw["aname"] = "_UpdateConfig"
            if ns0.UpdateConfigRequestType_Def not in ns0.UpdateConfig_Dec.__bases__:
                bases = list(ns0.UpdateConfig_Dec.__bases__)
                bases.insert(0, ns0.UpdateConfigRequestType_Def)
                ns0.UpdateConfig_Dec.__bases__ = tuple(bases)

            ns0.UpdateConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateConfig_Dec_Holder"

    class UpdateConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateConfigResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateConfigResponse")
            kw["aname"] = "_UpdateConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateConfigResponse_Holder"
            self.pyclass = Holder

    class MoveIntoResourcePool_Dec(ElementDeclaration):
        literal = "MoveIntoResourcePool"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MoveIntoResourcePool")
            kw["aname"] = "_MoveIntoResourcePool"
            if ns0.MoveIntoResourcePoolRequestType_Def not in ns0.MoveIntoResourcePool_Dec.__bases__:
                bases = list(ns0.MoveIntoResourcePool_Dec.__bases__)
                bases.insert(0, ns0.MoveIntoResourcePoolRequestType_Def)
                ns0.MoveIntoResourcePool_Dec.__bases__ = tuple(bases)

            ns0.MoveIntoResourcePoolRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MoveIntoResourcePool_Dec_Holder"

    class MoveIntoResourcePoolResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MoveIntoResourcePoolResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MoveIntoResourcePoolResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","MoveIntoResourcePoolResponse")
            kw["aname"] = "_MoveIntoResourcePoolResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "MoveIntoResourcePoolResponse_Holder"
            self.pyclass = Holder

    class UpdateChildResourceConfiguration_Dec(ElementDeclaration):
        literal = "UpdateChildResourceConfiguration"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateChildResourceConfiguration")
            kw["aname"] = "_UpdateChildResourceConfiguration"
            if ns0.UpdateChildResourceConfigurationRequestType_Def not in ns0.UpdateChildResourceConfiguration_Dec.__bases__:
                bases = list(ns0.UpdateChildResourceConfiguration_Dec.__bases__)
                bases.insert(0, ns0.UpdateChildResourceConfigurationRequestType_Def)
                ns0.UpdateChildResourceConfiguration_Dec.__bases__ = tuple(bases)

            ns0.UpdateChildResourceConfigurationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateChildResourceConfiguration_Dec_Holder"

    class UpdateChildResourceConfigurationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateChildResourceConfigurationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateChildResourceConfigurationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateChildResourceConfigurationResponse")
            kw["aname"] = "_UpdateChildResourceConfigurationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateChildResourceConfigurationResponse_Holder"
            self.pyclass = Holder

    class CreateResourcePool_Dec(ElementDeclaration):
        literal = "CreateResourcePool"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateResourcePool")
            kw["aname"] = "_CreateResourcePool"
            if ns0.CreateResourcePoolRequestType_Def not in ns0.CreateResourcePool_Dec.__bases__:
                bases = list(ns0.CreateResourcePool_Dec.__bases__)
                bases.insert(0, ns0.CreateResourcePoolRequestType_Def)
                ns0.CreateResourcePool_Dec.__bases__ = tuple(bases)

            ns0.CreateResourcePoolRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateResourcePool_Dec_Holder"

    class CreateResourcePoolResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateResourcePoolResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateResourcePoolResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateResourcePoolResponse")
            kw["aname"] = "_CreateResourcePoolResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateResourcePoolResponse_Holder"
            self.pyclass = Holder

    class DestroyChildren_Dec(ElementDeclaration):
        literal = "DestroyChildren"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DestroyChildren")
            kw["aname"] = "_DestroyChildren"
            if ns0.DestroyChildrenRequestType_Def not in ns0.DestroyChildren_Dec.__bases__:
                bases = list(ns0.DestroyChildren_Dec.__bases__)
                bases.insert(0, ns0.DestroyChildrenRequestType_Def)
                ns0.DestroyChildren_Dec.__bases__ = tuple(bases)

            ns0.DestroyChildrenRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DestroyChildren_Dec_Holder"

    class DestroyChildrenResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DestroyChildrenResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DestroyChildrenResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DestroyChildrenResponse")
            kw["aname"] = "_DestroyChildrenResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DestroyChildrenResponse_Holder"
            self.pyclass = Holder

    class CreateVApp_Dec(ElementDeclaration):
        literal = "CreateVApp"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateVApp")
            kw["aname"] = "_CreateVApp"
            if ns0.CreateVAppRequestType_Def not in ns0.CreateVApp_Dec.__bases__:
                bases = list(ns0.CreateVApp_Dec.__bases__)
                bases.insert(0, ns0.CreateVAppRequestType_Def)
                ns0.CreateVApp_Dec.__bases__ = tuple(bases)

            ns0.CreateVAppRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateVApp_Dec_Holder"

    class CreateVAppResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateVAppResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateVAppResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateVAppResponse")
            kw["aname"] = "_CreateVAppResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateVAppResponse_Holder"
            self.pyclass = Holder

    class CreateChildVM_Task_Dec(ElementDeclaration):
        literal = "CreateChildVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateChildVM_Task")
            kw["aname"] = "_CreateChildVM_Task"
            if ns0.CreateChildVMRequestType_Def not in ns0.CreateChildVM_Task_Dec.__bases__:
                bases = list(ns0.CreateChildVM_Task_Dec.__bases__)
                bases.insert(0, ns0.CreateChildVMRequestType_Def)
                ns0.CreateChildVM_Task_Dec.__bases__ = tuple(bases)

            ns0.CreateChildVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateChildVM_Task_Dec_Holder"

    class CreateChildVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateChildVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateChildVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateChildVM_TaskResponse")
            kw["aname"] = "_CreateChildVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateChildVM_TaskResponse_Holder"
            self.pyclass = Holder

    class RegisterChildVM_Task_Dec(ElementDeclaration):
        literal = "RegisterChildVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RegisterChildVM_Task")
            kw["aname"] = "_RegisterChildVM_Task"
            if ns0.RegisterChildVMRequestType_Def not in ns0.RegisterChildVM_Task_Dec.__bases__:
                bases = list(ns0.RegisterChildVM_Task_Dec.__bases__)
                bases.insert(0, ns0.RegisterChildVMRequestType_Def)
                ns0.RegisterChildVM_Task_Dec.__bases__ = tuple(bases)

            ns0.RegisterChildVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RegisterChildVM_Task_Dec_Holder"

    class RegisterChildVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RegisterChildVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RegisterChildVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RegisterChildVM_TaskResponse")
            kw["aname"] = "_RegisterChildVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RegisterChildVM_TaskResponse_Holder"
            self.pyclass = Holder

    class ImportVApp_Dec(ElementDeclaration):
        literal = "ImportVApp"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ImportVApp")
            kw["aname"] = "_ImportVApp"
            if ns0.ImportVAppRequestType_Def not in ns0.ImportVApp_Dec.__bases__:
                bases = list(ns0.ImportVApp_Dec.__bases__)
                bases.insert(0, ns0.ImportVAppRequestType_Def)
                ns0.ImportVApp_Dec.__bases__ = tuple(bases)

            ns0.ImportVAppRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ImportVApp_Dec_Holder"

    class ImportVAppResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ImportVAppResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ImportVAppResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ImportVAppResponse")
            kw["aname"] = "_ImportVAppResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ImportVAppResponse_Holder"
            self.pyclass = Holder

    class QueryResourceConfigOption_Dec(ElementDeclaration):
        literal = "QueryResourceConfigOption"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryResourceConfigOption")
            kw["aname"] = "_QueryResourceConfigOption"
            if ns0.QueryResourceConfigOptionRequestType_Def not in ns0.QueryResourceConfigOption_Dec.__bases__:
                bases = list(ns0.QueryResourceConfigOption_Dec.__bases__)
                bases.insert(0, ns0.QueryResourceConfigOptionRequestType_Def)
                ns0.QueryResourceConfigOption_Dec.__bases__ = tuple(bases)

            ns0.QueryResourceConfigOptionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryResourceConfigOption_Dec_Holder"

    class QueryResourceConfigOptionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryResourceConfigOptionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryResourceConfigOptionResponse_Dec.schema
            TClist = [GTD("urn:vim25","ResourceConfigOption",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryResourceConfigOptionResponse")
            kw["aname"] = "_QueryResourceConfigOptionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryResourceConfigOptionResponse_Holder"
            self.pyclass = Holder

    class RefreshRuntime_Dec(ElementDeclaration):
        literal = "RefreshRuntime"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshRuntime")
            kw["aname"] = "_RefreshRuntime"
            if ns0.RefreshRuntimeRequestType_Def not in ns0.RefreshRuntime_Dec.__bases__:
                bases = list(ns0.RefreshRuntime_Dec.__bases__)
                bases.insert(0, ns0.RefreshRuntimeRequestType_Def)
                ns0.RefreshRuntime_Dec.__bases__ = tuple(bases)

            ns0.RefreshRuntimeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshRuntime_Dec_Holder"

    class RefreshRuntimeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshRuntimeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshRuntimeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshRuntimeResponse")
            kw["aname"] = "_RefreshRuntimeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshRuntimeResponse_Holder"
            self.pyclass = Holder

    class FindByUuid_Dec(ElementDeclaration):
        literal = "FindByUuid"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FindByUuid")
            kw["aname"] = "_FindByUuid"
            if ns0.FindByUuidRequestType_Def not in ns0.FindByUuid_Dec.__bases__:
                bases = list(ns0.FindByUuid_Dec.__bases__)
                bases.insert(0, ns0.FindByUuidRequestType_Def)
                ns0.FindByUuid_Dec.__bases__ = tuple(bases)

            ns0.FindByUuidRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FindByUuid_Dec_Holder"

    class FindByUuidResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FindByUuidResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FindByUuidResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FindByUuidResponse")
            kw["aname"] = "_FindByUuidResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "FindByUuidResponse_Holder"
            self.pyclass = Holder

    class FindByDatastorePath_Dec(ElementDeclaration):
        literal = "FindByDatastorePath"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FindByDatastorePath")
            kw["aname"] = "_FindByDatastorePath"
            if ns0.FindByDatastorePathRequestType_Def not in ns0.FindByDatastorePath_Dec.__bases__:
                bases = list(ns0.FindByDatastorePath_Dec.__bases__)
                bases.insert(0, ns0.FindByDatastorePathRequestType_Def)
                ns0.FindByDatastorePath_Dec.__bases__ = tuple(bases)

            ns0.FindByDatastorePathRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FindByDatastorePath_Dec_Holder"

    class FindByDatastorePathResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FindByDatastorePathResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FindByDatastorePathResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FindByDatastorePathResponse")
            kw["aname"] = "_FindByDatastorePathResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "FindByDatastorePathResponse_Holder"
            self.pyclass = Holder

    class FindByDnsName_Dec(ElementDeclaration):
        literal = "FindByDnsName"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FindByDnsName")
            kw["aname"] = "_FindByDnsName"
            if ns0.FindByDnsNameRequestType_Def not in ns0.FindByDnsName_Dec.__bases__:
                bases = list(ns0.FindByDnsName_Dec.__bases__)
                bases.insert(0, ns0.FindByDnsNameRequestType_Def)
                ns0.FindByDnsName_Dec.__bases__ = tuple(bases)

            ns0.FindByDnsNameRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FindByDnsName_Dec_Holder"

    class FindByDnsNameResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FindByDnsNameResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FindByDnsNameResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FindByDnsNameResponse")
            kw["aname"] = "_FindByDnsNameResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "FindByDnsNameResponse_Holder"
            self.pyclass = Holder

    class FindByIp_Dec(ElementDeclaration):
        literal = "FindByIp"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FindByIp")
            kw["aname"] = "_FindByIp"
            if ns0.FindByIpRequestType_Def not in ns0.FindByIp_Dec.__bases__:
                bases = list(ns0.FindByIp_Dec.__bases__)
                bases.insert(0, ns0.FindByIpRequestType_Def)
                ns0.FindByIp_Dec.__bases__ = tuple(bases)

            ns0.FindByIpRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FindByIp_Dec_Holder"

    class FindByIpResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FindByIpResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FindByIpResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FindByIpResponse")
            kw["aname"] = "_FindByIpResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "FindByIpResponse_Holder"
            self.pyclass = Holder

    class FindByInventoryPath_Dec(ElementDeclaration):
        literal = "FindByInventoryPath"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FindByInventoryPath")
            kw["aname"] = "_FindByInventoryPath"
            if ns0.FindByInventoryPathRequestType_Def not in ns0.FindByInventoryPath_Dec.__bases__:
                bases = list(ns0.FindByInventoryPath_Dec.__bases__)
                bases.insert(0, ns0.FindByInventoryPathRequestType_Def)
                ns0.FindByInventoryPath_Dec.__bases__ = tuple(bases)

            ns0.FindByInventoryPathRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FindByInventoryPath_Dec_Holder"

    class FindByInventoryPathResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FindByInventoryPathResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FindByInventoryPathResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FindByInventoryPathResponse")
            kw["aname"] = "_FindByInventoryPathResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "FindByInventoryPathResponse_Holder"
            self.pyclass = Holder

    class FindChild_Dec(ElementDeclaration):
        literal = "FindChild"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FindChild")
            kw["aname"] = "_FindChild"
            if ns0.FindChildRequestType_Def not in ns0.FindChild_Dec.__bases__:
                bases = list(ns0.FindChild_Dec.__bases__)
                bases.insert(0, ns0.FindChildRequestType_Def)
                ns0.FindChild_Dec.__bases__ = tuple(bases)

            ns0.FindChildRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FindChild_Dec_Holder"

    class FindChildResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FindChildResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FindChildResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FindChildResponse")
            kw["aname"] = "_FindChildResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "FindChildResponse_Holder"
            self.pyclass = Holder

    class FindAllByUuid_Dec(ElementDeclaration):
        literal = "FindAllByUuid"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FindAllByUuid")
            kw["aname"] = "_FindAllByUuid"
            if ns0.FindAllByUuidRequestType_Def not in ns0.FindAllByUuid_Dec.__bases__:
                bases = list(ns0.FindAllByUuid_Dec.__bases__)
                bases.insert(0, ns0.FindAllByUuidRequestType_Def)
                ns0.FindAllByUuid_Dec.__bases__ = tuple(bases)

            ns0.FindAllByUuidRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FindAllByUuid_Dec_Holder"

    class FindAllByUuidResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FindAllByUuidResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FindAllByUuidResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FindAllByUuidResponse")
            kw["aname"] = "_FindAllByUuidResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "FindAllByUuidResponse_Holder"
            self.pyclass = Holder

    class FindAllByDnsName_Dec(ElementDeclaration):
        literal = "FindAllByDnsName"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FindAllByDnsName")
            kw["aname"] = "_FindAllByDnsName"
            if ns0.FindAllByDnsNameRequestType_Def not in ns0.FindAllByDnsName_Dec.__bases__:
                bases = list(ns0.FindAllByDnsName_Dec.__bases__)
                bases.insert(0, ns0.FindAllByDnsNameRequestType_Def)
                ns0.FindAllByDnsName_Dec.__bases__ = tuple(bases)

            ns0.FindAllByDnsNameRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FindAllByDnsName_Dec_Holder"

    class FindAllByDnsNameResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FindAllByDnsNameResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FindAllByDnsNameResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FindAllByDnsNameResponse")
            kw["aname"] = "_FindAllByDnsNameResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "FindAllByDnsNameResponse_Holder"
            self.pyclass = Holder

    class FindAllByIp_Dec(ElementDeclaration):
        literal = "FindAllByIp"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FindAllByIp")
            kw["aname"] = "_FindAllByIp"
            if ns0.FindAllByIpRequestType_Def not in ns0.FindAllByIp_Dec.__bases__:
                bases = list(ns0.FindAllByIp_Dec.__bases__)
                bases.insert(0, ns0.FindAllByIpRequestType_Def)
                ns0.FindAllByIp_Dec.__bases__ = tuple(bases)

            ns0.FindAllByIpRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FindAllByIp_Dec_Holder"

    class FindAllByIpResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FindAllByIpResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FindAllByIpResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FindAllByIpResponse")
            kw["aname"] = "_FindAllByIpResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "FindAllByIpResponse_Holder"
            self.pyclass = Holder

    class CurrentTime_Dec(ElementDeclaration):
        literal = "CurrentTime"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CurrentTime")
            kw["aname"] = "_CurrentTime"
            if ns0.CurrentTimeRequestType_Def not in ns0.CurrentTime_Dec.__bases__:
                bases = list(ns0.CurrentTime_Dec.__bases__)
                bases.insert(0, ns0.CurrentTimeRequestType_Def)
                ns0.CurrentTime_Dec.__bases__ = tuple(bases)

            ns0.CurrentTimeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CurrentTime_Dec_Holder"

    class CurrentTimeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CurrentTimeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CurrentTimeResponse_Dec.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CurrentTimeResponse")
            kw["aname"] = "_CurrentTimeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CurrentTimeResponse_Holder"
            self.pyclass = Holder

    class RetrieveServiceContent_Dec(ElementDeclaration):
        literal = "RetrieveServiceContent"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveServiceContent")
            kw["aname"] = "_RetrieveServiceContent"
            if ns0.RetrieveServiceContentRequestType_Def not in ns0.RetrieveServiceContent_Dec.__bases__:
                bases = list(ns0.RetrieveServiceContent_Dec.__bases__)
                bases.insert(0, ns0.RetrieveServiceContentRequestType_Def)
                ns0.RetrieveServiceContent_Dec.__bases__ = tuple(bases)

            ns0.RetrieveServiceContentRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveServiceContent_Dec_Holder"

    class RetrieveServiceContentResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveServiceContentResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveServiceContentResponse_Dec.schema
            TClist = [GTD("urn:vim25","ServiceContent",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveServiceContentResponse")
            kw["aname"] = "_RetrieveServiceContentResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveServiceContentResponse_Holder"
            self.pyclass = Holder

    class ValidateMigration_Dec(ElementDeclaration):
        literal = "ValidateMigration"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ValidateMigration")
            kw["aname"] = "_ValidateMigration"
            if ns0.ValidateMigrationRequestType_Def not in ns0.ValidateMigration_Dec.__bases__:
                bases = list(ns0.ValidateMigration_Dec.__bases__)
                bases.insert(0, ns0.ValidateMigrationRequestType_Def)
                ns0.ValidateMigration_Dec.__bases__ = tuple(bases)

            ns0.ValidateMigrationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ValidateMigration_Dec_Holder"

    class ValidateMigrationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ValidateMigrationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ValidateMigrationResponse_Dec.schema
            TClist = [GTD("urn:vim25","Event",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ValidateMigrationResponse")
            kw["aname"] = "_ValidateMigrationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ValidateMigrationResponse_Holder"
            self.pyclass = Holder

    class QueryVMotionCompatibility_Dec(ElementDeclaration):
        literal = "QueryVMotionCompatibility"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryVMotionCompatibility")
            kw["aname"] = "_QueryVMotionCompatibility"
            if ns0.QueryVMotionCompatibilityRequestType_Def not in ns0.QueryVMotionCompatibility_Dec.__bases__:
                bases = list(ns0.QueryVMotionCompatibility_Dec.__bases__)
                bases.insert(0, ns0.QueryVMotionCompatibilityRequestType_Def)
                ns0.QueryVMotionCompatibility_Dec.__bases__ = tuple(bases)

            ns0.QueryVMotionCompatibilityRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryVMotionCompatibility_Dec_Holder"

    class QueryVMotionCompatibilityResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryVMotionCompatibilityResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryVMotionCompatibilityResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostVMotionCompatibility",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryVMotionCompatibilityResponse")
            kw["aname"] = "_QueryVMotionCompatibilityResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryVMotionCompatibilityResponse_Holder"
            self.pyclass = Holder

    class RetrieveProductComponents_Dec(ElementDeclaration):
        literal = "RetrieveProductComponents"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveProductComponents")
            kw["aname"] = "_RetrieveProductComponents"
            if ns0.RetrieveProductComponentsRequestType_Def not in ns0.RetrieveProductComponents_Dec.__bases__:
                bases = list(ns0.RetrieveProductComponents_Dec.__bases__)
                bases.insert(0, ns0.RetrieveProductComponentsRequestType_Def)
                ns0.RetrieveProductComponents_Dec.__bases__ = tuple(bases)

            ns0.RetrieveProductComponentsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveProductComponents_Dec_Holder"

    class RetrieveProductComponentsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveProductComponentsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveProductComponentsResponse_Dec.schema
            TClist = [GTD("urn:vim25","ProductComponentInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveProductComponentsResponse")
            kw["aname"] = "_RetrieveProductComponentsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrieveProductComponentsResponse_Holder"
            self.pyclass = Holder

    class QueryServiceList_Dec(ElementDeclaration):
        literal = "QueryServiceList"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryServiceList")
            kw["aname"] = "_QueryServiceList"
            if ns0.QueryServiceListRequestType_Def not in ns0.QueryServiceList_Dec.__bases__:
                bases = list(ns0.QueryServiceList_Dec.__bases__)
                bases.insert(0, ns0.QueryServiceListRequestType_Def)
                ns0.QueryServiceList_Dec.__bases__ = tuple(bases)

            ns0.QueryServiceListRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryServiceList_Dec_Holder"

    class QueryServiceListResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryServiceListResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryServiceListResponse_Dec.schema
            TClist = [GTD("urn:vim25","ServiceManagerServiceInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryServiceListResponse")
            kw["aname"] = "_QueryServiceListResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryServiceListResponse_Holder"
            self.pyclass = Holder

    class UpdateServiceMessage_Dec(ElementDeclaration):
        literal = "UpdateServiceMessage"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateServiceMessage")
            kw["aname"] = "_UpdateServiceMessage"
            if ns0.UpdateServiceMessageRequestType_Def not in ns0.UpdateServiceMessage_Dec.__bases__:
                bases = list(ns0.UpdateServiceMessage_Dec.__bases__)
                bases.insert(0, ns0.UpdateServiceMessageRequestType_Def)
                ns0.UpdateServiceMessage_Dec.__bases__ = tuple(bases)

            ns0.UpdateServiceMessageRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateServiceMessage_Dec_Holder"

    class UpdateServiceMessageResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateServiceMessageResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateServiceMessageResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateServiceMessageResponse")
            kw["aname"] = "_UpdateServiceMessageResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateServiceMessageResponse_Holder"
            self.pyclass = Holder

    class LoginByToken_Dec(ElementDeclaration):
        literal = "LoginByToken"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LoginByToken")
            kw["aname"] = "_LoginByToken"
            if ns0.LoginByTokenRequestType_Def not in ns0.LoginByToken_Dec.__bases__:
                bases = list(ns0.LoginByToken_Dec.__bases__)
                bases.insert(0, ns0.LoginByTokenRequestType_Def)
                ns0.LoginByToken_Dec.__bases__ = tuple(bases)

            ns0.LoginByTokenRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LoginByToken_Dec_Holder"

    class LoginByTokenResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "LoginByTokenResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.LoginByTokenResponse_Dec.schema
            TClist = [GTD("urn:vim25","UserSession",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","LoginByTokenResponse")
            kw["aname"] = "_LoginByTokenResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "LoginByTokenResponse_Holder"
            self.pyclass = Holder

    class Login_Dec(ElementDeclaration):
        literal = "Login"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","Login")
            kw["aname"] = "_Login"
            if ns0.LoginRequestType_Def not in ns0.Login_Dec.__bases__:
                bases = list(ns0.Login_Dec.__bases__)
                bases.insert(0, ns0.LoginRequestType_Def)
                ns0.Login_Dec.__bases__ = tuple(bases)

            ns0.LoginRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "Login_Dec_Holder"

    class LoginResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "LoginResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.LoginResponse_Dec.schema
            TClist = [GTD("urn:vim25","UserSession",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","LoginResponse")
            kw["aname"] = "_LoginResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "LoginResponse_Holder"
            self.pyclass = Holder

    class LoginBySSPI_Dec(ElementDeclaration):
        literal = "LoginBySSPI"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LoginBySSPI")
            kw["aname"] = "_LoginBySSPI"
            if ns0.LoginBySSPIRequestType_Def not in ns0.LoginBySSPI_Dec.__bases__:
                bases = list(ns0.LoginBySSPI_Dec.__bases__)
                bases.insert(0, ns0.LoginBySSPIRequestType_Def)
                ns0.LoginBySSPI_Dec.__bases__ = tuple(bases)

            ns0.LoginBySSPIRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LoginBySSPI_Dec_Holder"

    class LoginBySSPIResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "LoginBySSPIResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.LoginBySSPIResponse_Dec.schema
            TClist = [GTD("urn:vim25","UserSession",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","LoginBySSPIResponse")
            kw["aname"] = "_LoginBySSPIResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "LoginBySSPIResponse_Holder"
            self.pyclass = Holder

    class Logout_Dec(ElementDeclaration):
        literal = "Logout"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","Logout")
            kw["aname"] = "_Logout"
            if ns0.LogoutRequestType_Def not in ns0.Logout_Dec.__bases__:
                bases = list(ns0.Logout_Dec.__bases__)
                bases.insert(0, ns0.LogoutRequestType_Def)
                ns0.Logout_Dec.__bases__ = tuple(bases)

            ns0.LogoutRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "Logout_Dec_Holder"

    class LogoutResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "LogoutResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.LogoutResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","LogoutResponse")
            kw["aname"] = "_LogoutResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "LogoutResponse_Holder"
            self.pyclass = Holder

    class AcquireLocalTicket_Dec(ElementDeclaration):
        literal = "AcquireLocalTicket"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AcquireLocalTicket")
            kw["aname"] = "_AcquireLocalTicket"
            if ns0.AcquireLocalTicketRequestType_Def not in ns0.AcquireLocalTicket_Dec.__bases__:
                bases = list(ns0.AcquireLocalTicket_Dec.__bases__)
                bases.insert(0, ns0.AcquireLocalTicketRequestType_Def)
                ns0.AcquireLocalTicket_Dec.__bases__ = tuple(bases)

            ns0.AcquireLocalTicketRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AcquireLocalTicket_Dec_Holder"

    class AcquireLocalTicketResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AcquireLocalTicketResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AcquireLocalTicketResponse_Dec.schema
            TClist = [GTD("urn:vim25","SessionManagerLocalTicket",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AcquireLocalTicketResponse")
            kw["aname"] = "_AcquireLocalTicketResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AcquireLocalTicketResponse_Holder"
            self.pyclass = Holder

    class AcquireGenericServiceTicket_Dec(ElementDeclaration):
        literal = "AcquireGenericServiceTicket"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AcquireGenericServiceTicket")
            kw["aname"] = "_AcquireGenericServiceTicket"
            if ns0.AcquireGenericServiceTicketRequestType_Def not in ns0.AcquireGenericServiceTicket_Dec.__bases__:
                bases = list(ns0.AcquireGenericServiceTicket_Dec.__bases__)
                bases.insert(0, ns0.AcquireGenericServiceTicketRequestType_Def)
                ns0.AcquireGenericServiceTicket_Dec.__bases__ = tuple(bases)

            ns0.AcquireGenericServiceTicketRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AcquireGenericServiceTicket_Dec_Holder"

    class AcquireGenericServiceTicketResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AcquireGenericServiceTicketResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AcquireGenericServiceTicketResponse_Dec.schema
            TClist = [GTD("urn:vim25","SessionManagerGenericServiceTicket",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AcquireGenericServiceTicketResponse")
            kw["aname"] = "_AcquireGenericServiceTicketResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AcquireGenericServiceTicketResponse_Holder"
            self.pyclass = Holder

    class TerminateSession_Dec(ElementDeclaration):
        literal = "TerminateSession"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TerminateSession")
            kw["aname"] = "_TerminateSession"
            if ns0.TerminateSessionRequestType_Def not in ns0.TerminateSession_Dec.__bases__:
                bases = list(ns0.TerminateSession_Dec.__bases__)
                bases.insert(0, ns0.TerminateSessionRequestType_Def)
                ns0.TerminateSession_Dec.__bases__ = tuple(bases)

            ns0.TerminateSessionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TerminateSession_Dec_Holder"

    class TerminateSessionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "TerminateSessionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.TerminateSessionResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","TerminateSessionResponse")
            kw["aname"] = "_TerminateSessionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "TerminateSessionResponse_Holder"
            self.pyclass = Holder

    class SetLocale_Dec(ElementDeclaration):
        literal = "SetLocale"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetLocale")
            kw["aname"] = "_SetLocale"
            if ns0.SetLocaleRequestType_Def not in ns0.SetLocale_Dec.__bases__:
                bases = list(ns0.SetLocale_Dec.__bases__)
                bases.insert(0, ns0.SetLocaleRequestType_Def)
                ns0.SetLocale_Dec.__bases__ = tuple(bases)

            ns0.SetLocaleRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetLocale_Dec_Holder"

    class SetLocaleResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetLocaleResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetLocaleResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetLocaleResponse")
            kw["aname"] = "_SetLocaleResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetLocaleResponse_Holder"
            self.pyclass = Holder

    class LoginExtensionBySubjectName_Dec(ElementDeclaration):
        literal = "LoginExtensionBySubjectName"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LoginExtensionBySubjectName")
            kw["aname"] = "_LoginExtensionBySubjectName"
            if ns0.LoginExtensionBySubjectNameRequestType_Def not in ns0.LoginExtensionBySubjectName_Dec.__bases__:
                bases = list(ns0.LoginExtensionBySubjectName_Dec.__bases__)
                bases.insert(0, ns0.LoginExtensionBySubjectNameRequestType_Def)
                ns0.LoginExtensionBySubjectName_Dec.__bases__ = tuple(bases)

            ns0.LoginExtensionBySubjectNameRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LoginExtensionBySubjectName_Dec_Holder"

    class LoginExtensionBySubjectNameResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "LoginExtensionBySubjectNameResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.LoginExtensionBySubjectNameResponse_Dec.schema
            TClist = [GTD("urn:vim25","UserSession",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","LoginExtensionBySubjectNameResponse")
            kw["aname"] = "_LoginExtensionBySubjectNameResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "LoginExtensionBySubjectNameResponse_Holder"
            self.pyclass = Holder

    class LoginExtensionByCertificate_Dec(ElementDeclaration):
        literal = "LoginExtensionByCertificate"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LoginExtensionByCertificate")
            kw["aname"] = "_LoginExtensionByCertificate"
            if ns0.LoginExtensionByCertificateRequestType_Def not in ns0.LoginExtensionByCertificate_Dec.__bases__:
                bases = list(ns0.LoginExtensionByCertificate_Dec.__bases__)
                bases.insert(0, ns0.LoginExtensionByCertificateRequestType_Def)
                ns0.LoginExtensionByCertificate_Dec.__bases__ = tuple(bases)

            ns0.LoginExtensionByCertificateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LoginExtensionByCertificate_Dec_Holder"

    class LoginExtensionByCertificateResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "LoginExtensionByCertificateResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.LoginExtensionByCertificateResponse_Dec.schema
            TClist = [GTD("urn:vim25","UserSession",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","LoginExtensionByCertificateResponse")
            kw["aname"] = "_LoginExtensionByCertificateResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "LoginExtensionByCertificateResponse_Holder"
            self.pyclass = Holder

    class ImpersonateUser_Dec(ElementDeclaration):
        literal = "ImpersonateUser"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ImpersonateUser")
            kw["aname"] = "_ImpersonateUser"
            if ns0.ImpersonateUserRequestType_Def not in ns0.ImpersonateUser_Dec.__bases__:
                bases = list(ns0.ImpersonateUser_Dec.__bases__)
                bases.insert(0, ns0.ImpersonateUserRequestType_Def)
                ns0.ImpersonateUser_Dec.__bases__ = tuple(bases)

            ns0.ImpersonateUserRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ImpersonateUser_Dec_Holder"

    class ImpersonateUserResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ImpersonateUserResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ImpersonateUserResponse_Dec.schema
            TClist = [GTD("urn:vim25","UserSession",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ImpersonateUserResponse")
            kw["aname"] = "_ImpersonateUserResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ImpersonateUserResponse_Holder"
            self.pyclass = Holder

    class SessionIsActive_Dec(ElementDeclaration):
        literal = "SessionIsActive"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SessionIsActive")
            kw["aname"] = "_SessionIsActive"
            if ns0.SessionIsActiveRequestType_Def not in ns0.SessionIsActive_Dec.__bases__:
                bases = list(ns0.SessionIsActive_Dec.__bases__)
                bases.insert(0, ns0.SessionIsActiveRequestType_Def)
                ns0.SessionIsActive_Dec.__bases__ = tuple(bases)

            ns0.SessionIsActiveRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SessionIsActive_Dec_Holder"

    class SessionIsActiveResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SessionIsActiveResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SessionIsActiveResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","SessionIsActiveResponse")
            kw["aname"] = "_SessionIsActiveResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "SessionIsActiveResponse_Holder"
            self.pyclass = Holder

    class AcquireCloneTicket_Dec(ElementDeclaration):
        literal = "AcquireCloneTicket"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AcquireCloneTicket")
            kw["aname"] = "_AcquireCloneTicket"
            if ns0.AcquireCloneTicketRequestType_Def not in ns0.AcquireCloneTicket_Dec.__bases__:
                bases = list(ns0.AcquireCloneTicket_Dec.__bases__)
                bases.insert(0, ns0.AcquireCloneTicketRequestType_Def)
                ns0.AcquireCloneTicket_Dec.__bases__ = tuple(bases)

            ns0.AcquireCloneTicketRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AcquireCloneTicket_Dec_Holder"

    class AcquireCloneTicketResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AcquireCloneTicketResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AcquireCloneTicketResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AcquireCloneTicketResponse")
            kw["aname"] = "_AcquireCloneTicketResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AcquireCloneTicketResponse_Holder"
            self.pyclass = Holder

    class CloneSession_Dec(ElementDeclaration):
        literal = "CloneSession"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CloneSession")
            kw["aname"] = "_CloneSession"
            if ns0.CloneSessionRequestType_Def not in ns0.CloneSession_Dec.__bases__:
                bases = list(ns0.CloneSession_Dec.__bases__)
                bases.insert(0, ns0.CloneSessionRequestType_Def)
                ns0.CloneSession_Dec.__bases__ = tuple(bases)

            ns0.CloneSessionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CloneSession_Dec_Holder"

    class CloneSessionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CloneSessionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CloneSessionResponse_Dec.schema
            TClist = [GTD("urn:vim25","UserSession",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CloneSessionResponse")
            kw["aname"] = "_CloneSessionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CloneSessionResponse_Holder"
            self.pyclass = Holder

    class ExecuteSimpleCommand_Dec(ElementDeclaration):
        literal = "ExecuteSimpleCommand"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExecuteSimpleCommand")
            kw["aname"] = "_ExecuteSimpleCommand"
            if ns0.ExecuteSimpleCommandRequestType_Def not in ns0.ExecuteSimpleCommand_Dec.__bases__:
                bases = list(ns0.ExecuteSimpleCommand_Dec.__bases__)
                bases.insert(0, ns0.ExecuteSimpleCommandRequestType_Def)
                ns0.ExecuteSimpleCommand_Dec.__bases__ = tuple(bases)

            ns0.ExecuteSimpleCommandRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExecuteSimpleCommand_Dec_Holder"

    class ExecuteSimpleCommandResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExecuteSimpleCommandResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExecuteSimpleCommandResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ExecuteSimpleCommandResponse")
            kw["aname"] = "_ExecuteSimpleCommandResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ExecuteSimpleCommandResponse_Holder"
            self.pyclass = Holder

    class ConfigureDatastoreIORM_Task_Dec(ElementDeclaration):
        literal = "ConfigureDatastoreIORM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConfigureDatastoreIORM_Task")
            kw["aname"] = "_ConfigureDatastoreIORM_Task"
            if ns0.ConfigureDatastoreIORMRequestType_Def not in ns0.ConfigureDatastoreIORM_Task_Dec.__bases__:
                bases = list(ns0.ConfigureDatastoreIORM_Task_Dec.__bases__)
                bases.insert(0, ns0.ConfigureDatastoreIORMRequestType_Def)
                ns0.ConfigureDatastoreIORM_Task_Dec.__bases__ = tuple(bases)

            ns0.ConfigureDatastoreIORMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConfigureDatastoreIORM_Task_Dec_Holder"

    class ConfigureDatastoreIORM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ConfigureDatastoreIORM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ConfigureDatastoreIORM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ConfigureDatastoreIORM_TaskResponse")
            kw["aname"] = "_ConfigureDatastoreIORM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ConfigureDatastoreIORM_TaskResponse_Holder"
            self.pyclass = Holder

    class QueryIORMConfigOption_Dec(ElementDeclaration):
        literal = "QueryIORMConfigOption"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryIORMConfigOption")
            kw["aname"] = "_QueryIORMConfigOption"
            if ns0.QueryIORMConfigOptionRequestType_Def not in ns0.QueryIORMConfigOption_Dec.__bases__:
                bases = list(ns0.QueryIORMConfigOption_Dec.__bases__)
                bases.insert(0, ns0.QueryIORMConfigOptionRequestType_Def)
                ns0.QueryIORMConfigOption_Dec.__bases__ = tuple(bases)

            ns0.QueryIORMConfigOptionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryIORMConfigOption_Dec_Holder"

    class QueryIORMConfigOptionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryIORMConfigOptionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryIORMConfigOptionResponse_Dec.schema
            TClist = [GTD("urn:vim25","StorageIORMConfigOption",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryIORMConfigOptionResponse")
            kw["aname"] = "_QueryIORMConfigOptionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryIORMConfigOptionResponse_Holder"
            self.pyclass = Holder

    class QueryDatastorePerformanceSummary_Dec(ElementDeclaration):
        literal = "QueryDatastorePerformanceSummary"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryDatastorePerformanceSummary")
            kw["aname"] = "_QueryDatastorePerformanceSummary"
            if ns0.QueryDatastorePerformanceSummaryRequestType_Def not in ns0.QueryDatastorePerformanceSummary_Dec.__bases__:
                bases = list(ns0.QueryDatastorePerformanceSummary_Dec.__bases__)
                bases.insert(0, ns0.QueryDatastorePerformanceSummaryRequestType_Def)
                ns0.QueryDatastorePerformanceSummary_Dec.__bases__ = tuple(bases)

            ns0.QueryDatastorePerformanceSummaryRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryDatastorePerformanceSummary_Dec_Holder"

    class QueryDatastorePerformanceSummaryResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryDatastorePerformanceSummaryResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryDatastorePerformanceSummaryResponse_Dec.schema
            TClist = [GTD("urn:vim25","StoragePerformanceSummary",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryDatastorePerformanceSummaryResponse")
            kw["aname"] = "_QueryDatastorePerformanceSummaryResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryDatastorePerformanceSummaryResponse_Holder"
            self.pyclass = Holder

    class ApplyStorageDrsRecommendationToPod_Task_Dec(ElementDeclaration):
        literal = "ApplyStorageDrsRecommendationToPod_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ApplyStorageDrsRecommendationToPod_Task")
            kw["aname"] = "_ApplyStorageDrsRecommendationToPod_Task"
            if ns0.ApplyStorageDrsRecommendationToPodRequestType_Def not in ns0.ApplyStorageDrsRecommendationToPod_Task_Dec.__bases__:
                bases = list(ns0.ApplyStorageDrsRecommendationToPod_Task_Dec.__bases__)
                bases.insert(0, ns0.ApplyStorageDrsRecommendationToPodRequestType_Def)
                ns0.ApplyStorageDrsRecommendationToPod_Task_Dec.__bases__ = tuple(bases)

            ns0.ApplyStorageDrsRecommendationToPodRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ApplyStorageDrsRecommendationToPod_Task_Dec_Holder"

    class ApplyStorageDrsRecommendationToPod_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ApplyStorageDrsRecommendationToPod_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ApplyStorageDrsRecommendationToPod_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ApplyStorageDrsRecommendationToPod_TaskResponse")
            kw["aname"] = "_ApplyStorageDrsRecommendationToPod_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ApplyStorageDrsRecommendationToPod_TaskResponse_Holder"
            self.pyclass = Holder

    class ApplyStorageDrsRecommendation_Task_Dec(ElementDeclaration):
        literal = "ApplyStorageDrsRecommendation_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ApplyStorageDrsRecommendation_Task")
            kw["aname"] = "_ApplyStorageDrsRecommendation_Task"
            if ns0.ApplyStorageDrsRecommendationRequestType_Def not in ns0.ApplyStorageDrsRecommendation_Task_Dec.__bases__:
                bases = list(ns0.ApplyStorageDrsRecommendation_Task_Dec.__bases__)
                bases.insert(0, ns0.ApplyStorageDrsRecommendationRequestType_Def)
                ns0.ApplyStorageDrsRecommendation_Task_Dec.__bases__ = tuple(bases)

            ns0.ApplyStorageDrsRecommendationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ApplyStorageDrsRecommendation_Task_Dec_Holder"

    class ApplyStorageDrsRecommendation_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ApplyStorageDrsRecommendation_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ApplyStorageDrsRecommendation_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ApplyStorageDrsRecommendation_TaskResponse")
            kw["aname"] = "_ApplyStorageDrsRecommendation_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ApplyStorageDrsRecommendation_TaskResponse_Holder"
            self.pyclass = Holder

    class CancelStorageDrsRecommendation_Dec(ElementDeclaration):
        literal = "CancelStorageDrsRecommendation"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CancelStorageDrsRecommendation")
            kw["aname"] = "_CancelStorageDrsRecommendation"
            if ns0.CancelStorageDrsRecommendationRequestType_Def not in ns0.CancelStorageDrsRecommendation_Dec.__bases__:
                bases = list(ns0.CancelStorageDrsRecommendation_Dec.__bases__)
                bases.insert(0, ns0.CancelStorageDrsRecommendationRequestType_Def)
                ns0.CancelStorageDrsRecommendation_Dec.__bases__ = tuple(bases)

            ns0.CancelStorageDrsRecommendationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CancelStorageDrsRecommendation_Dec_Holder"

    class CancelStorageDrsRecommendationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CancelStorageDrsRecommendationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CancelStorageDrsRecommendationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CancelStorageDrsRecommendationResponse")
            kw["aname"] = "_CancelStorageDrsRecommendationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CancelStorageDrsRecommendationResponse_Holder"
            self.pyclass = Holder

    class RefreshStorageDrsRecommendation_Dec(ElementDeclaration):
        literal = "RefreshStorageDrsRecommendation"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshStorageDrsRecommendation")
            kw["aname"] = "_RefreshStorageDrsRecommendation"
            if ns0.RefreshStorageDrsRecommendationRequestType_Def not in ns0.RefreshStorageDrsRecommendation_Dec.__bases__:
                bases = list(ns0.RefreshStorageDrsRecommendation_Dec.__bases__)
                bases.insert(0, ns0.RefreshStorageDrsRecommendationRequestType_Def)
                ns0.RefreshStorageDrsRecommendation_Dec.__bases__ = tuple(bases)

            ns0.RefreshStorageDrsRecommendationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshStorageDrsRecommendation_Dec_Holder"

    class RefreshStorageDrsRecommendationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshStorageDrsRecommendationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshStorageDrsRecommendationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshStorageDrsRecommendationResponse")
            kw["aname"] = "_RefreshStorageDrsRecommendationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshStorageDrsRecommendationResponse_Holder"
            self.pyclass = Holder

    class RefreshStorageDrsRecommendationsForPod_Task_Dec(ElementDeclaration):
        literal = "RefreshStorageDrsRecommendationsForPod_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshStorageDrsRecommendationsForPod_Task")
            kw["aname"] = "_RefreshStorageDrsRecommendationsForPod_Task"
            if ns0.RefreshStorageDrsRecommendationsForPodRequestType_Def not in ns0.RefreshStorageDrsRecommendationsForPod_Task_Dec.__bases__:
                bases = list(ns0.RefreshStorageDrsRecommendationsForPod_Task_Dec.__bases__)
                bases.insert(0, ns0.RefreshStorageDrsRecommendationsForPodRequestType_Def)
                ns0.RefreshStorageDrsRecommendationsForPod_Task_Dec.__bases__ = tuple(bases)

            ns0.RefreshStorageDrsRecommendationsForPodRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshStorageDrsRecommendationsForPod_Task_Dec_Holder"

    class RefreshStorageDrsRecommendationsForPod_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshStorageDrsRecommendationsForPod_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshStorageDrsRecommendationsForPod_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RefreshStorageDrsRecommendationsForPod_TaskResponse")
            kw["aname"] = "_RefreshStorageDrsRecommendationsForPod_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RefreshStorageDrsRecommendationsForPod_TaskResponse_Holder"
            self.pyclass = Holder

    class ConfigureStorageDrsForPod_Task_Dec(ElementDeclaration):
        literal = "ConfigureStorageDrsForPod_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConfigureStorageDrsForPod_Task")
            kw["aname"] = "_ConfigureStorageDrsForPod_Task"
            if ns0.ConfigureStorageDrsForPodRequestType_Def not in ns0.ConfigureStorageDrsForPod_Task_Dec.__bases__:
                bases = list(ns0.ConfigureStorageDrsForPod_Task_Dec.__bases__)
                bases.insert(0, ns0.ConfigureStorageDrsForPodRequestType_Def)
                ns0.ConfigureStorageDrsForPod_Task_Dec.__bases__ = tuple(bases)

            ns0.ConfigureStorageDrsForPodRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConfigureStorageDrsForPod_Task_Dec_Holder"

    class ConfigureStorageDrsForPod_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ConfigureStorageDrsForPod_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ConfigureStorageDrsForPod_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ConfigureStorageDrsForPod_TaskResponse")
            kw["aname"] = "_ConfigureStorageDrsForPod_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ConfigureStorageDrsForPod_TaskResponse_Holder"
            self.pyclass = Holder

    class ValidateStoragePodConfig_Dec(ElementDeclaration):
        literal = "ValidateStoragePodConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ValidateStoragePodConfig")
            kw["aname"] = "_ValidateStoragePodConfig"
            if ns0.ValidateStoragePodConfigRequestType_Def not in ns0.ValidateStoragePodConfig_Dec.__bases__:
                bases = list(ns0.ValidateStoragePodConfig_Dec.__bases__)
                bases.insert(0, ns0.ValidateStoragePodConfigRequestType_Def)
                ns0.ValidateStoragePodConfig_Dec.__bases__ = tuple(bases)

            ns0.ValidateStoragePodConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ValidateStoragePodConfig_Dec_Holder"

    class ValidateStoragePodConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ValidateStoragePodConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ValidateStoragePodConfigResponse_Dec.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ValidateStoragePodConfigResponse")
            kw["aname"] = "_ValidateStoragePodConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ValidateStoragePodConfigResponse_Holder"
            self.pyclass = Holder

    class RecommendDatastores_Dec(ElementDeclaration):
        literal = "RecommendDatastores"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RecommendDatastores")
            kw["aname"] = "_RecommendDatastores"
            if ns0.RecommendDatastoresRequestType_Def not in ns0.RecommendDatastores_Dec.__bases__:
                bases = list(ns0.RecommendDatastores_Dec.__bases__)
                bases.insert(0, ns0.RecommendDatastoresRequestType_Def)
                ns0.RecommendDatastores_Dec.__bases__ = tuple(bases)

            ns0.RecommendDatastoresRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RecommendDatastores_Dec_Holder"

    class RecommendDatastoresResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RecommendDatastoresResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RecommendDatastoresResponse_Dec.schema
            TClist = [GTD("urn:vim25","StoragePlacementResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RecommendDatastoresResponse")
            kw["aname"] = "_RecommendDatastoresResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RecommendDatastoresResponse_Holder"
            self.pyclass = Holder

    class CancelTask_Dec(ElementDeclaration):
        literal = "CancelTask"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CancelTask")
            kw["aname"] = "_CancelTask"
            if ns0.CancelTaskRequestType_Def not in ns0.CancelTask_Dec.__bases__:
                bases = list(ns0.CancelTask_Dec.__bases__)
                bases.insert(0, ns0.CancelTaskRequestType_Def)
                ns0.CancelTask_Dec.__bases__ = tuple(bases)

            ns0.CancelTaskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CancelTask_Dec_Holder"

    class CancelTaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CancelTaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CancelTaskResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CancelTaskResponse")
            kw["aname"] = "_CancelTaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CancelTaskResponse_Holder"
            self.pyclass = Holder

    class UpdateProgress_Dec(ElementDeclaration):
        literal = "UpdateProgress"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateProgress")
            kw["aname"] = "_UpdateProgress"
            if ns0.UpdateProgressRequestType_Def not in ns0.UpdateProgress_Dec.__bases__:
                bases = list(ns0.UpdateProgress_Dec.__bases__)
                bases.insert(0, ns0.UpdateProgressRequestType_Def)
                ns0.UpdateProgress_Dec.__bases__ = tuple(bases)

            ns0.UpdateProgressRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateProgress_Dec_Holder"

    class UpdateProgressResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateProgressResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateProgressResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateProgressResponse")
            kw["aname"] = "_UpdateProgressResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateProgressResponse_Holder"
            self.pyclass = Holder

    class SetTaskState_Dec(ElementDeclaration):
        literal = "SetTaskState"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetTaskState")
            kw["aname"] = "_SetTaskState"
            if ns0.SetTaskStateRequestType_Def not in ns0.SetTaskState_Dec.__bases__:
                bases = list(ns0.SetTaskState_Dec.__bases__)
                bases.insert(0, ns0.SetTaskStateRequestType_Def)
                ns0.SetTaskState_Dec.__bases__ = tuple(bases)

            ns0.SetTaskStateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetTaskState_Dec_Holder"

    class SetTaskStateResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetTaskStateResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetTaskStateResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetTaskStateResponse")
            kw["aname"] = "_SetTaskStateResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetTaskStateResponse_Holder"
            self.pyclass = Holder

    class SetTaskDescription_Dec(ElementDeclaration):
        literal = "SetTaskDescription"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetTaskDescription")
            kw["aname"] = "_SetTaskDescription"
            if ns0.SetTaskDescriptionRequestType_Def not in ns0.SetTaskDescription_Dec.__bases__:
                bases = list(ns0.SetTaskDescription_Dec.__bases__)
                bases.insert(0, ns0.SetTaskDescriptionRequestType_Def)
                ns0.SetTaskDescription_Dec.__bases__ = tuple(bases)

            ns0.SetTaskDescriptionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetTaskDescription_Dec_Holder"

    class SetTaskDescriptionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetTaskDescriptionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetTaskDescriptionResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetTaskDescriptionResponse")
            kw["aname"] = "_SetTaskDescriptionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetTaskDescriptionResponse_Holder"
            self.pyclass = Holder

    class ReadNextTasks_Dec(ElementDeclaration):
        literal = "ReadNextTasks"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReadNextTasks")
            kw["aname"] = "_ReadNextTasks"
            if ns0.ReadNextTasksRequestType_Def not in ns0.ReadNextTasks_Dec.__bases__:
                bases = list(ns0.ReadNextTasks_Dec.__bases__)
                bases.insert(0, ns0.ReadNextTasksRequestType_Def)
                ns0.ReadNextTasks_Dec.__bases__ = tuple(bases)

            ns0.ReadNextTasksRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReadNextTasks_Dec_Holder"

    class ReadNextTasksResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReadNextTasksResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReadNextTasksResponse_Dec.schema
            TClist = [GTD("urn:vim25","TaskInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReadNextTasksResponse")
            kw["aname"] = "_ReadNextTasksResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ReadNextTasksResponse_Holder"
            self.pyclass = Holder

    class ReadPreviousTasks_Dec(ElementDeclaration):
        literal = "ReadPreviousTasks"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReadPreviousTasks")
            kw["aname"] = "_ReadPreviousTasks"
            if ns0.ReadPreviousTasksRequestType_Def not in ns0.ReadPreviousTasks_Dec.__bases__:
                bases = list(ns0.ReadPreviousTasks_Dec.__bases__)
                bases.insert(0, ns0.ReadPreviousTasksRequestType_Def)
                ns0.ReadPreviousTasks_Dec.__bases__ = tuple(bases)

            ns0.ReadPreviousTasksRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReadPreviousTasks_Dec_Holder"

    class ReadPreviousTasksResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReadPreviousTasksResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReadPreviousTasksResponse_Dec.schema
            TClist = [GTD("urn:vim25","TaskInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReadPreviousTasksResponse")
            kw["aname"] = "_ReadPreviousTasksResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ReadPreviousTasksResponse_Holder"
            self.pyclass = Holder

    class CreateCollectorForTasks_Dec(ElementDeclaration):
        literal = "CreateCollectorForTasks"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateCollectorForTasks")
            kw["aname"] = "_CreateCollectorForTasks"
            if ns0.CreateCollectorForTasksRequestType_Def not in ns0.CreateCollectorForTasks_Dec.__bases__:
                bases = list(ns0.CreateCollectorForTasks_Dec.__bases__)
                bases.insert(0, ns0.CreateCollectorForTasksRequestType_Def)
                ns0.CreateCollectorForTasks_Dec.__bases__ = tuple(bases)

            ns0.CreateCollectorForTasksRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateCollectorForTasks_Dec_Holder"

    class CreateCollectorForTasksResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateCollectorForTasksResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateCollectorForTasksResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateCollectorForTasksResponse")
            kw["aname"] = "_CreateCollectorForTasksResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateCollectorForTasksResponse_Holder"
            self.pyclass = Holder

    class CreateTask_Dec(ElementDeclaration):
        literal = "CreateTask"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateTask")
            kw["aname"] = "_CreateTask"
            if ns0.CreateTaskRequestType_Def not in ns0.CreateTask_Dec.__bases__:
                bases = list(ns0.CreateTask_Dec.__bases__)
                bases.insert(0, ns0.CreateTaskRequestType_Def)
                ns0.CreateTask_Dec.__bases__ = tuple(bases)

            ns0.CreateTaskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateTask_Dec_Holder"

    class CreateTaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateTaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateTaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","TaskInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateTaskResponse")
            kw["aname"] = "_CreateTaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateTaskResponse_Holder"
            self.pyclass = Holder

    class RetrieveUserGroups_Dec(ElementDeclaration):
        literal = "RetrieveUserGroups"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveUserGroups")
            kw["aname"] = "_RetrieveUserGroups"
            if ns0.RetrieveUserGroupsRequestType_Def not in ns0.RetrieveUserGroups_Dec.__bases__:
                bases = list(ns0.RetrieveUserGroups_Dec.__bases__)
                bases.insert(0, ns0.RetrieveUserGroupsRequestType_Def)
                ns0.RetrieveUserGroups_Dec.__bases__ = tuple(bases)

            ns0.RetrieveUserGroupsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveUserGroups_Dec_Holder"

    class RetrieveUserGroupsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveUserGroupsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveUserGroupsResponse_Dec.schema
            TClist = [GTD("urn:vim25","UserSearchResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveUserGroupsResponse")
            kw["aname"] = "_RetrieveUserGroupsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrieveUserGroupsResponse_Holder"
            self.pyclass = Holder

    class UpdateVAppConfig_Dec(ElementDeclaration):
        literal = "UpdateVAppConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateVAppConfig")
            kw["aname"] = "_UpdateVAppConfig"
            if ns0.UpdateVAppConfigRequestType_Def not in ns0.UpdateVAppConfig_Dec.__bases__:
                bases = list(ns0.UpdateVAppConfig_Dec.__bases__)
                bases.insert(0, ns0.UpdateVAppConfigRequestType_Def)
                ns0.UpdateVAppConfig_Dec.__bases__ = tuple(bases)

            ns0.UpdateVAppConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateVAppConfig_Dec_Holder"

    class UpdateVAppConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateVAppConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateVAppConfigResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateVAppConfigResponse")
            kw["aname"] = "_UpdateVAppConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateVAppConfigResponse_Holder"
            self.pyclass = Holder

    class UpdateLinkedChildren_Dec(ElementDeclaration):
        literal = "UpdateLinkedChildren"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateLinkedChildren")
            kw["aname"] = "_UpdateLinkedChildren"
            if ns0.UpdateLinkedChildrenRequestType_Def not in ns0.UpdateLinkedChildren_Dec.__bases__:
                bases = list(ns0.UpdateLinkedChildren_Dec.__bases__)
                bases.insert(0, ns0.UpdateLinkedChildrenRequestType_Def)
                ns0.UpdateLinkedChildren_Dec.__bases__ = tuple(bases)

            ns0.UpdateLinkedChildrenRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateLinkedChildren_Dec_Holder"

    class UpdateLinkedChildrenResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateLinkedChildrenResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateLinkedChildrenResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateLinkedChildrenResponse")
            kw["aname"] = "_UpdateLinkedChildrenResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateLinkedChildrenResponse_Holder"
            self.pyclass = Holder

    class CloneVApp_Task_Dec(ElementDeclaration):
        literal = "CloneVApp_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CloneVApp_Task")
            kw["aname"] = "_CloneVApp_Task"
            if ns0.CloneVAppRequestType_Def not in ns0.CloneVApp_Task_Dec.__bases__:
                bases = list(ns0.CloneVApp_Task_Dec.__bases__)
                bases.insert(0, ns0.CloneVAppRequestType_Def)
                ns0.CloneVApp_Task_Dec.__bases__ = tuple(bases)

            ns0.CloneVAppRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CloneVApp_Task_Dec_Holder"

    class CloneVApp_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CloneVApp_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CloneVApp_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CloneVApp_TaskResponse")
            kw["aname"] = "_CloneVApp_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CloneVApp_TaskResponse_Holder"
            self.pyclass = Holder

    class ExportVApp_Dec(ElementDeclaration):
        literal = "ExportVApp"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExportVApp")
            kw["aname"] = "_ExportVApp"
            if ns0.ExportVAppRequestType_Def not in ns0.ExportVApp_Dec.__bases__:
                bases = list(ns0.ExportVApp_Dec.__bases__)
                bases.insert(0, ns0.ExportVAppRequestType_Def)
                ns0.ExportVApp_Dec.__bases__ = tuple(bases)

            ns0.ExportVAppRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExportVApp_Dec_Holder"

    class ExportVAppResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExportVAppResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExportVAppResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ExportVAppResponse")
            kw["aname"] = "_ExportVAppResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ExportVAppResponse_Holder"
            self.pyclass = Holder

    class PowerOnVApp_Task_Dec(ElementDeclaration):
        literal = "PowerOnVApp_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PowerOnVApp_Task")
            kw["aname"] = "_PowerOnVApp_Task"
            if ns0.PowerOnVAppRequestType_Def not in ns0.PowerOnVApp_Task_Dec.__bases__:
                bases = list(ns0.PowerOnVApp_Task_Dec.__bases__)
                bases.insert(0, ns0.PowerOnVAppRequestType_Def)
                ns0.PowerOnVApp_Task_Dec.__bases__ = tuple(bases)

            ns0.PowerOnVAppRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PowerOnVApp_Task_Dec_Holder"

    class PowerOnVApp_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PowerOnVApp_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PowerOnVApp_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","PowerOnVApp_TaskResponse")
            kw["aname"] = "_PowerOnVApp_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "PowerOnVApp_TaskResponse_Holder"
            self.pyclass = Holder

    class PowerOffVApp_Task_Dec(ElementDeclaration):
        literal = "PowerOffVApp_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PowerOffVApp_Task")
            kw["aname"] = "_PowerOffVApp_Task"
            if ns0.PowerOffVAppRequestType_Def not in ns0.PowerOffVApp_Task_Dec.__bases__:
                bases = list(ns0.PowerOffVApp_Task_Dec.__bases__)
                bases.insert(0, ns0.PowerOffVAppRequestType_Def)
                ns0.PowerOffVApp_Task_Dec.__bases__ = tuple(bases)

            ns0.PowerOffVAppRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PowerOffVApp_Task_Dec_Holder"

    class PowerOffVApp_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PowerOffVApp_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PowerOffVApp_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","PowerOffVApp_TaskResponse")
            kw["aname"] = "_PowerOffVApp_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "PowerOffVApp_TaskResponse_Holder"
            self.pyclass = Holder

    class SuspendVApp_Task_Dec(ElementDeclaration):
        literal = "SuspendVApp_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SuspendVApp_Task")
            kw["aname"] = "_SuspendVApp_Task"
            if ns0.SuspendVAppRequestType_Def not in ns0.SuspendVApp_Task_Dec.__bases__:
                bases = list(ns0.SuspendVApp_Task_Dec.__bases__)
                bases.insert(0, ns0.SuspendVAppRequestType_Def)
                ns0.SuspendVApp_Task_Dec.__bases__ = tuple(bases)

            ns0.SuspendVAppRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SuspendVApp_Task_Dec_Holder"

    class SuspendVApp_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SuspendVApp_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SuspendVApp_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","SuspendVApp_TaskResponse")
            kw["aname"] = "_SuspendVApp_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "SuspendVApp_TaskResponse_Holder"
            self.pyclass = Holder

    class unregisterVApp_Task_Dec(ElementDeclaration):
        literal = "unregisterVApp_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","unregisterVApp_Task")
            kw["aname"] = "_unregisterVApp_Task"
            if ns0.unregisterVAppRequestType_Def not in ns0.unregisterVApp_Task_Dec.__bases__:
                bases = list(ns0.unregisterVApp_Task_Dec.__bases__)
                bases.insert(0, ns0.unregisterVAppRequestType_Def)
                ns0.unregisterVApp_Task_Dec.__bases__ = tuple(bases)

            ns0.unregisterVAppRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "unregisterVApp_Task_Dec_Holder"

    class unregisterVApp_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "unregisterVApp_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.unregisterVApp_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","unregisterVApp_TaskResponse")
            kw["aname"] = "_unregisterVApp_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "unregisterVApp_TaskResponse_Holder"
            self.pyclass = Holder

    class CreateVirtualDisk_Task_Dec(ElementDeclaration):
        literal = "CreateVirtualDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateVirtualDisk_Task")
            kw["aname"] = "_CreateVirtualDisk_Task"
            if ns0.CreateVirtualDiskRequestType_Def not in ns0.CreateVirtualDisk_Task_Dec.__bases__:
                bases = list(ns0.CreateVirtualDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.CreateVirtualDiskRequestType_Def)
                ns0.CreateVirtualDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.CreateVirtualDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateVirtualDisk_Task_Dec_Holder"

    class CreateVirtualDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateVirtualDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateVirtualDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateVirtualDisk_TaskResponse")
            kw["aname"] = "_CreateVirtualDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateVirtualDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class DeleteVirtualDisk_Task_Dec(ElementDeclaration):
        literal = "DeleteVirtualDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteVirtualDisk_Task")
            kw["aname"] = "_DeleteVirtualDisk_Task"
            if ns0.DeleteVirtualDiskRequestType_Def not in ns0.DeleteVirtualDisk_Task_Dec.__bases__:
                bases = list(ns0.DeleteVirtualDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.DeleteVirtualDiskRequestType_Def)
                ns0.DeleteVirtualDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.DeleteVirtualDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteVirtualDisk_Task_Dec_Holder"

    class DeleteVirtualDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteVirtualDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteVirtualDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DeleteVirtualDisk_TaskResponse")
            kw["aname"] = "_DeleteVirtualDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DeleteVirtualDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class MoveVirtualDisk_Task_Dec(ElementDeclaration):
        literal = "MoveVirtualDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MoveVirtualDisk_Task")
            kw["aname"] = "_MoveVirtualDisk_Task"
            if ns0.MoveVirtualDiskRequestType_Def not in ns0.MoveVirtualDisk_Task_Dec.__bases__:
                bases = list(ns0.MoveVirtualDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.MoveVirtualDiskRequestType_Def)
                ns0.MoveVirtualDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.MoveVirtualDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MoveVirtualDisk_Task_Dec_Holder"

    class MoveVirtualDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MoveVirtualDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MoveVirtualDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","MoveVirtualDisk_TaskResponse")
            kw["aname"] = "_MoveVirtualDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "MoveVirtualDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class CopyVirtualDisk_Task_Dec(ElementDeclaration):
        literal = "CopyVirtualDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CopyVirtualDisk_Task")
            kw["aname"] = "_CopyVirtualDisk_Task"
            if ns0.CopyVirtualDiskRequestType_Def not in ns0.CopyVirtualDisk_Task_Dec.__bases__:
                bases = list(ns0.CopyVirtualDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.CopyVirtualDiskRequestType_Def)
                ns0.CopyVirtualDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.CopyVirtualDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CopyVirtualDisk_Task_Dec_Holder"

    class CopyVirtualDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CopyVirtualDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CopyVirtualDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CopyVirtualDisk_TaskResponse")
            kw["aname"] = "_CopyVirtualDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CopyVirtualDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class ExtendVirtualDisk_Task_Dec(ElementDeclaration):
        literal = "ExtendVirtualDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExtendVirtualDisk_Task")
            kw["aname"] = "_ExtendVirtualDisk_Task"
            if ns0.ExtendVirtualDiskRequestType_Def not in ns0.ExtendVirtualDisk_Task_Dec.__bases__:
                bases = list(ns0.ExtendVirtualDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.ExtendVirtualDiskRequestType_Def)
                ns0.ExtendVirtualDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.ExtendVirtualDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExtendVirtualDisk_Task_Dec_Holder"

    class ExtendVirtualDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExtendVirtualDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExtendVirtualDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ExtendVirtualDisk_TaskResponse")
            kw["aname"] = "_ExtendVirtualDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ExtendVirtualDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class QueryVirtualDiskFragmentation_Dec(ElementDeclaration):
        literal = "QueryVirtualDiskFragmentation"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryVirtualDiskFragmentation")
            kw["aname"] = "_QueryVirtualDiskFragmentation"
            if ns0.QueryVirtualDiskFragmentationRequestType_Def not in ns0.QueryVirtualDiskFragmentation_Dec.__bases__:
                bases = list(ns0.QueryVirtualDiskFragmentation_Dec.__bases__)
                bases.insert(0, ns0.QueryVirtualDiskFragmentationRequestType_Def)
                ns0.QueryVirtualDiskFragmentation_Dec.__bases__ = tuple(bases)

            ns0.QueryVirtualDiskFragmentationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryVirtualDiskFragmentation_Dec_Holder"

    class QueryVirtualDiskFragmentationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryVirtualDiskFragmentationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryVirtualDiskFragmentationResponse_Dec.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryVirtualDiskFragmentationResponse")
            kw["aname"] = "_QueryVirtualDiskFragmentationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryVirtualDiskFragmentationResponse_Holder"
            self.pyclass = Holder

    class DefragmentVirtualDisk_Task_Dec(ElementDeclaration):
        literal = "DefragmentVirtualDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DefragmentVirtualDisk_Task")
            kw["aname"] = "_DefragmentVirtualDisk_Task"
            if ns0.DefragmentVirtualDiskRequestType_Def not in ns0.DefragmentVirtualDisk_Task_Dec.__bases__:
                bases = list(ns0.DefragmentVirtualDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.DefragmentVirtualDiskRequestType_Def)
                ns0.DefragmentVirtualDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.DefragmentVirtualDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DefragmentVirtualDisk_Task_Dec_Holder"

    class DefragmentVirtualDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DefragmentVirtualDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DefragmentVirtualDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DefragmentVirtualDisk_TaskResponse")
            kw["aname"] = "_DefragmentVirtualDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DefragmentVirtualDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class ShrinkVirtualDisk_Task_Dec(ElementDeclaration):
        literal = "ShrinkVirtualDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ShrinkVirtualDisk_Task")
            kw["aname"] = "_ShrinkVirtualDisk_Task"
            if ns0.ShrinkVirtualDiskRequestType_Def not in ns0.ShrinkVirtualDisk_Task_Dec.__bases__:
                bases = list(ns0.ShrinkVirtualDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.ShrinkVirtualDiskRequestType_Def)
                ns0.ShrinkVirtualDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.ShrinkVirtualDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ShrinkVirtualDisk_Task_Dec_Holder"

    class ShrinkVirtualDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ShrinkVirtualDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ShrinkVirtualDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ShrinkVirtualDisk_TaskResponse")
            kw["aname"] = "_ShrinkVirtualDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ShrinkVirtualDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class InflateVirtualDisk_Task_Dec(ElementDeclaration):
        literal = "InflateVirtualDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InflateVirtualDisk_Task")
            kw["aname"] = "_InflateVirtualDisk_Task"
            if ns0.InflateVirtualDiskRequestType_Def not in ns0.InflateVirtualDisk_Task_Dec.__bases__:
                bases = list(ns0.InflateVirtualDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.InflateVirtualDiskRequestType_Def)
                ns0.InflateVirtualDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.InflateVirtualDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InflateVirtualDisk_Task_Dec_Holder"

    class InflateVirtualDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "InflateVirtualDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.InflateVirtualDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","InflateVirtualDisk_TaskResponse")
            kw["aname"] = "_InflateVirtualDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "InflateVirtualDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class EagerZeroVirtualDisk_Task_Dec(ElementDeclaration):
        literal = "EagerZeroVirtualDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EagerZeroVirtualDisk_Task")
            kw["aname"] = "_EagerZeroVirtualDisk_Task"
            if ns0.EagerZeroVirtualDiskRequestType_Def not in ns0.EagerZeroVirtualDisk_Task_Dec.__bases__:
                bases = list(ns0.EagerZeroVirtualDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.EagerZeroVirtualDiskRequestType_Def)
                ns0.EagerZeroVirtualDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.EagerZeroVirtualDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EagerZeroVirtualDisk_Task_Dec_Holder"

    class EagerZeroVirtualDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EagerZeroVirtualDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EagerZeroVirtualDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","EagerZeroVirtualDisk_TaskResponse")
            kw["aname"] = "_EagerZeroVirtualDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "EagerZeroVirtualDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class ZeroFillVirtualDisk_Task_Dec(ElementDeclaration):
        literal = "ZeroFillVirtualDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ZeroFillVirtualDisk_Task")
            kw["aname"] = "_ZeroFillVirtualDisk_Task"
            if ns0.ZeroFillVirtualDiskRequestType_Def not in ns0.ZeroFillVirtualDisk_Task_Dec.__bases__:
                bases = list(ns0.ZeroFillVirtualDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.ZeroFillVirtualDiskRequestType_Def)
                ns0.ZeroFillVirtualDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.ZeroFillVirtualDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ZeroFillVirtualDisk_Task_Dec_Holder"

    class ZeroFillVirtualDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ZeroFillVirtualDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ZeroFillVirtualDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ZeroFillVirtualDisk_TaskResponse")
            kw["aname"] = "_ZeroFillVirtualDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ZeroFillVirtualDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class SetVirtualDiskUuid_Dec(ElementDeclaration):
        literal = "SetVirtualDiskUuid"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetVirtualDiskUuid")
            kw["aname"] = "_SetVirtualDiskUuid"
            if ns0.SetVirtualDiskUuidRequestType_Def not in ns0.SetVirtualDiskUuid_Dec.__bases__:
                bases = list(ns0.SetVirtualDiskUuid_Dec.__bases__)
                bases.insert(0, ns0.SetVirtualDiskUuidRequestType_Def)
                ns0.SetVirtualDiskUuid_Dec.__bases__ = tuple(bases)

            ns0.SetVirtualDiskUuidRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetVirtualDiskUuid_Dec_Holder"

    class SetVirtualDiskUuidResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetVirtualDiskUuidResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetVirtualDiskUuidResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetVirtualDiskUuidResponse")
            kw["aname"] = "_SetVirtualDiskUuidResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetVirtualDiskUuidResponse_Holder"
            self.pyclass = Holder

    class QueryVirtualDiskUuid_Dec(ElementDeclaration):
        literal = "QueryVirtualDiskUuid"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryVirtualDiskUuid")
            kw["aname"] = "_QueryVirtualDiskUuid"
            if ns0.QueryVirtualDiskUuidRequestType_Def not in ns0.QueryVirtualDiskUuid_Dec.__bases__:
                bases = list(ns0.QueryVirtualDiskUuid_Dec.__bases__)
                bases.insert(0, ns0.QueryVirtualDiskUuidRequestType_Def)
                ns0.QueryVirtualDiskUuid_Dec.__bases__ = tuple(bases)

            ns0.QueryVirtualDiskUuidRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryVirtualDiskUuid_Dec_Holder"

    class QueryVirtualDiskUuidResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryVirtualDiskUuidResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryVirtualDiskUuidResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryVirtualDiskUuidResponse")
            kw["aname"] = "_QueryVirtualDiskUuidResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryVirtualDiskUuidResponse_Holder"
            self.pyclass = Holder

    class QueryVirtualDiskGeometry_Dec(ElementDeclaration):
        literal = "QueryVirtualDiskGeometry"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryVirtualDiskGeometry")
            kw["aname"] = "_QueryVirtualDiskGeometry"
            if ns0.QueryVirtualDiskGeometryRequestType_Def not in ns0.QueryVirtualDiskGeometry_Dec.__bases__:
                bases = list(ns0.QueryVirtualDiskGeometry_Dec.__bases__)
                bases.insert(0, ns0.QueryVirtualDiskGeometryRequestType_Def)
                ns0.QueryVirtualDiskGeometry_Dec.__bases__ = tuple(bases)

            ns0.QueryVirtualDiskGeometryRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryVirtualDiskGeometry_Dec_Holder"

    class QueryVirtualDiskGeometryResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryVirtualDiskGeometryResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryVirtualDiskGeometryResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostDiskDimensionsChs",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryVirtualDiskGeometryResponse")
            kw["aname"] = "_QueryVirtualDiskGeometryResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryVirtualDiskGeometryResponse_Holder"
            self.pyclass = Holder

    class ImportUnmanagedSnapshot_Dec(ElementDeclaration):
        literal = "ImportUnmanagedSnapshot"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ImportUnmanagedSnapshot")
            kw["aname"] = "_ImportUnmanagedSnapshot"
            if ns0.ImportUnmanagedSnapshotRequestType_Def not in ns0.ImportUnmanagedSnapshot_Dec.__bases__:
                bases = list(ns0.ImportUnmanagedSnapshot_Dec.__bases__)
                bases.insert(0, ns0.ImportUnmanagedSnapshotRequestType_Def)
                ns0.ImportUnmanagedSnapshot_Dec.__bases__ = tuple(bases)

            ns0.ImportUnmanagedSnapshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ImportUnmanagedSnapshot_Dec_Holder"

    class ImportUnmanagedSnapshotResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ImportUnmanagedSnapshotResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ImportUnmanagedSnapshotResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ImportUnmanagedSnapshotResponse")
            kw["aname"] = "_ImportUnmanagedSnapshotResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ImportUnmanagedSnapshotResponse_Holder"
            self.pyclass = Holder

    class ReleaseManagedSnapshot_Dec(ElementDeclaration):
        literal = "ReleaseManagedSnapshot"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReleaseManagedSnapshot")
            kw["aname"] = "_ReleaseManagedSnapshot"
            if ns0.ReleaseManagedSnapshotRequestType_Def not in ns0.ReleaseManagedSnapshot_Dec.__bases__:
                bases = list(ns0.ReleaseManagedSnapshot_Dec.__bases__)
                bases.insert(0, ns0.ReleaseManagedSnapshotRequestType_Def)
                ns0.ReleaseManagedSnapshot_Dec.__bases__ = tuple(bases)

            ns0.ReleaseManagedSnapshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReleaseManagedSnapshot_Dec_Holder"

    class ReleaseManagedSnapshotResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReleaseManagedSnapshotResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReleaseManagedSnapshotResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ReleaseManagedSnapshotResponse")
            kw["aname"] = "_ReleaseManagedSnapshotResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ReleaseManagedSnapshotResponse_Holder"
            self.pyclass = Holder

    class RefreshStorageInfo_Dec(ElementDeclaration):
        literal = "RefreshStorageInfo"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshStorageInfo")
            kw["aname"] = "_RefreshStorageInfo"
            if ns0.RefreshStorageInfoRequestType_Def not in ns0.RefreshStorageInfo_Dec.__bases__:
                bases = list(ns0.RefreshStorageInfo_Dec.__bases__)
                bases.insert(0, ns0.RefreshStorageInfoRequestType_Def)
                ns0.RefreshStorageInfo_Dec.__bases__ = tuple(bases)

            ns0.RefreshStorageInfoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshStorageInfo_Dec_Holder"

    class RefreshStorageInfoResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshStorageInfoResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshStorageInfoResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshStorageInfoResponse")
            kw["aname"] = "_RefreshStorageInfoResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshStorageInfoResponse_Holder"
            self.pyclass = Holder

    class CreateSnapshot_Task_Dec(ElementDeclaration):
        literal = "CreateSnapshot_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateSnapshot_Task")
            kw["aname"] = "_CreateSnapshot_Task"
            if ns0.CreateSnapshotRequestType_Def not in ns0.CreateSnapshot_Task_Dec.__bases__:
                bases = list(ns0.CreateSnapshot_Task_Dec.__bases__)
                bases.insert(0, ns0.CreateSnapshotRequestType_Def)
                ns0.CreateSnapshot_Task_Dec.__bases__ = tuple(bases)

            ns0.CreateSnapshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateSnapshot_Task_Dec_Holder"

    class CreateSnapshot_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateSnapshot_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateSnapshot_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateSnapshot_TaskResponse")
            kw["aname"] = "_CreateSnapshot_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateSnapshot_TaskResponse_Holder"
            self.pyclass = Holder

    class CreateSnapshotEx_Task_Dec(ElementDeclaration):
        literal = "CreateSnapshotEx_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateSnapshotEx_Task")
            kw["aname"] = "_CreateSnapshotEx_Task"
            if ns0.CreateSnapshotExRequestType_Def not in ns0.CreateSnapshotEx_Task_Dec.__bases__:
                bases = list(ns0.CreateSnapshotEx_Task_Dec.__bases__)
                bases.insert(0, ns0.CreateSnapshotExRequestType_Def)
                ns0.CreateSnapshotEx_Task_Dec.__bases__ = tuple(bases)

            ns0.CreateSnapshotExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateSnapshotEx_Task_Dec_Holder"

    class CreateSnapshotEx_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateSnapshotEx_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateSnapshotEx_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateSnapshotEx_TaskResponse")
            kw["aname"] = "_CreateSnapshotEx_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateSnapshotEx_TaskResponse_Holder"
            self.pyclass = Holder

    class RevertToCurrentSnapshot_Task_Dec(ElementDeclaration):
        literal = "RevertToCurrentSnapshot_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RevertToCurrentSnapshot_Task")
            kw["aname"] = "_RevertToCurrentSnapshot_Task"
            if ns0.RevertToCurrentSnapshotRequestType_Def not in ns0.RevertToCurrentSnapshot_Task_Dec.__bases__:
                bases = list(ns0.RevertToCurrentSnapshot_Task_Dec.__bases__)
                bases.insert(0, ns0.RevertToCurrentSnapshotRequestType_Def)
                ns0.RevertToCurrentSnapshot_Task_Dec.__bases__ = tuple(bases)

            ns0.RevertToCurrentSnapshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RevertToCurrentSnapshot_Task_Dec_Holder"

    class RevertToCurrentSnapshot_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RevertToCurrentSnapshot_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RevertToCurrentSnapshot_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RevertToCurrentSnapshot_TaskResponse")
            kw["aname"] = "_RevertToCurrentSnapshot_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RevertToCurrentSnapshot_TaskResponse_Holder"
            self.pyclass = Holder

    class RemoveAllSnapshots_Task_Dec(ElementDeclaration):
        literal = "RemoveAllSnapshots_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveAllSnapshots_Task")
            kw["aname"] = "_RemoveAllSnapshots_Task"
            if ns0.RemoveAllSnapshotsRequestType_Def not in ns0.RemoveAllSnapshots_Task_Dec.__bases__:
                bases = list(ns0.RemoveAllSnapshots_Task_Dec.__bases__)
                bases.insert(0, ns0.RemoveAllSnapshotsRequestType_Def)
                ns0.RemoveAllSnapshots_Task_Dec.__bases__ = tuple(bases)

            ns0.RemoveAllSnapshotsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveAllSnapshots_Task_Dec_Holder"

    class RemoveAllSnapshots_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveAllSnapshots_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveAllSnapshots_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RemoveAllSnapshots_TaskResponse")
            kw["aname"] = "_RemoveAllSnapshots_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RemoveAllSnapshots_TaskResponse_Holder"
            self.pyclass = Holder

    class ConsolidateVMDisks_Task_Dec(ElementDeclaration):
        literal = "ConsolidateVMDisks_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConsolidateVMDisks_Task")
            kw["aname"] = "_ConsolidateVMDisks_Task"
            if ns0.ConsolidateVMDisksRequestType_Def not in ns0.ConsolidateVMDisks_Task_Dec.__bases__:
                bases = list(ns0.ConsolidateVMDisks_Task_Dec.__bases__)
                bases.insert(0, ns0.ConsolidateVMDisksRequestType_Def)
                ns0.ConsolidateVMDisks_Task_Dec.__bases__ = tuple(bases)

            ns0.ConsolidateVMDisksRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConsolidateVMDisks_Task_Dec_Holder"

    class ConsolidateVMDisks_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ConsolidateVMDisks_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ConsolidateVMDisks_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ConsolidateVMDisks_TaskResponse")
            kw["aname"] = "_ConsolidateVMDisks_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ConsolidateVMDisks_TaskResponse_Holder"
            self.pyclass = Holder

    class EstimateStorageForConsolidateSnapshots_Task_Dec(ElementDeclaration):
        literal = "EstimateStorageForConsolidateSnapshots_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EstimateStorageForConsolidateSnapshots_Task")
            kw["aname"] = "_EstimateStorageForConsolidateSnapshots_Task"
            if ns0.EstimateStorageForConsolidateSnapshotsRequestType_Def not in ns0.EstimateStorageForConsolidateSnapshots_Task_Dec.__bases__:
                bases = list(ns0.EstimateStorageForConsolidateSnapshots_Task_Dec.__bases__)
                bases.insert(0, ns0.EstimateStorageForConsolidateSnapshotsRequestType_Def)
                ns0.EstimateStorageForConsolidateSnapshots_Task_Dec.__bases__ = tuple(bases)

            ns0.EstimateStorageForConsolidateSnapshotsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EstimateStorageForConsolidateSnapshots_Task_Dec_Holder"

    class EstimateStorageForConsolidateSnapshots_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EstimateStorageForConsolidateSnapshots_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EstimateStorageForConsolidateSnapshots_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","EstimateStorageForConsolidateSnapshots_TaskResponse")
            kw["aname"] = "_EstimateStorageForConsolidateSnapshots_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "EstimateStorageForConsolidateSnapshots_TaskResponse_Holder"
            self.pyclass = Holder

    class ReconfigVM_Task_Dec(ElementDeclaration):
        literal = "ReconfigVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigVM_Task")
            kw["aname"] = "_ReconfigVM_Task"
            if ns0.ReconfigVMRequestType_Def not in ns0.ReconfigVM_Task_Dec.__bases__:
                bases = list(ns0.ReconfigVM_Task_Dec.__bases__)
                bases.insert(0, ns0.ReconfigVMRequestType_Def)
                ns0.ReconfigVM_Task_Dec.__bases__ = tuple(bases)

            ns0.ReconfigVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigVM_Task_Dec_Holder"

    class ReconfigVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReconfigVM_TaskResponse")
            kw["aname"] = "_ReconfigVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ReconfigVM_TaskResponse_Holder"
            self.pyclass = Holder

    class UpgradeVM_Task_Dec(ElementDeclaration):
        literal = "UpgradeVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpgradeVM_Task")
            kw["aname"] = "_UpgradeVM_Task"
            if ns0.UpgradeVMRequestType_Def not in ns0.UpgradeVM_Task_Dec.__bases__:
                bases = list(ns0.UpgradeVM_Task_Dec.__bases__)
                bases.insert(0, ns0.UpgradeVMRequestType_Def)
                ns0.UpgradeVM_Task_Dec.__bases__ = tuple(bases)

            ns0.UpgradeVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpgradeVM_Task_Dec_Holder"

    class UpgradeVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpgradeVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpgradeVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpgradeVM_TaskResponse")
            kw["aname"] = "_UpgradeVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpgradeVM_TaskResponse_Holder"
            self.pyclass = Holder

    class ExtractOvfEnvironment_Dec(ElementDeclaration):
        literal = "ExtractOvfEnvironment"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExtractOvfEnvironment")
            kw["aname"] = "_ExtractOvfEnvironment"
            if ns0.ExtractOvfEnvironmentRequestType_Def not in ns0.ExtractOvfEnvironment_Dec.__bases__:
                bases = list(ns0.ExtractOvfEnvironment_Dec.__bases__)
                bases.insert(0, ns0.ExtractOvfEnvironmentRequestType_Def)
                ns0.ExtractOvfEnvironment_Dec.__bases__ = tuple(bases)

            ns0.ExtractOvfEnvironmentRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExtractOvfEnvironment_Dec_Holder"

    class ExtractOvfEnvironmentResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExtractOvfEnvironmentResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExtractOvfEnvironmentResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ExtractOvfEnvironmentResponse")
            kw["aname"] = "_ExtractOvfEnvironmentResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ExtractOvfEnvironmentResponse_Holder"
            self.pyclass = Holder

    class PowerOnVM_Task_Dec(ElementDeclaration):
        literal = "PowerOnVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PowerOnVM_Task")
            kw["aname"] = "_PowerOnVM_Task"
            if ns0.PowerOnVMRequestType_Def not in ns0.PowerOnVM_Task_Dec.__bases__:
                bases = list(ns0.PowerOnVM_Task_Dec.__bases__)
                bases.insert(0, ns0.PowerOnVMRequestType_Def)
                ns0.PowerOnVM_Task_Dec.__bases__ = tuple(bases)

            ns0.PowerOnVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PowerOnVM_Task_Dec_Holder"

    class PowerOnVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PowerOnVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PowerOnVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","PowerOnVM_TaskResponse")
            kw["aname"] = "_PowerOnVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "PowerOnVM_TaskResponse_Holder"
            self.pyclass = Holder

    class PowerOffVM_Task_Dec(ElementDeclaration):
        literal = "PowerOffVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PowerOffVM_Task")
            kw["aname"] = "_PowerOffVM_Task"
            if ns0.PowerOffVMRequestType_Def not in ns0.PowerOffVM_Task_Dec.__bases__:
                bases = list(ns0.PowerOffVM_Task_Dec.__bases__)
                bases.insert(0, ns0.PowerOffVMRequestType_Def)
                ns0.PowerOffVM_Task_Dec.__bases__ = tuple(bases)

            ns0.PowerOffVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PowerOffVM_Task_Dec_Holder"

    class PowerOffVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PowerOffVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PowerOffVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","PowerOffVM_TaskResponse")
            kw["aname"] = "_PowerOffVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "PowerOffVM_TaskResponse_Holder"
            self.pyclass = Holder

    class SuspendVM_Task_Dec(ElementDeclaration):
        literal = "SuspendVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SuspendVM_Task")
            kw["aname"] = "_SuspendVM_Task"
            if ns0.SuspendVMRequestType_Def not in ns0.SuspendVM_Task_Dec.__bases__:
                bases = list(ns0.SuspendVM_Task_Dec.__bases__)
                bases.insert(0, ns0.SuspendVMRequestType_Def)
                ns0.SuspendVM_Task_Dec.__bases__ = tuple(bases)

            ns0.SuspendVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SuspendVM_Task_Dec_Holder"

    class SuspendVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SuspendVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SuspendVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","SuspendVM_TaskResponse")
            kw["aname"] = "_SuspendVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "SuspendVM_TaskResponse_Holder"
            self.pyclass = Holder

    class ResetVM_Task_Dec(ElementDeclaration):
        literal = "ResetVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResetVM_Task")
            kw["aname"] = "_ResetVM_Task"
            if ns0.ResetVMRequestType_Def not in ns0.ResetVM_Task_Dec.__bases__:
                bases = list(ns0.ResetVM_Task_Dec.__bases__)
                bases.insert(0, ns0.ResetVMRequestType_Def)
                ns0.ResetVM_Task_Dec.__bases__ = tuple(bases)

            ns0.ResetVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResetVM_Task_Dec_Holder"

    class ResetVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ResetVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ResetVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ResetVM_TaskResponse")
            kw["aname"] = "_ResetVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ResetVM_TaskResponse_Holder"
            self.pyclass = Holder

    class ShutdownGuest_Dec(ElementDeclaration):
        literal = "ShutdownGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ShutdownGuest")
            kw["aname"] = "_ShutdownGuest"
            if ns0.ShutdownGuestRequestType_Def not in ns0.ShutdownGuest_Dec.__bases__:
                bases = list(ns0.ShutdownGuest_Dec.__bases__)
                bases.insert(0, ns0.ShutdownGuestRequestType_Def)
                ns0.ShutdownGuest_Dec.__bases__ = tuple(bases)

            ns0.ShutdownGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ShutdownGuest_Dec_Holder"

    class ShutdownGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ShutdownGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ShutdownGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ShutdownGuestResponse")
            kw["aname"] = "_ShutdownGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ShutdownGuestResponse_Holder"
            self.pyclass = Holder

    class RebootGuest_Dec(ElementDeclaration):
        literal = "RebootGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RebootGuest")
            kw["aname"] = "_RebootGuest"
            if ns0.RebootGuestRequestType_Def not in ns0.RebootGuest_Dec.__bases__:
                bases = list(ns0.RebootGuest_Dec.__bases__)
                bases.insert(0, ns0.RebootGuestRequestType_Def)
                ns0.RebootGuest_Dec.__bases__ = tuple(bases)

            ns0.RebootGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RebootGuest_Dec_Holder"

    class RebootGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RebootGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RebootGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RebootGuestResponse")
            kw["aname"] = "_RebootGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RebootGuestResponse_Holder"
            self.pyclass = Holder

    class StandbyGuest_Dec(ElementDeclaration):
        literal = "StandbyGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StandbyGuest")
            kw["aname"] = "_StandbyGuest"
            if ns0.StandbyGuestRequestType_Def not in ns0.StandbyGuest_Dec.__bases__:
                bases = list(ns0.StandbyGuest_Dec.__bases__)
                bases.insert(0, ns0.StandbyGuestRequestType_Def)
                ns0.StandbyGuest_Dec.__bases__ = tuple(bases)

            ns0.StandbyGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StandbyGuest_Dec_Holder"

    class StandbyGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "StandbyGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.StandbyGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","StandbyGuestResponse")
            kw["aname"] = "_StandbyGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "StandbyGuestResponse_Holder"
            self.pyclass = Holder

    class AnswerVM_Dec(ElementDeclaration):
        literal = "AnswerVM"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AnswerVM")
            kw["aname"] = "_AnswerVM"
            if ns0.AnswerVMRequestType_Def not in ns0.AnswerVM_Dec.__bases__:
                bases = list(ns0.AnswerVM_Dec.__bases__)
                bases.insert(0, ns0.AnswerVMRequestType_Def)
                ns0.AnswerVM_Dec.__bases__ = tuple(bases)

            ns0.AnswerVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AnswerVM_Dec_Holder"

    class AnswerVMResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AnswerVMResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AnswerVMResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AnswerVMResponse")
            kw["aname"] = "_AnswerVMResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AnswerVMResponse_Holder"
            self.pyclass = Holder

    class CustomizeVM_Task_Dec(ElementDeclaration):
        literal = "CustomizeVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CustomizeVM_Task")
            kw["aname"] = "_CustomizeVM_Task"
            if ns0.CustomizeVMRequestType_Def not in ns0.CustomizeVM_Task_Dec.__bases__:
                bases = list(ns0.CustomizeVM_Task_Dec.__bases__)
                bases.insert(0, ns0.CustomizeVMRequestType_Def)
                ns0.CustomizeVM_Task_Dec.__bases__ = tuple(bases)

            ns0.CustomizeVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CustomizeVM_Task_Dec_Holder"

    class CustomizeVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CustomizeVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CustomizeVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CustomizeVM_TaskResponse")
            kw["aname"] = "_CustomizeVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CustomizeVM_TaskResponse_Holder"
            self.pyclass = Holder

    class CheckCustomizationSpec_Dec(ElementDeclaration):
        literal = "CheckCustomizationSpec"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckCustomizationSpec")
            kw["aname"] = "_CheckCustomizationSpec"
            if ns0.CheckCustomizationSpecRequestType_Def not in ns0.CheckCustomizationSpec_Dec.__bases__:
                bases = list(ns0.CheckCustomizationSpec_Dec.__bases__)
                bases.insert(0, ns0.CheckCustomizationSpecRequestType_Def)
                ns0.CheckCustomizationSpec_Dec.__bases__ = tuple(bases)

            ns0.CheckCustomizationSpecRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckCustomizationSpec_Dec_Holder"

    class CheckCustomizationSpecResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckCustomizationSpecResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckCustomizationSpecResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CheckCustomizationSpecResponse")
            kw["aname"] = "_CheckCustomizationSpecResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CheckCustomizationSpecResponse_Holder"
            self.pyclass = Holder

    class MigrateVM_Task_Dec(ElementDeclaration):
        literal = "MigrateVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MigrateVM_Task")
            kw["aname"] = "_MigrateVM_Task"
            if ns0.MigrateVMRequestType_Def not in ns0.MigrateVM_Task_Dec.__bases__:
                bases = list(ns0.MigrateVM_Task_Dec.__bases__)
                bases.insert(0, ns0.MigrateVMRequestType_Def)
                ns0.MigrateVM_Task_Dec.__bases__ = tuple(bases)

            ns0.MigrateVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MigrateVM_Task_Dec_Holder"

    class MigrateVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MigrateVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MigrateVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","MigrateVM_TaskResponse")
            kw["aname"] = "_MigrateVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "MigrateVM_TaskResponse_Holder"
            self.pyclass = Holder

    class RelocateVM_Task_Dec(ElementDeclaration):
        literal = "RelocateVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RelocateVM_Task")
            kw["aname"] = "_RelocateVM_Task"
            if ns0.RelocateVMRequestType_Def not in ns0.RelocateVM_Task_Dec.__bases__:
                bases = list(ns0.RelocateVM_Task_Dec.__bases__)
                bases.insert(0, ns0.RelocateVMRequestType_Def)
                ns0.RelocateVM_Task_Dec.__bases__ = tuple(bases)

            ns0.RelocateVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RelocateVM_Task_Dec_Holder"

    class RelocateVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RelocateVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RelocateVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RelocateVM_TaskResponse")
            kw["aname"] = "_RelocateVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RelocateVM_TaskResponse_Holder"
            self.pyclass = Holder

    class CloneVM_Task_Dec(ElementDeclaration):
        literal = "CloneVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CloneVM_Task")
            kw["aname"] = "_CloneVM_Task"
            if ns0.CloneVMRequestType_Def not in ns0.CloneVM_Task_Dec.__bases__:
                bases = list(ns0.CloneVM_Task_Dec.__bases__)
                bases.insert(0, ns0.CloneVMRequestType_Def)
                ns0.CloneVM_Task_Dec.__bases__ = tuple(bases)

            ns0.CloneVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CloneVM_Task_Dec_Holder"

    class CloneVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CloneVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CloneVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CloneVM_TaskResponse")
            kw["aname"] = "_CloneVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CloneVM_TaskResponse_Holder"
            self.pyclass = Holder

    class InstantClone_Task_Dec(ElementDeclaration):
        literal = "InstantClone_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InstantClone_Task")
            kw["aname"] = "_InstantClone_Task"
            if ns0.InstantCloneRequestType_Def not in ns0.InstantClone_Task_Dec.__bases__:
                bases = list(ns0.InstantClone_Task_Dec.__bases__)
                bases.insert(0, ns0.InstantCloneRequestType_Def)
                ns0.InstantClone_Task_Dec.__bases__ = tuple(bases)

            ns0.InstantCloneRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InstantClone_Task_Dec_Holder"

    class InstantClone_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "InstantClone_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.InstantClone_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","InstantClone_TaskResponse")
            kw["aname"] = "_InstantClone_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "InstantClone_TaskResponse_Holder"
            self.pyclass = Holder

    class ExportVm_Dec(ElementDeclaration):
        literal = "ExportVm"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExportVm")
            kw["aname"] = "_ExportVm"
            if ns0.ExportVmRequestType_Def not in ns0.ExportVm_Dec.__bases__:
                bases = list(ns0.ExportVm_Dec.__bases__)
                bases.insert(0, ns0.ExportVmRequestType_Def)
                ns0.ExportVm_Dec.__bases__ = tuple(bases)

            ns0.ExportVmRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExportVm_Dec_Holder"

    class ExportVmResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExportVmResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExportVmResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ExportVmResponse")
            kw["aname"] = "_ExportVmResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ExportVmResponse_Holder"
            self.pyclass = Holder

    class MarkAsTemplate_Dec(ElementDeclaration):
        literal = "MarkAsTemplate"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MarkAsTemplate")
            kw["aname"] = "_MarkAsTemplate"
            if ns0.MarkAsTemplateRequestType_Def not in ns0.MarkAsTemplate_Dec.__bases__:
                bases = list(ns0.MarkAsTemplate_Dec.__bases__)
                bases.insert(0, ns0.MarkAsTemplateRequestType_Def)
                ns0.MarkAsTemplate_Dec.__bases__ = tuple(bases)

            ns0.MarkAsTemplateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MarkAsTemplate_Dec_Holder"

    class MarkAsTemplateResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MarkAsTemplateResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MarkAsTemplateResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","MarkAsTemplateResponse")
            kw["aname"] = "_MarkAsTemplateResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "MarkAsTemplateResponse_Holder"
            self.pyclass = Holder

    class MarkAsVirtualMachine_Dec(ElementDeclaration):
        literal = "MarkAsVirtualMachine"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MarkAsVirtualMachine")
            kw["aname"] = "_MarkAsVirtualMachine"
            if ns0.MarkAsVirtualMachineRequestType_Def not in ns0.MarkAsVirtualMachine_Dec.__bases__:
                bases = list(ns0.MarkAsVirtualMachine_Dec.__bases__)
                bases.insert(0, ns0.MarkAsVirtualMachineRequestType_Def)
                ns0.MarkAsVirtualMachine_Dec.__bases__ = tuple(bases)

            ns0.MarkAsVirtualMachineRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MarkAsVirtualMachine_Dec_Holder"

    class MarkAsVirtualMachineResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MarkAsVirtualMachineResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MarkAsVirtualMachineResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","MarkAsVirtualMachineResponse")
            kw["aname"] = "_MarkAsVirtualMachineResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "MarkAsVirtualMachineResponse_Holder"
            self.pyclass = Holder

    class UnregisterVM_Dec(ElementDeclaration):
        literal = "UnregisterVM"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnregisterVM")
            kw["aname"] = "_UnregisterVM"
            if ns0.UnregisterVMRequestType_Def not in ns0.UnregisterVM_Dec.__bases__:
                bases = list(ns0.UnregisterVM_Dec.__bases__)
                bases.insert(0, ns0.UnregisterVMRequestType_Def)
                ns0.UnregisterVM_Dec.__bases__ = tuple(bases)

            ns0.UnregisterVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnregisterVM_Dec_Holder"

    class UnregisterVMResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UnregisterVMResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UnregisterVMResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UnregisterVMResponse")
            kw["aname"] = "_UnregisterVMResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UnregisterVMResponse_Holder"
            self.pyclass = Holder

    class ResetGuestInformation_Dec(ElementDeclaration):
        literal = "ResetGuestInformation"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResetGuestInformation")
            kw["aname"] = "_ResetGuestInformation"
            if ns0.ResetGuestInformationRequestType_Def not in ns0.ResetGuestInformation_Dec.__bases__:
                bases = list(ns0.ResetGuestInformation_Dec.__bases__)
                bases.insert(0, ns0.ResetGuestInformationRequestType_Def)
                ns0.ResetGuestInformation_Dec.__bases__ = tuple(bases)

            ns0.ResetGuestInformationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResetGuestInformation_Dec_Holder"

    class ResetGuestInformationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ResetGuestInformationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ResetGuestInformationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ResetGuestInformationResponse")
            kw["aname"] = "_ResetGuestInformationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ResetGuestInformationResponse_Holder"
            self.pyclass = Holder

    class MountToolsInstaller_Dec(ElementDeclaration):
        literal = "MountToolsInstaller"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MountToolsInstaller")
            kw["aname"] = "_MountToolsInstaller"
            if ns0.MountToolsInstallerRequestType_Def not in ns0.MountToolsInstaller_Dec.__bases__:
                bases = list(ns0.MountToolsInstaller_Dec.__bases__)
                bases.insert(0, ns0.MountToolsInstallerRequestType_Def)
                ns0.MountToolsInstaller_Dec.__bases__ = tuple(bases)

            ns0.MountToolsInstallerRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MountToolsInstaller_Dec_Holder"

    class MountToolsInstallerResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MountToolsInstallerResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MountToolsInstallerResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","MountToolsInstallerResponse")
            kw["aname"] = "_MountToolsInstallerResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "MountToolsInstallerResponse_Holder"
            self.pyclass = Holder

    class UnmountToolsInstaller_Dec(ElementDeclaration):
        literal = "UnmountToolsInstaller"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnmountToolsInstaller")
            kw["aname"] = "_UnmountToolsInstaller"
            if ns0.UnmountToolsInstallerRequestType_Def not in ns0.UnmountToolsInstaller_Dec.__bases__:
                bases = list(ns0.UnmountToolsInstaller_Dec.__bases__)
                bases.insert(0, ns0.UnmountToolsInstallerRequestType_Def)
                ns0.UnmountToolsInstaller_Dec.__bases__ = tuple(bases)

            ns0.UnmountToolsInstallerRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnmountToolsInstaller_Dec_Holder"

    class UnmountToolsInstallerResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UnmountToolsInstallerResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UnmountToolsInstallerResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UnmountToolsInstallerResponse")
            kw["aname"] = "_UnmountToolsInstallerResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UnmountToolsInstallerResponse_Holder"
            self.pyclass = Holder

    class UpgradeTools_Task_Dec(ElementDeclaration):
        literal = "UpgradeTools_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpgradeTools_Task")
            kw["aname"] = "_UpgradeTools_Task"
            if ns0.UpgradeToolsRequestType_Def not in ns0.UpgradeTools_Task_Dec.__bases__:
                bases = list(ns0.UpgradeTools_Task_Dec.__bases__)
                bases.insert(0, ns0.UpgradeToolsRequestType_Def)
                ns0.UpgradeTools_Task_Dec.__bases__ = tuple(bases)

            ns0.UpgradeToolsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpgradeTools_Task_Dec_Holder"

    class UpgradeTools_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpgradeTools_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpgradeTools_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpgradeTools_TaskResponse")
            kw["aname"] = "_UpgradeTools_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpgradeTools_TaskResponse_Holder"
            self.pyclass = Holder

    class AcquireMksTicket_Dec(ElementDeclaration):
        literal = "AcquireMksTicket"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AcquireMksTicket")
            kw["aname"] = "_AcquireMksTicket"
            if ns0.AcquireMksTicketRequestType_Def not in ns0.AcquireMksTicket_Dec.__bases__:
                bases = list(ns0.AcquireMksTicket_Dec.__bases__)
                bases.insert(0, ns0.AcquireMksTicketRequestType_Def)
                ns0.AcquireMksTicket_Dec.__bases__ = tuple(bases)

            ns0.AcquireMksTicketRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AcquireMksTicket_Dec_Holder"

    class AcquireMksTicketResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AcquireMksTicketResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AcquireMksTicketResponse_Dec.schema
            TClist = [GTD("urn:vim25","VirtualMachineMksTicket",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AcquireMksTicketResponse")
            kw["aname"] = "_AcquireMksTicketResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AcquireMksTicketResponse_Holder"
            self.pyclass = Holder

    class AcquireTicket_Dec(ElementDeclaration):
        literal = "AcquireTicket"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AcquireTicket")
            kw["aname"] = "_AcquireTicket"
            if ns0.AcquireTicketRequestType_Def not in ns0.AcquireTicket_Dec.__bases__:
                bases = list(ns0.AcquireTicket_Dec.__bases__)
                bases.insert(0, ns0.AcquireTicketRequestType_Def)
                ns0.AcquireTicket_Dec.__bases__ = tuple(bases)

            ns0.AcquireTicketRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AcquireTicket_Dec_Holder"

    class AcquireTicketResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AcquireTicketResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AcquireTicketResponse_Dec.schema
            TClist = [GTD("urn:vim25","VirtualMachineTicket",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AcquireTicketResponse")
            kw["aname"] = "_AcquireTicketResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AcquireTicketResponse_Holder"
            self.pyclass = Holder

    class SetScreenResolution_Dec(ElementDeclaration):
        literal = "SetScreenResolution"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetScreenResolution")
            kw["aname"] = "_SetScreenResolution"
            if ns0.SetScreenResolutionRequestType_Def not in ns0.SetScreenResolution_Dec.__bases__:
                bases = list(ns0.SetScreenResolution_Dec.__bases__)
                bases.insert(0, ns0.SetScreenResolutionRequestType_Def)
                ns0.SetScreenResolution_Dec.__bases__ = tuple(bases)

            ns0.SetScreenResolutionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetScreenResolution_Dec_Holder"

    class SetScreenResolutionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetScreenResolutionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetScreenResolutionResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetScreenResolutionResponse")
            kw["aname"] = "_SetScreenResolutionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetScreenResolutionResponse_Holder"
            self.pyclass = Holder

    class DefragmentAllDisks_Dec(ElementDeclaration):
        literal = "DefragmentAllDisks"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DefragmentAllDisks")
            kw["aname"] = "_DefragmentAllDisks"
            if ns0.DefragmentAllDisksRequestType_Def not in ns0.DefragmentAllDisks_Dec.__bases__:
                bases = list(ns0.DefragmentAllDisks_Dec.__bases__)
                bases.insert(0, ns0.DefragmentAllDisksRequestType_Def)
                ns0.DefragmentAllDisks_Dec.__bases__ = tuple(bases)

            ns0.DefragmentAllDisksRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DefragmentAllDisks_Dec_Holder"

    class DefragmentAllDisksResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DefragmentAllDisksResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DefragmentAllDisksResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DefragmentAllDisksResponse")
            kw["aname"] = "_DefragmentAllDisksResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DefragmentAllDisksResponse_Holder"
            self.pyclass = Holder

    class CreateSecondaryVM_Task_Dec(ElementDeclaration):
        literal = "CreateSecondaryVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateSecondaryVM_Task")
            kw["aname"] = "_CreateSecondaryVM_Task"
            if ns0.CreateSecondaryVMRequestType_Def not in ns0.CreateSecondaryVM_Task_Dec.__bases__:
                bases = list(ns0.CreateSecondaryVM_Task_Dec.__bases__)
                bases.insert(0, ns0.CreateSecondaryVMRequestType_Def)
                ns0.CreateSecondaryVM_Task_Dec.__bases__ = tuple(bases)

            ns0.CreateSecondaryVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateSecondaryVM_Task_Dec_Holder"

    class CreateSecondaryVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateSecondaryVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateSecondaryVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateSecondaryVM_TaskResponse")
            kw["aname"] = "_CreateSecondaryVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateSecondaryVM_TaskResponse_Holder"
            self.pyclass = Holder

    class CreateSecondaryVMEx_Task_Dec(ElementDeclaration):
        literal = "CreateSecondaryVMEx_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateSecondaryVMEx_Task")
            kw["aname"] = "_CreateSecondaryVMEx_Task"
            if ns0.CreateSecondaryVMExRequestType_Def not in ns0.CreateSecondaryVMEx_Task_Dec.__bases__:
                bases = list(ns0.CreateSecondaryVMEx_Task_Dec.__bases__)
                bases.insert(0, ns0.CreateSecondaryVMExRequestType_Def)
                ns0.CreateSecondaryVMEx_Task_Dec.__bases__ = tuple(bases)

            ns0.CreateSecondaryVMExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateSecondaryVMEx_Task_Dec_Holder"

    class CreateSecondaryVMEx_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateSecondaryVMEx_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateSecondaryVMEx_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateSecondaryVMEx_TaskResponse")
            kw["aname"] = "_CreateSecondaryVMEx_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateSecondaryVMEx_TaskResponse_Holder"
            self.pyclass = Holder

    class TurnOffFaultToleranceForVM_Task_Dec(ElementDeclaration):
        literal = "TurnOffFaultToleranceForVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TurnOffFaultToleranceForVM_Task")
            kw["aname"] = "_TurnOffFaultToleranceForVM_Task"
            if ns0.TurnOffFaultToleranceForVMRequestType_Def not in ns0.TurnOffFaultToleranceForVM_Task_Dec.__bases__:
                bases = list(ns0.TurnOffFaultToleranceForVM_Task_Dec.__bases__)
                bases.insert(0, ns0.TurnOffFaultToleranceForVMRequestType_Def)
                ns0.TurnOffFaultToleranceForVM_Task_Dec.__bases__ = tuple(bases)

            ns0.TurnOffFaultToleranceForVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TurnOffFaultToleranceForVM_Task_Dec_Holder"

    class TurnOffFaultToleranceForVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "TurnOffFaultToleranceForVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.TurnOffFaultToleranceForVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","TurnOffFaultToleranceForVM_TaskResponse")
            kw["aname"] = "_TurnOffFaultToleranceForVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "TurnOffFaultToleranceForVM_TaskResponse_Holder"
            self.pyclass = Holder

    class MakePrimaryVM_Task_Dec(ElementDeclaration):
        literal = "MakePrimaryVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MakePrimaryVM_Task")
            kw["aname"] = "_MakePrimaryVM_Task"
            if ns0.MakePrimaryVMRequestType_Def not in ns0.MakePrimaryVM_Task_Dec.__bases__:
                bases = list(ns0.MakePrimaryVM_Task_Dec.__bases__)
                bases.insert(0, ns0.MakePrimaryVMRequestType_Def)
                ns0.MakePrimaryVM_Task_Dec.__bases__ = tuple(bases)

            ns0.MakePrimaryVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MakePrimaryVM_Task_Dec_Holder"

    class MakePrimaryVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MakePrimaryVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MakePrimaryVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","MakePrimaryVM_TaskResponse")
            kw["aname"] = "_MakePrimaryVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "MakePrimaryVM_TaskResponse_Holder"
            self.pyclass = Holder

    class TerminateFaultTolerantVM_Task_Dec(ElementDeclaration):
        literal = "TerminateFaultTolerantVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TerminateFaultTolerantVM_Task")
            kw["aname"] = "_TerminateFaultTolerantVM_Task"
            if ns0.TerminateFaultTolerantVMRequestType_Def not in ns0.TerminateFaultTolerantVM_Task_Dec.__bases__:
                bases = list(ns0.TerminateFaultTolerantVM_Task_Dec.__bases__)
                bases.insert(0, ns0.TerminateFaultTolerantVMRequestType_Def)
                ns0.TerminateFaultTolerantVM_Task_Dec.__bases__ = tuple(bases)

            ns0.TerminateFaultTolerantVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TerminateFaultTolerantVM_Task_Dec_Holder"

    class TerminateFaultTolerantVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "TerminateFaultTolerantVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.TerminateFaultTolerantVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","TerminateFaultTolerantVM_TaskResponse")
            kw["aname"] = "_TerminateFaultTolerantVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "TerminateFaultTolerantVM_TaskResponse_Holder"
            self.pyclass = Holder

    class DisableSecondaryVM_Task_Dec(ElementDeclaration):
        literal = "DisableSecondaryVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DisableSecondaryVM_Task")
            kw["aname"] = "_DisableSecondaryVM_Task"
            if ns0.DisableSecondaryVMRequestType_Def not in ns0.DisableSecondaryVM_Task_Dec.__bases__:
                bases = list(ns0.DisableSecondaryVM_Task_Dec.__bases__)
                bases.insert(0, ns0.DisableSecondaryVMRequestType_Def)
                ns0.DisableSecondaryVM_Task_Dec.__bases__ = tuple(bases)

            ns0.DisableSecondaryVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DisableSecondaryVM_Task_Dec_Holder"

    class DisableSecondaryVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DisableSecondaryVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DisableSecondaryVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DisableSecondaryVM_TaskResponse")
            kw["aname"] = "_DisableSecondaryVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DisableSecondaryVM_TaskResponse_Holder"
            self.pyclass = Holder

    class EnableSecondaryVM_Task_Dec(ElementDeclaration):
        literal = "EnableSecondaryVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EnableSecondaryVM_Task")
            kw["aname"] = "_EnableSecondaryVM_Task"
            if ns0.EnableSecondaryVMRequestType_Def not in ns0.EnableSecondaryVM_Task_Dec.__bases__:
                bases = list(ns0.EnableSecondaryVM_Task_Dec.__bases__)
                bases.insert(0, ns0.EnableSecondaryVMRequestType_Def)
                ns0.EnableSecondaryVM_Task_Dec.__bases__ = tuple(bases)

            ns0.EnableSecondaryVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EnableSecondaryVM_Task_Dec_Holder"

    class EnableSecondaryVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EnableSecondaryVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EnableSecondaryVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","EnableSecondaryVM_TaskResponse")
            kw["aname"] = "_EnableSecondaryVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "EnableSecondaryVM_TaskResponse_Holder"
            self.pyclass = Holder

    class SetDisplayTopology_Dec(ElementDeclaration):
        literal = "SetDisplayTopology"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetDisplayTopology")
            kw["aname"] = "_SetDisplayTopology"
            if ns0.SetDisplayTopologyRequestType_Def not in ns0.SetDisplayTopology_Dec.__bases__:
                bases = list(ns0.SetDisplayTopology_Dec.__bases__)
                bases.insert(0, ns0.SetDisplayTopologyRequestType_Def)
                ns0.SetDisplayTopology_Dec.__bases__ = tuple(bases)

            ns0.SetDisplayTopologyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetDisplayTopology_Dec_Holder"

    class SetDisplayTopologyResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetDisplayTopologyResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetDisplayTopologyResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetDisplayTopologyResponse")
            kw["aname"] = "_SetDisplayTopologyResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetDisplayTopologyResponse_Holder"
            self.pyclass = Holder

    class StartRecording_Task_Dec(ElementDeclaration):
        literal = "StartRecording_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StartRecording_Task")
            kw["aname"] = "_StartRecording_Task"
            if ns0.StartRecordingRequestType_Def not in ns0.StartRecording_Task_Dec.__bases__:
                bases = list(ns0.StartRecording_Task_Dec.__bases__)
                bases.insert(0, ns0.StartRecordingRequestType_Def)
                ns0.StartRecording_Task_Dec.__bases__ = tuple(bases)

            ns0.StartRecordingRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StartRecording_Task_Dec_Holder"

    class StartRecording_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "StartRecording_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.StartRecording_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","StartRecording_TaskResponse")
            kw["aname"] = "_StartRecording_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "StartRecording_TaskResponse_Holder"
            self.pyclass = Holder

    class StopRecording_Task_Dec(ElementDeclaration):
        literal = "StopRecording_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StopRecording_Task")
            kw["aname"] = "_StopRecording_Task"
            if ns0.StopRecordingRequestType_Def not in ns0.StopRecording_Task_Dec.__bases__:
                bases = list(ns0.StopRecording_Task_Dec.__bases__)
                bases.insert(0, ns0.StopRecordingRequestType_Def)
                ns0.StopRecording_Task_Dec.__bases__ = tuple(bases)

            ns0.StopRecordingRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StopRecording_Task_Dec_Holder"

    class StopRecording_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "StopRecording_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.StopRecording_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","StopRecording_TaskResponse")
            kw["aname"] = "_StopRecording_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "StopRecording_TaskResponse_Holder"
            self.pyclass = Holder

    class StartReplaying_Task_Dec(ElementDeclaration):
        literal = "StartReplaying_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StartReplaying_Task")
            kw["aname"] = "_StartReplaying_Task"
            if ns0.StartReplayingRequestType_Def not in ns0.StartReplaying_Task_Dec.__bases__:
                bases = list(ns0.StartReplaying_Task_Dec.__bases__)
                bases.insert(0, ns0.StartReplayingRequestType_Def)
                ns0.StartReplaying_Task_Dec.__bases__ = tuple(bases)

            ns0.StartReplayingRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StartReplaying_Task_Dec_Holder"

    class StartReplaying_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "StartReplaying_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.StartReplaying_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","StartReplaying_TaskResponse")
            kw["aname"] = "_StartReplaying_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "StartReplaying_TaskResponse_Holder"
            self.pyclass = Holder

    class StopReplaying_Task_Dec(ElementDeclaration):
        literal = "StopReplaying_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StopReplaying_Task")
            kw["aname"] = "_StopReplaying_Task"
            if ns0.StopReplayingRequestType_Def not in ns0.StopReplaying_Task_Dec.__bases__:
                bases = list(ns0.StopReplaying_Task_Dec.__bases__)
                bases.insert(0, ns0.StopReplayingRequestType_Def)
                ns0.StopReplaying_Task_Dec.__bases__ = tuple(bases)

            ns0.StopReplayingRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StopReplaying_Task_Dec_Holder"

    class StopReplaying_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "StopReplaying_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.StopReplaying_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","StopReplaying_TaskResponse")
            kw["aname"] = "_StopReplaying_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "StopReplaying_TaskResponse_Holder"
            self.pyclass = Holder

    class PromoteDisks_Task_Dec(ElementDeclaration):
        literal = "PromoteDisks_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PromoteDisks_Task")
            kw["aname"] = "_PromoteDisks_Task"
            if ns0.PromoteDisksRequestType_Def not in ns0.PromoteDisks_Task_Dec.__bases__:
                bases = list(ns0.PromoteDisks_Task_Dec.__bases__)
                bases.insert(0, ns0.PromoteDisksRequestType_Def)
                ns0.PromoteDisks_Task_Dec.__bases__ = tuple(bases)

            ns0.PromoteDisksRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PromoteDisks_Task_Dec_Holder"

    class PromoteDisks_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PromoteDisks_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PromoteDisks_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","PromoteDisks_TaskResponse")
            kw["aname"] = "_PromoteDisks_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "PromoteDisks_TaskResponse_Holder"
            self.pyclass = Holder

    class CreateScreenshot_Task_Dec(ElementDeclaration):
        literal = "CreateScreenshot_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateScreenshot_Task")
            kw["aname"] = "_CreateScreenshot_Task"
            if ns0.CreateScreenshotRequestType_Def not in ns0.CreateScreenshot_Task_Dec.__bases__:
                bases = list(ns0.CreateScreenshot_Task_Dec.__bases__)
                bases.insert(0, ns0.CreateScreenshotRequestType_Def)
                ns0.CreateScreenshot_Task_Dec.__bases__ = tuple(bases)

            ns0.CreateScreenshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateScreenshot_Task_Dec_Holder"

    class CreateScreenshot_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateScreenshot_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateScreenshot_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateScreenshot_TaskResponse")
            kw["aname"] = "_CreateScreenshot_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateScreenshot_TaskResponse_Holder"
            self.pyclass = Holder

    class PutUsbScanCodes_Dec(ElementDeclaration):
        literal = "PutUsbScanCodes"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PutUsbScanCodes")
            kw["aname"] = "_PutUsbScanCodes"
            if ns0.PutUsbScanCodesRequestType_Def not in ns0.PutUsbScanCodes_Dec.__bases__:
                bases = list(ns0.PutUsbScanCodes_Dec.__bases__)
                bases.insert(0, ns0.PutUsbScanCodesRequestType_Def)
                ns0.PutUsbScanCodes_Dec.__bases__ = tuple(bases)

            ns0.PutUsbScanCodesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PutUsbScanCodes_Dec_Holder"

    class PutUsbScanCodesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PutUsbScanCodesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PutUsbScanCodesResponse_Dec.schema
            TClist = [pysphere.ZSI.TCnumbers.Iint(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","PutUsbScanCodesResponse")
            kw["aname"] = "_PutUsbScanCodesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "PutUsbScanCodesResponse_Holder"
            self.pyclass = Holder

    class QueryChangedDiskAreas_Dec(ElementDeclaration):
        literal = "QueryChangedDiskAreas"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryChangedDiskAreas")
            kw["aname"] = "_QueryChangedDiskAreas"
            if ns0.QueryChangedDiskAreasRequestType_Def not in ns0.QueryChangedDiskAreas_Dec.__bases__:
                bases = list(ns0.QueryChangedDiskAreas_Dec.__bases__)
                bases.insert(0, ns0.QueryChangedDiskAreasRequestType_Def)
                ns0.QueryChangedDiskAreas_Dec.__bases__ = tuple(bases)

            ns0.QueryChangedDiskAreasRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryChangedDiskAreas_Dec_Holder"

    class QueryChangedDiskAreasResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryChangedDiskAreasResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryChangedDiskAreasResponse_Dec.schema
            TClist = [GTD("urn:vim25","DiskChangeInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryChangedDiskAreasResponse")
            kw["aname"] = "_QueryChangedDiskAreasResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryChangedDiskAreasResponse_Holder"
            self.pyclass = Holder

    class QueryUnownedFiles_Dec(ElementDeclaration):
        literal = "QueryUnownedFiles"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryUnownedFiles")
            kw["aname"] = "_QueryUnownedFiles"
            if ns0.QueryUnownedFilesRequestType_Def not in ns0.QueryUnownedFiles_Dec.__bases__:
                bases = list(ns0.QueryUnownedFiles_Dec.__bases__)
                bases.insert(0, ns0.QueryUnownedFilesRequestType_Def)
                ns0.QueryUnownedFiles_Dec.__bases__ = tuple(bases)

            ns0.QueryUnownedFilesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryUnownedFiles_Dec_Holder"

    class QueryUnownedFilesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryUnownedFilesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryUnownedFilesResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryUnownedFilesResponse")
            kw["aname"] = "_QueryUnownedFilesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryUnownedFilesResponse_Holder"
            self.pyclass = Holder

    class reloadVirtualMachineFromPath_Task_Dec(ElementDeclaration):
        literal = "reloadVirtualMachineFromPath_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","reloadVirtualMachineFromPath_Task")
            kw["aname"] = "_reloadVirtualMachineFromPath_Task"
            if ns0.reloadVirtualMachineFromPathRequestType_Def not in ns0.reloadVirtualMachineFromPath_Task_Dec.__bases__:
                bases = list(ns0.reloadVirtualMachineFromPath_Task_Dec.__bases__)
                bases.insert(0, ns0.reloadVirtualMachineFromPathRequestType_Def)
                ns0.reloadVirtualMachineFromPath_Task_Dec.__bases__ = tuple(bases)

            ns0.reloadVirtualMachineFromPathRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "reloadVirtualMachineFromPath_Task_Dec_Holder"

    class reloadVirtualMachineFromPath_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "reloadVirtualMachineFromPath_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.reloadVirtualMachineFromPath_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","reloadVirtualMachineFromPath_TaskResponse")
            kw["aname"] = "_reloadVirtualMachineFromPath_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "reloadVirtualMachineFromPath_TaskResponse_Holder"
            self.pyclass = Holder

    class QueryFaultToleranceCompatibility_Dec(ElementDeclaration):
        literal = "QueryFaultToleranceCompatibility"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryFaultToleranceCompatibility")
            kw["aname"] = "_QueryFaultToleranceCompatibility"
            if ns0.QueryFaultToleranceCompatibilityRequestType_Def not in ns0.QueryFaultToleranceCompatibility_Dec.__bases__:
                bases = list(ns0.QueryFaultToleranceCompatibility_Dec.__bases__)
                bases.insert(0, ns0.QueryFaultToleranceCompatibilityRequestType_Def)
                ns0.QueryFaultToleranceCompatibility_Dec.__bases__ = tuple(bases)

            ns0.QueryFaultToleranceCompatibilityRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryFaultToleranceCompatibility_Dec_Holder"

    class QueryFaultToleranceCompatibilityResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryFaultToleranceCompatibilityResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryFaultToleranceCompatibilityResponse_Dec.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryFaultToleranceCompatibilityResponse")
            kw["aname"] = "_QueryFaultToleranceCompatibilityResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryFaultToleranceCompatibilityResponse_Holder"
            self.pyclass = Holder

    class QueryFaultToleranceCompatibilityEx_Dec(ElementDeclaration):
        literal = "QueryFaultToleranceCompatibilityEx"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryFaultToleranceCompatibilityEx")
            kw["aname"] = "_QueryFaultToleranceCompatibilityEx"
            if ns0.QueryFaultToleranceCompatibilityExRequestType_Def not in ns0.QueryFaultToleranceCompatibilityEx_Dec.__bases__:
                bases = list(ns0.QueryFaultToleranceCompatibilityEx_Dec.__bases__)
                bases.insert(0, ns0.QueryFaultToleranceCompatibilityExRequestType_Def)
                ns0.QueryFaultToleranceCompatibilityEx_Dec.__bases__ = tuple(bases)

            ns0.QueryFaultToleranceCompatibilityExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryFaultToleranceCompatibilityEx_Dec_Holder"

    class QueryFaultToleranceCompatibilityExResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryFaultToleranceCompatibilityExResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryFaultToleranceCompatibilityExResponse_Dec.schema
            TClist = [GTD("urn:vim25","LocalizedMethodFault",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryFaultToleranceCompatibilityExResponse")
            kw["aname"] = "_QueryFaultToleranceCompatibilityExResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryFaultToleranceCompatibilityExResponse_Holder"
            self.pyclass = Holder

    class TerminateVM_Dec(ElementDeclaration):
        literal = "TerminateVM"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TerminateVM")
            kw["aname"] = "_TerminateVM"
            if ns0.TerminateVMRequestType_Def not in ns0.TerminateVM_Dec.__bases__:
                bases = list(ns0.TerminateVM_Dec.__bases__)
                bases.insert(0, ns0.TerminateVMRequestType_Def)
                ns0.TerminateVM_Dec.__bases__ = tuple(bases)

            ns0.TerminateVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TerminateVM_Dec_Holder"

    class TerminateVMResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "TerminateVMResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.TerminateVMResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","TerminateVMResponse")
            kw["aname"] = "_TerminateVMResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "TerminateVMResponse_Holder"
            self.pyclass = Holder

    class SendNMI_Dec(ElementDeclaration):
        literal = "SendNMI"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SendNMI")
            kw["aname"] = "_SendNMI"
            if ns0.SendNMIRequestType_Def not in ns0.SendNMI_Dec.__bases__:
                bases = list(ns0.SendNMI_Dec.__bases__)
                bases.insert(0, ns0.SendNMIRequestType_Def)
                ns0.SendNMI_Dec.__bases__ = tuple(bases)

            ns0.SendNMIRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SendNMI_Dec_Holder"

    class SendNMIResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SendNMIResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SendNMIResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SendNMIResponse")
            kw["aname"] = "_SendNMIResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SendNMIResponse_Holder"
            self.pyclass = Holder

    class AttachDisk_Task_Dec(ElementDeclaration):
        literal = "AttachDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AttachDisk_Task")
            kw["aname"] = "_AttachDisk_Task"
            if ns0.AttachDiskRequestType_Def not in ns0.AttachDisk_Task_Dec.__bases__:
                bases = list(ns0.AttachDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.AttachDiskRequestType_Def)
                ns0.AttachDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.AttachDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AttachDisk_Task_Dec_Holder"

    class AttachDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AttachDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AttachDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AttachDisk_TaskResponse")
            kw["aname"] = "_AttachDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AttachDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class DetachDisk_Task_Dec(ElementDeclaration):
        literal = "DetachDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DetachDisk_Task")
            kw["aname"] = "_DetachDisk_Task"
            if ns0.DetachDiskRequestType_Def not in ns0.DetachDisk_Task_Dec.__bases__:
                bases = list(ns0.DetachDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.DetachDiskRequestType_Def)
                ns0.DetachDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.DetachDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DetachDisk_Task_Dec_Holder"

    class DetachDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DetachDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DetachDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DetachDisk_TaskResponse")
            kw["aname"] = "_DetachDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DetachDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class ApplyEvcModeVM_Task_Dec(ElementDeclaration):
        literal = "ApplyEvcModeVM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ApplyEvcModeVM_Task")
            kw["aname"] = "_ApplyEvcModeVM_Task"
            if ns0.ApplyEvcModeVMRequestType_Def not in ns0.ApplyEvcModeVM_Task_Dec.__bases__:
                bases = list(ns0.ApplyEvcModeVM_Task_Dec.__bases__)
                bases.insert(0, ns0.ApplyEvcModeVMRequestType_Def)
                ns0.ApplyEvcModeVM_Task_Dec.__bases__ = tuple(bases)

            ns0.ApplyEvcModeVMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ApplyEvcModeVM_Task_Dec_Holder"

    class ApplyEvcModeVM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ApplyEvcModeVM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ApplyEvcModeVM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ApplyEvcModeVM_TaskResponse")
            kw["aname"] = "_ApplyEvcModeVM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ApplyEvcModeVM_TaskResponse_Holder"
            self.pyclass = Holder

    class CryptoUnlock_Task_Dec(ElementDeclaration):
        literal = "CryptoUnlock_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CryptoUnlock_Task")
            kw["aname"] = "_CryptoUnlock_Task"
            if ns0.CryptoUnlockRequestType_Def not in ns0.CryptoUnlock_Task_Dec.__bases__:
                bases = list(ns0.CryptoUnlock_Task_Dec.__bases__)
                bases.insert(0, ns0.CryptoUnlockRequestType_Def)
                ns0.CryptoUnlock_Task_Dec.__bases__ = tuple(bases)

            ns0.CryptoUnlockRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CryptoUnlock_Task_Dec_Holder"

    class CryptoUnlock_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CryptoUnlock_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CryptoUnlock_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CryptoUnlock_TaskResponse")
            kw["aname"] = "_CryptoUnlock_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CryptoUnlock_TaskResponse_Holder"
            self.pyclass = Holder

    class PerformVsanUpgradePreflightCheck_Dec(ElementDeclaration):
        literal = "PerformVsanUpgradePreflightCheck"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PerformVsanUpgradePreflightCheck")
            kw["aname"] = "_PerformVsanUpgradePreflightCheck"
            if ns0.PerformVsanUpgradePreflightCheckRequestType_Def not in ns0.PerformVsanUpgradePreflightCheck_Dec.__bases__:
                bases = list(ns0.PerformVsanUpgradePreflightCheck_Dec.__bases__)
                bases.insert(0, ns0.PerformVsanUpgradePreflightCheckRequestType_Def)
                ns0.PerformVsanUpgradePreflightCheck_Dec.__bases__ = tuple(bases)

            ns0.PerformVsanUpgradePreflightCheckRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PerformVsanUpgradePreflightCheck_Dec_Holder"

    class PerformVsanUpgradePreflightCheckResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PerformVsanUpgradePreflightCheckResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PerformVsanUpgradePreflightCheckResponse_Dec.schema
            TClist = [GTD("urn:vim25","VsanUpgradeSystemPreflightCheckResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","PerformVsanUpgradePreflightCheckResponse")
            kw["aname"] = "_PerformVsanUpgradePreflightCheckResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "PerformVsanUpgradePreflightCheckResponse_Holder"
            self.pyclass = Holder

    class QueryVsanUpgradeStatus_Dec(ElementDeclaration):
        literal = "QueryVsanUpgradeStatus"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryVsanUpgradeStatus")
            kw["aname"] = "_QueryVsanUpgradeStatus"
            if ns0.QueryVsanUpgradeStatusRequestType_Def not in ns0.QueryVsanUpgradeStatus_Dec.__bases__:
                bases = list(ns0.QueryVsanUpgradeStatus_Dec.__bases__)
                bases.insert(0, ns0.QueryVsanUpgradeStatusRequestType_Def)
                ns0.QueryVsanUpgradeStatus_Dec.__bases__ = tuple(bases)

            ns0.QueryVsanUpgradeStatusRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryVsanUpgradeStatus_Dec_Holder"

    class QueryVsanUpgradeStatusResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryVsanUpgradeStatusResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryVsanUpgradeStatusResponse_Dec.schema
            TClist = [GTD("urn:vim25","VsanUpgradeSystemUpgradeStatus",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryVsanUpgradeStatusResponse")
            kw["aname"] = "_QueryVsanUpgradeStatusResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryVsanUpgradeStatusResponse_Holder"
            self.pyclass = Holder

    class PerformVsanUpgrade_Task_Dec(ElementDeclaration):
        literal = "PerformVsanUpgrade_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PerformVsanUpgrade_Task")
            kw["aname"] = "_PerformVsanUpgrade_Task"
            if ns0.PerformVsanUpgradeRequestType_Def not in ns0.PerformVsanUpgrade_Task_Dec.__bases__:
                bases = list(ns0.PerformVsanUpgrade_Task_Dec.__bases__)
                bases.insert(0, ns0.PerformVsanUpgradeRequestType_Def)
                ns0.PerformVsanUpgrade_Task_Dec.__bases__ = tuple(bases)

            ns0.PerformVsanUpgradeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PerformVsanUpgrade_Task_Dec_Holder"

    class PerformVsanUpgrade_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PerformVsanUpgrade_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PerformVsanUpgrade_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","PerformVsanUpgrade_TaskResponse")
            kw["aname"] = "_PerformVsanUpgrade_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "PerformVsanUpgrade_TaskResponse_Holder"
            self.pyclass = Holder

    class RemoveAlarm_Dec(ElementDeclaration):
        literal = "RemoveAlarm"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveAlarm")
            kw["aname"] = "_RemoveAlarm"
            if ns0.RemoveAlarmRequestType_Def not in ns0.RemoveAlarm_Dec.__bases__:
                bases = list(ns0.RemoveAlarm_Dec.__bases__)
                bases.insert(0, ns0.RemoveAlarmRequestType_Def)
                ns0.RemoveAlarm_Dec.__bases__ = tuple(bases)

            ns0.RemoveAlarmRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveAlarm_Dec_Holder"

    class RemoveAlarmResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveAlarmResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveAlarmResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveAlarmResponse")
            kw["aname"] = "_RemoveAlarmResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveAlarmResponse_Holder"
            self.pyclass = Holder

    class ReconfigureAlarm_Dec(ElementDeclaration):
        literal = "ReconfigureAlarm"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigureAlarm")
            kw["aname"] = "_ReconfigureAlarm"
            if ns0.ReconfigureAlarmRequestType_Def not in ns0.ReconfigureAlarm_Dec.__bases__:
                bases = list(ns0.ReconfigureAlarm_Dec.__bases__)
                bases.insert(0, ns0.ReconfigureAlarmRequestType_Def)
                ns0.ReconfigureAlarm_Dec.__bases__ = tuple(bases)

            ns0.ReconfigureAlarmRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigureAlarm_Dec_Holder"

    class ReconfigureAlarmResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigureAlarmResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigureAlarmResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ReconfigureAlarmResponse")
            kw["aname"] = "_ReconfigureAlarmResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ReconfigureAlarmResponse_Holder"
            self.pyclass = Holder

    class CreateAlarm_Dec(ElementDeclaration):
        literal = "CreateAlarm"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateAlarm")
            kw["aname"] = "_CreateAlarm"
            if ns0.CreateAlarmRequestType_Def not in ns0.CreateAlarm_Dec.__bases__:
                bases = list(ns0.CreateAlarm_Dec.__bases__)
                bases.insert(0, ns0.CreateAlarmRequestType_Def)
                ns0.CreateAlarm_Dec.__bases__ = tuple(bases)

            ns0.CreateAlarmRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateAlarm_Dec_Holder"

    class CreateAlarmResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateAlarmResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateAlarmResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateAlarmResponse")
            kw["aname"] = "_CreateAlarmResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateAlarmResponse_Holder"
            self.pyclass = Holder

    class GetAlarm_Dec(ElementDeclaration):
        literal = "GetAlarm"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GetAlarm")
            kw["aname"] = "_GetAlarm"
            if ns0.GetAlarmRequestType_Def not in ns0.GetAlarm_Dec.__bases__:
                bases = list(ns0.GetAlarm_Dec.__bases__)
                bases.insert(0, ns0.GetAlarmRequestType_Def)
                ns0.GetAlarm_Dec.__bases__ = tuple(bases)

            ns0.GetAlarmRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GetAlarm_Dec_Holder"

    class GetAlarmResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GetAlarmResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GetAlarmResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GetAlarmResponse")
            kw["aname"] = "_GetAlarmResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "GetAlarmResponse_Holder"
            self.pyclass = Holder

    class AreAlarmActionsEnabled_Dec(ElementDeclaration):
        literal = "AreAlarmActionsEnabled"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AreAlarmActionsEnabled")
            kw["aname"] = "_AreAlarmActionsEnabled"
            if ns0.AreAlarmActionsEnabledRequestType_Def not in ns0.AreAlarmActionsEnabled_Dec.__bases__:
                bases = list(ns0.AreAlarmActionsEnabled_Dec.__bases__)
                bases.insert(0, ns0.AreAlarmActionsEnabledRequestType_Def)
                ns0.AreAlarmActionsEnabled_Dec.__bases__ = tuple(bases)

            ns0.AreAlarmActionsEnabledRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AreAlarmActionsEnabled_Dec_Holder"

    class AreAlarmActionsEnabledResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AreAlarmActionsEnabledResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AreAlarmActionsEnabledResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AreAlarmActionsEnabledResponse")
            kw["aname"] = "_AreAlarmActionsEnabledResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AreAlarmActionsEnabledResponse_Holder"
            self.pyclass = Holder

    class EnableAlarmActions_Dec(ElementDeclaration):
        literal = "EnableAlarmActions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EnableAlarmActions")
            kw["aname"] = "_EnableAlarmActions"
            if ns0.EnableAlarmActionsRequestType_Def not in ns0.EnableAlarmActions_Dec.__bases__:
                bases = list(ns0.EnableAlarmActions_Dec.__bases__)
                bases.insert(0, ns0.EnableAlarmActionsRequestType_Def)
                ns0.EnableAlarmActions_Dec.__bases__ = tuple(bases)

            ns0.EnableAlarmActionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EnableAlarmActions_Dec_Holder"

    class EnableAlarmActionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EnableAlarmActionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EnableAlarmActionsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","EnableAlarmActionsResponse")
            kw["aname"] = "_EnableAlarmActionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "EnableAlarmActionsResponse_Holder"
            self.pyclass = Holder

    class GetAlarmState_Dec(ElementDeclaration):
        literal = "GetAlarmState"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GetAlarmState")
            kw["aname"] = "_GetAlarmState"
            if ns0.GetAlarmStateRequestType_Def not in ns0.GetAlarmState_Dec.__bases__:
                bases = list(ns0.GetAlarmState_Dec.__bases__)
                bases.insert(0, ns0.GetAlarmStateRequestType_Def)
                ns0.GetAlarmState_Dec.__bases__ = tuple(bases)

            ns0.GetAlarmStateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GetAlarmState_Dec_Holder"

    class GetAlarmStateResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GetAlarmStateResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GetAlarmStateResponse_Dec.schema
            TClist = [GTD("urn:vim25","AlarmState",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GetAlarmStateResponse")
            kw["aname"] = "_GetAlarmStateResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "GetAlarmStateResponse_Holder"
            self.pyclass = Holder

    class AcknowledgeAlarm_Dec(ElementDeclaration):
        literal = "AcknowledgeAlarm"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AcknowledgeAlarm")
            kw["aname"] = "_AcknowledgeAlarm"
            if ns0.AcknowledgeAlarmRequestType_Def not in ns0.AcknowledgeAlarm_Dec.__bases__:
                bases = list(ns0.AcknowledgeAlarm_Dec.__bases__)
                bases.insert(0, ns0.AcknowledgeAlarmRequestType_Def)
                ns0.AcknowledgeAlarm_Dec.__bases__ = tuple(bases)

            ns0.AcknowledgeAlarmRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AcknowledgeAlarm_Dec_Holder"

    class AcknowledgeAlarmResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AcknowledgeAlarmResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AcknowledgeAlarmResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AcknowledgeAlarmResponse")
            kw["aname"] = "_AcknowledgeAlarmResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AcknowledgeAlarmResponse_Holder"
            self.pyclass = Holder

    class ClearTriggeredAlarms_Dec(ElementDeclaration):
        literal = "ClearTriggeredAlarms"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ClearTriggeredAlarms")
            kw["aname"] = "_ClearTriggeredAlarms"
            if ns0.ClearTriggeredAlarmsRequestType_Def not in ns0.ClearTriggeredAlarms_Dec.__bases__:
                bases = list(ns0.ClearTriggeredAlarms_Dec.__bases__)
                bases.insert(0, ns0.ClearTriggeredAlarmsRequestType_Def)
                ns0.ClearTriggeredAlarms_Dec.__bases__ = tuple(bases)

            ns0.ClearTriggeredAlarmsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ClearTriggeredAlarms_Dec_Holder"

    class ClearTriggeredAlarmsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ClearTriggeredAlarmsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ClearTriggeredAlarmsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ClearTriggeredAlarmsResponse")
            kw["aname"] = "_ClearTriggeredAlarmsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ClearTriggeredAlarmsResponse_Holder"
            self.pyclass = Holder

    class ConfigureEvcMode_Task_Dec(ElementDeclaration):
        literal = "ConfigureEvcMode_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConfigureEvcMode_Task")
            kw["aname"] = "_ConfigureEvcMode_Task"
            if ns0.ConfigureEvcModeRequestType_Def not in ns0.ConfigureEvcMode_Task_Dec.__bases__:
                bases = list(ns0.ConfigureEvcMode_Task_Dec.__bases__)
                bases.insert(0, ns0.ConfigureEvcModeRequestType_Def)
                ns0.ConfigureEvcMode_Task_Dec.__bases__ = tuple(bases)

            ns0.ConfigureEvcModeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConfigureEvcMode_Task_Dec_Holder"

    class ConfigureEvcMode_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ConfigureEvcMode_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ConfigureEvcMode_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ConfigureEvcMode_TaskResponse")
            kw["aname"] = "_ConfigureEvcMode_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ConfigureEvcMode_TaskResponse_Holder"
            self.pyclass = Holder

    class DisableEvcMode_Task_Dec(ElementDeclaration):
        literal = "DisableEvcMode_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DisableEvcMode_Task")
            kw["aname"] = "_DisableEvcMode_Task"
            if ns0.DisableEvcModeRequestType_Def not in ns0.DisableEvcMode_Task_Dec.__bases__:
                bases = list(ns0.DisableEvcMode_Task_Dec.__bases__)
                bases.insert(0, ns0.DisableEvcModeRequestType_Def)
                ns0.DisableEvcMode_Task_Dec.__bases__ = tuple(bases)

            ns0.DisableEvcModeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DisableEvcMode_Task_Dec_Holder"

    class DisableEvcMode_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DisableEvcMode_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DisableEvcMode_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DisableEvcMode_TaskResponse")
            kw["aname"] = "_DisableEvcMode_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DisableEvcMode_TaskResponse_Holder"
            self.pyclass = Holder

    class CheckConfigureEvcMode_Task_Dec(ElementDeclaration):
        literal = "CheckConfigureEvcMode_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckConfigureEvcMode_Task")
            kw["aname"] = "_CheckConfigureEvcMode_Task"
            if ns0.CheckConfigureEvcModeRequestType_Def not in ns0.CheckConfigureEvcMode_Task_Dec.__bases__:
                bases = list(ns0.CheckConfigureEvcMode_Task_Dec.__bases__)
                bases.insert(0, ns0.CheckConfigureEvcModeRequestType_Def)
                ns0.CheckConfigureEvcMode_Task_Dec.__bases__ = tuple(bases)

            ns0.CheckConfigureEvcModeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckConfigureEvcMode_Task_Dec_Holder"

    class CheckConfigureEvcMode_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckConfigureEvcMode_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckConfigureEvcMode_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckConfigureEvcMode_TaskResponse")
            kw["aname"] = "_CheckConfigureEvcMode_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckConfigureEvcMode_TaskResponse_Holder"
            self.pyclass = Holder

    class CheckAddHostEvc_Task_Dec(ElementDeclaration):
        literal = "CheckAddHostEvc_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckAddHostEvc_Task")
            kw["aname"] = "_CheckAddHostEvc_Task"
            if ns0.CheckAddHostEvcRequestType_Def not in ns0.CheckAddHostEvc_Task_Dec.__bases__:
                bases = list(ns0.CheckAddHostEvc_Task_Dec.__bases__)
                bases.insert(0, ns0.CheckAddHostEvcRequestType_Def)
                ns0.CheckAddHostEvc_Task_Dec.__bases__ = tuple(bases)

            ns0.CheckAddHostEvcRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckAddHostEvc_Task_Dec_Holder"

    class CheckAddHostEvc_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckAddHostEvc_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckAddHostEvc_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckAddHostEvc_TaskResponse")
            kw["aname"] = "_CheckAddHostEvc_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckAddHostEvc_TaskResponse_Holder"
            self.pyclass = Holder

    class ReconfigureDVPortgroup_Task_Dec(ElementDeclaration):
        literal = "ReconfigureDVPortgroup_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigureDVPortgroup_Task")
            kw["aname"] = "_ReconfigureDVPortgroup_Task"
            if ns0.ReconfigureDVPortgroupRequestType_Def not in ns0.ReconfigureDVPortgroup_Task_Dec.__bases__:
                bases = list(ns0.ReconfigureDVPortgroup_Task_Dec.__bases__)
                bases.insert(0, ns0.ReconfigureDVPortgroupRequestType_Def)
                ns0.ReconfigureDVPortgroup_Task_Dec.__bases__ = tuple(bases)

            ns0.ReconfigureDVPortgroupRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigureDVPortgroup_Task_Dec_Holder"

    class ReconfigureDVPortgroup_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigureDVPortgroup_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigureDVPortgroup_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReconfigureDVPortgroup_TaskResponse")
            kw["aname"] = "_ReconfigureDVPortgroup_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ReconfigureDVPortgroup_TaskResponse_Holder"
            self.pyclass = Holder

    class DVPortgroupRollback_Task_Dec(ElementDeclaration):
        literal = "DVPortgroupRollback_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DVPortgroupRollback_Task")
            kw["aname"] = "_DVPortgroupRollback_Task"
            if ns0.DVPortgroupRollbackRequestType_Def not in ns0.DVPortgroupRollback_Task_Dec.__bases__:
                bases = list(ns0.DVPortgroupRollback_Task_Dec.__bases__)
                bases.insert(0, ns0.DVPortgroupRollbackRequestType_Def)
                ns0.DVPortgroupRollback_Task_Dec.__bases__ = tuple(bases)

            ns0.DVPortgroupRollbackRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DVPortgroupRollback_Task_Dec_Holder"

    class DVPortgroupRollback_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DVPortgroupRollback_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DVPortgroupRollback_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DVPortgroupRollback_TaskResponse")
            kw["aname"] = "_DVPortgroupRollback_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DVPortgroupRollback_TaskResponse_Holder"
            self.pyclass = Holder

    class QueryAvailableDvsSpec_Dec(ElementDeclaration):
        literal = "QueryAvailableDvsSpec"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryAvailableDvsSpec")
            kw["aname"] = "_QueryAvailableDvsSpec"
            if ns0.QueryAvailableDvsSpecRequestType_Def not in ns0.QueryAvailableDvsSpec_Dec.__bases__:
                bases = list(ns0.QueryAvailableDvsSpec_Dec.__bases__)
                bases.insert(0, ns0.QueryAvailableDvsSpecRequestType_Def)
                ns0.QueryAvailableDvsSpec_Dec.__bases__ = tuple(bases)

            ns0.QueryAvailableDvsSpecRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryAvailableDvsSpec_Dec_Holder"

    class QueryAvailableDvsSpecResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryAvailableDvsSpecResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryAvailableDvsSpecResponse_Dec.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchProductSpec",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryAvailableDvsSpecResponse")
            kw["aname"] = "_QueryAvailableDvsSpecResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryAvailableDvsSpecResponse_Holder"
            self.pyclass = Holder

    class QueryCompatibleHostForNewDvs_Dec(ElementDeclaration):
        literal = "QueryCompatibleHostForNewDvs"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryCompatibleHostForNewDvs")
            kw["aname"] = "_QueryCompatibleHostForNewDvs"
            if ns0.QueryCompatibleHostForNewDvsRequestType_Def not in ns0.QueryCompatibleHostForNewDvs_Dec.__bases__:
                bases = list(ns0.QueryCompatibleHostForNewDvs_Dec.__bases__)
                bases.insert(0, ns0.QueryCompatibleHostForNewDvsRequestType_Def)
                ns0.QueryCompatibleHostForNewDvs_Dec.__bases__ = tuple(bases)

            ns0.QueryCompatibleHostForNewDvsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryCompatibleHostForNewDvs_Dec_Holder"

    class QueryCompatibleHostForNewDvsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryCompatibleHostForNewDvsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryCompatibleHostForNewDvsResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryCompatibleHostForNewDvsResponse")
            kw["aname"] = "_QueryCompatibleHostForNewDvsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryCompatibleHostForNewDvsResponse_Holder"
            self.pyclass = Holder

    class QueryCompatibleHostForExistingDvs_Dec(ElementDeclaration):
        literal = "QueryCompatibleHostForExistingDvs"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryCompatibleHostForExistingDvs")
            kw["aname"] = "_QueryCompatibleHostForExistingDvs"
            if ns0.QueryCompatibleHostForExistingDvsRequestType_Def not in ns0.QueryCompatibleHostForExistingDvs_Dec.__bases__:
                bases = list(ns0.QueryCompatibleHostForExistingDvs_Dec.__bases__)
                bases.insert(0, ns0.QueryCompatibleHostForExistingDvsRequestType_Def)
                ns0.QueryCompatibleHostForExistingDvs_Dec.__bases__ = tuple(bases)

            ns0.QueryCompatibleHostForExistingDvsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryCompatibleHostForExistingDvs_Dec_Holder"

    class QueryCompatibleHostForExistingDvsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryCompatibleHostForExistingDvsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryCompatibleHostForExistingDvsResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryCompatibleHostForExistingDvsResponse")
            kw["aname"] = "_QueryCompatibleHostForExistingDvsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryCompatibleHostForExistingDvsResponse_Holder"
            self.pyclass = Holder

    class QueryDvsCompatibleHostSpec_Dec(ElementDeclaration):
        literal = "QueryDvsCompatibleHostSpec"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryDvsCompatibleHostSpec")
            kw["aname"] = "_QueryDvsCompatibleHostSpec"
            if ns0.QueryDvsCompatibleHostSpecRequestType_Def not in ns0.QueryDvsCompatibleHostSpec_Dec.__bases__:
                bases = list(ns0.QueryDvsCompatibleHostSpec_Dec.__bases__)
                bases.insert(0, ns0.QueryDvsCompatibleHostSpecRequestType_Def)
                ns0.QueryDvsCompatibleHostSpec_Dec.__bases__ = tuple(bases)

            ns0.QueryDvsCompatibleHostSpecRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryDvsCompatibleHostSpec_Dec_Holder"

    class QueryDvsCompatibleHostSpecResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryDvsCompatibleHostSpecResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryDvsCompatibleHostSpecResponse_Dec.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchHostProductSpec",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryDvsCompatibleHostSpecResponse")
            kw["aname"] = "_QueryDvsCompatibleHostSpecResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryDvsCompatibleHostSpecResponse_Holder"
            self.pyclass = Holder

    class QueryDvsFeatureCapability_Dec(ElementDeclaration):
        literal = "QueryDvsFeatureCapability"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryDvsFeatureCapability")
            kw["aname"] = "_QueryDvsFeatureCapability"
            if ns0.QueryDvsFeatureCapabilityRequestType_Def not in ns0.QueryDvsFeatureCapability_Dec.__bases__:
                bases = list(ns0.QueryDvsFeatureCapability_Dec.__bases__)
                bases.insert(0, ns0.QueryDvsFeatureCapabilityRequestType_Def)
                ns0.QueryDvsFeatureCapability_Dec.__bases__ = tuple(bases)

            ns0.QueryDvsFeatureCapabilityRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryDvsFeatureCapability_Dec_Holder"

    class QueryDvsFeatureCapabilityResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryDvsFeatureCapabilityResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryDvsFeatureCapabilityResponse_Dec.schema
            TClist = [GTD("urn:vim25","DVSFeatureCapability",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryDvsFeatureCapabilityResponse")
            kw["aname"] = "_QueryDvsFeatureCapabilityResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryDvsFeatureCapabilityResponse_Holder"
            self.pyclass = Holder

    class QueryDvsByUuid_Dec(ElementDeclaration):
        literal = "QueryDvsByUuid"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryDvsByUuid")
            kw["aname"] = "_QueryDvsByUuid"
            if ns0.QueryDvsByUuidRequestType_Def not in ns0.QueryDvsByUuid_Dec.__bases__:
                bases = list(ns0.QueryDvsByUuid_Dec.__bases__)
                bases.insert(0, ns0.QueryDvsByUuidRequestType_Def)
                ns0.QueryDvsByUuid_Dec.__bases__ = tuple(bases)

            ns0.QueryDvsByUuidRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryDvsByUuid_Dec_Holder"

    class QueryDvsByUuidResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryDvsByUuidResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryDvsByUuidResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryDvsByUuidResponse")
            kw["aname"] = "_QueryDvsByUuidResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryDvsByUuidResponse_Holder"
            self.pyclass = Holder

    class QueryDvsConfigTarget_Dec(ElementDeclaration):
        literal = "QueryDvsConfigTarget"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryDvsConfigTarget")
            kw["aname"] = "_QueryDvsConfigTarget"
            if ns0.QueryDvsConfigTargetRequestType_Def not in ns0.QueryDvsConfigTarget_Dec.__bases__:
                bases = list(ns0.QueryDvsConfigTarget_Dec.__bases__)
                bases.insert(0, ns0.QueryDvsConfigTargetRequestType_Def)
                ns0.QueryDvsConfigTarget_Dec.__bases__ = tuple(bases)

            ns0.QueryDvsConfigTargetRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryDvsConfigTarget_Dec_Holder"

    class QueryDvsConfigTargetResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryDvsConfigTargetResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryDvsConfigTargetResponse_Dec.schema
            TClist = [GTD("urn:vim25","DVSManagerDvsConfigTarget",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryDvsConfigTargetResponse")
            kw["aname"] = "_QueryDvsConfigTargetResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryDvsConfigTargetResponse_Holder"
            self.pyclass = Holder

    class QueryDvsCheckCompatibility_Dec(ElementDeclaration):
        literal = "QueryDvsCheckCompatibility"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryDvsCheckCompatibility")
            kw["aname"] = "_QueryDvsCheckCompatibility"
            if ns0.QueryDvsCheckCompatibilityRequestType_Def not in ns0.QueryDvsCheckCompatibility_Dec.__bases__:
                bases = list(ns0.QueryDvsCheckCompatibility_Dec.__bases__)
                bases.insert(0, ns0.QueryDvsCheckCompatibilityRequestType_Def)
                ns0.QueryDvsCheckCompatibility_Dec.__bases__ = tuple(bases)

            ns0.QueryDvsCheckCompatibilityRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryDvsCheckCompatibility_Dec_Holder"

    class QueryDvsCheckCompatibilityResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryDvsCheckCompatibilityResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryDvsCheckCompatibilityResponse_Dec.schema
            TClist = [GTD("urn:vim25","DistributedVirtualSwitchManagerCompatibilityResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryDvsCheckCompatibilityResponse")
            kw["aname"] = "_QueryDvsCheckCompatibilityResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryDvsCheckCompatibilityResponse_Holder"
            self.pyclass = Holder

    class RectifyDvsOnHost_Task_Dec(ElementDeclaration):
        literal = "RectifyDvsOnHost_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RectifyDvsOnHost_Task")
            kw["aname"] = "_RectifyDvsOnHost_Task"
            if ns0.RectifyDvsOnHostRequestType_Def not in ns0.RectifyDvsOnHost_Task_Dec.__bases__:
                bases = list(ns0.RectifyDvsOnHost_Task_Dec.__bases__)
                bases.insert(0, ns0.RectifyDvsOnHostRequestType_Def)
                ns0.RectifyDvsOnHost_Task_Dec.__bases__ = tuple(bases)

            ns0.RectifyDvsOnHostRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RectifyDvsOnHost_Task_Dec_Holder"

    class RectifyDvsOnHost_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RectifyDvsOnHost_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RectifyDvsOnHost_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RectifyDvsOnHost_TaskResponse")
            kw["aname"] = "_RectifyDvsOnHost_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RectifyDvsOnHost_TaskResponse_Holder"
            self.pyclass = Holder

    class DVSManagerExportEntity_Task_Dec(ElementDeclaration):
        literal = "DVSManagerExportEntity_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DVSManagerExportEntity_Task")
            kw["aname"] = "_DVSManagerExportEntity_Task"
            if ns0.DVSManagerExportEntityRequestType_Def not in ns0.DVSManagerExportEntity_Task_Dec.__bases__:
                bases = list(ns0.DVSManagerExportEntity_Task_Dec.__bases__)
                bases.insert(0, ns0.DVSManagerExportEntityRequestType_Def)
                ns0.DVSManagerExportEntity_Task_Dec.__bases__ = tuple(bases)

            ns0.DVSManagerExportEntityRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DVSManagerExportEntity_Task_Dec_Holder"

    class DVSManagerExportEntity_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DVSManagerExportEntity_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DVSManagerExportEntity_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DVSManagerExportEntity_TaskResponse")
            kw["aname"] = "_DVSManagerExportEntity_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DVSManagerExportEntity_TaskResponse_Holder"
            self.pyclass = Holder

    class DVSManagerImportEntity_Task_Dec(ElementDeclaration):
        literal = "DVSManagerImportEntity_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DVSManagerImportEntity_Task")
            kw["aname"] = "_DVSManagerImportEntity_Task"
            if ns0.DVSManagerImportEntityRequestType_Def not in ns0.DVSManagerImportEntity_Task_Dec.__bases__:
                bases = list(ns0.DVSManagerImportEntity_Task_Dec.__bases__)
                bases.insert(0, ns0.DVSManagerImportEntityRequestType_Def)
                ns0.DVSManagerImportEntity_Task_Dec.__bases__ = tuple(bases)

            ns0.DVSManagerImportEntityRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DVSManagerImportEntity_Task_Dec_Holder"

    class DVSManagerImportEntity_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DVSManagerImportEntity_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DVSManagerImportEntity_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DVSManagerImportEntity_TaskResponse")
            kw["aname"] = "_DVSManagerImportEntity_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DVSManagerImportEntity_TaskResponse_Holder"
            self.pyclass = Holder

    class DVSManagerLookupDvPortGroup_Dec(ElementDeclaration):
        literal = "DVSManagerLookupDvPortGroup"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DVSManagerLookupDvPortGroup")
            kw["aname"] = "_DVSManagerLookupDvPortGroup"
            if ns0.DVSManagerLookupDvPortGroupRequestType_Def not in ns0.DVSManagerLookupDvPortGroup_Dec.__bases__:
                bases = list(ns0.DVSManagerLookupDvPortGroup_Dec.__bases__)
                bases.insert(0, ns0.DVSManagerLookupDvPortGroupRequestType_Def)
                ns0.DVSManagerLookupDvPortGroup_Dec.__bases__ = tuple(bases)

            ns0.DVSManagerLookupDvPortGroupRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DVSManagerLookupDvPortGroup_Dec_Holder"

    class DVSManagerLookupDvPortGroupResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DVSManagerLookupDvPortGroupResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DVSManagerLookupDvPortGroupResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DVSManagerLookupDvPortGroupResponse")
            kw["aname"] = "_DVSManagerLookupDvPortGroupResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DVSManagerLookupDvPortGroupResponse_Holder"
            self.pyclass = Holder

    class UpdateDVSLacpGroupConfig_Task_Dec(ElementDeclaration):
        literal = "UpdateDVSLacpGroupConfig_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateDVSLacpGroupConfig_Task")
            kw["aname"] = "_UpdateDVSLacpGroupConfig_Task"
            if ns0.UpdateDVSLacpGroupConfigRequestType_Def not in ns0.UpdateDVSLacpGroupConfig_Task_Dec.__bases__:
                bases = list(ns0.UpdateDVSLacpGroupConfig_Task_Dec.__bases__)
                bases.insert(0, ns0.UpdateDVSLacpGroupConfigRequestType_Def)
                ns0.UpdateDVSLacpGroupConfig_Task_Dec.__bases__ = tuple(bases)

            ns0.UpdateDVSLacpGroupConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateDVSLacpGroupConfig_Task_Dec_Holder"

    class UpdateDVSLacpGroupConfig_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateDVSLacpGroupConfig_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateDVSLacpGroupConfig_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpdateDVSLacpGroupConfig_TaskResponse")
            kw["aname"] = "_UpdateDVSLacpGroupConfig_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpdateDVSLacpGroupConfig_TaskResponse_Holder"
            self.pyclass = Holder

    class AddKey_Dec(ElementDeclaration):
        literal = "AddKey"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddKey")
            kw["aname"] = "_AddKey"
            if ns0.AddKeyRequestType_Def not in ns0.AddKey_Dec.__bases__:
                bases = list(ns0.AddKey_Dec.__bases__)
                bases.insert(0, ns0.AddKeyRequestType_Def)
                ns0.AddKey_Dec.__bases__ = tuple(bases)

            ns0.AddKeyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddKey_Dec_Holder"

    class AddKeyResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddKeyResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddKeyResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AddKeyResponse")
            kw["aname"] = "_AddKeyResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AddKeyResponse_Holder"
            self.pyclass = Holder

    class AddKeys_Dec(ElementDeclaration):
        literal = "AddKeys"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddKeys")
            kw["aname"] = "_AddKeys"
            if ns0.AddKeysRequestType_Def not in ns0.AddKeys_Dec.__bases__:
                bases = list(ns0.AddKeys_Dec.__bases__)
                bases.insert(0, ns0.AddKeysRequestType_Def)
                ns0.AddKeys_Dec.__bases__ = tuple(bases)

            ns0.AddKeysRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddKeys_Dec_Holder"

    class AddKeysResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddKeysResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddKeysResponse_Dec.schema
            TClist = [GTD("urn:vim25","CryptoKeyResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AddKeysResponse")
            kw["aname"] = "_AddKeysResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "AddKeysResponse_Holder"
            self.pyclass = Holder

    class RemoveKey_Dec(ElementDeclaration):
        literal = "RemoveKey"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveKey")
            kw["aname"] = "_RemoveKey"
            if ns0.RemoveKeyRequestType_Def not in ns0.RemoveKey_Dec.__bases__:
                bases = list(ns0.RemoveKey_Dec.__bases__)
                bases.insert(0, ns0.RemoveKeyRequestType_Def)
                ns0.RemoveKey_Dec.__bases__ = tuple(bases)

            ns0.RemoveKeyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveKey_Dec_Holder"

    class RemoveKeyResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveKeyResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveKeyResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveKeyResponse")
            kw["aname"] = "_RemoveKeyResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveKeyResponse_Holder"
            self.pyclass = Holder

    class RemoveKeys_Dec(ElementDeclaration):
        literal = "RemoveKeys"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveKeys")
            kw["aname"] = "_RemoveKeys"
            if ns0.RemoveKeysRequestType_Def not in ns0.RemoveKeys_Dec.__bases__:
                bases = list(ns0.RemoveKeys_Dec.__bases__)
                bases.insert(0, ns0.RemoveKeysRequestType_Def)
                ns0.RemoveKeys_Dec.__bases__ = tuple(bases)

            ns0.RemoveKeysRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveKeys_Dec_Holder"

    class RemoveKeysResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveKeysResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveKeysResponse_Dec.schema
            TClist = [GTD("urn:vim25","CryptoKeyResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RemoveKeysResponse")
            kw["aname"] = "_RemoveKeysResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RemoveKeysResponse_Holder"
            self.pyclass = Holder

    class ListKeys_Dec(ElementDeclaration):
        literal = "ListKeys"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ListKeys")
            kw["aname"] = "_ListKeys"
            if ns0.ListKeysRequestType_Def not in ns0.ListKeys_Dec.__bases__:
                bases = list(ns0.ListKeys_Dec.__bases__)
                bases.insert(0, ns0.ListKeysRequestType_Def)
                ns0.ListKeys_Dec.__bases__ = tuple(bases)

            ns0.ListKeysRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ListKeys_Dec_Holder"

    class ListKeysResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ListKeysResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ListKeysResponse_Dec.schema
            TClist = [GTD("urn:vim25","CryptoKeyId",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ListKeysResponse")
            kw["aname"] = "_ListKeysResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ListKeysResponse_Holder"
            self.pyclass = Holder

    class CryptoManagerHostPrepare_Dec(ElementDeclaration):
        literal = "CryptoManagerHostPrepare"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CryptoManagerHostPrepare")
            kw["aname"] = "_CryptoManagerHostPrepare"
            if ns0.CryptoManagerHostPrepareRequestType_Def not in ns0.CryptoManagerHostPrepare_Dec.__bases__:
                bases = list(ns0.CryptoManagerHostPrepare_Dec.__bases__)
                bases.insert(0, ns0.CryptoManagerHostPrepareRequestType_Def)
                ns0.CryptoManagerHostPrepare_Dec.__bases__ = tuple(bases)

            ns0.CryptoManagerHostPrepareRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CryptoManagerHostPrepare_Dec_Holder"

    class CryptoManagerHostPrepareResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CryptoManagerHostPrepareResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CryptoManagerHostPrepareResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CryptoManagerHostPrepareResponse")
            kw["aname"] = "_CryptoManagerHostPrepareResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CryptoManagerHostPrepareResponse_Holder"
            self.pyclass = Holder

    class CryptoManagerHostEnable_Dec(ElementDeclaration):
        literal = "CryptoManagerHostEnable"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CryptoManagerHostEnable")
            kw["aname"] = "_CryptoManagerHostEnable"
            if ns0.CryptoManagerHostEnableRequestType_Def not in ns0.CryptoManagerHostEnable_Dec.__bases__:
                bases = list(ns0.CryptoManagerHostEnable_Dec.__bases__)
                bases.insert(0, ns0.CryptoManagerHostEnableRequestType_Def)
                ns0.CryptoManagerHostEnable_Dec.__bases__ = tuple(bases)

            ns0.CryptoManagerHostEnableRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CryptoManagerHostEnable_Dec_Holder"

    class CryptoManagerHostEnableResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CryptoManagerHostEnableResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CryptoManagerHostEnableResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CryptoManagerHostEnableResponse")
            kw["aname"] = "_CryptoManagerHostEnableResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CryptoManagerHostEnableResponse_Holder"
            self.pyclass = Holder

    class ChangeKey_Task_Dec(ElementDeclaration):
        literal = "ChangeKey_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ChangeKey_Task")
            kw["aname"] = "_ChangeKey_Task"
            if ns0.ChangeKeyRequestType_Def not in ns0.ChangeKey_Task_Dec.__bases__:
                bases = list(ns0.ChangeKey_Task_Dec.__bases__)
                bases.insert(0, ns0.ChangeKeyRequestType_Def)
                ns0.ChangeKey_Task_Dec.__bases__ = tuple(bases)

            ns0.ChangeKeyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ChangeKey_Task_Dec_Holder"

    class ChangeKey_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ChangeKey_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ChangeKey_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ChangeKey_TaskResponse")
            kw["aname"] = "_ChangeKey_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ChangeKey_TaskResponse_Holder"
            self.pyclass = Holder

    class RegisterKmipServer_Dec(ElementDeclaration):
        literal = "RegisterKmipServer"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RegisterKmipServer")
            kw["aname"] = "_RegisterKmipServer"
            if ns0.RegisterKmipServerRequestType_Def not in ns0.RegisterKmipServer_Dec.__bases__:
                bases = list(ns0.RegisterKmipServer_Dec.__bases__)
                bases.insert(0, ns0.RegisterKmipServerRequestType_Def)
                ns0.RegisterKmipServer_Dec.__bases__ = tuple(bases)

            ns0.RegisterKmipServerRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RegisterKmipServer_Dec_Holder"

    class RegisterKmipServerResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RegisterKmipServerResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RegisterKmipServerResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RegisterKmipServerResponse")
            kw["aname"] = "_RegisterKmipServerResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RegisterKmipServerResponse_Holder"
            self.pyclass = Holder

    class MarkDefault_Dec(ElementDeclaration):
        literal = "MarkDefault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MarkDefault")
            kw["aname"] = "_MarkDefault"
            if ns0.MarkDefaultRequestType_Def not in ns0.MarkDefault_Dec.__bases__:
                bases = list(ns0.MarkDefault_Dec.__bases__)
                bases.insert(0, ns0.MarkDefaultRequestType_Def)
                ns0.MarkDefault_Dec.__bases__ = tuple(bases)

            ns0.MarkDefaultRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MarkDefault_Dec_Holder"

    class MarkDefaultResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MarkDefaultResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MarkDefaultResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","MarkDefaultResponse")
            kw["aname"] = "_MarkDefaultResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "MarkDefaultResponse_Holder"
            self.pyclass = Holder

    class UpdateKmipServer_Dec(ElementDeclaration):
        literal = "UpdateKmipServer"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateKmipServer")
            kw["aname"] = "_UpdateKmipServer"
            if ns0.UpdateKmipServerRequestType_Def not in ns0.UpdateKmipServer_Dec.__bases__:
                bases = list(ns0.UpdateKmipServer_Dec.__bases__)
                bases.insert(0, ns0.UpdateKmipServerRequestType_Def)
                ns0.UpdateKmipServer_Dec.__bases__ = tuple(bases)

            ns0.UpdateKmipServerRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateKmipServer_Dec_Holder"

    class UpdateKmipServerResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateKmipServerResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateKmipServerResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateKmipServerResponse")
            kw["aname"] = "_UpdateKmipServerResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateKmipServerResponse_Holder"
            self.pyclass = Holder

    class RemoveKmipServer_Dec(ElementDeclaration):
        literal = "RemoveKmipServer"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveKmipServer")
            kw["aname"] = "_RemoveKmipServer"
            if ns0.RemoveKmipServerRequestType_Def not in ns0.RemoveKmipServer_Dec.__bases__:
                bases = list(ns0.RemoveKmipServer_Dec.__bases__)
                bases.insert(0, ns0.RemoveKmipServerRequestType_Def)
                ns0.RemoveKmipServer_Dec.__bases__ = tuple(bases)

            ns0.RemoveKmipServerRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveKmipServer_Dec_Holder"

    class RemoveKmipServerResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveKmipServerResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveKmipServerResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveKmipServerResponse")
            kw["aname"] = "_RemoveKmipServerResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveKmipServerResponse_Holder"
            self.pyclass = Holder

    class ListKmipServers_Dec(ElementDeclaration):
        literal = "ListKmipServers"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ListKmipServers")
            kw["aname"] = "_ListKmipServers"
            if ns0.ListKmipServersRequestType_Def not in ns0.ListKmipServers_Dec.__bases__:
                bases = list(ns0.ListKmipServers_Dec.__bases__)
                bases.insert(0, ns0.ListKmipServersRequestType_Def)
                ns0.ListKmipServers_Dec.__bases__ = tuple(bases)

            ns0.ListKmipServersRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ListKmipServers_Dec_Holder"

    class ListKmipServersResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ListKmipServersResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ListKmipServersResponse_Dec.schema
            TClist = [GTD("urn:vim25","KmipClusterInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ListKmipServersResponse")
            kw["aname"] = "_ListKmipServersResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ListKmipServersResponse_Holder"
            self.pyclass = Holder

    class RetrieveKmipServersStatus_Task_Dec(ElementDeclaration):
        literal = "RetrieveKmipServersStatus_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveKmipServersStatus_Task")
            kw["aname"] = "_RetrieveKmipServersStatus_Task"
            if ns0.RetrieveKmipServersStatusRequestType_Def not in ns0.RetrieveKmipServersStatus_Task_Dec.__bases__:
                bases = list(ns0.RetrieveKmipServersStatus_Task_Dec.__bases__)
                bases.insert(0, ns0.RetrieveKmipServersStatusRequestType_Def)
                ns0.RetrieveKmipServersStatus_Task_Dec.__bases__ = tuple(bases)

            ns0.RetrieveKmipServersStatusRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveKmipServersStatus_Task_Dec_Holder"

    class RetrieveKmipServersStatus_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveKmipServersStatus_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveKmipServersStatus_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveKmipServersStatus_TaskResponse")
            kw["aname"] = "_RetrieveKmipServersStatus_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveKmipServersStatus_TaskResponse_Holder"
            self.pyclass = Holder

    class GenerateKey_Dec(ElementDeclaration):
        literal = "GenerateKey"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GenerateKey")
            kw["aname"] = "_GenerateKey"
            if ns0.GenerateKeyRequestType_Def not in ns0.GenerateKey_Dec.__bases__:
                bases = list(ns0.GenerateKey_Dec.__bases__)
                bases.insert(0, ns0.GenerateKeyRequestType_Def)
                ns0.GenerateKey_Dec.__bases__ = tuple(bases)

            ns0.GenerateKeyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GenerateKey_Dec_Holder"

    class GenerateKeyResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GenerateKeyResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GenerateKeyResponse_Dec.schema
            TClist = [GTD("urn:vim25","CryptoKeyResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GenerateKeyResponse")
            kw["aname"] = "_GenerateKeyResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "GenerateKeyResponse_Holder"
            self.pyclass = Holder

    class RetrieveKmipServerCert_Dec(ElementDeclaration):
        literal = "RetrieveKmipServerCert"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveKmipServerCert")
            kw["aname"] = "_RetrieveKmipServerCert"
            if ns0.RetrieveKmipServerCertRequestType_Def not in ns0.RetrieveKmipServerCert_Dec.__bases__:
                bases = list(ns0.RetrieveKmipServerCert_Dec.__bases__)
                bases.insert(0, ns0.RetrieveKmipServerCertRequestType_Def)
                ns0.RetrieveKmipServerCert_Dec.__bases__ = tuple(bases)

            ns0.RetrieveKmipServerCertRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveKmipServerCert_Dec_Holder"

    class RetrieveKmipServerCertResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveKmipServerCertResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveKmipServerCertResponse_Dec.schema
            TClist = [GTD("urn:vim25","CryptoManagerKmipServerCertInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveKmipServerCertResponse")
            kw["aname"] = "_RetrieveKmipServerCertResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveKmipServerCertResponse_Holder"
            self.pyclass = Holder

    class UploadKmipServerCert_Dec(ElementDeclaration):
        literal = "UploadKmipServerCert"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UploadKmipServerCert")
            kw["aname"] = "_UploadKmipServerCert"
            if ns0.UploadKmipServerCertRequestType_Def not in ns0.UploadKmipServerCert_Dec.__bases__:
                bases = list(ns0.UploadKmipServerCert_Dec.__bases__)
                bases.insert(0, ns0.UploadKmipServerCertRequestType_Def)
                ns0.UploadKmipServerCert_Dec.__bases__ = tuple(bases)

            ns0.UploadKmipServerCertRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UploadKmipServerCert_Dec_Holder"

    class UploadKmipServerCertResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UploadKmipServerCertResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UploadKmipServerCertResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UploadKmipServerCertResponse")
            kw["aname"] = "_UploadKmipServerCertResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UploadKmipServerCertResponse_Holder"
            self.pyclass = Holder

    class GenerateSelfSignedClientCert_Dec(ElementDeclaration):
        literal = "GenerateSelfSignedClientCert"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GenerateSelfSignedClientCert")
            kw["aname"] = "_GenerateSelfSignedClientCert"
            if ns0.GenerateSelfSignedClientCertRequestType_Def not in ns0.GenerateSelfSignedClientCert_Dec.__bases__:
                bases = list(ns0.GenerateSelfSignedClientCert_Dec.__bases__)
                bases.insert(0, ns0.GenerateSelfSignedClientCertRequestType_Def)
                ns0.GenerateSelfSignedClientCert_Dec.__bases__ = tuple(bases)

            ns0.GenerateSelfSignedClientCertRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GenerateSelfSignedClientCert_Dec_Holder"

    class GenerateSelfSignedClientCertResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GenerateSelfSignedClientCertResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GenerateSelfSignedClientCertResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GenerateSelfSignedClientCertResponse")
            kw["aname"] = "_GenerateSelfSignedClientCertResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "GenerateSelfSignedClientCertResponse_Holder"
            self.pyclass = Holder

    class GenerateClientCsr_Dec(ElementDeclaration):
        literal = "GenerateClientCsr"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GenerateClientCsr")
            kw["aname"] = "_GenerateClientCsr"
            if ns0.GenerateClientCsrRequestType_Def not in ns0.GenerateClientCsr_Dec.__bases__:
                bases = list(ns0.GenerateClientCsr_Dec.__bases__)
                bases.insert(0, ns0.GenerateClientCsrRequestType_Def)
                ns0.GenerateClientCsr_Dec.__bases__ = tuple(bases)

            ns0.GenerateClientCsrRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GenerateClientCsr_Dec_Holder"

    class GenerateClientCsrResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GenerateClientCsrResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GenerateClientCsrResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GenerateClientCsrResponse")
            kw["aname"] = "_GenerateClientCsrResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "GenerateClientCsrResponse_Holder"
            self.pyclass = Holder

    class RetrieveSelfSignedClientCert_Dec(ElementDeclaration):
        literal = "RetrieveSelfSignedClientCert"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveSelfSignedClientCert")
            kw["aname"] = "_RetrieveSelfSignedClientCert"
            if ns0.RetrieveSelfSignedClientCertRequestType_Def not in ns0.RetrieveSelfSignedClientCert_Dec.__bases__:
                bases = list(ns0.RetrieveSelfSignedClientCert_Dec.__bases__)
                bases.insert(0, ns0.RetrieveSelfSignedClientCertRequestType_Def)
                ns0.RetrieveSelfSignedClientCert_Dec.__bases__ = tuple(bases)

            ns0.RetrieveSelfSignedClientCertRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveSelfSignedClientCert_Dec_Holder"

    class RetrieveSelfSignedClientCertResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveSelfSignedClientCertResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveSelfSignedClientCertResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveSelfSignedClientCertResponse")
            kw["aname"] = "_RetrieveSelfSignedClientCertResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveSelfSignedClientCertResponse_Holder"
            self.pyclass = Holder

    class RetrieveClientCsr_Dec(ElementDeclaration):
        literal = "RetrieveClientCsr"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveClientCsr")
            kw["aname"] = "_RetrieveClientCsr"
            if ns0.RetrieveClientCsrRequestType_Def not in ns0.RetrieveClientCsr_Dec.__bases__:
                bases = list(ns0.RetrieveClientCsr_Dec.__bases__)
                bases.insert(0, ns0.RetrieveClientCsrRequestType_Def)
                ns0.RetrieveClientCsr_Dec.__bases__ = tuple(bases)

            ns0.RetrieveClientCsrRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveClientCsr_Dec_Holder"

    class RetrieveClientCsrResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveClientCsrResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveClientCsrResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveClientCsrResponse")
            kw["aname"] = "_RetrieveClientCsrResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveClientCsrResponse_Holder"
            self.pyclass = Holder

    class RetrieveClientCert_Dec(ElementDeclaration):
        literal = "RetrieveClientCert"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveClientCert")
            kw["aname"] = "_RetrieveClientCert"
            if ns0.RetrieveClientCertRequestType_Def not in ns0.RetrieveClientCert_Dec.__bases__:
                bases = list(ns0.RetrieveClientCert_Dec.__bases__)
                bases.insert(0, ns0.RetrieveClientCertRequestType_Def)
                ns0.RetrieveClientCert_Dec.__bases__ = tuple(bases)

            ns0.RetrieveClientCertRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveClientCert_Dec_Holder"

    class RetrieveClientCertResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveClientCertResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveClientCertResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveClientCertResponse")
            kw["aname"] = "_RetrieveClientCertResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveClientCertResponse_Holder"
            self.pyclass = Holder

    class UpdateSelfSignedClientCert_Dec(ElementDeclaration):
        literal = "UpdateSelfSignedClientCert"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateSelfSignedClientCert")
            kw["aname"] = "_UpdateSelfSignedClientCert"
            if ns0.UpdateSelfSignedClientCertRequestType_Def not in ns0.UpdateSelfSignedClientCert_Dec.__bases__:
                bases = list(ns0.UpdateSelfSignedClientCert_Dec.__bases__)
                bases.insert(0, ns0.UpdateSelfSignedClientCertRequestType_Def)
                ns0.UpdateSelfSignedClientCert_Dec.__bases__ = tuple(bases)

            ns0.UpdateSelfSignedClientCertRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateSelfSignedClientCert_Dec_Holder"

    class UpdateSelfSignedClientCertResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateSelfSignedClientCertResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateSelfSignedClientCertResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateSelfSignedClientCertResponse")
            kw["aname"] = "_UpdateSelfSignedClientCertResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateSelfSignedClientCertResponse_Holder"
            self.pyclass = Holder

    class UpdateKmsSignedCsrClientCert_Dec(ElementDeclaration):
        literal = "UpdateKmsSignedCsrClientCert"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateKmsSignedCsrClientCert")
            kw["aname"] = "_UpdateKmsSignedCsrClientCert"
            if ns0.UpdateKmsSignedCsrClientCertRequestType_Def not in ns0.UpdateKmsSignedCsrClientCert_Dec.__bases__:
                bases = list(ns0.UpdateKmsSignedCsrClientCert_Dec.__bases__)
                bases.insert(0, ns0.UpdateKmsSignedCsrClientCertRequestType_Def)
                ns0.UpdateKmsSignedCsrClientCert_Dec.__bases__ = tuple(bases)

            ns0.UpdateKmsSignedCsrClientCertRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateKmsSignedCsrClientCert_Dec_Holder"

    class UpdateKmsSignedCsrClientCertResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateKmsSignedCsrClientCertResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateKmsSignedCsrClientCertResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateKmsSignedCsrClientCertResponse")
            kw["aname"] = "_UpdateKmsSignedCsrClientCertResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateKmsSignedCsrClientCertResponse_Holder"
            self.pyclass = Holder

    class UploadClientCert_Dec(ElementDeclaration):
        literal = "UploadClientCert"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UploadClientCert")
            kw["aname"] = "_UploadClientCert"
            if ns0.UploadClientCertRequestType_Def not in ns0.UploadClientCert_Dec.__bases__:
                bases = list(ns0.UploadClientCert_Dec.__bases__)
                bases.insert(0, ns0.UploadClientCertRequestType_Def)
                ns0.UploadClientCert_Dec.__bases__ = tuple(bases)

            ns0.UploadClientCertRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UploadClientCert_Dec_Holder"

    class UploadClientCertResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UploadClientCertResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UploadClientCertResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UploadClientCertResponse")
            kw["aname"] = "_UploadClientCertResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UploadClientCertResponse_Holder"
            self.pyclass = Holder

    class ReadNextEvents_Dec(ElementDeclaration):
        literal = "ReadNextEvents"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReadNextEvents")
            kw["aname"] = "_ReadNextEvents"
            if ns0.ReadNextEventsRequestType_Def not in ns0.ReadNextEvents_Dec.__bases__:
                bases = list(ns0.ReadNextEvents_Dec.__bases__)
                bases.insert(0, ns0.ReadNextEventsRequestType_Def)
                ns0.ReadNextEvents_Dec.__bases__ = tuple(bases)

            ns0.ReadNextEventsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReadNextEvents_Dec_Holder"

    class ReadNextEventsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReadNextEventsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReadNextEventsResponse_Dec.schema
            TClist = [GTD("urn:vim25","Event",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReadNextEventsResponse")
            kw["aname"] = "_ReadNextEventsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ReadNextEventsResponse_Holder"
            self.pyclass = Holder

    class ReadPreviousEvents_Dec(ElementDeclaration):
        literal = "ReadPreviousEvents"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReadPreviousEvents")
            kw["aname"] = "_ReadPreviousEvents"
            if ns0.ReadPreviousEventsRequestType_Def not in ns0.ReadPreviousEvents_Dec.__bases__:
                bases = list(ns0.ReadPreviousEvents_Dec.__bases__)
                bases.insert(0, ns0.ReadPreviousEventsRequestType_Def)
                ns0.ReadPreviousEvents_Dec.__bases__ = tuple(bases)

            ns0.ReadPreviousEventsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReadPreviousEvents_Dec_Holder"

    class ReadPreviousEventsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReadPreviousEventsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReadPreviousEventsResponse_Dec.schema
            TClist = [GTD("urn:vim25","Event",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReadPreviousEventsResponse")
            kw["aname"] = "_ReadPreviousEventsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ReadPreviousEventsResponse_Holder"
            self.pyclass = Holder

    class RetrieveArgumentDescription_Dec(ElementDeclaration):
        literal = "RetrieveArgumentDescription"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveArgumentDescription")
            kw["aname"] = "_RetrieveArgumentDescription"
            if ns0.RetrieveArgumentDescriptionRequestType_Def not in ns0.RetrieveArgumentDescription_Dec.__bases__:
                bases = list(ns0.RetrieveArgumentDescription_Dec.__bases__)
                bases.insert(0, ns0.RetrieveArgumentDescriptionRequestType_Def)
                ns0.RetrieveArgumentDescription_Dec.__bases__ = tuple(bases)

            ns0.RetrieveArgumentDescriptionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveArgumentDescription_Dec_Holder"

    class RetrieveArgumentDescriptionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveArgumentDescriptionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveArgumentDescriptionResponse_Dec.schema
            TClist = [GTD("urn:vim25","EventArgDesc",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveArgumentDescriptionResponse")
            kw["aname"] = "_RetrieveArgumentDescriptionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrieveArgumentDescriptionResponse_Holder"
            self.pyclass = Holder

    class CreateCollectorForEvents_Dec(ElementDeclaration):
        literal = "CreateCollectorForEvents"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateCollectorForEvents")
            kw["aname"] = "_CreateCollectorForEvents"
            if ns0.CreateCollectorForEventsRequestType_Def not in ns0.CreateCollectorForEvents_Dec.__bases__:
                bases = list(ns0.CreateCollectorForEvents_Dec.__bases__)
                bases.insert(0, ns0.CreateCollectorForEventsRequestType_Def)
                ns0.CreateCollectorForEvents_Dec.__bases__ = tuple(bases)

            ns0.CreateCollectorForEventsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateCollectorForEvents_Dec_Holder"

    class CreateCollectorForEventsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateCollectorForEventsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateCollectorForEventsResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateCollectorForEventsResponse")
            kw["aname"] = "_CreateCollectorForEventsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateCollectorForEventsResponse_Holder"
            self.pyclass = Holder

    class LogUserEvent_Dec(ElementDeclaration):
        literal = "LogUserEvent"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LogUserEvent")
            kw["aname"] = "_LogUserEvent"
            if ns0.LogUserEventRequestType_Def not in ns0.LogUserEvent_Dec.__bases__:
                bases = list(ns0.LogUserEvent_Dec.__bases__)
                bases.insert(0, ns0.LogUserEventRequestType_Def)
                ns0.LogUserEvent_Dec.__bases__ = tuple(bases)

            ns0.LogUserEventRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LogUserEvent_Dec_Holder"

    class LogUserEventResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "LogUserEventResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.LogUserEventResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","LogUserEventResponse")
            kw["aname"] = "_LogUserEventResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "LogUserEventResponse_Holder"
            self.pyclass = Holder

    class QueryEvents_Dec(ElementDeclaration):
        literal = "QueryEvents"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryEvents")
            kw["aname"] = "_QueryEvents"
            if ns0.QueryEventsRequestType_Def not in ns0.QueryEvents_Dec.__bases__:
                bases = list(ns0.QueryEvents_Dec.__bases__)
                bases.insert(0, ns0.QueryEventsRequestType_Def)
                ns0.QueryEvents_Dec.__bases__ = tuple(bases)

            ns0.QueryEventsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryEvents_Dec_Holder"

    class QueryEventsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryEventsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryEventsResponse_Dec.schema
            TClist = [GTD("urn:vim25","Event",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryEventsResponse")
            kw["aname"] = "_QueryEventsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryEventsResponse_Holder"
            self.pyclass = Holder

    class PostEvent_Dec(ElementDeclaration):
        literal = "PostEvent"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PostEvent")
            kw["aname"] = "_PostEvent"
            if ns0.PostEventRequestType_Def not in ns0.PostEvent_Dec.__bases__:
                bases = list(ns0.PostEvent_Dec.__bases__)
                bases.insert(0, ns0.PostEventRequestType_Def)
                ns0.PostEvent_Dec.__bases__ = tuple(bases)

            ns0.PostEventRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PostEvent_Dec_Holder"

    class PostEventResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "PostEventResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.PostEventResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","PostEventResponse")
            kw["aname"] = "_PostEventResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "PostEventResponse_Holder"
            self.pyclass = Holder

    class ActiveDirectoryFaultFault_Dec(ElementDeclaration):
        literal = "ActiveDirectoryFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ActiveDirectoryFaultFault")
            kw["aname"] = "_ActiveDirectoryFaultFault"
            if ns0.ActiveDirectoryFault_Def not in ns0.ActiveDirectoryFaultFault_Dec.__bases__:
                bases = list(ns0.ActiveDirectoryFaultFault_Dec.__bases__)
                bases.insert(0, ns0.ActiveDirectoryFault_Def)
                ns0.ActiveDirectoryFaultFault_Dec.__bases__ = tuple(bases)

            ns0.ActiveDirectoryFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ActiveDirectoryFaultFault_Dec_Holder"

    class ActiveVMsBlockingEVCFault_Dec(ElementDeclaration):
        literal = "ActiveVMsBlockingEVCFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ActiveVMsBlockingEVCFault")
            kw["aname"] = "_ActiveVMsBlockingEVCFault"
            if ns0.ActiveVMsBlockingEVC_Def not in ns0.ActiveVMsBlockingEVCFault_Dec.__bases__:
                bases = list(ns0.ActiveVMsBlockingEVCFault_Dec.__bases__)
                bases.insert(0, ns0.ActiveVMsBlockingEVC_Def)
                ns0.ActiveVMsBlockingEVCFault_Dec.__bases__ = tuple(bases)

            ns0.ActiveVMsBlockingEVC_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ActiveVMsBlockingEVCFault_Dec_Holder"

    class AdminDisabledFault_Dec(ElementDeclaration):
        literal = "AdminDisabledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AdminDisabledFault")
            kw["aname"] = "_AdminDisabledFault"
            if ns0.AdminDisabled_Def not in ns0.AdminDisabledFault_Dec.__bases__:
                bases = list(ns0.AdminDisabledFault_Dec.__bases__)
                bases.insert(0, ns0.AdminDisabled_Def)
                ns0.AdminDisabledFault_Dec.__bases__ = tuple(bases)

            ns0.AdminDisabled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AdminDisabledFault_Dec_Holder"

    class AdminNotDisabledFault_Dec(ElementDeclaration):
        literal = "AdminNotDisabledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AdminNotDisabledFault")
            kw["aname"] = "_AdminNotDisabledFault"
            if ns0.AdminNotDisabled_Def not in ns0.AdminNotDisabledFault_Dec.__bases__:
                bases = list(ns0.AdminNotDisabledFault_Dec.__bases__)
                bases.insert(0, ns0.AdminNotDisabled_Def)
                ns0.AdminNotDisabledFault_Dec.__bases__ = tuple(bases)

            ns0.AdminNotDisabled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AdminNotDisabledFault_Dec_Holder"

    class AffinityConfiguredFault_Dec(ElementDeclaration):
        literal = "AffinityConfiguredFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AffinityConfiguredFault")
            kw["aname"] = "_AffinityConfiguredFault"
            if ns0.AffinityConfigured_Def not in ns0.AffinityConfiguredFault_Dec.__bases__:
                bases = list(ns0.AffinityConfiguredFault_Dec.__bases__)
                bases.insert(0, ns0.AffinityConfigured_Def)
                ns0.AffinityConfiguredFault_Dec.__bases__ = tuple(bases)

            ns0.AffinityConfigured_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AffinityConfiguredFault_Dec_Holder"

    class AgentInstallFailedFault_Dec(ElementDeclaration):
        literal = "AgentInstallFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AgentInstallFailedFault")
            kw["aname"] = "_AgentInstallFailedFault"
            if ns0.AgentInstallFailed_Def not in ns0.AgentInstallFailedFault_Dec.__bases__:
                bases = list(ns0.AgentInstallFailedFault_Dec.__bases__)
                bases.insert(0, ns0.AgentInstallFailed_Def)
                ns0.AgentInstallFailedFault_Dec.__bases__ = tuple(bases)

            ns0.AgentInstallFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AgentInstallFailedFault_Dec_Holder"

    class AlreadyBeingManagedFault_Dec(ElementDeclaration):
        literal = "AlreadyBeingManagedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AlreadyBeingManagedFault")
            kw["aname"] = "_AlreadyBeingManagedFault"
            if ns0.AlreadyBeingManaged_Def not in ns0.AlreadyBeingManagedFault_Dec.__bases__:
                bases = list(ns0.AlreadyBeingManagedFault_Dec.__bases__)
                bases.insert(0, ns0.AlreadyBeingManaged_Def)
                ns0.AlreadyBeingManagedFault_Dec.__bases__ = tuple(bases)

            ns0.AlreadyBeingManaged_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AlreadyBeingManagedFault_Dec_Holder"

    class AlreadyConnectedFault_Dec(ElementDeclaration):
        literal = "AlreadyConnectedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AlreadyConnectedFault")
            kw["aname"] = "_AlreadyConnectedFault"
            if ns0.AlreadyConnected_Def not in ns0.AlreadyConnectedFault_Dec.__bases__:
                bases = list(ns0.AlreadyConnectedFault_Dec.__bases__)
                bases.insert(0, ns0.AlreadyConnected_Def)
                ns0.AlreadyConnectedFault_Dec.__bases__ = tuple(bases)

            ns0.AlreadyConnected_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AlreadyConnectedFault_Dec_Holder"

    class AlreadyExistsFault_Dec(ElementDeclaration):
        literal = "AlreadyExistsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AlreadyExistsFault")
            kw["aname"] = "_AlreadyExistsFault"
            if ns0.AlreadyExists_Def not in ns0.AlreadyExistsFault_Dec.__bases__:
                bases = list(ns0.AlreadyExistsFault_Dec.__bases__)
                bases.insert(0, ns0.AlreadyExists_Def)
                ns0.AlreadyExistsFault_Dec.__bases__ = tuple(bases)

            ns0.AlreadyExists_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AlreadyExistsFault_Dec_Holder"

    class AlreadyUpgradedFault_Dec(ElementDeclaration):
        literal = "AlreadyUpgradedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AlreadyUpgradedFault")
            kw["aname"] = "_AlreadyUpgradedFault"
            if ns0.AlreadyUpgraded_Def not in ns0.AlreadyUpgradedFault_Dec.__bases__:
                bases = list(ns0.AlreadyUpgradedFault_Dec.__bases__)
                bases.insert(0, ns0.AlreadyUpgraded_Def)
                ns0.AlreadyUpgradedFault_Dec.__bases__ = tuple(bases)

            ns0.AlreadyUpgraded_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AlreadyUpgradedFault_Dec_Holder"

    class AnswerFileUpdateFailedFault_Dec(ElementDeclaration):
        literal = "AnswerFileUpdateFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AnswerFileUpdateFailedFault")
            kw["aname"] = "_AnswerFileUpdateFailedFault"
            if ns0.AnswerFileUpdateFailed_Def not in ns0.AnswerFileUpdateFailedFault_Dec.__bases__:
                bases = list(ns0.AnswerFileUpdateFailedFault_Dec.__bases__)
                bases.insert(0, ns0.AnswerFileUpdateFailed_Def)
                ns0.AnswerFileUpdateFailedFault_Dec.__bases__ = tuple(bases)

            ns0.AnswerFileUpdateFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AnswerFileUpdateFailedFault_Dec_Holder"

    class ApplicationQuiesceFaultFault_Dec(ElementDeclaration):
        literal = "ApplicationQuiesceFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ApplicationQuiesceFaultFault")
            kw["aname"] = "_ApplicationQuiesceFaultFault"
            if ns0.ApplicationQuiesceFault_Def not in ns0.ApplicationQuiesceFaultFault_Dec.__bases__:
                bases = list(ns0.ApplicationQuiesceFaultFault_Dec.__bases__)
                bases.insert(0, ns0.ApplicationQuiesceFault_Def)
                ns0.ApplicationQuiesceFaultFault_Dec.__bases__ = tuple(bases)

            ns0.ApplicationQuiesceFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ApplicationQuiesceFaultFault_Dec_Holder"

    class AuthMinimumAdminPermissionFault_Dec(ElementDeclaration):
        literal = "AuthMinimumAdminPermissionFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AuthMinimumAdminPermissionFault")
            kw["aname"] = "_AuthMinimumAdminPermissionFault"
            if ns0.AuthMinimumAdminPermission_Def not in ns0.AuthMinimumAdminPermissionFault_Dec.__bases__:
                bases = list(ns0.AuthMinimumAdminPermissionFault_Dec.__bases__)
                bases.insert(0, ns0.AuthMinimumAdminPermission_Def)
                ns0.AuthMinimumAdminPermissionFault_Dec.__bases__ = tuple(bases)

            ns0.AuthMinimumAdminPermission_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AuthMinimumAdminPermissionFault_Dec_Holder"

    class BackupBlobReadFailureFault_Dec(ElementDeclaration):
        literal = "BackupBlobReadFailureFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","BackupBlobReadFailureFault")
            kw["aname"] = "_BackupBlobReadFailureFault"
            if ns0.BackupBlobReadFailure_Def not in ns0.BackupBlobReadFailureFault_Dec.__bases__:
                bases = list(ns0.BackupBlobReadFailureFault_Dec.__bases__)
                bases.insert(0, ns0.BackupBlobReadFailure_Def)
                ns0.BackupBlobReadFailureFault_Dec.__bases__ = tuple(bases)

            ns0.BackupBlobReadFailure_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "BackupBlobReadFailureFault_Dec_Holder"

    class BackupBlobWriteFailureFault_Dec(ElementDeclaration):
        literal = "BackupBlobWriteFailureFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","BackupBlobWriteFailureFault")
            kw["aname"] = "_BackupBlobWriteFailureFault"
            if ns0.BackupBlobWriteFailure_Def not in ns0.BackupBlobWriteFailureFault_Dec.__bases__:
                bases = list(ns0.BackupBlobWriteFailureFault_Dec.__bases__)
                bases.insert(0, ns0.BackupBlobWriteFailure_Def)
                ns0.BackupBlobWriteFailureFault_Dec.__bases__ = tuple(bases)

            ns0.BackupBlobWriteFailure_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "BackupBlobWriteFailureFault_Dec_Holder"

    class BlockedByFirewallFault_Dec(ElementDeclaration):
        literal = "BlockedByFirewallFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","BlockedByFirewallFault")
            kw["aname"] = "_BlockedByFirewallFault"
            if ns0.BlockedByFirewall_Def not in ns0.BlockedByFirewallFault_Dec.__bases__:
                bases = list(ns0.BlockedByFirewallFault_Dec.__bases__)
                bases.insert(0, ns0.BlockedByFirewall_Def)
                ns0.BlockedByFirewallFault_Dec.__bases__ = tuple(bases)

            ns0.BlockedByFirewall_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "BlockedByFirewallFault_Dec_Holder"

    class CAMServerRefusedConnectionFault_Dec(ElementDeclaration):
        literal = "CAMServerRefusedConnectionFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CAMServerRefusedConnectionFault")
            kw["aname"] = "_CAMServerRefusedConnectionFault"
            if ns0.CAMServerRefusedConnection_Def not in ns0.CAMServerRefusedConnectionFault_Dec.__bases__:
                bases = list(ns0.CAMServerRefusedConnectionFault_Dec.__bases__)
                bases.insert(0, ns0.CAMServerRefusedConnection_Def)
                ns0.CAMServerRefusedConnectionFault_Dec.__bases__ = tuple(bases)

            ns0.CAMServerRefusedConnection_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CAMServerRefusedConnectionFault_Dec_Holder"

    class CannotAccessFileFault_Dec(ElementDeclaration):
        literal = "CannotAccessFileFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotAccessFileFault")
            kw["aname"] = "_CannotAccessFileFault"
            if ns0.CannotAccessFile_Def not in ns0.CannotAccessFileFault_Dec.__bases__:
                bases = list(ns0.CannotAccessFileFault_Dec.__bases__)
                bases.insert(0, ns0.CannotAccessFile_Def)
                ns0.CannotAccessFileFault_Dec.__bases__ = tuple(bases)

            ns0.CannotAccessFile_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotAccessFileFault_Dec_Holder"

    class CannotAccessLocalSourceFault_Dec(ElementDeclaration):
        literal = "CannotAccessLocalSourceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotAccessLocalSourceFault")
            kw["aname"] = "_CannotAccessLocalSourceFault"
            if ns0.CannotAccessLocalSource_Def not in ns0.CannotAccessLocalSourceFault_Dec.__bases__:
                bases = list(ns0.CannotAccessLocalSourceFault_Dec.__bases__)
                bases.insert(0, ns0.CannotAccessLocalSource_Def)
                ns0.CannotAccessLocalSourceFault_Dec.__bases__ = tuple(bases)

            ns0.CannotAccessLocalSource_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotAccessLocalSourceFault_Dec_Holder"

    class CannotAccessNetworkFault_Dec(ElementDeclaration):
        literal = "CannotAccessNetworkFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotAccessNetworkFault")
            kw["aname"] = "_CannotAccessNetworkFault"
            if ns0.CannotAccessNetwork_Def not in ns0.CannotAccessNetworkFault_Dec.__bases__:
                bases = list(ns0.CannotAccessNetworkFault_Dec.__bases__)
                bases.insert(0, ns0.CannotAccessNetwork_Def)
                ns0.CannotAccessNetworkFault_Dec.__bases__ = tuple(bases)

            ns0.CannotAccessNetwork_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotAccessNetworkFault_Dec_Holder"

    class CannotAccessVmComponentFault_Dec(ElementDeclaration):
        literal = "CannotAccessVmComponentFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotAccessVmComponentFault")
            kw["aname"] = "_CannotAccessVmComponentFault"
            if ns0.CannotAccessVmComponent_Def not in ns0.CannotAccessVmComponentFault_Dec.__bases__:
                bases = list(ns0.CannotAccessVmComponentFault_Dec.__bases__)
                bases.insert(0, ns0.CannotAccessVmComponent_Def)
                ns0.CannotAccessVmComponentFault_Dec.__bases__ = tuple(bases)

            ns0.CannotAccessVmComponent_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotAccessVmComponentFault_Dec_Holder"

    class CannotAccessVmConfigFault_Dec(ElementDeclaration):
        literal = "CannotAccessVmConfigFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotAccessVmConfigFault")
            kw["aname"] = "_CannotAccessVmConfigFault"
            if ns0.CannotAccessVmConfig_Def not in ns0.CannotAccessVmConfigFault_Dec.__bases__:
                bases = list(ns0.CannotAccessVmConfigFault_Dec.__bases__)
                bases.insert(0, ns0.CannotAccessVmConfig_Def)
                ns0.CannotAccessVmConfigFault_Dec.__bases__ = tuple(bases)

            ns0.CannotAccessVmConfig_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotAccessVmConfigFault_Dec_Holder"

    class CannotAccessVmDeviceFault_Dec(ElementDeclaration):
        literal = "CannotAccessVmDeviceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotAccessVmDeviceFault")
            kw["aname"] = "_CannotAccessVmDeviceFault"
            if ns0.CannotAccessVmDevice_Def not in ns0.CannotAccessVmDeviceFault_Dec.__bases__:
                bases = list(ns0.CannotAccessVmDeviceFault_Dec.__bases__)
                bases.insert(0, ns0.CannotAccessVmDevice_Def)
                ns0.CannotAccessVmDeviceFault_Dec.__bases__ = tuple(bases)

            ns0.CannotAccessVmDevice_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotAccessVmDeviceFault_Dec_Holder"

    class CannotAccessVmDiskFault_Dec(ElementDeclaration):
        literal = "CannotAccessVmDiskFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotAccessVmDiskFault")
            kw["aname"] = "_CannotAccessVmDiskFault"
            if ns0.CannotAccessVmDisk_Def not in ns0.CannotAccessVmDiskFault_Dec.__bases__:
                bases = list(ns0.CannotAccessVmDiskFault_Dec.__bases__)
                bases.insert(0, ns0.CannotAccessVmDisk_Def)
                ns0.CannotAccessVmDiskFault_Dec.__bases__ = tuple(bases)

            ns0.CannotAccessVmDisk_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotAccessVmDiskFault_Dec_Holder"

    class CannotAddHostWithFTVmAsStandaloneFault_Dec(ElementDeclaration):
        literal = "CannotAddHostWithFTVmAsStandaloneFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotAddHostWithFTVmAsStandaloneFault")
            kw["aname"] = "_CannotAddHostWithFTVmAsStandaloneFault"
            if ns0.CannotAddHostWithFTVmAsStandalone_Def not in ns0.CannotAddHostWithFTVmAsStandaloneFault_Dec.__bases__:
                bases = list(ns0.CannotAddHostWithFTVmAsStandaloneFault_Dec.__bases__)
                bases.insert(0, ns0.CannotAddHostWithFTVmAsStandalone_Def)
                ns0.CannotAddHostWithFTVmAsStandaloneFault_Dec.__bases__ = tuple(bases)

            ns0.CannotAddHostWithFTVmAsStandalone_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotAddHostWithFTVmAsStandaloneFault_Dec_Holder"

    class CannotAddHostWithFTVmToDifferentClusterFault_Dec(ElementDeclaration):
        literal = "CannotAddHostWithFTVmToDifferentClusterFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotAddHostWithFTVmToDifferentClusterFault")
            kw["aname"] = "_CannotAddHostWithFTVmToDifferentClusterFault"
            if ns0.CannotAddHostWithFTVmToDifferentCluster_Def not in ns0.CannotAddHostWithFTVmToDifferentClusterFault_Dec.__bases__:
                bases = list(ns0.CannotAddHostWithFTVmToDifferentClusterFault_Dec.__bases__)
                bases.insert(0, ns0.CannotAddHostWithFTVmToDifferentCluster_Def)
                ns0.CannotAddHostWithFTVmToDifferentClusterFault_Dec.__bases__ = tuple(bases)

            ns0.CannotAddHostWithFTVmToDifferentCluster_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotAddHostWithFTVmToDifferentClusterFault_Dec_Holder"

    class CannotAddHostWithFTVmToNonHAClusterFault_Dec(ElementDeclaration):
        literal = "CannotAddHostWithFTVmToNonHAClusterFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotAddHostWithFTVmToNonHAClusterFault")
            kw["aname"] = "_CannotAddHostWithFTVmToNonHAClusterFault"
            if ns0.CannotAddHostWithFTVmToNonHACluster_Def not in ns0.CannotAddHostWithFTVmToNonHAClusterFault_Dec.__bases__:
                bases = list(ns0.CannotAddHostWithFTVmToNonHAClusterFault_Dec.__bases__)
                bases.insert(0, ns0.CannotAddHostWithFTVmToNonHACluster_Def)
                ns0.CannotAddHostWithFTVmToNonHAClusterFault_Dec.__bases__ = tuple(bases)

            ns0.CannotAddHostWithFTVmToNonHACluster_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotAddHostWithFTVmToNonHAClusterFault_Dec_Holder"

    class CannotChangeDrsBehaviorForFtSecondaryFault_Dec(ElementDeclaration):
        literal = "CannotChangeDrsBehaviorForFtSecondaryFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotChangeDrsBehaviorForFtSecondaryFault")
            kw["aname"] = "_CannotChangeDrsBehaviorForFtSecondaryFault"
            if ns0.CannotChangeDrsBehaviorForFtSecondary_Def not in ns0.CannotChangeDrsBehaviorForFtSecondaryFault_Dec.__bases__:
                bases = list(ns0.CannotChangeDrsBehaviorForFtSecondaryFault_Dec.__bases__)
                bases.insert(0, ns0.CannotChangeDrsBehaviorForFtSecondary_Def)
                ns0.CannotChangeDrsBehaviorForFtSecondaryFault_Dec.__bases__ = tuple(bases)

            ns0.CannotChangeDrsBehaviorForFtSecondary_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotChangeDrsBehaviorForFtSecondaryFault_Dec_Holder"

    class CannotChangeHaSettingsForFtSecondaryFault_Dec(ElementDeclaration):
        literal = "CannotChangeHaSettingsForFtSecondaryFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotChangeHaSettingsForFtSecondaryFault")
            kw["aname"] = "_CannotChangeHaSettingsForFtSecondaryFault"
            if ns0.CannotChangeHaSettingsForFtSecondary_Def not in ns0.CannotChangeHaSettingsForFtSecondaryFault_Dec.__bases__:
                bases = list(ns0.CannotChangeHaSettingsForFtSecondaryFault_Dec.__bases__)
                bases.insert(0, ns0.CannotChangeHaSettingsForFtSecondary_Def)
                ns0.CannotChangeHaSettingsForFtSecondaryFault_Dec.__bases__ = tuple(bases)

            ns0.CannotChangeHaSettingsForFtSecondary_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotChangeHaSettingsForFtSecondaryFault_Dec_Holder"

    class CannotChangeVsanClusterUuidFault_Dec(ElementDeclaration):
        literal = "CannotChangeVsanClusterUuidFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotChangeVsanClusterUuidFault")
            kw["aname"] = "_CannotChangeVsanClusterUuidFault"
            if ns0.CannotChangeVsanClusterUuid_Def not in ns0.CannotChangeVsanClusterUuidFault_Dec.__bases__:
                bases = list(ns0.CannotChangeVsanClusterUuidFault_Dec.__bases__)
                bases.insert(0, ns0.CannotChangeVsanClusterUuid_Def)
                ns0.CannotChangeVsanClusterUuidFault_Dec.__bases__ = tuple(bases)

            ns0.CannotChangeVsanClusterUuid_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotChangeVsanClusterUuidFault_Dec_Holder"

    class CannotChangeVsanNodeUuidFault_Dec(ElementDeclaration):
        literal = "CannotChangeVsanNodeUuidFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotChangeVsanNodeUuidFault")
            kw["aname"] = "_CannotChangeVsanNodeUuidFault"
            if ns0.CannotChangeVsanNodeUuid_Def not in ns0.CannotChangeVsanNodeUuidFault_Dec.__bases__:
                bases = list(ns0.CannotChangeVsanNodeUuidFault_Dec.__bases__)
                bases.insert(0, ns0.CannotChangeVsanNodeUuid_Def)
                ns0.CannotChangeVsanNodeUuidFault_Dec.__bases__ = tuple(bases)

            ns0.CannotChangeVsanNodeUuid_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotChangeVsanNodeUuidFault_Dec_Holder"

    class CannotComputeFTCompatibleHostsFault_Dec(ElementDeclaration):
        literal = "CannotComputeFTCompatibleHostsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotComputeFTCompatibleHostsFault")
            kw["aname"] = "_CannotComputeFTCompatibleHostsFault"
            if ns0.CannotComputeFTCompatibleHosts_Def not in ns0.CannotComputeFTCompatibleHostsFault_Dec.__bases__:
                bases = list(ns0.CannotComputeFTCompatibleHostsFault_Dec.__bases__)
                bases.insert(0, ns0.CannotComputeFTCompatibleHosts_Def)
                ns0.CannotComputeFTCompatibleHostsFault_Dec.__bases__ = tuple(bases)

            ns0.CannotComputeFTCompatibleHosts_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotComputeFTCompatibleHostsFault_Dec_Holder"

    class CannotCreateFileFault_Dec(ElementDeclaration):
        literal = "CannotCreateFileFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotCreateFileFault")
            kw["aname"] = "_CannotCreateFileFault"
            if ns0.CannotCreateFile_Def not in ns0.CannotCreateFileFault_Dec.__bases__:
                bases = list(ns0.CannotCreateFileFault_Dec.__bases__)
                bases.insert(0, ns0.CannotCreateFile_Def)
                ns0.CannotCreateFileFault_Dec.__bases__ = tuple(bases)

            ns0.CannotCreateFile_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotCreateFileFault_Dec_Holder"

    class CannotDecryptPasswordsFault_Dec(ElementDeclaration):
        literal = "CannotDecryptPasswordsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotDecryptPasswordsFault")
            kw["aname"] = "_CannotDecryptPasswordsFault"
            if ns0.CannotDecryptPasswords_Def not in ns0.CannotDecryptPasswordsFault_Dec.__bases__:
                bases = list(ns0.CannotDecryptPasswordsFault_Dec.__bases__)
                bases.insert(0, ns0.CannotDecryptPasswords_Def)
                ns0.CannotDecryptPasswordsFault_Dec.__bases__ = tuple(bases)

            ns0.CannotDecryptPasswords_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotDecryptPasswordsFault_Dec_Holder"

    class CannotDeleteFileFault_Dec(ElementDeclaration):
        literal = "CannotDeleteFileFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotDeleteFileFault")
            kw["aname"] = "_CannotDeleteFileFault"
            if ns0.CannotDeleteFile_Def not in ns0.CannotDeleteFileFault_Dec.__bases__:
                bases = list(ns0.CannotDeleteFileFault_Dec.__bases__)
                bases.insert(0, ns0.CannotDeleteFile_Def)
                ns0.CannotDeleteFileFault_Dec.__bases__ = tuple(bases)

            ns0.CannotDeleteFile_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotDeleteFileFault_Dec_Holder"

    class CannotDisableDrsOnClustersWithVAppsFault_Dec(ElementDeclaration):
        literal = "CannotDisableDrsOnClustersWithVAppsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotDisableDrsOnClustersWithVAppsFault")
            kw["aname"] = "_CannotDisableDrsOnClustersWithVAppsFault"
            if ns0.CannotDisableDrsOnClustersWithVApps_Def not in ns0.CannotDisableDrsOnClustersWithVAppsFault_Dec.__bases__:
                bases = list(ns0.CannotDisableDrsOnClustersWithVAppsFault_Dec.__bases__)
                bases.insert(0, ns0.CannotDisableDrsOnClustersWithVApps_Def)
                ns0.CannotDisableDrsOnClustersWithVAppsFault_Dec.__bases__ = tuple(bases)

            ns0.CannotDisableDrsOnClustersWithVApps_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotDisableDrsOnClustersWithVAppsFault_Dec_Holder"

    class CannotDisableSnapshotFault_Dec(ElementDeclaration):
        literal = "CannotDisableSnapshotFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotDisableSnapshotFault")
            kw["aname"] = "_CannotDisableSnapshotFault"
            if ns0.CannotDisableSnapshot_Def not in ns0.CannotDisableSnapshotFault_Dec.__bases__:
                bases = list(ns0.CannotDisableSnapshotFault_Dec.__bases__)
                bases.insert(0, ns0.CannotDisableSnapshot_Def)
                ns0.CannotDisableSnapshotFault_Dec.__bases__ = tuple(bases)

            ns0.CannotDisableSnapshot_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotDisableSnapshotFault_Dec_Holder"

    class CannotDisconnectHostWithFaultToleranceVmFault_Dec(ElementDeclaration):
        literal = "CannotDisconnectHostWithFaultToleranceVmFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotDisconnectHostWithFaultToleranceVmFault")
            kw["aname"] = "_CannotDisconnectHostWithFaultToleranceVmFault"
            if ns0.CannotDisconnectHostWithFaultToleranceVm_Def not in ns0.CannotDisconnectHostWithFaultToleranceVmFault_Dec.__bases__:
                bases = list(ns0.CannotDisconnectHostWithFaultToleranceVmFault_Dec.__bases__)
                bases.insert(0, ns0.CannotDisconnectHostWithFaultToleranceVm_Def)
                ns0.CannotDisconnectHostWithFaultToleranceVmFault_Dec.__bases__ = tuple(bases)

            ns0.CannotDisconnectHostWithFaultToleranceVm_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotDisconnectHostWithFaultToleranceVmFault_Dec_Holder"

    class CannotEnableVmcpForClusterFault_Dec(ElementDeclaration):
        literal = "CannotEnableVmcpForClusterFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotEnableVmcpForClusterFault")
            kw["aname"] = "_CannotEnableVmcpForClusterFault"
            if ns0.CannotEnableVmcpForCluster_Def not in ns0.CannotEnableVmcpForClusterFault_Dec.__bases__:
                bases = list(ns0.CannotEnableVmcpForClusterFault_Dec.__bases__)
                bases.insert(0, ns0.CannotEnableVmcpForCluster_Def)
                ns0.CannotEnableVmcpForClusterFault_Dec.__bases__ = tuple(bases)

            ns0.CannotEnableVmcpForCluster_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotEnableVmcpForClusterFault_Dec_Holder"

    class CannotModifyConfigCpuRequirementsFault_Dec(ElementDeclaration):
        literal = "CannotModifyConfigCpuRequirementsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotModifyConfigCpuRequirementsFault")
            kw["aname"] = "_CannotModifyConfigCpuRequirementsFault"
            if ns0.CannotModifyConfigCpuRequirements_Def not in ns0.CannotModifyConfigCpuRequirementsFault_Dec.__bases__:
                bases = list(ns0.CannotModifyConfigCpuRequirementsFault_Dec.__bases__)
                bases.insert(0, ns0.CannotModifyConfigCpuRequirements_Def)
                ns0.CannotModifyConfigCpuRequirementsFault_Dec.__bases__ = tuple(bases)

            ns0.CannotModifyConfigCpuRequirements_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotModifyConfigCpuRequirementsFault_Dec_Holder"

    class CannotMoveFaultToleranceVmFault_Dec(ElementDeclaration):
        literal = "CannotMoveFaultToleranceVmFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotMoveFaultToleranceVmFault")
            kw["aname"] = "_CannotMoveFaultToleranceVmFault"
            if ns0.CannotMoveFaultToleranceVm_Def not in ns0.CannotMoveFaultToleranceVmFault_Dec.__bases__:
                bases = list(ns0.CannotMoveFaultToleranceVmFault_Dec.__bases__)
                bases.insert(0, ns0.CannotMoveFaultToleranceVm_Def)
                ns0.CannotMoveFaultToleranceVmFault_Dec.__bases__ = tuple(bases)

            ns0.CannotMoveFaultToleranceVm_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotMoveFaultToleranceVmFault_Dec_Holder"

    class CannotMoveHostWithFaultToleranceVmFault_Dec(ElementDeclaration):
        literal = "CannotMoveHostWithFaultToleranceVmFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotMoveHostWithFaultToleranceVmFault")
            kw["aname"] = "_CannotMoveHostWithFaultToleranceVmFault"
            if ns0.CannotMoveHostWithFaultToleranceVm_Def not in ns0.CannotMoveHostWithFaultToleranceVmFault_Dec.__bases__:
                bases = list(ns0.CannotMoveHostWithFaultToleranceVmFault_Dec.__bases__)
                bases.insert(0, ns0.CannotMoveHostWithFaultToleranceVm_Def)
                ns0.CannotMoveHostWithFaultToleranceVmFault_Dec.__bases__ = tuple(bases)

            ns0.CannotMoveHostWithFaultToleranceVm_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotMoveHostWithFaultToleranceVmFault_Dec_Holder"

    class CannotMoveVmWithDeltaDiskFault_Dec(ElementDeclaration):
        literal = "CannotMoveVmWithDeltaDiskFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotMoveVmWithDeltaDiskFault")
            kw["aname"] = "_CannotMoveVmWithDeltaDiskFault"
            if ns0.CannotMoveVmWithDeltaDisk_Def not in ns0.CannotMoveVmWithDeltaDiskFault_Dec.__bases__:
                bases = list(ns0.CannotMoveVmWithDeltaDiskFault_Dec.__bases__)
                bases.insert(0, ns0.CannotMoveVmWithDeltaDisk_Def)
                ns0.CannotMoveVmWithDeltaDiskFault_Dec.__bases__ = tuple(bases)

            ns0.CannotMoveVmWithDeltaDisk_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotMoveVmWithDeltaDiskFault_Dec_Holder"

    class CannotMoveVmWithNativeDeltaDiskFault_Dec(ElementDeclaration):
        literal = "CannotMoveVmWithNativeDeltaDiskFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotMoveVmWithNativeDeltaDiskFault")
            kw["aname"] = "_CannotMoveVmWithNativeDeltaDiskFault"
            if ns0.CannotMoveVmWithNativeDeltaDisk_Def not in ns0.CannotMoveVmWithNativeDeltaDiskFault_Dec.__bases__:
                bases = list(ns0.CannotMoveVmWithNativeDeltaDiskFault_Dec.__bases__)
                bases.insert(0, ns0.CannotMoveVmWithNativeDeltaDisk_Def)
                ns0.CannotMoveVmWithNativeDeltaDiskFault_Dec.__bases__ = tuple(bases)

            ns0.CannotMoveVmWithNativeDeltaDisk_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotMoveVmWithNativeDeltaDiskFault_Dec_Holder"

    class CannotMoveVsanEnabledHostFault_Dec(ElementDeclaration):
        literal = "CannotMoveVsanEnabledHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotMoveVsanEnabledHostFault")
            kw["aname"] = "_CannotMoveVsanEnabledHostFault"
            if ns0.CannotMoveVsanEnabledHost_Def not in ns0.CannotMoveVsanEnabledHostFault_Dec.__bases__:
                bases = list(ns0.CannotMoveVsanEnabledHostFault_Dec.__bases__)
                bases.insert(0, ns0.CannotMoveVsanEnabledHost_Def)
                ns0.CannotMoveVsanEnabledHostFault_Dec.__bases__ = tuple(bases)

            ns0.CannotMoveVsanEnabledHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotMoveVsanEnabledHostFault_Dec_Holder"

    class CannotPlaceWithoutPrerequisiteMovesFault_Dec(ElementDeclaration):
        literal = "CannotPlaceWithoutPrerequisiteMovesFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotPlaceWithoutPrerequisiteMovesFault")
            kw["aname"] = "_CannotPlaceWithoutPrerequisiteMovesFault"
            if ns0.CannotPlaceWithoutPrerequisiteMoves_Def not in ns0.CannotPlaceWithoutPrerequisiteMovesFault_Dec.__bases__:
                bases = list(ns0.CannotPlaceWithoutPrerequisiteMovesFault_Dec.__bases__)
                bases.insert(0, ns0.CannotPlaceWithoutPrerequisiteMoves_Def)
                ns0.CannotPlaceWithoutPrerequisiteMovesFault_Dec.__bases__ = tuple(bases)

            ns0.CannotPlaceWithoutPrerequisiteMoves_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotPlaceWithoutPrerequisiteMovesFault_Dec_Holder"

    class CannotPowerOffVmInClusterFault_Dec(ElementDeclaration):
        literal = "CannotPowerOffVmInClusterFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotPowerOffVmInClusterFault")
            kw["aname"] = "_CannotPowerOffVmInClusterFault"
            if ns0.CannotPowerOffVmInCluster_Def not in ns0.CannotPowerOffVmInClusterFault_Dec.__bases__:
                bases = list(ns0.CannotPowerOffVmInClusterFault_Dec.__bases__)
                bases.insert(0, ns0.CannotPowerOffVmInCluster_Def)
                ns0.CannotPowerOffVmInClusterFault_Dec.__bases__ = tuple(bases)

            ns0.CannotPowerOffVmInCluster_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotPowerOffVmInClusterFault_Dec_Holder"

    class CannotReconfigureVsanWhenHaEnabledFault_Dec(ElementDeclaration):
        literal = "CannotReconfigureVsanWhenHaEnabledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotReconfigureVsanWhenHaEnabledFault")
            kw["aname"] = "_CannotReconfigureVsanWhenHaEnabledFault"
            if ns0.CannotReconfigureVsanWhenHaEnabled_Def not in ns0.CannotReconfigureVsanWhenHaEnabledFault_Dec.__bases__:
                bases = list(ns0.CannotReconfigureVsanWhenHaEnabledFault_Dec.__bases__)
                bases.insert(0, ns0.CannotReconfigureVsanWhenHaEnabled_Def)
                ns0.CannotReconfigureVsanWhenHaEnabledFault_Dec.__bases__ = tuple(bases)

            ns0.CannotReconfigureVsanWhenHaEnabled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotReconfigureVsanWhenHaEnabledFault_Dec_Holder"

    class CannotUseNetworkFault_Dec(ElementDeclaration):
        literal = "CannotUseNetworkFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CannotUseNetworkFault")
            kw["aname"] = "_CannotUseNetworkFault"
            if ns0.CannotUseNetwork_Def not in ns0.CannotUseNetworkFault_Dec.__bases__:
                bases = list(ns0.CannotUseNetworkFault_Dec.__bases__)
                bases.insert(0, ns0.CannotUseNetwork_Def)
                ns0.CannotUseNetworkFault_Dec.__bases__ = tuple(bases)

            ns0.CannotUseNetwork_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CannotUseNetworkFault_Dec_Holder"

    class ClockSkewFault_Dec(ElementDeclaration):
        literal = "ClockSkewFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ClockSkewFault")
            kw["aname"] = "_ClockSkewFault"
            if ns0.ClockSkew_Def not in ns0.ClockSkewFault_Dec.__bases__:
                bases = list(ns0.ClockSkewFault_Dec.__bases__)
                bases.insert(0, ns0.ClockSkew_Def)
                ns0.ClockSkewFault_Dec.__bases__ = tuple(bases)

            ns0.ClockSkew_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ClockSkewFault_Dec_Holder"

    class CloneFromSnapshotNotSupportedFault_Dec(ElementDeclaration):
        literal = "CloneFromSnapshotNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CloneFromSnapshotNotSupportedFault")
            kw["aname"] = "_CloneFromSnapshotNotSupportedFault"
            if ns0.CloneFromSnapshotNotSupported_Def not in ns0.CloneFromSnapshotNotSupportedFault_Dec.__bases__:
                bases = list(ns0.CloneFromSnapshotNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.CloneFromSnapshotNotSupported_Def)
                ns0.CloneFromSnapshotNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.CloneFromSnapshotNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CloneFromSnapshotNotSupportedFault_Dec_Holder"

    class CollectorAddressUnsetFault_Dec(ElementDeclaration):
        literal = "CollectorAddressUnsetFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CollectorAddressUnsetFault")
            kw["aname"] = "_CollectorAddressUnsetFault"
            if ns0.CollectorAddressUnset_Def not in ns0.CollectorAddressUnsetFault_Dec.__bases__:
                bases = list(ns0.CollectorAddressUnsetFault_Dec.__bases__)
                bases.insert(0, ns0.CollectorAddressUnset_Def)
                ns0.CollectorAddressUnsetFault_Dec.__bases__ = tuple(bases)

            ns0.CollectorAddressUnset_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CollectorAddressUnsetFault_Dec_Holder"

    class ConcurrentAccessFault_Dec(ElementDeclaration):
        literal = "ConcurrentAccessFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConcurrentAccessFault")
            kw["aname"] = "_ConcurrentAccessFault"
            if ns0.ConcurrentAccess_Def not in ns0.ConcurrentAccessFault_Dec.__bases__:
                bases = list(ns0.ConcurrentAccessFault_Dec.__bases__)
                bases.insert(0, ns0.ConcurrentAccess_Def)
                ns0.ConcurrentAccessFault_Dec.__bases__ = tuple(bases)

            ns0.ConcurrentAccess_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConcurrentAccessFault_Dec_Holder"

    class ConflictingConfigurationFault_Dec(ElementDeclaration):
        literal = "ConflictingConfigurationFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConflictingConfigurationFault")
            kw["aname"] = "_ConflictingConfigurationFault"
            if ns0.ConflictingConfiguration_Def not in ns0.ConflictingConfigurationFault_Dec.__bases__:
                bases = list(ns0.ConflictingConfigurationFault_Dec.__bases__)
                bases.insert(0, ns0.ConflictingConfiguration_Def)
                ns0.ConflictingConfigurationFault_Dec.__bases__ = tuple(bases)

            ns0.ConflictingConfiguration_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConflictingConfigurationFault_Dec_Holder"

    class ConflictingDatastoreFoundFault_Dec(ElementDeclaration):
        literal = "ConflictingDatastoreFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConflictingDatastoreFoundFault")
            kw["aname"] = "_ConflictingDatastoreFoundFault"
            if ns0.ConflictingDatastoreFound_Def not in ns0.ConflictingDatastoreFoundFault_Dec.__bases__:
                bases = list(ns0.ConflictingDatastoreFoundFault_Dec.__bases__)
                bases.insert(0, ns0.ConflictingDatastoreFound_Def)
                ns0.ConflictingDatastoreFoundFault_Dec.__bases__ = tuple(bases)

            ns0.ConflictingDatastoreFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConflictingDatastoreFoundFault_Dec_Holder"

    class ConnectedIsoFault_Dec(ElementDeclaration):
        literal = "ConnectedIsoFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConnectedIsoFault")
            kw["aname"] = "_ConnectedIsoFault"
            if ns0.ConnectedIso_Def not in ns0.ConnectedIsoFault_Dec.__bases__:
                bases = list(ns0.ConnectedIsoFault_Dec.__bases__)
                bases.insert(0, ns0.ConnectedIso_Def)
                ns0.ConnectedIsoFault_Dec.__bases__ = tuple(bases)

            ns0.ConnectedIso_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConnectedIsoFault_Dec_Holder"

    class CpuCompatibilityUnknownFault_Dec(ElementDeclaration):
        literal = "CpuCompatibilityUnknownFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CpuCompatibilityUnknownFault")
            kw["aname"] = "_CpuCompatibilityUnknownFault"
            if ns0.CpuCompatibilityUnknown_Def not in ns0.CpuCompatibilityUnknownFault_Dec.__bases__:
                bases = list(ns0.CpuCompatibilityUnknownFault_Dec.__bases__)
                bases.insert(0, ns0.CpuCompatibilityUnknown_Def)
                ns0.CpuCompatibilityUnknownFault_Dec.__bases__ = tuple(bases)

            ns0.CpuCompatibilityUnknown_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CpuCompatibilityUnknownFault_Dec_Holder"

    class CpuHotPlugNotSupportedFault_Dec(ElementDeclaration):
        literal = "CpuHotPlugNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CpuHotPlugNotSupportedFault")
            kw["aname"] = "_CpuHotPlugNotSupportedFault"
            if ns0.CpuHotPlugNotSupported_Def not in ns0.CpuHotPlugNotSupportedFault_Dec.__bases__:
                bases = list(ns0.CpuHotPlugNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.CpuHotPlugNotSupported_Def)
                ns0.CpuHotPlugNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.CpuHotPlugNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CpuHotPlugNotSupportedFault_Dec_Holder"

    class CpuIncompatibleFault_Dec(ElementDeclaration):
        literal = "CpuIncompatibleFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CpuIncompatibleFault")
            kw["aname"] = "_CpuIncompatibleFault"
            if ns0.CpuIncompatible_Def not in ns0.CpuIncompatibleFault_Dec.__bases__:
                bases = list(ns0.CpuIncompatibleFault_Dec.__bases__)
                bases.insert(0, ns0.CpuIncompatible_Def)
                ns0.CpuIncompatibleFault_Dec.__bases__ = tuple(bases)

            ns0.CpuIncompatible_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CpuIncompatibleFault_Dec_Holder"

    class CpuIncompatible1ECXFault_Dec(ElementDeclaration):
        literal = "CpuIncompatible1ECXFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CpuIncompatible1ECXFault")
            kw["aname"] = "_CpuIncompatible1ECXFault"
            if ns0.CpuIncompatible1ECX_Def not in ns0.CpuIncompatible1ECXFault_Dec.__bases__:
                bases = list(ns0.CpuIncompatible1ECXFault_Dec.__bases__)
                bases.insert(0, ns0.CpuIncompatible1ECX_Def)
                ns0.CpuIncompatible1ECXFault_Dec.__bases__ = tuple(bases)

            ns0.CpuIncompatible1ECX_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CpuIncompatible1ECXFault_Dec_Holder"

    class CpuIncompatible81EDXFault_Dec(ElementDeclaration):
        literal = "CpuIncompatible81EDXFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CpuIncompatible81EDXFault")
            kw["aname"] = "_CpuIncompatible81EDXFault"
            if ns0.CpuIncompatible81EDX_Def not in ns0.CpuIncompatible81EDXFault_Dec.__bases__:
                bases = list(ns0.CpuIncompatible81EDXFault_Dec.__bases__)
                bases.insert(0, ns0.CpuIncompatible81EDX_Def)
                ns0.CpuIncompatible81EDXFault_Dec.__bases__ = tuple(bases)

            ns0.CpuIncompatible81EDX_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CpuIncompatible81EDXFault_Dec_Holder"

    class CustomizationFaultFault_Dec(ElementDeclaration):
        literal = "CustomizationFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CustomizationFaultFault")
            kw["aname"] = "_CustomizationFaultFault"
            if ns0.CustomizationFault_Def not in ns0.CustomizationFaultFault_Dec.__bases__:
                bases = list(ns0.CustomizationFaultFault_Dec.__bases__)
                bases.insert(0, ns0.CustomizationFault_Def)
                ns0.CustomizationFaultFault_Dec.__bases__ = tuple(bases)

            ns0.CustomizationFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CustomizationFaultFault_Dec_Holder"

    class CustomizationPendingFault_Dec(ElementDeclaration):
        literal = "CustomizationPendingFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CustomizationPendingFault")
            kw["aname"] = "_CustomizationPendingFault"
            if ns0.CustomizationPending_Def not in ns0.CustomizationPendingFault_Dec.__bases__:
                bases = list(ns0.CustomizationPendingFault_Dec.__bases__)
                bases.insert(0, ns0.CustomizationPending_Def)
                ns0.CustomizationPendingFault_Dec.__bases__ = tuple(bases)

            ns0.CustomizationPending_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CustomizationPendingFault_Dec_Holder"

    class DVPortNotSupportedFault_Dec(ElementDeclaration):
        literal = "DVPortNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DVPortNotSupportedFault")
            kw["aname"] = "_DVPortNotSupportedFault"
            if ns0.DVPortNotSupported_Def not in ns0.DVPortNotSupportedFault_Dec.__bases__:
                bases = list(ns0.DVPortNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.DVPortNotSupported_Def)
                ns0.DVPortNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.DVPortNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DVPortNotSupportedFault_Dec_Holder"

    class DasConfigFaultFault_Dec(ElementDeclaration):
        literal = "DasConfigFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DasConfigFaultFault")
            kw["aname"] = "_DasConfigFaultFault"
            if ns0.DasConfigFault_Def not in ns0.DasConfigFaultFault_Dec.__bases__:
                bases = list(ns0.DasConfigFaultFault_Dec.__bases__)
                bases.insert(0, ns0.DasConfigFault_Def)
                ns0.DasConfigFaultFault_Dec.__bases__ = tuple(bases)

            ns0.DasConfigFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DasConfigFaultFault_Dec_Holder"

    class DatabaseErrorFault_Dec(ElementDeclaration):
        literal = "DatabaseErrorFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DatabaseErrorFault")
            kw["aname"] = "_DatabaseErrorFault"
            if ns0.DatabaseError_Def not in ns0.DatabaseErrorFault_Dec.__bases__:
                bases = list(ns0.DatabaseErrorFault_Dec.__bases__)
                bases.insert(0, ns0.DatabaseError_Def)
                ns0.DatabaseErrorFault_Dec.__bases__ = tuple(bases)

            ns0.DatabaseError_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DatabaseErrorFault_Dec_Holder"

    class DatacenterMismatchFault_Dec(ElementDeclaration):
        literal = "DatacenterMismatchFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DatacenterMismatchFault")
            kw["aname"] = "_DatacenterMismatchFault"
            if ns0.DatacenterMismatch_Def not in ns0.DatacenterMismatchFault_Dec.__bases__:
                bases = list(ns0.DatacenterMismatchFault_Dec.__bases__)
                bases.insert(0, ns0.DatacenterMismatch_Def)
                ns0.DatacenterMismatchFault_Dec.__bases__ = tuple(bases)

            ns0.DatacenterMismatch_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DatacenterMismatchFault_Dec_Holder"

    class DatastoreNotWritableOnHostFault_Dec(ElementDeclaration):
        literal = "DatastoreNotWritableOnHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DatastoreNotWritableOnHostFault")
            kw["aname"] = "_DatastoreNotWritableOnHostFault"
            if ns0.DatastoreNotWritableOnHost_Def not in ns0.DatastoreNotWritableOnHostFault_Dec.__bases__:
                bases = list(ns0.DatastoreNotWritableOnHostFault_Dec.__bases__)
                bases.insert(0, ns0.DatastoreNotWritableOnHost_Def)
                ns0.DatastoreNotWritableOnHostFault_Dec.__bases__ = tuple(bases)

            ns0.DatastoreNotWritableOnHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DatastoreNotWritableOnHostFault_Dec_Holder"

    class DeltaDiskFormatNotSupportedFault_Dec(ElementDeclaration):
        literal = "DeltaDiskFormatNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeltaDiskFormatNotSupportedFault")
            kw["aname"] = "_DeltaDiskFormatNotSupportedFault"
            if ns0.DeltaDiskFormatNotSupported_Def not in ns0.DeltaDiskFormatNotSupportedFault_Dec.__bases__:
                bases = list(ns0.DeltaDiskFormatNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.DeltaDiskFormatNotSupported_Def)
                ns0.DeltaDiskFormatNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.DeltaDiskFormatNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeltaDiskFormatNotSupportedFault_Dec_Holder"

    class DestinationSwitchFullFault_Dec(ElementDeclaration):
        literal = "DestinationSwitchFullFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DestinationSwitchFullFault")
            kw["aname"] = "_DestinationSwitchFullFault"
            if ns0.DestinationSwitchFull_Def not in ns0.DestinationSwitchFullFault_Dec.__bases__:
                bases = list(ns0.DestinationSwitchFullFault_Dec.__bases__)
                bases.insert(0, ns0.DestinationSwitchFull_Def)
                ns0.DestinationSwitchFullFault_Dec.__bases__ = tuple(bases)

            ns0.DestinationSwitchFull_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DestinationSwitchFullFault_Dec_Holder"

    class DestinationVsanDisabledFault_Dec(ElementDeclaration):
        literal = "DestinationVsanDisabledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DestinationVsanDisabledFault")
            kw["aname"] = "_DestinationVsanDisabledFault"
            if ns0.DestinationVsanDisabled_Def not in ns0.DestinationVsanDisabledFault_Dec.__bases__:
                bases = list(ns0.DestinationVsanDisabledFault_Dec.__bases__)
                bases.insert(0, ns0.DestinationVsanDisabled_Def)
                ns0.DestinationVsanDisabledFault_Dec.__bases__ = tuple(bases)

            ns0.DestinationVsanDisabled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DestinationVsanDisabledFault_Dec_Holder"

    class DeviceBackingNotSupportedFault_Dec(ElementDeclaration):
        literal = "DeviceBackingNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeviceBackingNotSupportedFault")
            kw["aname"] = "_DeviceBackingNotSupportedFault"
            if ns0.DeviceBackingNotSupported_Def not in ns0.DeviceBackingNotSupportedFault_Dec.__bases__:
                bases = list(ns0.DeviceBackingNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.DeviceBackingNotSupported_Def)
                ns0.DeviceBackingNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.DeviceBackingNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeviceBackingNotSupportedFault_Dec_Holder"

    class DeviceControllerNotSupportedFault_Dec(ElementDeclaration):
        literal = "DeviceControllerNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeviceControllerNotSupportedFault")
            kw["aname"] = "_DeviceControllerNotSupportedFault"
            if ns0.DeviceControllerNotSupported_Def not in ns0.DeviceControllerNotSupportedFault_Dec.__bases__:
                bases = list(ns0.DeviceControllerNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.DeviceControllerNotSupported_Def)
                ns0.DeviceControllerNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.DeviceControllerNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeviceControllerNotSupportedFault_Dec_Holder"

    class DeviceHotPlugNotSupportedFault_Dec(ElementDeclaration):
        literal = "DeviceHotPlugNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeviceHotPlugNotSupportedFault")
            kw["aname"] = "_DeviceHotPlugNotSupportedFault"
            if ns0.DeviceHotPlugNotSupported_Def not in ns0.DeviceHotPlugNotSupportedFault_Dec.__bases__:
                bases = list(ns0.DeviceHotPlugNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.DeviceHotPlugNotSupported_Def)
                ns0.DeviceHotPlugNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.DeviceHotPlugNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeviceHotPlugNotSupportedFault_Dec_Holder"

    class DeviceNotFoundFault_Dec(ElementDeclaration):
        literal = "DeviceNotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeviceNotFoundFault")
            kw["aname"] = "_DeviceNotFoundFault"
            if ns0.DeviceNotFound_Def not in ns0.DeviceNotFoundFault_Dec.__bases__:
                bases = list(ns0.DeviceNotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.DeviceNotFound_Def)
                ns0.DeviceNotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.DeviceNotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeviceNotFoundFault_Dec_Holder"

    class DeviceNotSupportedFault_Dec(ElementDeclaration):
        literal = "DeviceNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeviceNotSupportedFault")
            kw["aname"] = "_DeviceNotSupportedFault"
            if ns0.DeviceNotSupported_Def not in ns0.DeviceNotSupportedFault_Dec.__bases__:
                bases = list(ns0.DeviceNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.DeviceNotSupported_Def)
                ns0.DeviceNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.DeviceNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeviceNotSupportedFault_Dec_Holder"

    class DeviceUnsupportedForVmPlatformFault_Dec(ElementDeclaration):
        literal = "DeviceUnsupportedForVmPlatformFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeviceUnsupportedForVmPlatformFault")
            kw["aname"] = "_DeviceUnsupportedForVmPlatformFault"
            if ns0.DeviceUnsupportedForVmPlatform_Def not in ns0.DeviceUnsupportedForVmPlatformFault_Dec.__bases__:
                bases = list(ns0.DeviceUnsupportedForVmPlatformFault_Dec.__bases__)
                bases.insert(0, ns0.DeviceUnsupportedForVmPlatform_Def)
                ns0.DeviceUnsupportedForVmPlatformFault_Dec.__bases__ = tuple(bases)

            ns0.DeviceUnsupportedForVmPlatform_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeviceUnsupportedForVmPlatformFault_Dec_Holder"

    class DeviceUnsupportedForVmVersionFault_Dec(ElementDeclaration):
        literal = "DeviceUnsupportedForVmVersionFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeviceUnsupportedForVmVersionFault")
            kw["aname"] = "_DeviceUnsupportedForVmVersionFault"
            if ns0.DeviceUnsupportedForVmVersion_Def not in ns0.DeviceUnsupportedForVmVersionFault_Dec.__bases__:
                bases = list(ns0.DeviceUnsupportedForVmVersionFault_Dec.__bases__)
                bases.insert(0, ns0.DeviceUnsupportedForVmVersion_Def)
                ns0.DeviceUnsupportedForVmVersionFault_Dec.__bases__ = tuple(bases)

            ns0.DeviceUnsupportedForVmVersion_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeviceUnsupportedForVmVersionFault_Dec_Holder"

    class DigestNotSupportedFault_Dec(ElementDeclaration):
        literal = "DigestNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DigestNotSupportedFault")
            kw["aname"] = "_DigestNotSupportedFault"
            if ns0.DigestNotSupported_Def not in ns0.DigestNotSupportedFault_Dec.__bases__:
                bases = list(ns0.DigestNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.DigestNotSupported_Def)
                ns0.DigestNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.DigestNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DigestNotSupportedFault_Dec_Holder"

    class DirectoryNotEmptyFault_Dec(ElementDeclaration):
        literal = "DirectoryNotEmptyFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DirectoryNotEmptyFault")
            kw["aname"] = "_DirectoryNotEmptyFault"
            if ns0.DirectoryNotEmpty_Def not in ns0.DirectoryNotEmptyFault_Dec.__bases__:
                bases = list(ns0.DirectoryNotEmptyFault_Dec.__bases__)
                bases.insert(0, ns0.DirectoryNotEmpty_Def)
                ns0.DirectoryNotEmptyFault_Dec.__bases__ = tuple(bases)

            ns0.DirectoryNotEmpty_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DirectoryNotEmptyFault_Dec_Holder"

    class DisableAdminNotSupportedFault_Dec(ElementDeclaration):
        literal = "DisableAdminNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DisableAdminNotSupportedFault")
            kw["aname"] = "_DisableAdminNotSupportedFault"
            if ns0.DisableAdminNotSupported_Def not in ns0.DisableAdminNotSupportedFault_Dec.__bases__:
                bases = list(ns0.DisableAdminNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.DisableAdminNotSupported_Def)
                ns0.DisableAdminNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.DisableAdminNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DisableAdminNotSupportedFault_Dec_Holder"

    class DisallowedChangeByServiceFault_Dec(ElementDeclaration):
        literal = "DisallowedChangeByServiceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DisallowedChangeByServiceFault")
            kw["aname"] = "_DisallowedChangeByServiceFault"
            if ns0.DisallowedChangeByService_Def not in ns0.DisallowedChangeByServiceFault_Dec.__bases__:
                bases = list(ns0.DisallowedChangeByServiceFault_Dec.__bases__)
                bases.insert(0, ns0.DisallowedChangeByService_Def)
                ns0.DisallowedChangeByServiceFault_Dec.__bases__ = tuple(bases)

            ns0.DisallowedChangeByService_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DisallowedChangeByServiceFault_Dec_Holder"

    class DisallowedDiskModeChangeFault_Dec(ElementDeclaration):
        literal = "DisallowedDiskModeChangeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DisallowedDiskModeChangeFault")
            kw["aname"] = "_DisallowedDiskModeChangeFault"
            if ns0.DisallowedDiskModeChange_Def not in ns0.DisallowedDiskModeChangeFault_Dec.__bases__:
                bases = list(ns0.DisallowedDiskModeChangeFault_Dec.__bases__)
                bases.insert(0, ns0.DisallowedDiskModeChange_Def)
                ns0.DisallowedDiskModeChangeFault_Dec.__bases__ = tuple(bases)

            ns0.DisallowedDiskModeChange_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DisallowedDiskModeChangeFault_Dec_Holder"

    class DisallowedMigrationDeviceAttachedFault_Dec(ElementDeclaration):
        literal = "DisallowedMigrationDeviceAttachedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DisallowedMigrationDeviceAttachedFault")
            kw["aname"] = "_DisallowedMigrationDeviceAttachedFault"
            if ns0.DisallowedMigrationDeviceAttached_Def not in ns0.DisallowedMigrationDeviceAttachedFault_Dec.__bases__:
                bases = list(ns0.DisallowedMigrationDeviceAttachedFault_Dec.__bases__)
                bases.insert(0, ns0.DisallowedMigrationDeviceAttached_Def)
                ns0.DisallowedMigrationDeviceAttachedFault_Dec.__bases__ = tuple(bases)

            ns0.DisallowedMigrationDeviceAttached_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DisallowedMigrationDeviceAttachedFault_Dec_Holder"

    class DisallowedOperationOnFailoverHostFault_Dec(ElementDeclaration):
        literal = "DisallowedOperationOnFailoverHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DisallowedOperationOnFailoverHostFault")
            kw["aname"] = "_DisallowedOperationOnFailoverHostFault"
            if ns0.DisallowedOperationOnFailoverHost_Def not in ns0.DisallowedOperationOnFailoverHostFault_Dec.__bases__:
                bases = list(ns0.DisallowedOperationOnFailoverHostFault_Dec.__bases__)
                bases.insert(0, ns0.DisallowedOperationOnFailoverHost_Def)
                ns0.DisallowedOperationOnFailoverHostFault_Dec.__bases__ = tuple(bases)

            ns0.DisallowedOperationOnFailoverHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DisallowedOperationOnFailoverHostFault_Dec_Holder"

    class DisconnectedHostsBlockingEVCFault_Dec(ElementDeclaration):
        literal = "DisconnectedHostsBlockingEVCFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DisconnectedHostsBlockingEVCFault")
            kw["aname"] = "_DisconnectedHostsBlockingEVCFault"
            if ns0.DisconnectedHostsBlockingEVC_Def not in ns0.DisconnectedHostsBlockingEVCFault_Dec.__bases__:
                bases = list(ns0.DisconnectedHostsBlockingEVCFault_Dec.__bases__)
                bases.insert(0, ns0.DisconnectedHostsBlockingEVC_Def)
                ns0.DisconnectedHostsBlockingEVCFault_Dec.__bases__ = tuple(bases)

            ns0.DisconnectedHostsBlockingEVC_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DisconnectedHostsBlockingEVCFault_Dec_Holder"

    class DiskHasPartitionsFault_Dec(ElementDeclaration):
        literal = "DiskHasPartitionsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DiskHasPartitionsFault")
            kw["aname"] = "_DiskHasPartitionsFault"
            if ns0.DiskHasPartitions_Def not in ns0.DiskHasPartitionsFault_Dec.__bases__:
                bases = list(ns0.DiskHasPartitionsFault_Dec.__bases__)
                bases.insert(0, ns0.DiskHasPartitions_Def)
                ns0.DiskHasPartitionsFault_Dec.__bases__ = tuple(bases)

            ns0.DiskHasPartitions_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DiskHasPartitionsFault_Dec_Holder"

    class DiskIsLastRemainingNonSSDFault_Dec(ElementDeclaration):
        literal = "DiskIsLastRemainingNonSSDFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DiskIsLastRemainingNonSSDFault")
            kw["aname"] = "_DiskIsLastRemainingNonSSDFault"
            if ns0.DiskIsLastRemainingNonSSD_Def not in ns0.DiskIsLastRemainingNonSSDFault_Dec.__bases__:
                bases = list(ns0.DiskIsLastRemainingNonSSDFault_Dec.__bases__)
                bases.insert(0, ns0.DiskIsLastRemainingNonSSD_Def)
                ns0.DiskIsLastRemainingNonSSDFault_Dec.__bases__ = tuple(bases)

            ns0.DiskIsLastRemainingNonSSD_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DiskIsLastRemainingNonSSDFault_Dec_Holder"

    class DiskIsNonLocalFault_Dec(ElementDeclaration):
        literal = "DiskIsNonLocalFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DiskIsNonLocalFault")
            kw["aname"] = "_DiskIsNonLocalFault"
            if ns0.DiskIsNonLocal_Def not in ns0.DiskIsNonLocalFault_Dec.__bases__:
                bases = list(ns0.DiskIsNonLocalFault_Dec.__bases__)
                bases.insert(0, ns0.DiskIsNonLocal_Def)
                ns0.DiskIsNonLocalFault_Dec.__bases__ = tuple(bases)

            ns0.DiskIsNonLocal_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DiskIsNonLocalFault_Dec_Holder"

    class DiskIsUSBFault_Dec(ElementDeclaration):
        literal = "DiskIsUSBFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DiskIsUSBFault")
            kw["aname"] = "_DiskIsUSBFault"
            if ns0.DiskIsUSB_Def not in ns0.DiskIsUSBFault_Dec.__bases__:
                bases = list(ns0.DiskIsUSBFault_Dec.__bases__)
                bases.insert(0, ns0.DiskIsUSB_Def)
                ns0.DiskIsUSBFault_Dec.__bases__ = tuple(bases)

            ns0.DiskIsUSB_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DiskIsUSBFault_Dec_Holder"

    class DiskMoveTypeNotSupportedFault_Dec(ElementDeclaration):
        literal = "DiskMoveTypeNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DiskMoveTypeNotSupportedFault")
            kw["aname"] = "_DiskMoveTypeNotSupportedFault"
            if ns0.DiskMoveTypeNotSupported_Def not in ns0.DiskMoveTypeNotSupportedFault_Dec.__bases__:
                bases = list(ns0.DiskMoveTypeNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.DiskMoveTypeNotSupported_Def)
                ns0.DiskMoveTypeNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.DiskMoveTypeNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DiskMoveTypeNotSupportedFault_Dec_Holder"

    class DiskNotSupportedFault_Dec(ElementDeclaration):
        literal = "DiskNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DiskNotSupportedFault")
            kw["aname"] = "_DiskNotSupportedFault"
            if ns0.DiskNotSupported_Def not in ns0.DiskNotSupportedFault_Dec.__bases__:
                bases = list(ns0.DiskNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.DiskNotSupported_Def)
                ns0.DiskNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.DiskNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DiskNotSupportedFault_Dec_Holder"

    class DiskTooSmallFault_Dec(ElementDeclaration):
        literal = "DiskTooSmallFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DiskTooSmallFault")
            kw["aname"] = "_DiskTooSmallFault"
            if ns0.DiskTooSmall_Def not in ns0.DiskTooSmallFault_Dec.__bases__:
                bases = list(ns0.DiskTooSmallFault_Dec.__bases__)
                bases.insert(0, ns0.DiskTooSmall_Def)
                ns0.DiskTooSmallFault_Dec.__bases__ = tuple(bases)

            ns0.DiskTooSmall_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DiskTooSmallFault_Dec_Holder"

    class DomainNotFoundFault_Dec(ElementDeclaration):
        literal = "DomainNotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DomainNotFoundFault")
            kw["aname"] = "_DomainNotFoundFault"
            if ns0.DomainNotFound_Def not in ns0.DomainNotFoundFault_Dec.__bases__:
                bases = list(ns0.DomainNotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.DomainNotFound_Def)
                ns0.DomainNotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.DomainNotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DomainNotFoundFault_Dec_Holder"

    class DrsDisabledOnVmFault_Dec(ElementDeclaration):
        literal = "DrsDisabledOnVmFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DrsDisabledOnVmFault")
            kw["aname"] = "_DrsDisabledOnVmFault"
            if ns0.DrsDisabledOnVm_Def not in ns0.DrsDisabledOnVmFault_Dec.__bases__:
                bases = list(ns0.DrsDisabledOnVmFault_Dec.__bases__)
                bases.insert(0, ns0.DrsDisabledOnVm_Def)
                ns0.DrsDisabledOnVmFault_Dec.__bases__ = tuple(bases)

            ns0.DrsDisabledOnVm_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DrsDisabledOnVmFault_Dec_Holder"

    class DrsVmotionIncompatibleFaultFault_Dec(ElementDeclaration):
        literal = "DrsVmotionIncompatibleFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DrsVmotionIncompatibleFaultFault")
            kw["aname"] = "_DrsVmotionIncompatibleFaultFault"
            if ns0.DrsVmotionIncompatibleFault_Def not in ns0.DrsVmotionIncompatibleFaultFault_Dec.__bases__:
                bases = list(ns0.DrsVmotionIncompatibleFaultFault_Dec.__bases__)
                bases.insert(0, ns0.DrsVmotionIncompatibleFault_Def)
                ns0.DrsVmotionIncompatibleFaultFault_Dec.__bases__ = tuple(bases)

            ns0.DrsVmotionIncompatibleFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DrsVmotionIncompatibleFaultFault_Dec_Holder"

    class DuplicateDisksFault_Dec(ElementDeclaration):
        literal = "DuplicateDisksFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DuplicateDisksFault")
            kw["aname"] = "_DuplicateDisksFault"
            if ns0.DuplicateDisks_Def not in ns0.DuplicateDisksFault_Dec.__bases__:
                bases = list(ns0.DuplicateDisksFault_Dec.__bases__)
                bases.insert(0, ns0.DuplicateDisks_Def)
                ns0.DuplicateDisksFault_Dec.__bases__ = tuple(bases)

            ns0.DuplicateDisks_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DuplicateDisksFault_Dec_Holder"

    class DuplicateNameFault_Dec(ElementDeclaration):
        literal = "DuplicateNameFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DuplicateNameFault")
            kw["aname"] = "_DuplicateNameFault"
            if ns0.DuplicateName_Def not in ns0.DuplicateNameFault_Dec.__bases__:
                bases = list(ns0.DuplicateNameFault_Dec.__bases__)
                bases.insert(0, ns0.DuplicateName_Def)
                ns0.DuplicateNameFault_Dec.__bases__ = tuple(bases)

            ns0.DuplicateName_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DuplicateNameFault_Dec_Holder"

    class DuplicateVsanNetworkInterfaceFault_Dec(ElementDeclaration):
        literal = "DuplicateVsanNetworkInterfaceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DuplicateVsanNetworkInterfaceFault")
            kw["aname"] = "_DuplicateVsanNetworkInterfaceFault"
            if ns0.DuplicateVsanNetworkInterface_Def not in ns0.DuplicateVsanNetworkInterfaceFault_Dec.__bases__:
                bases = list(ns0.DuplicateVsanNetworkInterfaceFault_Dec.__bases__)
                bases.insert(0, ns0.DuplicateVsanNetworkInterface_Def)
                ns0.DuplicateVsanNetworkInterfaceFault_Dec.__bases__ = tuple(bases)

            ns0.DuplicateVsanNetworkInterface_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DuplicateVsanNetworkInterfaceFault_Dec_Holder"

    class DvsApplyOperationFaultFault_Dec(ElementDeclaration):
        literal = "DvsApplyOperationFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DvsApplyOperationFaultFault")
            kw["aname"] = "_DvsApplyOperationFaultFault"
            if ns0.DvsApplyOperationFault_Def not in ns0.DvsApplyOperationFaultFault_Dec.__bases__:
                bases = list(ns0.DvsApplyOperationFaultFault_Dec.__bases__)
                bases.insert(0, ns0.DvsApplyOperationFault_Def)
                ns0.DvsApplyOperationFaultFault_Dec.__bases__ = tuple(bases)

            ns0.DvsApplyOperationFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DvsApplyOperationFaultFault_Dec_Holder"

    class DvsFaultFault_Dec(ElementDeclaration):
        literal = "DvsFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DvsFaultFault")
            kw["aname"] = "_DvsFaultFault"
            if ns0.DvsFault_Def not in ns0.DvsFaultFault_Dec.__bases__:
                bases = list(ns0.DvsFaultFault_Dec.__bases__)
                bases.insert(0, ns0.DvsFault_Def)
                ns0.DvsFaultFault_Dec.__bases__ = tuple(bases)

            ns0.DvsFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DvsFaultFault_Dec_Holder"

    class DvsNotAuthorizedFault_Dec(ElementDeclaration):
        literal = "DvsNotAuthorizedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DvsNotAuthorizedFault")
            kw["aname"] = "_DvsNotAuthorizedFault"
            if ns0.DvsNotAuthorized_Def not in ns0.DvsNotAuthorizedFault_Dec.__bases__:
                bases = list(ns0.DvsNotAuthorizedFault_Dec.__bases__)
                bases.insert(0, ns0.DvsNotAuthorized_Def)
                ns0.DvsNotAuthorizedFault_Dec.__bases__ = tuple(bases)

            ns0.DvsNotAuthorized_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DvsNotAuthorizedFault_Dec_Holder"

    class DvsOperationBulkFaultFault_Dec(ElementDeclaration):
        literal = "DvsOperationBulkFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DvsOperationBulkFaultFault")
            kw["aname"] = "_DvsOperationBulkFaultFault"
            if ns0.DvsOperationBulkFault_Def not in ns0.DvsOperationBulkFaultFault_Dec.__bases__:
                bases = list(ns0.DvsOperationBulkFaultFault_Dec.__bases__)
                bases.insert(0, ns0.DvsOperationBulkFault_Def)
                ns0.DvsOperationBulkFaultFault_Dec.__bases__ = tuple(bases)

            ns0.DvsOperationBulkFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DvsOperationBulkFaultFault_Dec_Holder"

    class DvsScopeViolatedFault_Dec(ElementDeclaration):
        literal = "DvsScopeViolatedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DvsScopeViolatedFault")
            kw["aname"] = "_DvsScopeViolatedFault"
            if ns0.DvsScopeViolated_Def not in ns0.DvsScopeViolatedFault_Dec.__bases__:
                bases = list(ns0.DvsScopeViolatedFault_Dec.__bases__)
                bases.insert(0, ns0.DvsScopeViolated_Def)
                ns0.DvsScopeViolatedFault_Dec.__bases__ = tuple(bases)

            ns0.DvsScopeViolated_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DvsScopeViolatedFault_Dec_Holder"

    class EVCAdmissionFailedFault_Dec(ElementDeclaration):
        literal = "EVCAdmissionFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCAdmissionFailedFault")
            kw["aname"] = "_EVCAdmissionFailedFault"
            if ns0.EVCAdmissionFailed_Def not in ns0.EVCAdmissionFailedFault_Dec.__bases__:
                bases = list(ns0.EVCAdmissionFailedFault_Dec.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailed_Def)
                ns0.EVCAdmissionFailedFault_Dec.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCAdmissionFailedFault_Dec_Holder"

    class EVCAdmissionFailedCPUFeaturesForModeFault_Dec(ElementDeclaration):
        literal = "EVCAdmissionFailedCPUFeaturesForModeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCAdmissionFailedCPUFeaturesForModeFault")
            kw["aname"] = "_EVCAdmissionFailedCPUFeaturesForModeFault"
            if ns0.EVCAdmissionFailedCPUFeaturesForMode_Def not in ns0.EVCAdmissionFailedCPUFeaturesForModeFault_Dec.__bases__:
                bases = list(ns0.EVCAdmissionFailedCPUFeaturesForModeFault_Dec.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailedCPUFeaturesForMode_Def)
                ns0.EVCAdmissionFailedCPUFeaturesForModeFault_Dec.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailedCPUFeaturesForMode_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCAdmissionFailedCPUFeaturesForModeFault_Dec_Holder"

    class EVCAdmissionFailedCPUModelFault_Dec(ElementDeclaration):
        literal = "EVCAdmissionFailedCPUModelFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCAdmissionFailedCPUModelFault")
            kw["aname"] = "_EVCAdmissionFailedCPUModelFault"
            if ns0.EVCAdmissionFailedCPUModel_Def not in ns0.EVCAdmissionFailedCPUModelFault_Dec.__bases__:
                bases = list(ns0.EVCAdmissionFailedCPUModelFault_Dec.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailedCPUModel_Def)
                ns0.EVCAdmissionFailedCPUModelFault_Dec.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailedCPUModel_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCAdmissionFailedCPUModelFault_Dec_Holder"

    class EVCAdmissionFailedCPUModelForModeFault_Dec(ElementDeclaration):
        literal = "EVCAdmissionFailedCPUModelForModeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCAdmissionFailedCPUModelForModeFault")
            kw["aname"] = "_EVCAdmissionFailedCPUModelForModeFault"
            if ns0.EVCAdmissionFailedCPUModelForMode_Def not in ns0.EVCAdmissionFailedCPUModelForModeFault_Dec.__bases__:
                bases = list(ns0.EVCAdmissionFailedCPUModelForModeFault_Dec.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailedCPUModelForMode_Def)
                ns0.EVCAdmissionFailedCPUModelForModeFault_Dec.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailedCPUModelForMode_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCAdmissionFailedCPUModelForModeFault_Dec_Holder"

    class EVCAdmissionFailedCPUVendorFault_Dec(ElementDeclaration):
        literal = "EVCAdmissionFailedCPUVendorFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCAdmissionFailedCPUVendorFault")
            kw["aname"] = "_EVCAdmissionFailedCPUVendorFault"
            if ns0.EVCAdmissionFailedCPUVendor_Def not in ns0.EVCAdmissionFailedCPUVendorFault_Dec.__bases__:
                bases = list(ns0.EVCAdmissionFailedCPUVendorFault_Dec.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailedCPUVendor_Def)
                ns0.EVCAdmissionFailedCPUVendorFault_Dec.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailedCPUVendor_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCAdmissionFailedCPUVendorFault_Dec_Holder"

    class EVCAdmissionFailedCPUVendorUnknownFault_Dec(ElementDeclaration):
        literal = "EVCAdmissionFailedCPUVendorUnknownFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCAdmissionFailedCPUVendorUnknownFault")
            kw["aname"] = "_EVCAdmissionFailedCPUVendorUnknownFault"
            if ns0.EVCAdmissionFailedCPUVendorUnknown_Def not in ns0.EVCAdmissionFailedCPUVendorUnknownFault_Dec.__bases__:
                bases = list(ns0.EVCAdmissionFailedCPUVendorUnknownFault_Dec.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailedCPUVendorUnknown_Def)
                ns0.EVCAdmissionFailedCPUVendorUnknownFault_Dec.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailedCPUVendorUnknown_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCAdmissionFailedCPUVendorUnknownFault_Dec_Holder"

    class EVCAdmissionFailedHostDisconnectedFault_Dec(ElementDeclaration):
        literal = "EVCAdmissionFailedHostDisconnectedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCAdmissionFailedHostDisconnectedFault")
            kw["aname"] = "_EVCAdmissionFailedHostDisconnectedFault"
            if ns0.EVCAdmissionFailedHostDisconnected_Def not in ns0.EVCAdmissionFailedHostDisconnectedFault_Dec.__bases__:
                bases = list(ns0.EVCAdmissionFailedHostDisconnectedFault_Dec.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailedHostDisconnected_Def)
                ns0.EVCAdmissionFailedHostDisconnectedFault_Dec.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailedHostDisconnected_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCAdmissionFailedHostDisconnectedFault_Dec_Holder"

    class EVCAdmissionFailedHostSoftwareFault_Dec(ElementDeclaration):
        literal = "EVCAdmissionFailedHostSoftwareFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCAdmissionFailedHostSoftwareFault")
            kw["aname"] = "_EVCAdmissionFailedHostSoftwareFault"
            if ns0.EVCAdmissionFailedHostSoftware_Def not in ns0.EVCAdmissionFailedHostSoftwareFault_Dec.__bases__:
                bases = list(ns0.EVCAdmissionFailedHostSoftwareFault_Dec.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailedHostSoftware_Def)
                ns0.EVCAdmissionFailedHostSoftwareFault_Dec.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailedHostSoftware_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCAdmissionFailedHostSoftwareFault_Dec_Holder"

    class EVCAdmissionFailedHostSoftwareForModeFault_Dec(ElementDeclaration):
        literal = "EVCAdmissionFailedHostSoftwareForModeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCAdmissionFailedHostSoftwareForModeFault")
            kw["aname"] = "_EVCAdmissionFailedHostSoftwareForModeFault"
            if ns0.EVCAdmissionFailedHostSoftwareForMode_Def not in ns0.EVCAdmissionFailedHostSoftwareForModeFault_Dec.__bases__:
                bases = list(ns0.EVCAdmissionFailedHostSoftwareForModeFault_Dec.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailedHostSoftwareForMode_Def)
                ns0.EVCAdmissionFailedHostSoftwareForModeFault_Dec.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailedHostSoftwareForMode_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCAdmissionFailedHostSoftwareForModeFault_Dec_Holder"

    class EVCAdmissionFailedVmActiveFault_Dec(ElementDeclaration):
        literal = "EVCAdmissionFailedVmActiveFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCAdmissionFailedVmActiveFault")
            kw["aname"] = "_EVCAdmissionFailedVmActiveFault"
            if ns0.EVCAdmissionFailedVmActive_Def not in ns0.EVCAdmissionFailedVmActiveFault_Dec.__bases__:
                bases = list(ns0.EVCAdmissionFailedVmActiveFault_Dec.__bases__)
                bases.insert(0, ns0.EVCAdmissionFailedVmActive_Def)
                ns0.EVCAdmissionFailedVmActiveFault_Dec.__bases__ = tuple(bases)

            ns0.EVCAdmissionFailedVmActive_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCAdmissionFailedVmActiveFault_Dec_Holder"

    class EVCConfigFaultFault_Dec(ElementDeclaration):
        literal = "EVCConfigFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCConfigFaultFault")
            kw["aname"] = "_EVCConfigFaultFault"
            if ns0.EVCConfigFault_Def not in ns0.EVCConfigFaultFault_Dec.__bases__:
                bases = list(ns0.EVCConfigFaultFault_Dec.__bases__)
                bases.insert(0, ns0.EVCConfigFault_Def)
                ns0.EVCConfigFaultFault_Dec.__bases__ = tuple(bases)

            ns0.EVCConfigFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCConfigFaultFault_Dec_Holder"

    class EVCModeIllegalByVendorFault_Dec(ElementDeclaration):
        literal = "EVCModeIllegalByVendorFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCModeIllegalByVendorFault")
            kw["aname"] = "_EVCModeIllegalByVendorFault"
            if ns0.EVCModeIllegalByVendor_Def not in ns0.EVCModeIllegalByVendorFault_Dec.__bases__:
                bases = list(ns0.EVCModeIllegalByVendorFault_Dec.__bases__)
                bases.insert(0, ns0.EVCModeIllegalByVendor_Def)
                ns0.EVCModeIllegalByVendorFault_Dec.__bases__ = tuple(bases)

            ns0.EVCModeIllegalByVendor_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCModeIllegalByVendorFault_Dec_Holder"

    class EVCModeUnsupportedByHostsFault_Dec(ElementDeclaration):
        literal = "EVCModeUnsupportedByHostsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCModeUnsupportedByHostsFault")
            kw["aname"] = "_EVCModeUnsupportedByHostsFault"
            if ns0.EVCModeUnsupportedByHosts_Def not in ns0.EVCModeUnsupportedByHostsFault_Dec.__bases__:
                bases = list(ns0.EVCModeUnsupportedByHostsFault_Dec.__bases__)
                bases.insert(0, ns0.EVCModeUnsupportedByHosts_Def)
                ns0.EVCModeUnsupportedByHostsFault_Dec.__bases__ = tuple(bases)

            ns0.EVCModeUnsupportedByHosts_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCModeUnsupportedByHostsFault_Dec_Holder"

    class EVCUnsupportedByHostHardwareFault_Dec(ElementDeclaration):
        literal = "EVCUnsupportedByHostHardwareFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCUnsupportedByHostHardwareFault")
            kw["aname"] = "_EVCUnsupportedByHostHardwareFault"
            if ns0.EVCUnsupportedByHostHardware_Def not in ns0.EVCUnsupportedByHostHardwareFault_Dec.__bases__:
                bases = list(ns0.EVCUnsupportedByHostHardwareFault_Dec.__bases__)
                bases.insert(0, ns0.EVCUnsupportedByHostHardware_Def)
                ns0.EVCUnsupportedByHostHardwareFault_Dec.__bases__ = tuple(bases)

            ns0.EVCUnsupportedByHostHardware_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCUnsupportedByHostHardwareFault_Dec_Holder"

    class EVCUnsupportedByHostSoftwareFault_Dec(ElementDeclaration):
        literal = "EVCUnsupportedByHostSoftwareFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EVCUnsupportedByHostSoftwareFault")
            kw["aname"] = "_EVCUnsupportedByHostSoftwareFault"
            if ns0.EVCUnsupportedByHostSoftware_Def not in ns0.EVCUnsupportedByHostSoftwareFault_Dec.__bases__:
                bases = list(ns0.EVCUnsupportedByHostSoftwareFault_Dec.__bases__)
                bases.insert(0, ns0.EVCUnsupportedByHostSoftware_Def)
                ns0.EVCUnsupportedByHostSoftwareFault_Dec.__bases__ = tuple(bases)

            ns0.EVCUnsupportedByHostSoftware_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EVCUnsupportedByHostSoftwareFault_Dec_Holder"

    class EightHostLimitViolatedFault_Dec(ElementDeclaration):
        literal = "EightHostLimitViolatedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EightHostLimitViolatedFault")
            kw["aname"] = "_EightHostLimitViolatedFault"
            if ns0.EightHostLimitViolated_Def not in ns0.EightHostLimitViolatedFault_Dec.__bases__:
                bases = list(ns0.EightHostLimitViolatedFault_Dec.__bases__)
                bases.insert(0, ns0.EightHostLimitViolated_Def)
                ns0.EightHostLimitViolatedFault_Dec.__bases__ = tuple(bases)

            ns0.EightHostLimitViolated_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EightHostLimitViolatedFault_Dec_Holder"

    class EncryptionKeyRequiredFault_Dec(ElementDeclaration):
        literal = "EncryptionKeyRequiredFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EncryptionKeyRequiredFault")
            kw["aname"] = "_EncryptionKeyRequiredFault"
            if ns0.EncryptionKeyRequired_Def not in ns0.EncryptionKeyRequiredFault_Dec.__bases__:
                bases = list(ns0.EncryptionKeyRequiredFault_Dec.__bases__)
                bases.insert(0, ns0.EncryptionKeyRequired_Def)
                ns0.EncryptionKeyRequiredFault_Dec.__bases__ = tuple(bases)

            ns0.EncryptionKeyRequired_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EncryptionKeyRequiredFault_Dec_Holder"

    class ExpiredAddonLicenseFault_Dec(ElementDeclaration):
        literal = "ExpiredAddonLicenseFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExpiredAddonLicenseFault")
            kw["aname"] = "_ExpiredAddonLicenseFault"
            if ns0.ExpiredAddonLicense_Def not in ns0.ExpiredAddonLicenseFault_Dec.__bases__:
                bases = list(ns0.ExpiredAddonLicenseFault_Dec.__bases__)
                bases.insert(0, ns0.ExpiredAddonLicense_Def)
                ns0.ExpiredAddonLicenseFault_Dec.__bases__ = tuple(bases)

            ns0.ExpiredAddonLicense_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExpiredAddonLicenseFault_Dec_Holder"

    class ExpiredEditionLicenseFault_Dec(ElementDeclaration):
        literal = "ExpiredEditionLicenseFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExpiredEditionLicenseFault")
            kw["aname"] = "_ExpiredEditionLicenseFault"
            if ns0.ExpiredEditionLicense_Def not in ns0.ExpiredEditionLicenseFault_Dec.__bases__:
                bases = list(ns0.ExpiredEditionLicenseFault_Dec.__bases__)
                bases.insert(0, ns0.ExpiredEditionLicense_Def)
                ns0.ExpiredEditionLicenseFault_Dec.__bases__ = tuple(bases)

            ns0.ExpiredEditionLicense_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExpiredEditionLicenseFault_Dec_Holder"

    class ExpiredFeatureLicenseFault_Dec(ElementDeclaration):
        literal = "ExpiredFeatureLicenseFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExpiredFeatureLicenseFault")
            kw["aname"] = "_ExpiredFeatureLicenseFault"
            if ns0.ExpiredFeatureLicense_Def not in ns0.ExpiredFeatureLicenseFault_Dec.__bases__:
                bases = list(ns0.ExpiredFeatureLicenseFault_Dec.__bases__)
                bases.insert(0, ns0.ExpiredFeatureLicense_Def)
                ns0.ExpiredFeatureLicenseFault_Dec.__bases__ = tuple(bases)

            ns0.ExpiredFeatureLicense_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExpiredFeatureLicenseFault_Dec_Holder"

    class ExtendedFaultFault_Dec(ElementDeclaration):
        literal = "ExtendedFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExtendedFaultFault")
            kw["aname"] = "_ExtendedFaultFault"
            if ns0.ExtendedFault_Def not in ns0.ExtendedFaultFault_Dec.__bases__:
                bases = list(ns0.ExtendedFaultFault_Dec.__bases__)
                bases.insert(0, ns0.ExtendedFault_Def)
                ns0.ExtendedFaultFault_Dec.__bases__ = tuple(bases)

            ns0.ExtendedFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExtendedFaultFault_Dec_Holder"

    class FailToEnableSPBMFault_Dec(ElementDeclaration):
        literal = "FailToEnableSPBMFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FailToEnableSPBMFault")
            kw["aname"] = "_FailToEnableSPBMFault"
            if ns0.FailToEnableSPBM_Def not in ns0.FailToEnableSPBMFault_Dec.__bases__:
                bases = list(ns0.FailToEnableSPBMFault_Dec.__bases__)
                bases.insert(0, ns0.FailToEnableSPBM_Def)
                ns0.FailToEnableSPBMFault_Dec.__bases__ = tuple(bases)

            ns0.FailToEnableSPBM_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FailToEnableSPBMFault_Dec_Holder"

    class FailToLockFaultToleranceVMsFault_Dec(ElementDeclaration):
        literal = "FailToLockFaultToleranceVMsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FailToLockFaultToleranceVMsFault")
            kw["aname"] = "_FailToLockFaultToleranceVMsFault"
            if ns0.FailToLockFaultToleranceVMs_Def not in ns0.FailToLockFaultToleranceVMsFault_Dec.__bases__:
                bases = list(ns0.FailToLockFaultToleranceVMsFault_Dec.__bases__)
                bases.insert(0, ns0.FailToLockFaultToleranceVMs_Def)
                ns0.FailToLockFaultToleranceVMsFault_Dec.__bases__ = tuple(bases)

            ns0.FailToLockFaultToleranceVMs_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FailToLockFaultToleranceVMsFault_Dec_Holder"

    class FaultToleranceAntiAffinityViolatedFault_Dec(ElementDeclaration):
        literal = "FaultToleranceAntiAffinityViolatedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FaultToleranceAntiAffinityViolatedFault")
            kw["aname"] = "_FaultToleranceAntiAffinityViolatedFault"
            if ns0.FaultToleranceAntiAffinityViolated_Def not in ns0.FaultToleranceAntiAffinityViolatedFault_Dec.__bases__:
                bases = list(ns0.FaultToleranceAntiAffinityViolatedFault_Dec.__bases__)
                bases.insert(0, ns0.FaultToleranceAntiAffinityViolated_Def)
                ns0.FaultToleranceAntiAffinityViolatedFault_Dec.__bases__ = tuple(bases)

            ns0.FaultToleranceAntiAffinityViolated_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FaultToleranceAntiAffinityViolatedFault_Dec_Holder"

    class FaultToleranceCannotEditMemFault_Dec(ElementDeclaration):
        literal = "FaultToleranceCannotEditMemFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FaultToleranceCannotEditMemFault")
            kw["aname"] = "_FaultToleranceCannotEditMemFault"
            if ns0.FaultToleranceCannotEditMem_Def not in ns0.FaultToleranceCannotEditMemFault_Dec.__bases__:
                bases = list(ns0.FaultToleranceCannotEditMemFault_Dec.__bases__)
                bases.insert(0, ns0.FaultToleranceCannotEditMem_Def)
                ns0.FaultToleranceCannotEditMemFault_Dec.__bases__ = tuple(bases)

            ns0.FaultToleranceCannotEditMem_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FaultToleranceCannotEditMemFault_Dec_Holder"

    class FaultToleranceCpuIncompatibleFault_Dec(ElementDeclaration):
        literal = "FaultToleranceCpuIncompatibleFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FaultToleranceCpuIncompatibleFault")
            kw["aname"] = "_FaultToleranceCpuIncompatibleFault"
            if ns0.FaultToleranceCpuIncompatible_Def not in ns0.FaultToleranceCpuIncompatibleFault_Dec.__bases__:
                bases = list(ns0.FaultToleranceCpuIncompatibleFault_Dec.__bases__)
                bases.insert(0, ns0.FaultToleranceCpuIncompatible_Def)
                ns0.FaultToleranceCpuIncompatibleFault_Dec.__bases__ = tuple(bases)

            ns0.FaultToleranceCpuIncompatible_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FaultToleranceCpuIncompatibleFault_Dec_Holder"

    class FaultToleranceNeedsThickDiskFault_Dec(ElementDeclaration):
        literal = "FaultToleranceNeedsThickDiskFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FaultToleranceNeedsThickDiskFault")
            kw["aname"] = "_FaultToleranceNeedsThickDiskFault"
            if ns0.FaultToleranceNeedsThickDisk_Def not in ns0.FaultToleranceNeedsThickDiskFault_Dec.__bases__:
                bases = list(ns0.FaultToleranceNeedsThickDiskFault_Dec.__bases__)
                bases.insert(0, ns0.FaultToleranceNeedsThickDisk_Def)
                ns0.FaultToleranceNeedsThickDiskFault_Dec.__bases__ = tuple(bases)

            ns0.FaultToleranceNeedsThickDisk_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FaultToleranceNeedsThickDiskFault_Dec_Holder"

    class FaultToleranceNotLicensedFault_Dec(ElementDeclaration):
        literal = "FaultToleranceNotLicensedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FaultToleranceNotLicensedFault")
            kw["aname"] = "_FaultToleranceNotLicensedFault"
            if ns0.FaultToleranceNotLicensed_Def not in ns0.FaultToleranceNotLicensedFault_Dec.__bases__:
                bases = list(ns0.FaultToleranceNotLicensedFault_Dec.__bases__)
                bases.insert(0, ns0.FaultToleranceNotLicensed_Def)
                ns0.FaultToleranceNotLicensedFault_Dec.__bases__ = tuple(bases)

            ns0.FaultToleranceNotLicensed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FaultToleranceNotLicensedFault_Dec_Holder"

    class FaultToleranceNotSameBuildFault_Dec(ElementDeclaration):
        literal = "FaultToleranceNotSameBuildFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FaultToleranceNotSameBuildFault")
            kw["aname"] = "_FaultToleranceNotSameBuildFault"
            if ns0.FaultToleranceNotSameBuild_Def not in ns0.FaultToleranceNotSameBuildFault_Dec.__bases__:
                bases = list(ns0.FaultToleranceNotSameBuildFault_Dec.__bases__)
                bases.insert(0, ns0.FaultToleranceNotSameBuild_Def)
                ns0.FaultToleranceNotSameBuildFault_Dec.__bases__ = tuple(bases)

            ns0.FaultToleranceNotSameBuild_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FaultToleranceNotSameBuildFault_Dec_Holder"

    class FaultTolerancePrimaryPowerOnNotAttemptedFault_Dec(ElementDeclaration):
        literal = "FaultTolerancePrimaryPowerOnNotAttemptedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FaultTolerancePrimaryPowerOnNotAttemptedFault")
            kw["aname"] = "_FaultTolerancePrimaryPowerOnNotAttemptedFault"
            if ns0.FaultTolerancePrimaryPowerOnNotAttempted_Def not in ns0.FaultTolerancePrimaryPowerOnNotAttemptedFault_Dec.__bases__:
                bases = list(ns0.FaultTolerancePrimaryPowerOnNotAttemptedFault_Dec.__bases__)
                bases.insert(0, ns0.FaultTolerancePrimaryPowerOnNotAttempted_Def)
                ns0.FaultTolerancePrimaryPowerOnNotAttemptedFault_Dec.__bases__ = tuple(bases)

            ns0.FaultTolerancePrimaryPowerOnNotAttempted_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FaultTolerancePrimaryPowerOnNotAttemptedFault_Dec_Holder"

    class FaultToleranceVmNotDasProtectedFault_Dec(ElementDeclaration):
        literal = "FaultToleranceVmNotDasProtectedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FaultToleranceVmNotDasProtectedFault")
            kw["aname"] = "_FaultToleranceVmNotDasProtectedFault"
            if ns0.FaultToleranceVmNotDasProtected_Def not in ns0.FaultToleranceVmNotDasProtectedFault_Dec.__bases__:
                bases = list(ns0.FaultToleranceVmNotDasProtectedFault_Dec.__bases__)
                bases.insert(0, ns0.FaultToleranceVmNotDasProtected_Def)
                ns0.FaultToleranceVmNotDasProtectedFault_Dec.__bases__ = tuple(bases)

            ns0.FaultToleranceVmNotDasProtected_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FaultToleranceVmNotDasProtectedFault_Dec_Holder"

    class FcoeFaultFault_Dec(ElementDeclaration):
        literal = "FcoeFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FcoeFaultFault")
            kw["aname"] = "_FcoeFaultFault"
            if ns0.FcoeFault_Def not in ns0.FcoeFaultFault_Dec.__bases__:
                bases = list(ns0.FcoeFaultFault_Dec.__bases__)
                bases.insert(0, ns0.FcoeFault_Def)
                ns0.FcoeFaultFault_Dec.__bases__ = tuple(bases)

            ns0.FcoeFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FcoeFaultFault_Dec_Holder"

    class FcoeFaultPnicHasNoPortSetFault_Dec(ElementDeclaration):
        literal = "FcoeFaultPnicHasNoPortSetFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FcoeFaultPnicHasNoPortSetFault")
            kw["aname"] = "_FcoeFaultPnicHasNoPortSetFault"
            if ns0.FcoeFaultPnicHasNoPortSet_Def not in ns0.FcoeFaultPnicHasNoPortSetFault_Dec.__bases__:
                bases = list(ns0.FcoeFaultPnicHasNoPortSetFault_Dec.__bases__)
                bases.insert(0, ns0.FcoeFaultPnicHasNoPortSet_Def)
                ns0.FcoeFaultPnicHasNoPortSetFault_Dec.__bases__ = tuple(bases)

            ns0.FcoeFaultPnicHasNoPortSet_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FcoeFaultPnicHasNoPortSetFault_Dec_Holder"

    class FeatureRequirementsNotMetFault_Dec(ElementDeclaration):
        literal = "FeatureRequirementsNotMetFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FeatureRequirementsNotMetFault")
            kw["aname"] = "_FeatureRequirementsNotMetFault"
            if ns0.FeatureRequirementsNotMet_Def not in ns0.FeatureRequirementsNotMetFault_Dec.__bases__:
                bases = list(ns0.FeatureRequirementsNotMetFault_Dec.__bases__)
                bases.insert(0, ns0.FeatureRequirementsNotMet_Def)
                ns0.FeatureRequirementsNotMetFault_Dec.__bases__ = tuple(bases)

            ns0.FeatureRequirementsNotMet_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FeatureRequirementsNotMetFault_Dec_Holder"

    class FileAlreadyExistsFault_Dec(ElementDeclaration):
        literal = "FileAlreadyExistsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FileAlreadyExistsFault")
            kw["aname"] = "_FileAlreadyExistsFault"
            if ns0.FileAlreadyExists_Def not in ns0.FileAlreadyExistsFault_Dec.__bases__:
                bases = list(ns0.FileAlreadyExistsFault_Dec.__bases__)
                bases.insert(0, ns0.FileAlreadyExists_Def)
                ns0.FileAlreadyExistsFault_Dec.__bases__ = tuple(bases)

            ns0.FileAlreadyExists_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FileAlreadyExistsFault_Dec_Holder"

    class FileBackedPortNotSupportedFault_Dec(ElementDeclaration):
        literal = "FileBackedPortNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FileBackedPortNotSupportedFault")
            kw["aname"] = "_FileBackedPortNotSupportedFault"
            if ns0.FileBackedPortNotSupported_Def not in ns0.FileBackedPortNotSupportedFault_Dec.__bases__:
                bases = list(ns0.FileBackedPortNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.FileBackedPortNotSupported_Def)
                ns0.FileBackedPortNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.FileBackedPortNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FileBackedPortNotSupportedFault_Dec_Holder"

    class FileFaultFault_Dec(ElementDeclaration):
        literal = "FileFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FileFaultFault")
            kw["aname"] = "_FileFaultFault"
            if ns0.FileFault_Def not in ns0.FileFaultFault_Dec.__bases__:
                bases = list(ns0.FileFaultFault_Dec.__bases__)
                bases.insert(0, ns0.FileFault_Def)
                ns0.FileFaultFault_Dec.__bases__ = tuple(bases)

            ns0.FileFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FileFaultFault_Dec_Holder"

    class FileLockedFault_Dec(ElementDeclaration):
        literal = "FileLockedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FileLockedFault")
            kw["aname"] = "_FileLockedFault"
            if ns0.FileLocked_Def not in ns0.FileLockedFault_Dec.__bases__:
                bases = list(ns0.FileLockedFault_Dec.__bases__)
                bases.insert(0, ns0.FileLocked_Def)
                ns0.FileLockedFault_Dec.__bases__ = tuple(bases)

            ns0.FileLocked_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FileLockedFault_Dec_Holder"

    class FileNameTooLongFault_Dec(ElementDeclaration):
        literal = "FileNameTooLongFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FileNameTooLongFault")
            kw["aname"] = "_FileNameTooLongFault"
            if ns0.FileNameTooLong_Def not in ns0.FileNameTooLongFault_Dec.__bases__:
                bases = list(ns0.FileNameTooLongFault_Dec.__bases__)
                bases.insert(0, ns0.FileNameTooLong_Def)
                ns0.FileNameTooLongFault_Dec.__bases__ = tuple(bases)

            ns0.FileNameTooLong_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FileNameTooLongFault_Dec_Holder"

    class FileNotFoundFault_Dec(ElementDeclaration):
        literal = "FileNotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FileNotFoundFault")
            kw["aname"] = "_FileNotFoundFault"
            if ns0.FileNotFound_Def not in ns0.FileNotFoundFault_Dec.__bases__:
                bases = list(ns0.FileNotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.FileNotFound_Def)
                ns0.FileNotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.FileNotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FileNotFoundFault_Dec_Holder"

    class FileNotWritableFault_Dec(ElementDeclaration):
        literal = "FileNotWritableFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FileNotWritableFault")
            kw["aname"] = "_FileNotWritableFault"
            if ns0.FileNotWritable_Def not in ns0.FileNotWritableFault_Dec.__bases__:
                bases = list(ns0.FileNotWritableFault_Dec.__bases__)
                bases.insert(0, ns0.FileNotWritable_Def)
                ns0.FileNotWritableFault_Dec.__bases__ = tuple(bases)

            ns0.FileNotWritable_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FileNotWritableFault_Dec_Holder"

    class FileTooLargeFault_Dec(ElementDeclaration):
        literal = "FileTooLargeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FileTooLargeFault")
            kw["aname"] = "_FileTooLargeFault"
            if ns0.FileTooLarge_Def not in ns0.FileTooLargeFault_Dec.__bases__:
                bases = list(ns0.FileTooLargeFault_Dec.__bases__)
                bases.insert(0, ns0.FileTooLarge_Def)
                ns0.FileTooLargeFault_Dec.__bases__ = tuple(bases)

            ns0.FileTooLarge_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FileTooLargeFault_Dec_Holder"

    class FilesystemQuiesceFaultFault_Dec(ElementDeclaration):
        literal = "FilesystemQuiesceFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FilesystemQuiesceFaultFault")
            kw["aname"] = "_FilesystemQuiesceFaultFault"
            if ns0.FilesystemQuiesceFault_Def not in ns0.FilesystemQuiesceFaultFault_Dec.__bases__:
                bases = list(ns0.FilesystemQuiesceFaultFault_Dec.__bases__)
                bases.insert(0, ns0.FilesystemQuiesceFault_Def)
                ns0.FilesystemQuiesceFaultFault_Dec.__bases__ = tuple(bases)

            ns0.FilesystemQuiesceFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FilesystemQuiesceFaultFault_Dec_Holder"

    class FilterInUseFault_Dec(ElementDeclaration):
        literal = "FilterInUseFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FilterInUseFault")
            kw["aname"] = "_FilterInUseFault"
            if ns0.FilterInUse_Def not in ns0.FilterInUseFault_Dec.__bases__:
                bases = list(ns0.FilterInUseFault_Dec.__bases__)
                bases.insert(0, ns0.FilterInUse_Def)
                ns0.FilterInUseFault_Dec.__bases__ = tuple(bases)

            ns0.FilterInUse_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FilterInUseFault_Dec_Holder"

    class FtIssuesOnHostFault_Dec(ElementDeclaration):
        literal = "FtIssuesOnHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FtIssuesOnHostFault")
            kw["aname"] = "_FtIssuesOnHostFault"
            if ns0.FtIssuesOnHost_Def not in ns0.FtIssuesOnHostFault_Dec.__bases__:
                bases = list(ns0.FtIssuesOnHostFault_Dec.__bases__)
                bases.insert(0, ns0.FtIssuesOnHost_Def)
                ns0.FtIssuesOnHostFault_Dec.__bases__ = tuple(bases)

            ns0.FtIssuesOnHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FtIssuesOnHostFault_Dec_Holder"

    class FullStorageVMotionNotSupportedFault_Dec(ElementDeclaration):
        literal = "FullStorageVMotionNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FullStorageVMotionNotSupportedFault")
            kw["aname"] = "_FullStorageVMotionNotSupportedFault"
            if ns0.FullStorageVMotionNotSupported_Def not in ns0.FullStorageVMotionNotSupportedFault_Dec.__bases__:
                bases = list(ns0.FullStorageVMotionNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.FullStorageVMotionNotSupported_Def)
                ns0.FullStorageVMotionNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.FullStorageVMotionNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FullStorageVMotionNotSupportedFault_Dec_Holder"

    class GatewayConnectFaultFault_Dec(ElementDeclaration):
        literal = "GatewayConnectFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GatewayConnectFaultFault")
            kw["aname"] = "_GatewayConnectFaultFault"
            if ns0.GatewayConnectFault_Def not in ns0.GatewayConnectFaultFault_Dec.__bases__:
                bases = list(ns0.GatewayConnectFaultFault_Dec.__bases__)
                bases.insert(0, ns0.GatewayConnectFault_Def)
                ns0.GatewayConnectFaultFault_Dec.__bases__ = tuple(bases)

            ns0.GatewayConnectFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GatewayConnectFaultFault_Dec_Holder"

    class GatewayHostNotReachableFault_Dec(ElementDeclaration):
        literal = "GatewayHostNotReachableFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GatewayHostNotReachableFault")
            kw["aname"] = "_GatewayHostNotReachableFault"
            if ns0.GatewayHostNotReachable_Def not in ns0.GatewayHostNotReachableFault_Dec.__bases__:
                bases = list(ns0.GatewayHostNotReachableFault_Dec.__bases__)
                bases.insert(0, ns0.GatewayHostNotReachable_Def)
                ns0.GatewayHostNotReachableFault_Dec.__bases__ = tuple(bases)

            ns0.GatewayHostNotReachable_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GatewayHostNotReachableFault_Dec_Holder"

    class GatewayNotFoundFault_Dec(ElementDeclaration):
        literal = "GatewayNotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GatewayNotFoundFault")
            kw["aname"] = "_GatewayNotFoundFault"
            if ns0.GatewayNotFound_Def not in ns0.GatewayNotFoundFault_Dec.__bases__:
                bases = list(ns0.GatewayNotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.GatewayNotFound_Def)
                ns0.GatewayNotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.GatewayNotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GatewayNotFoundFault_Dec_Holder"

    class GatewayNotReachableFault_Dec(ElementDeclaration):
        literal = "GatewayNotReachableFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GatewayNotReachableFault")
            kw["aname"] = "_GatewayNotReachableFault"
            if ns0.GatewayNotReachable_Def not in ns0.GatewayNotReachableFault_Dec.__bases__:
                bases = list(ns0.GatewayNotReachableFault_Dec.__bases__)
                bases.insert(0, ns0.GatewayNotReachable_Def)
                ns0.GatewayNotReachableFault_Dec.__bases__ = tuple(bases)

            ns0.GatewayNotReachable_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GatewayNotReachableFault_Dec_Holder"

    class GatewayOperationRefusedFault_Dec(ElementDeclaration):
        literal = "GatewayOperationRefusedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GatewayOperationRefusedFault")
            kw["aname"] = "_GatewayOperationRefusedFault"
            if ns0.GatewayOperationRefused_Def not in ns0.GatewayOperationRefusedFault_Dec.__bases__:
                bases = list(ns0.GatewayOperationRefusedFault_Dec.__bases__)
                bases.insert(0, ns0.GatewayOperationRefused_Def)
                ns0.GatewayOperationRefusedFault_Dec.__bases__ = tuple(bases)

            ns0.GatewayOperationRefused_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GatewayOperationRefusedFault_Dec_Holder"

    class GatewayToHostAuthFaultFault_Dec(ElementDeclaration):
        literal = "GatewayToHostAuthFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GatewayToHostAuthFaultFault")
            kw["aname"] = "_GatewayToHostAuthFaultFault"
            if ns0.GatewayToHostAuthFault_Def not in ns0.GatewayToHostAuthFaultFault_Dec.__bases__:
                bases = list(ns0.GatewayToHostAuthFaultFault_Dec.__bases__)
                bases.insert(0, ns0.GatewayToHostAuthFault_Def)
                ns0.GatewayToHostAuthFaultFault_Dec.__bases__ = tuple(bases)

            ns0.GatewayToHostAuthFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GatewayToHostAuthFaultFault_Dec_Holder"

    class GatewayToHostConnectFaultFault_Dec(ElementDeclaration):
        literal = "GatewayToHostConnectFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GatewayToHostConnectFaultFault")
            kw["aname"] = "_GatewayToHostConnectFaultFault"
            if ns0.GatewayToHostConnectFault_Def not in ns0.GatewayToHostConnectFaultFault_Dec.__bases__:
                bases = list(ns0.GatewayToHostConnectFaultFault_Dec.__bases__)
                bases.insert(0, ns0.GatewayToHostConnectFault_Def)
                ns0.GatewayToHostConnectFaultFault_Dec.__bases__ = tuple(bases)

            ns0.GatewayToHostConnectFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GatewayToHostConnectFaultFault_Dec_Holder"

    class GatewayToHostTrustVerifyFaultFault_Dec(ElementDeclaration):
        literal = "GatewayToHostTrustVerifyFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GatewayToHostTrustVerifyFaultFault")
            kw["aname"] = "_GatewayToHostTrustVerifyFaultFault"
            if ns0.GatewayToHostTrustVerifyFault_Def not in ns0.GatewayToHostTrustVerifyFaultFault_Dec.__bases__:
                bases = list(ns0.GatewayToHostTrustVerifyFaultFault_Dec.__bases__)
                bases.insert(0, ns0.GatewayToHostTrustVerifyFault_Def)
                ns0.GatewayToHostTrustVerifyFaultFault_Dec.__bases__ = tuple(bases)

            ns0.GatewayToHostTrustVerifyFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GatewayToHostTrustVerifyFaultFault_Dec_Holder"

    class GenericDrsFaultFault_Dec(ElementDeclaration):
        literal = "GenericDrsFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GenericDrsFaultFault")
            kw["aname"] = "_GenericDrsFaultFault"
            if ns0.GenericDrsFault_Def not in ns0.GenericDrsFaultFault_Dec.__bases__:
                bases = list(ns0.GenericDrsFaultFault_Dec.__bases__)
                bases.insert(0, ns0.GenericDrsFault_Def)
                ns0.GenericDrsFaultFault_Dec.__bases__ = tuple(bases)

            ns0.GenericDrsFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GenericDrsFaultFault_Dec_Holder"

    class GenericVmConfigFaultFault_Dec(ElementDeclaration):
        literal = "GenericVmConfigFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GenericVmConfigFaultFault")
            kw["aname"] = "_GenericVmConfigFaultFault"
            if ns0.GenericVmConfigFault_Def not in ns0.GenericVmConfigFaultFault_Dec.__bases__:
                bases = list(ns0.GenericVmConfigFaultFault_Dec.__bases__)
                bases.insert(0, ns0.GenericVmConfigFault_Def)
                ns0.GenericVmConfigFaultFault_Dec.__bases__ = tuple(bases)

            ns0.GenericVmConfigFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GenericVmConfigFaultFault_Dec_Holder"

    class GuestAuthenticationChallengeFault_Dec(ElementDeclaration):
        literal = "GuestAuthenticationChallengeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestAuthenticationChallengeFault")
            kw["aname"] = "_GuestAuthenticationChallengeFault"
            if ns0.GuestAuthenticationChallenge_Def not in ns0.GuestAuthenticationChallengeFault_Dec.__bases__:
                bases = list(ns0.GuestAuthenticationChallengeFault_Dec.__bases__)
                bases.insert(0, ns0.GuestAuthenticationChallenge_Def)
                ns0.GuestAuthenticationChallengeFault_Dec.__bases__ = tuple(bases)

            ns0.GuestAuthenticationChallenge_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestAuthenticationChallengeFault_Dec_Holder"

    class GuestComponentsOutOfDateFault_Dec(ElementDeclaration):
        literal = "GuestComponentsOutOfDateFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestComponentsOutOfDateFault")
            kw["aname"] = "_GuestComponentsOutOfDateFault"
            if ns0.GuestComponentsOutOfDate_Def not in ns0.GuestComponentsOutOfDateFault_Dec.__bases__:
                bases = list(ns0.GuestComponentsOutOfDateFault_Dec.__bases__)
                bases.insert(0, ns0.GuestComponentsOutOfDate_Def)
                ns0.GuestComponentsOutOfDateFault_Dec.__bases__ = tuple(bases)

            ns0.GuestComponentsOutOfDate_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestComponentsOutOfDateFault_Dec_Holder"

    class GuestMultipleMappingsFault_Dec(ElementDeclaration):
        literal = "GuestMultipleMappingsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestMultipleMappingsFault")
            kw["aname"] = "_GuestMultipleMappingsFault"
            if ns0.GuestMultipleMappings_Def not in ns0.GuestMultipleMappingsFault_Dec.__bases__:
                bases = list(ns0.GuestMultipleMappingsFault_Dec.__bases__)
                bases.insert(0, ns0.GuestMultipleMappings_Def)
                ns0.GuestMultipleMappingsFault_Dec.__bases__ = tuple(bases)

            ns0.GuestMultipleMappings_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestMultipleMappingsFault_Dec_Holder"

    class GuestOperationsFaultFault_Dec(ElementDeclaration):
        literal = "GuestOperationsFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestOperationsFaultFault")
            kw["aname"] = "_GuestOperationsFaultFault"
            if ns0.GuestOperationsFault_Def not in ns0.GuestOperationsFaultFault_Dec.__bases__:
                bases = list(ns0.GuestOperationsFaultFault_Dec.__bases__)
                bases.insert(0, ns0.GuestOperationsFault_Def)
                ns0.GuestOperationsFaultFault_Dec.__bases__ = tuple(bases)

            ns0.GuestOperationsFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestOperationsFaultFault_Dec_Holder"

    class GuestOperationsUnavailableFault_Dec(ElementDeclaration):
        literal = "GuestOperationsUnavailableFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestOperationsUnavailableFault")
            kw["aname"] = "_GuestOperationsUnavailableFault"
            if ns0.GuestOperationsUnavailable_Def not in ns0.GuestOperationsUnavailableFault_Dec.__bases__:
                bases = list(ns0.GuestOperationsUnavailableFault_Dec.__bases__)
                bases.insert(0, ns0.GuestOperationsUnavailable_Def)
                ns0.GuestOperationsUnavailableFault_Dec.__bases__ = tuple(bases)

            ns0.GuestOperationsUnavailable_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestOperationsUnavailableFault_Dec_Holder"

    class GuestPermissionDeniedFault_Dec(ElementDeclaration):
        literal = "GuestPermissionDeniedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestPermissionDeniedFault")
            kw["aname"] = "_GuestPermissionDeniedFault"
            if ns0.GuestPermissionDenied_Def not in ns0.GuestPermissionDeniedFault_Dec.__bases__:
                bases = list(ns0.GuestPermissionDeniedFault_Dec.__bases__)
                bases.insert(0, ns0.GuestPermissionDenied_Def)
                ns0.GuestPermissionDeniedFault_Dec.__bases__ = tuple(bases)

            ns0.GuestPermissionDenied_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestPermissionDeniedFault_Dec_Holder"

    class GuestProcessNotFoundFault_Dec(ElementDeclaration):
        literal = "GuestProcessNotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestProcessNotFoundFault")
            kw["aname"] = "_GuestProcessNotFoundFault"
            if ns0.GuestProcessNotFound_Def not in ns0.GuestProcessNotFoundFault_Dec.__bases__:
                bases = list(ns0.GuestProcessNotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.GuestProcessNotFound_Def)
                ns0.GuestProcessNotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.GuestProcessNotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestProcessNotFoundFault_Dec_Holder"

    class GuestRegistryFaultFault_Dec(ElementDeclaration):
        literal = "GuestRegistryFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestRegistryFaultFault")
            kw["aname"] = "_GuestRegistryFaultFault"
            if ns0.GuestRegistryFault_Def not in ns0.GuestRegistryFaultFault_Dec.__bases__:
                bases = list(ns0.GuestRegistryFaultFault_Dec.__bases__)
                bases.insert(0, ns0.GuestRegistryFault_Def)
                ns0.GuestRegistryFaultFault_Dec.__bases__ = tuple(bases)

            ns0.GuestRegistryFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestRegistryFaultFault_Dec_Holder"

    class GuestRegistryKeyAlreadyExistsFault_Dec(ElementDeclaration):
        literal = "GuestRegistryKeyAlreadyExistsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestRegistryKeyAlreadyExistsFault")
            kw["aname"] = "_GuestRegistryKeyAlreadyExistsFault"
            if ns0.GuestRegistryKeyAlreadyExists_Def not in ns0.GuestRegistryKeyAlreadyExistsFault_Dec.__bases__:
                bases = list(ns0.GuestRegistryKeyAlreadyExistsFault_Dec.__bases__)
                bases.insert(0, ns0.GuestRegistryKeyAlreadyExists_Def)
                ns0.GuestRegistryKeyAlreadyExistsFault_Dec.__bases__ = tuple(bases)

            ns0.GuestRegistryKeyAlreadyExists_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestRegistryKeyAlreadyExistsFault_Dec_Holder"

    class GuestRegistryKeyFaultFault_Dec(ElementDeclaration):
        literal = "GuestRegistryKeyFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestRegistryKeyFaultFault")
            kw["aname"] = "_GuestRegistryKeyFaultFault"
            if ns0.GuestRegistryKeyFault_Def not in ns0.GuestRegistryKeyFaultFault_Dec.__bases__:
                bases = list(ns0.GuestRegistryKeyFaultFault_Dec.__bases__)
                bases.insert(0, ns0.GuestRegistryKeyFault_Def)
                ns0.GuestRegistryKeyFaultFault_Dec.__bases__ = tuple(bases)

            ns0.GuestRegistryKeyFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestRegistryKeyFaultFault_Dec_Holder"

    class GuestRegistryKeyHasSubkeysFault_Dec(ElementDeclaration):
        literal = "GuestRegistryKeyHasSubkeysFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestRegistryKeyHasSubkeysFault")
            kw["aname"] = "_GuestRegistryKeyHasSubkeysFault"
            if ns0.GuestRegistryKeyHasSubkeys_Def not in ns0.GuestRegistryKeyHasSubkeysFault_Dec.__bases__:
                bases = list(ns0.GuestRegistryKeyHasSubkeysFault_Dec.__bases__)
                bases.insert(0, ns0.GuestRegistryKeyHasSubkeys_Def)
                ns0.GuestRegistryKeyHasSubkeysFault_Dec.__bases__ = tuple(bases)

            ns0.GuestRegistryKeyHasSubkeys_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestRegistryKeyHasSubkeysFault_Dec_Holder"

    class GuestRegistryKeyInvalidFault_Dec(ElementDeclaration):
        literal = "GuestRegistryKeyInvalidFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestRegistryKeyInvalidFault")
            kw["aname"] = "_GuestRegistryKeyInvalidFault"
            if ns0.GuestRegistryKeyInvalid_Def not in ns0.GuestRegistryKeyInvalidFault_Dec.__bases__:
                bases = list(ns0.GuestRegistryKeyInvalidFault_Dec.__bases__)
                bases.insert(0, ns0.GuestRegistryKeyInvalid_Def)
                ns0.GuestRegistryKeyInvalidFault_Dec.__bases__ = tuple(bases)

            ns0.GuestRegistryKeyInvalid_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestRegistryKeyInvalidFault_Dec_Holder"

    class GuestRegistryKeyParentVolatileFault_Dec(ElementDeclaration):
        literal = "GuestRegistryKeyParentVolatileFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestRegistryKeyParentVolatileFault")
            kw["aname"] = "_GuestRegistryKeyParentVolatileFault"
            if ns0.GuestRegistryKeyParentVolatile_Def not in ns0.GuestRegistryKeyParentVolatileFault_Dec.__bases__:
                bases = list(ns0.GuestRegistryKeyParentVolatileFault_Dec.__bases__)
                bases.insert(0, ns0.GuestRegistryKeyParentVolatile_Def)
                ns0.GuestRegistryKeyParentVolatileFault_Dec.__bases__ = tuple(bases)

            ns0.GuestRegistryKeyParentVolatile_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestRegistryKeyParentVolatileFault_Dec_Holder"

    class GuestRegistryValueFaultFault_Dec(ElementDeclaration):
        literal = "GuestRegistryValueFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestRegistryValueFaultFault")
            kw["aname"] = "_GuestRegistryValueFaultFault"
            if ns0.GuestRegistryValueFault_Def not in ns0.GuestRegistryValueFaultFault_Dec.__bases__:
                bases = list(ns0.GuestRegistryValueFaultFault_Dec.__bases__)
                bases.insert(0, ns0.GuestRegistryValueFault_Def)
                ns0.GuestRegistryValueFaultFault_Dec.__bases__ = tuple(bases)

            ns0.GuestRegistryValueFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestRegistryValueFaultFault_Dec_Holder"

    class GuestRegistryValueNotFoundFault_Dec(ElementDeclaration):
        literal = "GuestRegistryValueNotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GuestRegistryValueNotFoundFault")
            kw["aname"] = "_GuestRegistryValueNotFoundFault"
            if ns0.GuestRegistryValueNotFound_Def not in ns0.GuestRegistryValueNotFoundFault_Dec.__bases__:
                bases = list(ns0.GuestRegistryValueNotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.GuestRegistryValueNotFound_Def)
                ns0.GuestRegistryValueNotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.GuestRegistryValueNotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GuestRegistryValueNotFoundFault_Dec_Holder"

    class HAErrorsAtDestFault_Dec(ElementDeclaration):
        literal = "HAErrorsAtDestFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HAErrorsAtDestFault")
            kw["aname"] = "_HAErrorsAtDestFault"
            if ns0.HAErrorsAtDest_Def not in ns0.HAErrorsAtDestFault_Dec.__bases__:
                bases = list(ns0.HAErrorsAtDestFault_Dec.__bases__)
                bases.insert(0, ns0.HAErrorsAtDest_Def)
                ns0.HAErrorsAtDestFault_Dec.__bases__ = tuple(bases)

            ns0.HAErrorsAtDest_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HAErrorsAtDestFault_Dec_Holder"

    class HeterogenousHostsBlockingEVCFault_Dec(ElementDeclaration):
        literal = "HeterogenousHostsBlockingEVCFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HeterogenousHostsBlockingEVCFault")
            kw["aname"] = "_HeterogenousHostsBlockingEVCFault"
            if ns0.HeterogenousHostsBlockingEVC_Def not in ns0.HeterogenousHostsBlockingEVCFault_Dec.__bases__:
                bases = list(ns0.HeterogenousHostsBlockingEVCFault_Dec.__bases__)
                bases.insert(0, ns0.HeterogenousHostsBlockingEVC_Def)
                ns0.HeterogenousHostsBlockingEVCFault_Dec.__bases__ = tuple(bases)

            ns0.HeterogenousHostsBlockingEVC_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HeterogenousHostsBlockingEVCFault_Dec_Holder"

    class HostAccessRestrictedToManagementServerFault_Dec(ElementDeclaration):
        literal = "HostAccessRestrictedToManagementServerFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostAccessRestrictedToManagementServerFault")
            kw["aname"] = "_HostAccessRestrictedToManagementServerFault"
            if ns0.HostAccessRestrictedToManagementServer_Def not in ns0.HostAccessRestrictedToManagementServerFault_Dec.__bases__:
                bases = list(ns0.HostAccessRestrictedToManagementServerFault_Dec.__bases__)
                bases.insert(0, ns0.HostAccessRestrictedToManagementServer_Def)
                ns0.HostAccessRestrictedToManagementServerFault_Dec.__bases__ = tuple(bases)

            ns0.HostAccessRestrictedToManagementServer_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostAccessRestrictedToManagementServerFault_Dec_Holder"

    class HostConfigFailedFault_Dec(ElementDeclaration):
        literal = "HostConfigFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostConfigFailedFault")
            kw["aname"] = "_HostConfigFailedFault"
            if ns0.HostConfigFailed_Def not in ns0.HostConfigFailedFault_Dec.__bases__:
                bases = list(ns0.HostConfigFailedFault_Dec.__bases__)
                bases.insert(0, ns0.HostConfigFailed_Def)
                ns0.HostConfigFailedFault_Dec.__bases__ = tuple(bases)

            ns0.HostConfigFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostConfigFailedFault_Dec_Holder"

    class HostConfigFaultFault_Dec(ElementDeclaration):
        literal = "HostConfigFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostConfigFaultFault")
            kw["aname"] = "_HostConfigFaultFault"
            if ns0.HostConfigFault_Def not in ns0.HostConfigFaultFault_Dec.__bases__:
                bases = list(ns0.HostConfigFaultFault_Dec.__bases__)
                bases.insert(0, ns0.HostConfigFault_Def)
                ns0.HostConfigFaultFault_Dec.__bases__ = tuple(bases)

            ns0.HostConfigFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostConfigFaultFault_Dec_Holder"

    class HostConnectFaultFault_Dec(ElementDeclaration):
        literal = "HostConnectFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostConnectFaultFault")
            kw["aname"] = "_HostConnectFaultFault"
            if ns0.HostConnectFault_Def not in ns0.HostConnectFaultFault_Dec.__bases__:
                bases = list(ns0.HostConnectFaultFault_Dec.__bases__)
                bases.insert(0, ns0.HostConnectFault_Def)
                ns0.HostConnectFaultFault_Dec.__bases__ = tuple(bases)

            ns0.HostConnectFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostConnectFaultFault_Dec_Holder"

    class HostHasComponentFailureFault_Dec(ElementDeclaration):
        literal = "HostHasComponentFailureFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostHasComponentFailureFault")
            kw["aname"] = "_HostHasComponentFailureFault"
            if ns0.HostHasComponentFailure_Def not in ns0.HostHasComponentFailureFault_Dec.__bases__:
                bases = list(ns0.HostHasComponentFailureFault_Dec.__bases__)
                bases.insert(0, ns0.HostHasComponentFailure_Def)
                ns0.HostHasComponentFailureFault_Dec.__bases__ = tuple(bases)

            ns0.HostHasComponentFailure_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostHasComponentFailureFault_Dec_Holder"

    class HostInDomainFault_Dec(ElementDeclaration):
        literal = "HostInDomainFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostInDomainFault")
            kw["aname"] = "_HostInDomainFault"
            if ns0.HostInDomain_Def not in ns0.HostInDomainFault_Dec.__bases__:
                bases = list(ns0.HostInDomainFault_Dec.__bases__)
                bases.insert(0, ns0.HostInDomain_Def)
                ns0.HostInDomainFault_Dec.__bases__ = tuple(bases)

            ns0.HostInDomain_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostInDomainFault_Dec_Holder"

    class HostIncompatibleForFaultToleranceFault_Dec(ElementDeclaration):
        literal = "HostIncompatibleForFaultToleranceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostIncompatibleForFaultToleranceFault")
            kw["aname"] = "_HostIncompatibleForFaultToleranceFault"
            if ns0.HostIncompatibleForFaultTolerance_Def not in ns0.HostIncompatibleForFaultToleranceFault_Dec.__bases__:
                bases = list(ns0.HostIncompatibleForFaultToleranceFault_Dec.__bases__)
                bases.insert(0, ns0.HostIncompatibleForFaultTolerance_Def)
                ns0.HostIncompatibleForFaultToleranceFault_Dec.__bases__ = tuple(bases)

            ns0.HostIncompatibleForFaultTolerance_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostIncompatibleForFaultToleranceFault_Dec_Holder"

    class HostIncompatibleForRecordReplayFault_Dec(ElementDeclaration):
        literal = "HostIncompatibleForRecordReplayFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostIncompatibleForRecordReplayFault")
            kw["aname"] = "_HostIncompatibleForRecordReplayFault"
            if ns0.HostIncompatibleForRecordReplay_Def not in ns0.HostIncompatibleForRecordReplayFault_Dec.__bases__:
                bases = list(ns0.HostIncompatibleForRecordReplayFault_Dec.__bases__)
                bases.insert(0, ns0.HostIncompatibleForRecordReplay_Def)
                ns0.HostIncompatibleForRecordReplayFault_Dec.__bases__ = tuple(bases)

            ns0.HostIncompatibleForRecordReplay_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostIncompatibleForRecordReplayFault_Dec_Holder"

    class HostInventoryFullFault_Dec(ElementDeclaration):
        literal = "HostInventoryFullFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostInventoryFullFault")
            kw["aname"] = "_HostInventoryFullFault"
            if ns0.HostInventoryFull_Def not in ns0.HostInventoryFullFault_Dec.__bases__:
                bases = list(ns0.HostInventoryFullFault_Dec.__bases__)
                bases.insert(0, ns0.HostInventoryFull_Def)
                ns0.HostInventoryFullFault_Dec.__bases__ = tuple(bases)

            ns0.HostInventoryFull_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostInventoryFullFault_Dec_Holder"

    class HostPowerOpFailedFault_Dec(ElementDeclaration):
        literal = "HostPowerOpFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostPowerOpFailedFault")
            kw["aname"] = "_HostPowerOpFailedFault"
            if ns0.HostPowerOpFailed_Def not in ns0.HostPowerOpFailedFault_Dec.__bases__:
                bases = list(ns0.HostPowerOpFailedFault_Dec.__bases__)
                bases.insert(0, ns0.HostPowerOpFailed_Def)
                ns0.HostPowerOpFailedFault_Dec.__bases__ = tuple(bases)

            ns0.HostPowerOpFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostPowerOpFailedFault_Dec_Holder"

    class HostSpecificationOperationFailedFault_Dec(ElementDeclaration):
        literal = "HostSpecificationOperationFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostSpecificationOperationFailedFault")
            kw["aname"] = "_HostSpecificationOperationFailedFault"
            if ns0.HostSpecificationOperationFailed_Def not in ns0.HostSpecificationOperationFailedFault_Dec.__bases__:
                bases = list(ns0.HostSpecificationOperationFailedFault_Dec.__bases__)
                bases.insert(0, ns0.HostSpecificationOperationFailed_Def)
                ns0.HostSpecificationOperationFailedFault_Dec.__bases__ = tuple(bases)

            ns0.HostSpecificationOperationFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostSpecificationOperationFailedFault_Dec_Holder"

    class HotSnapshotMoveNotSupportedFault_Dec(ElementDeclaration):
        literal = "HotSnapshotMoveNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HotSnapshotMoveNotSupportedFault")
            kw["aname"] = "_HotSnapshotMoveNotSupportedFault"
            if ns0.HotSnapshotMoveNotSupported_Def not in ns0.HotSnapshotMoveNotSupportedFault_Dec.__bases__:
                bases = list(ns0.HotSnapshotMoveNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.HotSnapshotMoveNotSupported_Def)
                ns0.HotSnapshotMoveNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.HotSnapshotMoveNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HotSnapshotMoveNotSupportedFault_Dec_Holder"

    class HttpFaultFault_Dec(ElementDeclaration):
        literal = "HttpFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HttpFaultFault")
            kw["aname"] = "_HttpFaultFault"
            if ns0.HttpFault_Def not in ns0.HttpFaultFault_Dec.__bases__:
                bases = list(ns0.HttpFaultFault_Dec.__bases__)
                bases.insert(0, ns0.HttpFault_Def)
                ns0.HttpFaultFault_Dec.__bases__ = tuple(bases)

            ns0.HttpFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HttpFaultFault_Dec_Holder"

    class IDEDiskNotSupportedFault_Dec(ElementDeclaration):
        literal = "IDEDiskNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IDEDiskNotSupportedFault")
            kw["aname"] = "_IDEDiskNotSupportedFault"
            if ns0.IDEDiskNotSupported_Def not in ns0.IDEDiskNotSupportedFault_Dec.__bases__:
                bases = list(ns0.IDEDiskNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.IDEDiskNotSupported_Def)
                ns0.IDEDiskNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.IDEDiskNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IDEDiskNotSupportedFault_Dec_Holder"

    class IORMNotSupportedHostOnDatastoreFault_Dec(ElementDeclaration):
        literal = "IORMNotSupportedHostOnDatastoreFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IORMNotSupportedHostOnDatastoreFault")
            kw["aname"] = "_IORMNotSupportedHostOnDatastoreFault"
            if ns0.IORMNotSupportedHostOnDatastore_Def not in ns0.IORMNotSupportedHostOnDatastoreFault_Dec.__bases__:
                bases = list(ns0.IORMNotSupportedHostOnDatastoreFault_Dec.__bases__)
                bases.insert(0, ns0.IORMNotSupportedHostOnDatastore_Def)
                ns0.IORMNotSupportedHostOnDatastoreFault_Dec.__bases__ = tuple(bases)

            ns0.IORMNotSupportedHostOnDatastore_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IORMNotSupportedHostOnDatastoreFault_Dec_Holder"

    class ImportHostAddFailureFault_Dec(ElementDeclaration):
        literal = "ImportHostAddFailureFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ImportHostAddFailureFault")
            kw["aname"] = "_ImportHostAddFailureFault"
            if ns0.ImportHostAddFailure_Def not in ns0.ImportHostAddFailureFault_Dec.__bases__:
                bases = list(ns0.ImportHostAddFailureFault_Dec.__bases__)
                bases.insert(0, ns0.ImportHostAddFailure_Def)
                ns0.ImportHostAddFailureFault_Dec.__bases__ = tuple(bases)

            ns0.ImportHostAddFailure_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ImportHostAddFailureFault_Dec_Holder"

    class ImportOperationBulkFaultFault_Dec(ElementDeclaration):
        literal = "ImportOperationBulkFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ImportOperationBulkFaultFault")
            kw["aname"] = "_ImportOperationBulkFaultFault"
            if ns0.ImportOperationBulkFault_Def not in ns0.ImportOperationBulkFaultFault_Dec.__bases__:
                bases = list(ns0.ImportOperationBulkFaultFault_Dec.__bases__)
                bases.insert(0, ns0.ImportOperationBulkFault_Def)
                ns0.ImportOperationBulkFaultFault_Dec.__bases__ = tuple(bases)

            ns0.ImportOperationBulkFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ImportOperationBulkFaultFault_Dec_Holder"

    class InUseFeatureManipulationDisallowedFault_Dec(ElementDeclaration):
        literal = "InUseFeatureManipulationDisallowedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InUseFeatureManipulationDisallowedFault")
            kw["aname"] = "_InUseFeatureManipulationDisallowedFault"
            if ns0.InUseFeatureManipulationDisallowed_Def not in ns0.InUseFeatureManipulationDisallowedFault_Dec.__bases__:
                bases = list(ns0.InUseFeatureManipulationDisallowedFault_Dec.__bases__)
                bases.insert(0, ns0.InUseFeatureManipulationDisallowed_Def)
                ns0.InUseFeatureManipulationDisallowedFault_Dec.__bases__ = tuple(bases)

            ns0.InUseFeatureManipulationDisallowed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InUseFeatureManipulationDisallowedFault_Dec_Holder"

    class InaccessibleDatastoreFault_Dec(ElementDeclaration):
        literal = "InaccessibleDatastoreFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InaccessibleDatastoreFault")
            kw["aname"] = "_InaccessibleDatastoreFault"
            if ns0.InaccessibleDatastore_Def not in ns0.InaccessibleDatastoreFault_Dec.__bases__:
                bases = list(ns0.InaccessibleDatastoreFault_Dec.__bases__)
                bases.insert(0, ns0.InaccessibleDatastore_Def)
                ns0.InaccessibleDatastoreFault_Dec.__bases__ = tuple(bases)

            ns0.InaccessibleDatastore_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InaccessibleDatastoreFault_Dec_Holder"

    class InaccessibleFTMetadataDatastoreFault_Dec(ElementDeclaration):
        literal = "InaccessibleFTMetadataDatastoreFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InaccessibleFTMetadataDatastoreFault")
            kw["aname"] = "_InaccessibleFTMetadataDatastoreFault"
            if ns0.InaccessibleFTMetadataDatastore_Def not in ns0.InaccessibleFTMetadataDatastoreFault_Dec.__bases__:
                bases = list(ns0.InaccessibleFTMetadataDatastoreFault_Dec.__bases__)
                bases.insert(0, ns0.InaccessibleFTMetadataDatastore_Def)
                ns0.InaccessibleFTMetadataDatastoreFault_Dec.__bases__ = tuple(bases)

            ns0.InaccessibleFTMetadataDatastore_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InaccessibleFTMetadataDatastoreFault_Dec_Holder"

    class InaccessibleVFlashSourceFault_Dec(ElementDeclaration):
        literal = "InaccessibleVFlashSourceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InaccessibleVFlashSourceFault")
            kw["aname"] = "_InaccessibleVFlashSourceFault"
            if ns0.InaccessibleVFlashSource_Def not in ns0.InaccessibleVFlashSourceFault_Dec.__bases__:
                bases = list(ns0.InaccessibleVFlashSourceFault_Dec.__bases__)
                bases.insert(0, ns0.InaccessibleVFlashSource_Def)
                ns0.InaccessibleVFlashSourceFault_Dec.__bases__ = tuple(bases)

            ns0.InaccessibleVFlashSource_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InaccessibleVFlashSourceFault_Dec_Holder"

    class IncompatibleDefaultDeviceFault_Dec(ElementDeclaration):
        literal = "IncompatibleDefaultDeviceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IncompatibleDefaultDeviceFault")
            kw["aname"] = "_IncompatibleDefaultDeviceFault"
            if ns0.IncompatibleDefaultDevice_Def not in ns0.IncompatibleDefaultDeviceFault_Dec.__bases__:
                bases = list(ns0.IncompatibleDefaultDeviceFault_Dec.__bases__)
                bases.insert(0, ns0.IncompatibleDefaultDevice_Def)
                ns0.IncompatibleDefaultDeviceFault_Dec.__bases__ = tuple(bases)

            ns0.IncompatibleDefaultDevice_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IncompatibleDefaultDeviceFault_Dec_Holder"

    class IncompatibleHostForFtSecondaryFault_Dec(ElementDeclaration):
        literal = "IncompatibleHostForFtSecondaryFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IncompatibleHostForFtSecondaryFault")
            kw["aname"] = "_IncompatibleHostForFtSecondaryFault"
            if ns0.IncompatibleHostForFtSecondary_Def not in ns0.IncompatibleHostForFtSecondaryFault_Dec.__bases__:
                bases = list(ns0.IncompatibleHostForFtSecondaryFault_Dec.__bases__)
                bases.insert(0, ns0.IncompatibleHostForFtSecondary_Def)
                ns0.IncompatibleHostForFtSecondaryFault_Dec.__bases__ = tuple(bases)

            ns0.IncompatibleHostForFtSecondary_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IncompatibleHostForFtSecondaryFault_Dec_Holder"

    class IncompatibleHostForVmReplicationFault_Dec(ElementDeclaration):
        literal = "IncompatibleHostForVmReplicationFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IncompatibleHostForVmReplicationFault")
            kw["aname"] = "_IncompatibleHostForVmReplicationFault"
            if ns0.IncompatibleHostForVmReplication_Def not in ns0.IncompatibleHostForVmReplicationFault_Dec.__bases__:
                bases = list(ns0.IncompatibleHostForVmReplicationFault_Dec.__bases__)
                bases.insert(0, ns0.IncompatibleHostForVmReplication_Def)
                ns0.IncompatibleHostForVmReplicationFault_Dec.__bases__ = tuple(bases)

            ns0.IncompatibleHostForVmReplication_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IncompatibleHostForVmReplicationFault_Dec_Holder"

    class IncompatibleSettingFault_Dec(ElementDeclaration):
        literal = "IncompatibleSettingFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IncompatibleSettingFault")
            kw["aname"] = "_IncompatibleSettingFault"
            if ns0.IncompatibleSetting_Def not in ns0.IncompatibleSettingFault_Dec.__bases__:
                bases = list(ns0.IncompatibleSettingFault_Dec.__bases__)
                bases.insert(0, ns0.IncompatibleSetting_Def)
                ns0.IncompatibleSettingFault_Dec.__bases__ = tuple(bases)

            ns0.IncompatibleSetting_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IncompatibleSettingFault_Dec_Holder"

    class IncorrectFileTypeFault_Dec(ElementDeclaration):
        literal = "IncorrectFileTypeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IncorrectFileTypeFault")
            kw["aname"] = "_IncorrectFileTypeFault"
            if ns0.IncorrectFileType_Def not in ns0.IncorrectFileTypeFault_Dec.__bases__:
                bases = list(ns0.IncorrectFileTypeFault_Dec.__bases__)
                bases.insert(0, ns0.IncorrectFileType_Def)
                ns0.IncorrectFileTypeFault_Dec.__bases__ = tuple(bases)

            ns0.IncorrectFileType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IncorrectFileTypeFault_Dec_Holder"

    class IncorrectHostInformationFault_Dec(ElementDeclaration):
        literal = "IncorrectHostInformationFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IncorrectHostInformationFault")
            kw["aname"] = "_IncorrectHostInformationFault"
            if ns0.IncorrectHostInformation_Def not in ns0.IncorrectHostInformationFault_Dec.__bases__:
                bases = list(ns0.IncorrectHostInformationFault_Dec.__bases__)
                bases.insert(0, ns0.IncorrectHostInformation_Def)
                ns0.IncorrectHostInformationFault_Dec.__bases__ = tuple(bases)

            ns0.IncorrectHostInformation_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IncorrectHostInformationFault_Dec_Holder"

    class IndependentDiskVMotionNotSupportedFault_Dec(ElementDeclaration):
        literal = "IndependentDiskVMotionNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IndependentDiskVMotionNotSupportedFault")
            kw["aname"] = "_IndependentDiskVMotionNotSupportedFault"
            if ns0.IndependentDiskVMotionNotSupported_Def not in ns0.IndependentDiskVMotionNotSupportedFault_Dec.__bases__:
                bases = list(ns0.IndependentDiskVMotionNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.IndependentDiskVMotionNotSupported_Def)
                ns0.IndependentDiskVMotionNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.IndependentDiskVMotionNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IndependentDiskVMotionNotSupportedFault_Dec_Holder"

    class InsufficientAgentVmsDeployedFault_Dec(ElementDeclaration):
        literal = "InsufficientAgentVmsDeployedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientAgentVmsDeployedFault")
            kw["aname"] = "_InsufficientAgentVmsDeployedFault"
            if ns0.InsufficientAgentVmsDeployed_Def not in ns0.InsufficientAgentVmsDeployedFault_Dec.__bases__:
                bases = list(ns0.InsufficientAgentVmsDeployedFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientAgentVmsDeployed_Def)
                ns0.InsufficientAgentVmsDeployedFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientAgentVmsDeployed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientAgentVmsDeployedFault_Dec_Holder"

    class InsufficientCpuResourcesFaultFault_Dec(ElementDeclaration):
        literal = "InsufficientCpuResourcesFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientCpuResourcesFaultFault")
            kw["aname"] = "_InsufficientCpuResourcesFaultFault"
            if ns0.InsufficientCpuResourcesFault_Def not in ns0.InsufficientCpuResourcesFaultFault_Dec.__bases__:
                bases = list(ns0.InsufficientCpuResourcesFaultFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientCpuResourcesFault_Def)
                ns0.InsufficientCpuResourcesFaultFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientCpuResourcesFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientCpuResourcesFaultFault_Dec_Holder"

    class InsufficientDisksFault_Dec(ElementDeclaration):
        literal = "InsufficientDisksFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientDisksFault")
            kw["aname"] = "_InsufficientDisksFault"
            if ns0.InsufficientDisks_Def not in ns0.InsufficientDisksFault_Dec.__bases__:
                bases = list(ns0.InsufficientDisksFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientDisks_Def)
                ns0.InsufficientDisksFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientDisks_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientDisksFault_Dec_Holder"

    class InsufficientFailoverResourcesFaultFault_Dec(ElementDeclaration):
        literal = "InsufficientFailoverResourcesFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientFailoverResourcesFaultFault")
            kw["aname"] = "_InsufficientFailoverResourcesFaultFault"
            if ns0.InsufficientFailoverResourcesFault_Def not in ns0.InsufficientFailoverResourcesFaultFault_Dec.__bases__:
                bases = list(ns0.InsufficientFailoverResourcesFaultFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientFailoverResourcesFault_Def)
                ns0.InsufficientFailoverResourcesFaultFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientFailoverResourcesFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientFailoverResourcesFaultFault_Dec_Holder"

    class InsufficientGraphicsResourcesFaultFault_Dec(ElementDeclaration):
        literal = "InsufficientGraphicsResourcesFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientGraphicsResourcesFaultFault")
            kw["aname"] = "_InsufficientGraphicsResourcesFaultFault"
            if ns0.InsufficientGraphicsResourcesFault_Def not in ns0.InsufficientGraphicsResourcesFaultFault_Dec.__bases__:
                bases = list(ns0.InsufficientGraphicsResourcesFaultFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientGraphicsResourcesFault_Def)
                ns0.InsufficientGraphicsResourcesFaultFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientGraphicsResourcesFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientGraphicsResourcesFaultFault_Dec_Holder"

    class InsufficientHostCapacityFaultFault_Dec(ElementDeclaration):
        literal = "InsufficientHostCapacityFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientHostCapacityFaultFault")
            kw["aname"] = "_InsufficientHostCapacityFaultFault"
            if ns0.InsufficientHostCapacityFault_Def not in ns0.InsufficientHostCapacityFaultFault_Dec.__bases__:
                bases = list(ns0.InsufficientHostCapacityFaultFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientHostCapacityFault_Def)
                ns0.InsufficientHostCapacityFaultFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientHostCapacityFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientHostCapacityFaultFault_Dec_Holder"

    class InsufficientHostCpuCapacityFaultFault_Dec(ElementDeclaration):
        literal = "InsufficientHostCpuCapacityFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientHostCpuCapacityFaultFault")
            kw["aname"] = "_InsufficientHostCpuCapacityFaultFault"
            if ns0.InsufficientHostCpuCapacityFault_Def not in ns0.InsufficientHostCpuCapacityFaultFault_Dec.__bases__:
                bases = list(ns0.InsufficientHostCpuCapacityFaultFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientHostCpuCapacityFault_Def)
                ns0.InsufficientHostCpuCapacityFaultFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientHostCpuCapacityFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientHostCpuCapacityFaultFault_Dec_Holder"

    class InsufficientHostMemoryCapacityFaultFault_Dec(ElementDeclaration):
        literal = "InsufficientHostMemoryCapacityFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientHostMemoryCapacityFaultFault")
            kw["aname"] = "_InsufficientHostMemoryCapacityFaultFault"
            if ns0.InsufficientHostMemoryCapacityFault_Def not in ns0.InsufficientHostMemoryCapacityFaultFault_Dec.__bases__:
                bases = list(ns0.InsufficientHostMemoryCapacityFaultFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientHostMemoryCapacityFault_Def)
                ns0.InsufficientHostMemoryCapacityFaultFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientHostMemoryCapacityFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientHostMemoryCapacityFaultFault_Dec_Holder"

    class InsufficientMemoryResourcesFaultFault_Dec(ElementDeclaration):
        literal = "InsufficientMemoryResourcesFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientMemoryResourcesFaultFault")
            kw["aname"] = "_InsufficientMemoryResourcesFaultFault"
            if ns0.InsufficientMemoryResourcesFault_Def not in ns0.InsufficientMemoryResourcesFaultFault_Dec.__bases__:
                bases = list(ns0.InsufficientMemoryResourcesFaultFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientMemoryResourcesFault_Def)
                ns0.InsufficientMemoryResourcesFaultFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientMemoryResourcesFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientMemoryResourcesFaultFault_Dec_Holder"

    class InsufficientNetworkCapacityFault_Dec(ElementDeclaration):
        literal = "InsufficientNetworkCapacityFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientNetworkCapacityFault")
            kw["aname"] = "_InsufficientNetworkCapacityFault"
            if ns0.InsufficientNetworkCapacity_Def not in ns0.InsufficientNetworkCapacityFault_Dec.__bases__:
                bases = list(ns0.InsufficientNetworkCapacityFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientNetworkCapacity_Def)
                ns0.InsufficientNetworkCapacityFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientNetworkCapacity_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientNetworkCapacityFault_Dec_Holder"

    class InsufficientNetworkResourcePoolCapacityFault_Dec(ElementDeclaration):
        literal = "InsufficientNetworkResourcePoolCapacityFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientNetworkResourcePoolCapacityFault")
            kw["aname"] = "_InsufficientNetworkResourcePoolCapacityFault"
            if ns0.InsufficientNetworkResourcePoolCapacity_Def not in ns0.InsufficientNetworkResourcePoolCapacityFault_Dec.__bases__:
                bases = list(ns0.InsufficientNetworkResourcePoolCapacityFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientNetworkResourcePoolCapacity_Def)
                ns0.InsufficientNetworkResourcePoolCapacityFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientNetworkResourcePoolCapacity_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientNetworkResourcePoolCapacityFault_Dec_Holder"

    class InsufficientPerCpuCapacityFault_Dec(ElementDeclaration):
        literal = "InsufficientPerCpuCapacityFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientPerCpuCapacityFault")
            kw["aname"] = "_InsufficientPerCpuCapacityFault"
            if ns0.InsufficientPerCpuCapacity_Def not in ns0.InsufficientPerCpuCapacityFault_Dec.__bases__:
                bases = list(ns0.InsufficientPerCpuCapacityFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientPerCpuCapacity_Def)
                ns0.InsufficientPerCpuCapacityFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientPerCpuCapacity_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientPerCpuCapacityFault_Dec_Holder"

    class InsufficientResourcesFaultFault_Dec(ElementDeclaration):
        literal = "InsufficientResourcesFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientResourcesFaultFault")
            kw["aname"] = "_InsufficientResourcesFaultFault"
            if ns0.InsufficientResourcesFault_Def not in ns0.InsufficientResourcesFaultFault_Dec.__bases__:
                bases = list(ns0.InsufficientResourcesFaultFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientResourcesFault_Def)
                ns0.InsufficientResourcesFaultFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientResourcesFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientResourcesFaultFault_Dec_Holder"

    class InsufficientStandbyCpuResourceFault_Dec(ElementDeclaration):
        literal = "InsufficientStandbyCpuResourceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientStandbyCpuResourceFault")
            kw["aname"] = "_InsufficientStandbyCpuResourceFault"
            if ns0.InsufficientStandbyCpuResource_Def not in ns0.InsufficientStandbyCpuResourceFault_Dec.__bases__:
                bases = list(ns0.InsufficientStandbyCpuResourceFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientStandbyCpuResource_Def)
                ns0.InsufficientStandbyCpuResourceFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientStandbyCpuResource_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientStandbyCpuResourceFault_Dec_Holder"

    class InsufficientStandbyMemoryResourceFault_Dec(ElementDeclaration):
        literal = "InsufficientStandbyMemoryResourceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientStandbyMemoryResourceFault")
            kw["aname"] = "_InsufficientStandbyMemoryResourceFault"
            if ns0.InsufficientStandbyMemoryResource_Def not in ns0.InsufficientStandbyMemoryResourceFault_Dec.__bases__:
                bases = list(ns0.InsufficientStandbyMemoryResourceFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientStandbyMemoryResource_Def)
                ns0.InsufficientStandbyMemoryResourceFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientStandbyMemoryResource_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientStandbyMemoryResourceFault_Dec_Holder"

    class InsufficientStandbyResourceFault_Dec(ElementDeclaration):
        literal = "InsufficientStandbyResourceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientStandbyResourceFault")
            kw["aname"] = "_InsufficientStandbyResourceFault"
            if ns0.InsufficientStandbyResource_Def not in ns0.InsufficientStandbyResourceFault_Dec.__bases__:
                bases = list(ns0.InsufficientStandbyResourceFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientStandbyResource_Def)
                ns0.InsufficientStandbyResourceFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientStandbyResource_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientStandbyResourceFault_Dec_Holder"

    class InsufficientStorageIopsFault_Dec(ElementDeclaration):
        literal = "InsufficientStorageIopsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientStorageIopsFault")
            kw["aname"] = "_InsufficientStorageIopsFault"
            if ns0.InsufficientStorageIops_Def not in ns0.InsufficientStorageIopsFault_Dec.__bases__:
                bases = list(ns0.InsufficientStorageIopsFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientStorageIops_Def)
                ns0.InsufficientStorageIopsFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientStorageIops_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientStorageIopsFault_Dec_Holder"

    class InsufficientStorageSpaceFault_Dec(ElementDeclaration):
        literal = "InsufficientStorageSpaceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientStorageSpaceFault")
            kw["aname"] = "_InsufficientStorageSpaceFault"
            if ns0.InsufficientStorageSpace_Def not in ns0.InsufficientStorageSpaceFault_Dec.__bases__:
                bases = list(ns0.InsufficientStorageSpaceFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientStorageSpace_Def)
                ns0.InsufficientStorageSpaceFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientStorageSpace_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientStorageSpaceFault_Dec_Holder"

    class InsufficientVFlashResourcesFaultFault_Dec(ElementDeclaration):
        literal = "InsufficientVFlashResourcesFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InsufficientVFlashResourcesFaultFault")
            kw["aname"] = "_InsufficientVFlashResourcesFaultFault"
            if ns0.InsufficientVFlashResourcesFault_Def not in ns0.InsufficientVFlashResourcesFaultFault_Dec.__bases__:
                bases = list(ns0.InsufficientVFlashResourcesFaultFault_Dec.__bases__)
                bases.insert(0, ns0.InsufficientVFlashResourcesFault_Def)
                ns0.InsufficientVFlashResourcesFaultFault_Dec.__bases__ = tuple(bases)

            ns0.InsufficientVFlashResourcesFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InsufficientVFlashResourcesFaultFault_Dec_Holder"

    class InvalidAffinitySettingFaultFault_Dec(ElementDeclaration):
        literal = "InvalidAffinitySettingFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidAffinitySettingFaultFault")
            kw["aname"] = "_InvalidAffinitySettingFaultFault"
            if ns0.InvalidAffinitySettingFault_Def not in ns0.InvalidAffinitySettingFaultFault_Dec.__bases__:
                bases = list(ns0.InvalidAffinitySettingFaultFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidAffinitySettingFault_Def)
                ns0.InvalidAffinitySettingFaultFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidAffinitySettingFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidAffinitySettingFaultFault_Dec_Holder"

    class InvalidBmcRoleFault_Dec(ElementDeclaration):
        literal = "InvalidBmcRoleFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidBmcRoleFault")
            kw["aname"] = "_InvalidBmcRoleFault"
            if ns0.InvalidBmcRole_Def not in ns0.InvalidBmcRoleFault_Dec.__bases__:
                bases = list(ns0.InvalidBmcRoleFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidBmcRole_Def)
                ns0.InvalidBmcRoleFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidBmcRole_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidBmcRoleFault_Dec_Holder"

    class InvalidBundleFault_Dec(ElementDeclaration):
        literal = "InvalidBundleFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidBundleFault")
            kw["aname"] = "_InvalidBundleFault"
            if ns0.InvalidBundle_Def not in ns0.InvalidBundleFault_Dec.__bases__:
                bases = list(ns0.InvalidBundleFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidBundle_Def)
                ns0.InvalidBundleFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidBundle_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidBundleFault_Dec_Holder"

    class InvalidCAMCertificateFault_Dec(ElementDeclaration):
        literal = "InvalidCAMCertificateFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidCAMCertificateFault")
            kw["aname"] = "_InvalidCAMCertificateFault"
            if ns0.InvalidCAMCertificate_Def not in ns0.InvalidCAMCertificateFault_Dec.__bases__:
                bases = list(ns0.InvalidCAMCertificateFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidCAMCertificate_Def)
                ns0.InvalidCAMCertificateFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidCAMCertificate_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidCAMCertificateFault_Dec_Holder"

    class InvalidCAMServerFault_Dec(ElementDeclaration):
        literal = "InvalidCAMServerFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidCAMServerFault")
            kw["aname"] = "_InvalidCAMServerFault"
            if ns0.InvalidCAMServer_Def not in ns0.InvalidCAMServerFault_Dec.__bases__:
                bases = list(ns0.InvalidCAMServerFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidCAMServer_Def)
                ns0.InvalidCAMServerFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidCAMServer_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidCAMServerFault_Dec_Holder"

    class InvalidClientCertificateFault_Dec(ElementDeclaration):
        literal = "InvalidClientCertificateFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidClientCertificateFault")
            kw["aname"] = "_InvalidClientCertificateFault"
            if ns0.InvalidClientCertificate_Def not in ns0.InvalidClientCertificateFault_Dec.__bases__:
                bases = list(ns0.InvalidClientCertificateFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidClientCertificate_Def)
                ns0.InvalidClientCertificateFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidClientCertificate_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidClientCertificateFault_Dec_Holder"

    class InvalidControllerFault_Dec(ElementDeclaration):
        literal = "InvalidControllerFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidControllerFault")
            kw["aname"] = "_InvalidControllerFault"
            if ns0.InvalidController_Def not in ns0.InvalidControllerFault_Dec.__bases__:
                bases = list(ns0.InvalidControllerFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidController_Def)
                ns0.InvalidControllerFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidController_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidControllerFault_Dec_Holder"

    class InvalidDasConfigArgumentFault_Dec(ElementDeclaration):
        literal = "InvalidDasConfigArgumentFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidDasConfigArgumentFault")
            kw["aname"] = "_InvalidDasConfigArgumentFault"
            if ns0.InvalidDasConfigArgument_Def not in ns0.InvalidDasConfigArgumentFault_Dec.__bases__:
                bases = list(ns0.InvalidDasConfigArgumentFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidDasConfigArgument_Def)
                ns0.InvalidDasConfigArgumentFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidDasConfigArgument_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidDasConfigArgumentFault_Dec_Holder"

    class InvalidDasRestartPriorityForFtVmFault_Dec(ElementDeclaration):
        literal = "InvalidDasRestartPriorityForFtVmFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidDasRestartPriorityForFtVmFault")
            kw["aname"] = "_InvalidDasRestartPriorityForFtVmFault"
            if ns0.InvalidDasRestartPriorityForFtVm_Def not in ns0.InvalidDasRestartPriorityForFtVmFault_Dec.__bases__:
                bases = list(ns0.InvalidDasRestartPriorityForFtVmFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidDasRestartPriorityForFtVm_Def)
                ns0.InvalidDasRestartPriorityForFtVmFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidDasRestartPriorityForFtVm_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidDasRestartPriorityForFtVmFault_Dec_Holder"

    class InvalidDatastoreFault_Dec(ElementDeclaration):
        literal = "InvalidDatastoreFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidDatastoreFault")
            kw["aname"] = "_InvalidDatastoreFault"
            if ns0.InvalidDatastore_Def not in ns0.InvalidDatastoreFault_Dec.__bases__:
                bases = list(ns0.InvalidDatastoreFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidDatastore_Def)
                ns0.InvalidDatastoreFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidDatastore_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidDatastoreFault_Dec_Holder"

    class InvalidDatastorePathFault_Dec(ElementDeclaration):
        literal = "InvalidDatastorePathFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidDatastorePathFault")
            kw["aname"] = "_InvalidDatastorePathFault"
            if ns0.InvalidDatastorePath_Def not in ns0.InvalidDatastorePathFault_Dec.__bases__:
                bases = list(ns0.InvalidDatastorePathFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidDatastorePath_Def)
                ns0.InvalidDatastorePathFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidDatastorePath_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidDatastorePathFault_Dec_Holder"

    class InvalidDatastoreStateFault_Dec(ElementDeclaration):
        literal = "InvalidDatastoreStateFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidDatastoreStateFault")
            kw["aname"] = "_InvalidDatastoreStateFault"
            if ns0.InvalidDatastoreState_Def not in ns0.InvalidDatastoreStateFault_Dec.__bases__:
                bases = list(ns0.InvalidDatastoreStateFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidDatastoreState_Def)
                ns0.InvalidDatastoreStateFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidDatastoreState_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidDatastoreStateFault_Dec_Holder"

    class InvalidDeviceBackingFault_Dec(ElementDeclaration):
        literal = "InvalidDeviceBackingFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidDeviceBackingFault")
            kw["aname"] = "_InvalidDeviceBackingFault"
            if ns0.InvalidDeviceBacking_Def not in ns0.InvalidDeviceBackingFault_Dec.__bases__:
                bases = list(ns0.InvalidDeviceBackingFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidDeviceBacking_Def)
                ns0.InvalidDeviceBackingFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidDeviceBacking_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidDeviceBackingFault_Dec_Holder"

    class InvalidDeviceOperationFault_Dec(ElementDeclaration):
        literal = "InvalidDeviceOperationFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidDeviceOperationFault")
            kw["aname"] = "_InvalidDeviceOperationFault"
            if ns0.InvalidDeviceOperation_Def not in ns0.InvalidDeviceOperationFault_Dec.__bases__:
                bases = list(ns0.InvalidDeviceOperationFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidDeviceOperation_Def)
                ns0.InvalidDeviceOperationFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidDeviceOperation_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidDeviceOperationFault_Dec_Holder"

    class InvalidDeviceSpecFault_Dec(ElementDeclaration):
        literal = "InvalidDeviceSpecFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidDeviceSpecFault")
            kw["aname"] = "_InvalidDeviceSpecFault"
            if ns0.InvalidDeviceSpec_Def not in ns0.InvalidDeviceSpecFault_Dec.__bases__:
                bases = list(ns0.InvalidDeviceSpecFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidDeviceSpec_Def)
                ns0.InvalidDeviceSpecFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidDeviceSpec_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidDeviceSpecFault_Dec_Holder"

    class InvalidDiskFormatFault_Dec(ElementDeclaration):
        literal = "InvalidDiskFormatFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidDiskFormatFault")
            kw["aname"] = "_InvalidDiskFormatFault"
            if ns0.InvalidDiskFormat_Def not in ns0.InvalidDiskFormatFault_Dec.__bases__:
                bases = list(ns0.InvalidDiskFormatFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidDiskFormat_Def)
                ns0.InvalidDiskFormatFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidDiskFormat_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidDiskFormatFault_Dec_Holder"

    class InvalidDrsBehaviorForFtVmFault_Dec(ElementDeclaration):
        literal = "InvalidDrsBehaviorForFtVmFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidDrsBehaviorForFtVmFault")
            kw["aname"] = "_InvalidDrsBehaviorForFtVmFault"
            if ns0.InvalidDrsBehaviorForFtVm_Def not in ns0.InvalidDrsBehaviorForFtVmFault_Dec.__bases__:
                bases = list(ns0.InvalidDrsBehaviorForFtVmFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidDrsBehaviorForFtVm_Def)
                ns0.InvalidDrsBehaviorForFtVmFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidDrsBehaviorForFtVm_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidDrsBehaviorForFtVmFault_Dec_Holder"

    class InvalidEditionLicenseFault_Dec(ElementDeclaration):
        literal = "InvalidEditionLicenseFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidEditionLicenseFault")
            kw["aname"] = "_InvalidEditionLicenseFault"
            if ns0.InvalidEditionLicense_Def not in ns0.InvalidEditionLicenseFault_Dec.__bases__:
                bases = list(ns0.InvalidEditionLicenseFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidEditionLicense_Def)
                ns0.InvalidEditionLicenseFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidEditionLicense_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidEditionLicenseFault_Dec_Holder"

    class InvalidEventFault_Dec(ElementDeclaration):
        literal = "InvalidEventFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidEventFault")
            kw["aname"] = "_InvalidEventFault"
            if ns0.InvalidEvent_Def not in ns0.InvalidEventFault_Dec.__bases__:
                bases = list(ns0.InvalidEventFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidEvent_Def)
                ns0.InvalidEventFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidEvent_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidEventFault_Dec_Holder"

    class InvalidFolderFault_Dec(ElementDeclaration):
        literal = "InvalidFolderFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidFolderFault")
            kw["aname"] = "_InvalidFolderFault"
            if ns0.InvalidFolder_Def not in ns0.InvalidFolderFault_Dec.__bases__:
                bases = list(ns0.InvalidFolderFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidFolder_Def)
                ns0.InvalidFolderFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidFolder_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidFolderFault_Dec_Holder"

    class InvalidFormatFault_Dec(ElementDeclaration):
        literal = "InvalidFormatFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidFormatFault")
            kw["aname"] = "_InvalidFormatFault"
            if ns0.InvalidFormat_Def not in ns0.InvalidFormatFault_Dec.__bases__:
                bases = list(ns0.InvalidFormatFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidFormat_Def)
                ns0.InvalidFormatFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidFormat_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidFormatFault_Dec_Holder"

    class InvalidGuestLoginFault_Dec(ElementDeclaration):
        literal = "InvalidGuestLoginFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidGuestLoginFault")
            kw["aname"] = "_InvalidGuestLoginFault"
            if ns0.InvalidGuestLogin_Def not in ns0.InvalidGuestLoginFault_Dec.__bases__:
                bases = list(ns0.InvalidGuestLoginFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidGuestLogin_Def)
                ns0.InvalidGuestLoginFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidGuestLogin_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidGuestLoginFault_Dec_Holder"

    class InvalidHostConnectionStateFault_Dec(ElementDeclaration):
        literal = "InvalidHostConnectionStateFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidHostConnectionStateFault")
            kw["aname"] = "_InvalidHostConnectionStateFault"
            if ns0.InvalidHostConnectionState_Def not in ns0.InvalidHostConnectionStateFault_Dec.__bases__:
                bases = list(ns0.InvalidHostConnectionStateFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidHostConnectionState_Def)
                ns0.InvalidHostConnectionStateFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidHostConnectionState_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidHostConnectionStateFault_Dec_Holder"

    class InvalidHostNameFault_Dec(ElementDeclaration):
        literal = "InvalidHostNameFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidHostNameFault")
            kw["aname"] = "_InvalidHostNameFault"
            if ns0.InvalidHostName_Def not in ns0.InvalidHostNameFault_Dec.__bases__:
                bases = list(ns0.InvalidHostNameFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidHostName_Def)
                ns0.InvalidHostNameFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidHostName_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidHostNameFault_Dec_Holder"

    class InvalidHostStateFault_Dec(ElementDeclaration):
        literal = "InvalidHostStateFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidHostStateFault")
            kw["aname"] = "_InvalidHostStateFault"
            if ns0.InvalidHostState_Def not in ns0.InvalidHostStateFault_Dec.__bases__:
                bases = list(ns0.InvalidHostStateFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidHostState_Def)
                ns0.InvalidHostStateFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidHostState_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidHostStateFault_Dec_Holder"

    class InvalidIndexArgumentFault_Dec(ElementDeclaration):
        literal = "InvalidIndexArgumentFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidIndexArgumentFault")
            kw["aname"] = "_InvalidIndexArgumentFault"
            if ns0.InvalidIndexArgument_Def not in ns0.InvalidIndexArgumentFault_Dec.__bases__:
                bases = list(ns0.InvalidIndexArgumentFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidIndexArgument_Def)
                ns0.InvalidIndexArgumentFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidIndexArgument_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidIndexArgumentFault_Dec_Holder"

    class InvalidIpfixConfigFault_Dec(ElementDeclaration):
        literal = "InvalidIpfixConfigFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidIpfixConfigFault")
            kw["aname"] = "_InvalidIpfixConfigFault"
            if ns0.InvalidIpfixConfig_Def not in ns0.InvalidIpfixConfigFault_Dec.__bases__:
                bases = list(ns0.InvalidIpfixConfigFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidIpfixConfig_Def)
                ns0.InvalidIpfixConfigFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidIpfixConfig_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidIpfixConfigFault_Dec_Holder"

    class InvalidIpmiLoginInfoFault_Dec(ElementDeclaration):
        literal = "InvalidIpmiLoginInfoFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidIpmiLoginInfoFault")
            kw["aname"] = "_InvalidIpmiLoginInfoFault"
            if ns0.InvalidIpmiLoginInfo_Def not in ns0.InvalidIpmiLoginInfoFault_Dec.__bases__:
                bases = list(ns0.InvalidIpmiLoginInfoFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidIpmiLoginInfo_Def)
                ns0.InvalidIpmiLoginInfoFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidIpmiLoginInfo_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidIpmiLoginInfoFault_Dec_Holder"

    class InvalidIpmiMacAddressFault_Dec(ElementDeclaration):
        literal = "InvalidIpmiMacAddressFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidIpmiMacAddressFault")
            kw["aname"] = "_InvalidIpmiMacAddressFault"
            if ns0.InvalidIpmiMacAddress_Def not in ns0.InvalidIpmiMacAddressFault_Dec.__bases__:
                bases = list(ns0.InvalidIpmiMacAddressFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidIpmiMacAddress_Def)
                ns0.InvalidIpmiMacAddressFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidIpmiMacAddress_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidIpmiMacAddressFault_Dec_Holder"

    class InvalidLicenseFault_Dec(ElementDeclaration):
        literal = "InvalidLicenseFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidLicenseFault")
            kw["aname"] = "_InvalidLicenseFault"
            if ns0.InvalidLicense_Def not in ns0.InvalidLicenseFault_Dec.__bases__:
                bases = list(ns0.InvalidLicenseFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidLicense_Def)
                ns0.InvalidLicenseFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidLicense_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidLicenseFault_Dec_Holder"

    class InvalidLocaleFault_Dec(ElementDeclaration):
        literal = "InvalidLocaleFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidLocaleFault")
            kw["aname"] = "_InvalidLocaleFault"
            if ns0.InvalidLocale_Def not in ns0.InvalidLocaleFault_Dec.__bases__:
                bases = list(ns0.InvalidLocaleFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidLocale_Def)
                ns0.InvalidLocaleFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidLocale_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidLocaleFault_Dec_Holder"

    class InvalidLoginFault_Dec(ElementDeclaration):
        literal = "InvalidLoginFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidLoginFault")
            kw["aname"] = "_InvalidLoginFault"
            if ns0.InvalidLogin_Def not in ns0.InvalidLoginFault_Dec.__bases__:
                bases = list(ns0.InvalidLoginFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidLogin_Def)
                ns0.InvalidLoginFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidLogin_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidLoginFault_Dec_Holder"

    class InvalidNameFault_Dec(ElementDeclaration):
        literal = "InvalidNameFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidNameFault")
            kw["aname"] = "_InvalidNameFault"
            if ns0.InvalidName_Def not in ns0.InvalidNameFault_Dec.__bases__:
                bases = list(ns0.InvalidNameFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidName_Def)
                ns0.InvalidNameFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidName_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidNameFault_Dec_Holder"

    class InvalidNasCredentialsFault_Dec(ElementDeclaration):
        literal = "InvalidNasCredentialsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidNasCredentialsFault")
            kw["aname"] = "_InvalidNasCredentialsFault"
            if ns0.InvalidNasCredentials_Def not in ns0.InvalidNasCredentialsFault_Dec.__bases__:
                bases = list(ns0.InvalidNasCredentialsFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidNasCredentials_Def)
                ns0.InvalidNasCredentialsFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidNasCredentials_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidNasCredentialsFault_Dec_Holder"

    class InvalidNetworkInTypeFault_Dec(ElementDeclaration):
        literal = "InvalidNetworkInTypeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidNetworkInTypeFault")
            kw["aname"] = "_InvalidNetworkInTypeFault"
            if ns0.InvalidNetworkInType_Def not in ns0.InvalidNetworkInTypeFault_Dec.__bases__:
                bases = list(ns0.InvalidNetworkInTypeFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidNetworkInType_Def)
                ns0.InvalidNetworkInTypeFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidNetworkInType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidNetworkInTypeFault_Dec_Holder"

    class InvalidNetworkResourceFault_Dec(ElementDeclaration):
        literal = "InvalidNetworkResourceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidNetworkResourceFault")
            kw["aname"] = "_InvalidNetworkResourceFault"
            if ns0.InvalidNetworkResource_Def not in ns0.InvalidNetworkResourceFault_Dec.__bases__:
                bases = list(ns0.InvalidNetworkResourceFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidNetworkResource_Def)
                ns0.InvalidNetworkResourceFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidNetworkResource_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidNetworkResourceFault_Dec_Holder"

    class InvalidOperationOnSecondaryVmFault_Dec(ElementDeclaration):
        literal = "InvalidOperationOnSecondaryVmFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidOperationOnSecondaryVmFault")
            kw["aname"] = "_InvalidOperationOnSecondaryVmFault"
            if ns0.InvalidOperationOnSecondaryVm_Def not in ns0.InvalidOperationOnSecondaryVmFault_Dec.__bases__:
                bases = list(ns0.InvalidOperationOnSecondaryVmFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidOperationOnSecondaryVm_Def)
                ns0.InvalidOperationOnSecondaryVmFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidOperationOnSecondaryVm_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidOperationOnSecondaryVmFault_Dec_Holder"

    class InvalidPowerStateFault_Dec(ElementDeclaration):
        literal = "InvalidPowerStateFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidPowerStateFault")
            kw["aname"] = "_InvalidPowerStateFault"
            if ns0.InvalidPowerState_Def not in ns0.InvalidPowerStateFault_Dec.__bases__:
                bases = list(ns0.InvalidPowerStateFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidPowerState_Def)
                ns0.InvalidPowerStateFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidPowerState_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidPowerStateFault_Dec_Holder"

    class InvalidPrivilegeFault_Dec(ElementDeclaration):
        literal = "InvalidPrivilegeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidPrivilegeFault")
            kw["aname"] = "_InvalidPrivilegeFault"
            if ns0.InvalidPrivilege_Def not in ns0.InvalidPrivilegeFault_Dec.__bases__:
                bases = list(ns0.InvalidPrivilegeFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidPrivilege_Def)
                ns0.InvalidPrivilegeFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidPrivilege_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidPrivilegeFault_Dec_Holder"

    class InvalidProfileReferenceHostFault_Dec(ElementDeclaration):
        literal = "InvalidProfileReferenceHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidProfileReferenceHostFault")
            kw["aname"] = "_InvalidProfileReferenceHostFault"
            if ns0.InvalidProfileReferenceHost_Def not in ns0.InvalidProfileReferenceHostFault_Dec.__bases__:
                bases = list(ns0.InvalidProfileReferenceHostFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidProfileReferenceHost_Def)
                ns0.InvalidProfileReferenceHostFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidProfileReferenceHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidProfileReferenceHostFault_Dec_Holder"

    class InvalidPropertyTypeFault_Dec(ElementDeclaration):
        literal = "InvalidPropertyTypeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidPropertyTypeFault")
            kw["aname"] = "_InvalidPropertyTypeFault"
            if ns0.InvalidPropertyType_Def not in ns0.InvalidPropertyTypeFault_Dec.__bases__:
                bases = list(ns0.InvalidPropertyTypeFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidPropertyType_Def)
                ns0.InvalidPropertyTypeFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidPropertyType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidPropertyTypeFault_Dec_Holder"

    class InvalidPropertyValueFault_Dec(ElementDeclaration):
        literal = "InvalidPropertyValueFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidPropertyValueFault")
            kw["aname"] = "_InvalidPropertyValueFault"
            if ns0.InvalidPropertyValue_Def not in ns0.InvalidPropertyValueFault_Dec.__bases__:
                bases = list(ns0.InvalidPropertyValueFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidPropertyValue_Def)
                ns0.InvalidPropertyValueFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidPropertyValue_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidPropertyValueFault_Dec_Holder"

    class InvalidResourcePoolStructureFaultFault_Dec(ElementDeclaration):
        literal = "InvalidResourcePoolStructureFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidResourcePoolStructureFaultFault")
            kw["aname"] = "_InvalidResourcePoolStructureFaultFault"
            if ns0.InvalidResourcePoolStructureFault_Def not in ns0.InvalidResourcePoolStructureFaultFault_Dec.__bases__:
                bases = list(ns0.InvalidResourcePoolStructureFaultFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidResourcePoolStructureFault_Def)
                ns0.InvalidResourcePoolStructureFaultFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidResourcePoolStructureFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidResourcePoolStructureFaultFault_Dec_Holder"

    class InvalidSnapshotFormatFault_Dec(ElementDeclaration):
        literal = "InvalidSnapshotFormatFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidSnapshotFormatFault")
            kw["aname"] = "_InvalidSnapshotFormatFault"
            if ns0.InvalidSnapshotFormat_Def not in ns0.InvalidSnapshotFormatFault_Dec.__bases__:
                bases = list(ns0.InvalidSnapshotFormatFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidSnapshotFormat_Def)
                ns0.InvalidSnapshotFormatFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidSnapshotFormat_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidSnapshotFormatFault_Dec_Holder"

    class InvalidStateFault_Dec(ElementDeclaration):
        literal = "InvalidStateFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidStateFault")
            kw["aname"] = "_InvalidStateFault"
            if ns0.InvalidState_Def not in ns0.InvalidStateFault_Dec.__bases__:
                bases = list(ns0.InvalidStateFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidState_Def)
                ns0.InvalidStateFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidState_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidStateFault_Dec_Holder"

    class InvalidVmConfigFault_Dec(ElementDeclaration):
        literal = "InvalidVmConfigFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidVmConfigFault")
            kw["aname"] = "_InvalidVmConfigFault"
            if ns0.InvalidVmConfig_Def not in ns0.InvalidVmConfigFault_Dec.__bases__:
                bases = list(ns0.InvalidVmConfigFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidVmConfig_Def)
                ns0.InvalidVmConfigFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidVmConfig_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidVmConfigFault_Dec_Holder"

    class InvalidVmStateFault_Dec(ElementDeclaration):
        literal = "InvalidVmStateFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidVmStateFault")
            kw["aname"] = "_InvalidVmStateFault"
            if ns0.InvalidVmState_Def not in ns0.InvalidVmStateFault_Dec.__bases__:
                bases = list(ns0.InvalidVmStateFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidVmState_Def)
                ns0.InvalidVmStateFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidVmState_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidVmStateFault_Dec_Holder"

    class InventoryHasStandardAloneHostsFault_Dec(ElementDeclaration):
        literal = "InventoryHasStandardAloneHostsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InventoryHasStandardAloneHostsFault")
            kw["aname"] = "_InventoryHasStandardAloneHostsFault"
            if ns0.InventoryHasStandardAloneHosts_Def not in ns0.InventoryHasStandardAloneHostsFault_Dec.__bases__:
                bases = list(ns0.InventoryHasStandardAloneHostsFault_Dec.__bases__)
                bases.insert(0, ns0.InventoryHasStandardAloneHosts_Def)
                ns0.InventoryHasStandardAloneHostsFault_Dec.__bases__ = tuple(bases)

            ns0.InventoryHasStandardAloneHosts_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InventoryHasStandardAloneHostsFault_Dec_Holder"

    class IpHostnameGeneratorErrorFault_Dec(ElementDeclaration):
        literal = "IpHostnameGeneratorErrorFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IpHostnameGeneratorErrorFault")
            kw["aname"] = "_IpHostnameGeneratorErrorFault"
            if ns0.IpHostnameGeneratorError_Def not in ns0.IpHostnameGeneratorErrorFault_Dec.__bases__:
                bases = list(ns0.IpHostnameGeneratorErrorFault_Dec.__bases__)
                bases.insert(0, ns0.IpHostnameGeneratorError_Def)
                ns0.IpHostnameGeneratorErrorFault_Dec.__bases__ = tuple(bases)

            ns0.IpHostnameGeneratorError_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IpHostnameGeneratorErrorFault_Dec_Holder"

    class IscsiFaultFault_Dec(ElementDeclaration):
        literal = "IscsiFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IscsiFaultFault")
            kw["aname"] = "_IscsiFaultFault"
            if ns0.IscsiFault_Def not in ns0.IscsiFaultFault_Dec.__bases__:
                bases = list(ns0.IscsiFaultFault_Dec.__bases__)
                bases.insert(0, ns0.IscsiFault_Def)
                ns0.IscsiFaultFault_Dec.__bases__ = tuple(bases)

            ns0.IscsiFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IscsiFaultFault_Dec_Holder"

    class IscsiFaultInvalidVnicFault_Dec(ElementDeclaration):
        literal = "IscsiFaultInvalidVnicFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IscsiFaultInvalidVnicFault")
            kw["aname"] = "_IscsiFaultInvalidVnicFault"
            if ns0.IscsiFaultInvalidVnic_Def not in ns0.IscsiFaultInvalidVnicFault_Dec.__bases__:
                bases = list(ns0.IscsiFaultInvalidVnicFault_Dec.__bases__)
                bases.insert(0, ns0.IscsiFaultInvalidVnic_Def)
                ns0.IscsiFaultInvalidVnicFault_Dec.__bases__ = tuple(bases)

            ns0.IscsiFaultInvalidVnic_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IscsiFaultInvalidVnicFault_Dec_Holder"

    class IscsiFaultPnicInUseFault_Dec(ElementDeclaration):
        literal = "IscsiFaultPnicInUseFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IscsiFaultPnicInUseFault")
            kw["aname"] = "_IscsiFaultPnicInUseFault"
            if ns0.IscsiFaultPnicInUse_Def not in ns0.IscsiFaultPnicInUseFault_Dec.__bases__:
                bases = list(ns0.IscsiFaultPnicInUseFault_Dec.__bases__)
                bases.insert(0, ns0.IscsiFaultPnicInUse_Def)
                ns0.IscsiFaultPnicInUseFault_Dec.__bases__ = tuple(bases)

            ns0.IscsiFaultPnicInUse_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IscsiFaultPnicInUseFault_Dec_Holder"

    class IscsiFaultVnicAlreadyBoundFault_Dec(ElementDeclaration):
        literal = "IscsiFaultVnicAlreadyBoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IscsiFaultVnicAlreadyBoundFault")
            kw["aname"] = "_IscsiFaultVnicAlreadyBoundFault"
            if ns0.IscsiFaultVnicAlreadyBound_Def not in ns0.IscsiFaultVnicAlreadyBoundFault_Dec.__bases__:
                bases = list(ns0.IscsiFaultVnicAlreadyBoundFault_Dec.__bases__)
                bases.insert(0, ns0.IscsiFaultVnicAlreadyBound_Def)
                ns0.IscsiFaultVnicAlreadyBoundFault_Dec.__bases__ = tuple(bases)

            ns0.IscsiFaultVnicAlreadyBound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IscsiFaultVnicAlreadyBoundFault_Dec_Holder"

    class IscsiFaultVnicHasActivePathsFault_Dec(ElementDeclaration):
        literal = "IscsiFaultVnicHasActivePathsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IscsiFaultVnicHasActivePathsFault")
            kw["aname"] = "_IscsiFaultVnicHasActivePathsFault"
            if ns0.IscsiFaultVnicHasActivePaths_Def not in ns0.IscsiFaultVnicHasActivePathsFault_Dec.__bases__:
                bases = list(ns0.IscsiFaultVnicHasActivePathsFault_Dec.__bases__)
                bases.insert(0, ns0.IscsiFaultVnicHasActivePaths_Def)
                ns0.IscsiFaultVnicHasActivePathsFault_Dec.__bases__ = tuple(bases)

            ns0.IscsiFaultVnicHasActivePaths_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IscsiFaultVnicHasActivePathsFault_Dec_Holder"

    class IscsiFaultVnicHasMultipleUplinksFault_Dec(ElementDeclaration):
        literal = "IscsiFaultVnicHasMultipleUplinksFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IscsiFaultVnicHasMultipleUplinksFault")
            kw["aname"] = "_IscsiFaultVnicHasMultipleUplinksFault"
            if ns0.IscsiFaultVnicHasMultipleUplinks_Def not in ns0.IscsiFaultVnicHasMultipleUplinksFault_Dec.__bases__:
                bases = list(ns0.IscsiFaultVnicHasMultipleUplinksFault_Dec.__bases__)
                bases.insert(0, ns0.IscsiFaultVnicHasMultipleUplinks_Def)
                ns0.IscsiFaultVnicHasMultipleUplinksFault_Dec.__bases__ = tuple(bases)

            ns0.IscsiFaultVnicHasMultipleUplinks_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IscsiFaultVnicHasMultipleUplinksFault_Dec_Holder"

    class IscsiFaultVnicHasNoUplinksFault_Dec(ElementDeclaration):
        literal = "IscsiFaultVnicHasNoUplinksFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IscsiFaultVnicHasNoUplinksFault")
            kw["aname"] = "_IscsiFaultVnicHasNoUplinksFault"
            if ns0.IscsiFaultVnicHasNoUplinks_Def not in ns0.IscsiFaultVnicHasNoUplinksFault_Dec.__bases__:
                bases = list(ns0.IscsiFaultVnicHasNoUplinksFault_Dec.__bases__)
                bases.insert(0, ns0.IscsiFaultVnicHasNoUplinks_Def)
                ns0.IscsiFaultVnicHasNoUplinksFault_Dec.__bases__ = tuple(bases)

            ns0.IscsiFaultVnicHasNoUplinks_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IscsiFaultVnicHasNoUplinksFault_Dec_Holder"

    class IscsiFaultVnicHasWrongUplinkFault_Dec(ElementDeclaration):
        literal = "IscsiFaultVnicHasWrongUplinkFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IscsiFaultVnicHasWrongUplinkFault")
            kw["aname"] = "_IscsiFaultVnicHasWrongUplinkFault"
            if ns0.IscsiFaultVnicHasWrongUplink_Def not in ns0.IscsiFaultVnicHasWrongUplinkFault_Dec.__bases__:
                bases = list(ns0.IscsiFaultVnicHasWrongUplinkFault_Dec.__bases__)
                bases.insert(0, ns0.IscsiFaultVnicHasWrongUplink_Def)
                ns0.IscsiFaultVnicHasWrongUplinkFault_Dec.__bases__ = tuple(bases)

            ns0.IscsiFaultVnicHasWrongUplink_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IscsiFaultVnicHasWrongUplinkFault_Dec_Holder"

    class IscsiFaultVnicInUseFault_Dec(ElementDeclaration):
        literal = "IscsiFaultVnicInUseFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IscsiFaultVnicInUseFault")
            kw["aname"] = "_IscsiFaultVnicInUseFault"
            if ns0.IscsiFaultVnicInUse_Def not in ns0.IscsiFaultVnicInUseFault_Dec.__bases__:
                bases = list(ns0.IscsiFaultVnicInUseFault_Dec.__bases__)
                bases.insert(0, ns0.IscsiFaultVnicInUse_Def)
                ns0.IscsiFaultVnicInUseFault_Dec.__bases__ = tuple(bases)

            ns0.IscsiFaultVnicInUse_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IscsiFaultVnicInUseFault_Dec_Holder"

    class IscsiFaultVnicIsLastPathFault_Dec(ElementDeclaration):
        literal = "IscsiFaultVnicIsLastPathFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IscsiFaultVnicIsLastPathFault")
            kw["aname"] = "_IscsiFaultVnicIsLastPathFault"
            if ns0.IscsiFaultVnicIsLastPath_Def not in ns0.IscsiFaultVnicIsLastPathFault_Dec.__bases__:
                bases = list(ns0.IscsiFaultVnicIsLastPathFault_Dec.__bases__)
                bases.insert(0, ns0.IscsiFaultVnicIsLastPath_Def)
                ns0.IscsiFaultVnicIsLastPathFault_Dec.__bases__ = tuple(bases)

            ns0.IscsiFaultVnicIsLastPath_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IscsiFaultVnicIsLastPathFault_Dec_Holder"

    class IscsiFaultVnicNotBoundFault_Dec(ElementDeclaration):
        literal = "IscsiFaultVnicNotBoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IscsiFaultVnicNotBoundFault")
            kw["aname"] = "_IscsiFaultVnicNotBoundFault"
            if ns0.IscsiFaultVnicNotBound_Def not in ns0.IscsiFaultVnicNotBoundFault_Dec.__bases__:
                bases = list(ns0.IscsiFaultVnicNotBoundFault_Dec.__bases__)
                bases.insert(0, ns0.IscsiFaultVnicNotBound_Def)
                ns0.IscsiFaultVnicNotBoundFault_Dec.__bases__ = tuple(bases)

            ns0.IscsiFaultVnicNotBound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IscsiFaultVnicNotBoundFault_Dec_Holder"

    class IscsiFaultVnicNotFoundFault_Dec(ElementDeclaration):
        literal = "IscsiFaultVnicNotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IscsiFaultVnicNotFoundFault")
            kw["aname"] = "_IscsiFaultVnicNotFoundFault"
            if ns0.IscsiFaultVnicNotFound_Def not in ns0.IscsiFaultVnicNotFoundFault_Dec.__bases__:
                bases = list(ns0.IscsiFaultVnicNotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.IscsiFaultVnicNotFound_Def)
                ns0.IscsiFaultVnicNotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.IscsiFaultVnicNotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IscsiFaultVnicNotFoundFault_Dec_Holder"

    class LargeRDMConversionNotSupportedFault_Dec(ElementDeclaration):
        literal = "LargeRDMConversionNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LargeRDMConversionNotSupportedFault")
            kw["aname"] = "_LargeRDMConversionNotSupportedFault"
            if ns0.LargeRDMConversionNotSupported_Def not in ns0.LargeRDMConversionNotSupportedFault_Dec.__bases__:
                bases = list(ns0.LargeRDMConversionNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.LargeRDMConversionNotSupported_Def)
                ns0.LargeRDMConversionNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.LargeRDMConversionNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LargeRDMConversionNotSupportedFault_Dec_Holder"

    class LargeRDMNotSupportedOnDatastoreFault_Dec(ElementDeclaration):
        literal = "LargeRDMNotSupportedOnDatastoreFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LargeRDMNotSupportedOnDatastoreFault")
            kw["aname"] = "_LargeRDMNotSupportedOnDatastoreFault"
            if ns0.LargeRDMNotSupportedOnDatastore_Def not in ns0.LargeRDMNotSupportedOnDatastoreFault_Dec.__bases__:
                bases = list(ns0.LargeRDMNotSupportedOnDatastoreFault_Dec.__bases__)
                bases.insert(0, ns0.LargeRDMNotSupportedOnDatastore_Def)
                ns0.LargeRDMNotSupportedOnDatastoreFault_Dec.__bases__ = tuple(bases)

            ns0.LargeRDMNotSupportedOnDatastore_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LargeRDMNotSupportedOnDatastoreFault_Dec_Holder"

    class LegacyNetworkInterfaceInUseFault_Dec(ElementDeclaration):
        literal = "LegacyNetworkInterfaceInUseFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LegacyNetworkInterfaceInUseFault")
            kw["aname"] = "_LegacyNetworkInterfaceInUseFault"
            if ns0.LegacyNetworkInterfaceInUse_Def not in ns0.LegacyNetworkInterfaceInUseFault_Dec.__bases__:
                bases = list(ns0.LegacyNetworkInterfaceInUseFault_Dec.__bases__)
                bases.insert(0, ns0.LegacyNetworkInterfaceInUse_Def)
                ns0.LegacyNetworkInterfaceInUseFault_Dec.__bases__ = tuple(bases)

            ns0.LegacyNetworkInterfaceInUse_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LegacyNetworkInterfaceInUseFault_Dec_Holder"

    class LicenseAssignmentFailedFault_Dec(ElementDeclaration):
        literal = "LicenseAssignmentFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LicenseAssignmentFailedFault")
            kw["aname"] = "_LicenseAssignmentFailedFault"
            if ns0.LicenseAssignmentFailed_Def not in ns0.LicenseAssignmentFailedFault_Dec.__bases__:
                bases = list(ns0.LicenseAssignmentFailedFault_Dec.__bases__)
                bases.insert(0, ns0.LicenseAssignmentFailed_Def)
                ns0.LicenseAssignmentFailedFault_Dec.__bases__ = tuple(bases)

            ns0.LicenseAssignmentFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LicenseAssignmentFailedFault_Dec_Holder"

    class LicenseDowngradeDisallowedFault_Dec(ElementDeclaration):
        literal = "LicenseDowngradeDisallowedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LicenseDowngradeDisallowedFault")
            kw["aname"] = "_LicenseDowngradeDisallowedFault"
            if ns0.LicenseDowngradeDisallowed_Def not in ns0.LicenseDowngradeDisallowedFault_Dec.__bases__:
                bases = list(ns0.LicenseDowngradeDisallowedFault_Dec.__bases__)
                bases.insert(0, ns0.LicenseDowngradeDisallowed_Def)
                ns0.LicenseDowngradeDisallowedFault_Dec.__bases__ = tuple(bases)

            ns0.LicenseDowngradeDisallowed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LicenseDowngradeDisallowedFault_Dec_Holder"

    class LicenseEntityNotFoundFault_Dec(ElementDeclaration):
        literal = "LicenseEntityNotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LicenseEntityNotFoundFault")
            kw["aname"] = "_LicenseEntityNotFoundFault"
            if ns0.LicenseEntityNotFound_Def not in ns0.LicenseEntityNotFoundFault_Dec.__bases__:
                bases = list(ns0.LicenseEntityNotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.LicenseEntityNotFound_Def)
                ns0.LicenseEntityNotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.LicenseEntityNotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LicenseEntityNotFoundFault_Dec_Holder"

    class LicenseExpiredFault_Dec(ElementDeclaration):
        literal = "LicenseExpiredFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LicenseExpiredFault")
            kw["aname"] = "_LicenseExpiredFault"
            if ns0.LicenseExpired_Def not in ns0.LicenseExpiredFault_Dec.__bases__:
                bases = list(ns0.LicenseExpiredFault_Dec.__bases__)
                bases.insert(0, ns0.LicenseExpired_Def)
                ns0.LicenseExpiredFault_Dec.__bases__ = tuple(bases)

            ns0.LicenseExpired_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LicenseExpiredFault_Dec_Holder"

    class LicenseKeyEntityMismatchFault_Dec(ElementDeclaration):
        literal = "LicenseKeyEntityMismatchFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LicenseKeyEntityMismatchFault")
            kw["aname"] = "_LicenseKeyEntityMismatchFault"
            if ns0.LicenseKeyEntityMismatch_Def not in ns0.LicenseKeyEntityMismatchFault_Dec.__bases__:
                bases = list(ns0.LicenseKeyEntityMismatchFault_Dec.__bases__)
                bases.insert(0, ns0.LicenseKeyEntityMismatch_Def)
                ns0.LicenseKeyEntityMismatchFault_Dec.__bases__ = tuple(bases)

            ns0.LicenseKeyEntityMismatch_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LicenseKeyEntityMismatchFault_Dec_Holder"

    class LicenseRestrictedFault_Dec(ElementDeclaration):
        literal = "LicenseRestrictedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LicenseRestrictedFault")
            kw["aname"] = "_LicenseRestrictedFault"
            if ns0.LicenseRestricted_Def not in ns0.LicenseRestrictedFault_Dec.__bases__:
                bases = list(ns0.LicenseRestrictedFault_Dec.__bases__)
                bases.insert(0, ns0.LicenseRestricted_Def)
                ns0.LicenseRestrictedFault_Dec.__bases__ = tuple(bases)

            ns0.LicenseRestricted_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LicenseRestrictedFault_Dec_Holder"

    class LicenseServerUnavailableFault_Dec(ElementDeclaration):
        literal = "LicenseServerUnavailableFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LicenseServerUnavailableFault")
            kw["aname"] = "_LicenseServerUnavailableFault"
            if ns0.LicenseServerUnavailable_Def not in ns0.LicenseServerUnavailableFault_Dec.__bases__:
                bases = list(ns0.LicenseServerUnavailableFault_Dec.__bases__)
                bases.insert(0, ns0.LicenseServerUnavailable_Def)
                ns0.LicenseServerUnavailableFault_Dec.__bases__ = tuple(bases)

            ns0.LicenseServerUnavailable_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LicenseServerUnavailableFault_Dec_Holder"

    class LicenseSourceUnavailableFault_Dec(ElementDeclaration):
        literal = "LicenseSourceUnavailableFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LicenseSourceUnavailableFault")
            kw["aname"] = "_LicenseSourceUnavailableFault"
            if ns0.LicenseSourceUnavailable_Def not in ns0.LicenseSourceUnavailableFault_Dec.__bases__:
                bases = list(ns0.LicenseSourceUnavailableFault_Dec.__bases__)
                bases.insert(0, ns0.LicenseSourceUnavailable_Def)
                ns0.LicenseSourceUnavailableFault_Dec.__bases__ = tuple(bases)

            ns0.LicenseSourceUnavailable_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LicenseSourceUnavailableFault_Dec_Holder"

    class LimitExceededFault_Dec(ElementDeclaration):
        literal = "LimitExceededFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LimitExceededFault")
            kw["aname"] = "_LimitExceededFault"
            if ns0.LimitExceeded_Def not in ns0.LimitExceededFault_Dec.__bases__:
                bases = list(ns0.LimitExceededFault_Dec.__bases__)
                bases.insert(0, ns0.LimitExceeded_Def)
                ns0.LimitExceededFault_Dec.__bases__ = tuple(bases)

            ns0.LimitExceeded_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LimitExceededFault_Dec_Holder"

    class LinuxVolumeNotCleanFault_Dec(ElementDeclaration):
        literal = "LinuxVolumeNotCleanFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LinuxVolumeNotCleanFault")
            kw["aname"] = "_LinuxVolumeNotCleanFault"
            if ns0.LinuxVolumeNotClean_Def not in ns0.LinuxVolumeNotCleanFault_Dec.__bases__:
                bases = list(ns0.LinuxVolumeNotCleanFault_Dec.__bases__)
                bases.insert(0, ns0.LinuxVolumeNotClean_Def)
                ns0.LinuxVolumeNotCleanFault_Dec.__bases__ = tuple(bases)

            ns0.LinuxVolumeNotClean_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LinuxVolumeNotCleanFault_Dec_Holder"

    class LogBundlingFailedFault_Dec(ElementDeclaration):
        literal = "LogBundlingFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LogBundlingFailedFault")
            kw["aname"] = "_LogBundlingFailedFault"
            if ns0.LogBundlingFailed_Def not in ns0.LogBundlingFailedFault_Dec.__bases__:
                bases = list(ns0.LogBundlingFailedFault_Dec.__bases__)
                bases.insert(0, ns0.LogBundlingFailed_Def)
                ns0.LogBundlingFailedFault_Dec.__bases__ = tuple(bases)

            ns0.LogBundlingFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LogBundlingFailedFault_Dec_Holder"

    class MaintenanceModeFileMoveFault_Dec(ElementDeclaration):
        literal = "MaintenanceModeFileMoveFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MaintenanceModeFileMoveFault")
            kw["aname"] = "_MaintenanceModeFileMoveFault"
            if ns0.MaintenanceModeFileMove_Def not in ns0.MaintenanceModeFileMoveFault_Dec.__bases__:
                bases = list(ns0.MaintenanceModeFileMoveFault_Dec.__bases__)
                bases.insert(0, ns0.MaintenanceModeFileMove_Def)
                ns0.MaintenanceModeFileMoveFault_Dec.__bases__ = tuple(bases)

            ns0.MaintenanceModeFileMove_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MaintenanceModeFileMoveFault_Dec_Holder"

    class MemoryFileFormatNotSupportedByDatastoreFault_Dec(ElementDeclaration):
        literal = "MemoryFileFormatNotSupportedByDatastoreFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MemoryFileFormatNotSupportedByDatastoreFault")
            kw["aname"] = "_MemoryFileFormatNotSupportedByDatastoreFault"
            if ns0.MemoryFileFormatNotSupportedByDatastore_Def not in ns0.MemoryFileFormatNotSupportedByDatastoreFault_Dec.__bases__:
                bases = list(ns0.MemoryFileFormatNotSupportedByDatastoreFault_Dec.__bases__)
                bases.insert(0, ns0.MemoryFileFormatNotSupportedByDatastore_Def)
                ns0.MemoryFileFormatNotSupportedByDatastoreFault_Dec.__bases__ = tuple(bases)

            ns0.MemoryFileFormatNotSupportedByDatastore_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MemoryFileFormatNotSupportedByDatastoreFault_Dec_Holder"

    class MemoryHotPlugNotSupportedFault_Dec(ElementDeclaration):
        literal = "MemoryHotPlugNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MemoryHotPlugNotSupportedFault")
            kw["aname"] = "_MemoryHotPlugNotSupportedFault"
            if ns0.MemoryHotPlugNotSupported_Def not in ns0.MemoryHotPlugNotSupportedFault_Dec.__bases__:
                bases = list(ns0.MemoryHotPlugNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.MemoryHotPlugNotSupported_Def)
                ns0.MemoryHotPlugNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.MemoryHotPlugNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MemoryHotPlugNotSupportedFault_Dec_Holder"

    class MemorySizeNotRecommendedFault_Dec(ElementDeclaration):
        literal = "MemorySizeNotRecommendedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MemorySizeNotRecommendedFault")
            kw["aname"] = "_MemorySizeNotRecommendedFault"
            if ns0.MemorySizeNotRecommended_Def not in ns0.MemorySizeNotRecommendedFault_Dec.__bases__:
                bases = list(ns0.MemorySizeNotRecommendedFault_Dec.__bases__)
                bases.insert(0, ns0.MemorySizeNotRecommended_Def)
                ns0.MemorySizeNotRecommendedFault_Dec.__bases__ = tuple(bases)

            ns0.MemorySizeNotRecommended_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MemorySizeNotRecommendedFault_Dec_Holder"

    class MemorySizeNotSupportedFault_Dec(ElementDeclaration):
        literal = "MemorySizeNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MemorySizeNotSupportedFault")
            kw["aname"] = "_MemorySizeNotSupportedFault"
            if ns0.MemorySizeNotSupported_Def not in ns0.MemorySizeNotSupportedFault_Dec.__bases__:
                bases = list(ns0.MemorySizeNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.MemorySizeNotSupported_Def)
                ns0.MemorySizeNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.MemorySizeNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MemorySizeNotSupportedFault_Dec_Holder"

    class MemorySizeNotSupportedByDatastoreFault_Dec(ElementDeclaration):
        literal = "MemorySizeNotSupportedByDatastoreFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MemorySizeNotSupportedByDatastoreFault")
            kw["aname"] = "_MemorySizeNotSupportedByDatastoreFault"
            if ns0.MemorySizeNotSupportedByDatastore_Def not in ns0.MemorySizeNotSupportedByDatastoreFault_Dec.__bases__:
                bases = list(ns0.MemorySizeNotSupportedByDatastoreFault_Dec.__bases__)
                bases.insert(0, ns0.MemorySizeNotSupportedByDatastore_Def)
                ns0.MemorySizeNotSupportedByDatastoreFault_Dec.__bases__ = tuple(bases)

            ns0.MemorySizeNotSupportedByDatastore_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MemorySizeNotSupportedByDatastoreFault_Dec_Holder"

    class MemorySnapshotOnIndependentDiskFault_Dec(ElementDeclaration):
        literal = "MemorySnapshotOnIndependentDiskFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MemorySnapshotOnIndependentDiskFault")
            kw["aname"] = "_MemorySnapshotOnIndependentDiskFault"
            if ns0.MemorySnapshotOnIndependentDisk_Def not in ns0.MemorySnapshotOnIndependentDiskFault_Dec.__bases__:
                bases = list(ns0.MemorySnapshotOnIndependentDiskFault_Dec.__bases__)
                bases.insert(0, ns0.MemorySnapshotOnIndependentDisk_Def)
                ns0.MemorySnapshotOnIndependentDiskFault_Dec.__bases__ = tuple(bases)

            ns0.MemorySnapshotOnIndependentDisk_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MemorySnapshotOnIndependentDiskFault_Dec_Holder"

    class MethodAlreadyDisabledFaultFault_Dec(ElementDeclaration):
        literal = "MethodAlreadyDisabledFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MethodAlreadyDisabledFaultFault")
            kw["aname"] = "_MethodAlreadyDisabledFaultFault"
            if ns0.MethodAlreadyDisabledFault_Def not in ns0.MethodAlreadyDisabledFaultFault_Dec.__bases__:
                bases = list(ns0.MethodAlreadyDisabledFaultFault_Dec.__bases__)
                bases.insert(0, ns0.MethodAlreadyDisabledFault_Def)
                ns0.MethodAlreadyDisabledFaultFault_Dec.__bases__ = tuple(bases)

            ns0.MethodAlreadyDisabledFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MethodAlreadyDisabledFaultFault_Dec_Holder"

    class MethodDisabledFault_Dec(ElementDeclaration):
        literal = "MethodDisabledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MethodDisabledFault")
            kw["aname"] = "_MethodDisabledFault"
            if ns0.MethodDisabled_Def not in ns0.MethodDisabledFault_Dec.__bases__:
                bases = list(ns0.MethodDisabledFault_Dec.__bases__)
                bases.insert(0, ns0.MethodDisabled_Def)
                ns0.MethodDisabledFault_Dec.__bases__ = tuple(bases)

            ns0.MethodDisabled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MethodDisabledFault_Dec_Holder"

    class MigrationDisabledFault_Dec(ElementDeclaration):
        literal = "MigrationDisabledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MigrationDisabledFault")
            kw["aname"] = "_MigrationDisabledFault"
            if ns0.MigrationDisabled_Def not in ns0.MigrationDisabledFault_Dec.__bases__:
                bases = list(ns0.MigrationDisabledFault_Dec.__bases__)
                bases.insert(0, ns0.MigrationDisabled_Def)
                ns0.MigrationDisabledFault_Dec.__bases__ = tuple(bases)

            ns0.MigrationDisabled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MigrationDisabledFault_Dec_Holder"

    class MigrationFaultFault_Dec(ElementDeclaration):
        literal = "MigrationFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MigrationFaultFault")
            kw["aname"] = "_MigrationFaultFault"
            if ns0.MigrationFault_Def not in ns0.MigrationFaultFault_Dec.__bases__:
                bases = list(ns0.MigrationFaultFault_Dec.__bases__)
                bases.insert(0, ns0.MigrationFault_Def)
                ns0.MigrationFaultFault_Dec.__bases__ = tuple(bases)

            ns0.MigrationFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MigrationFaultFault_Dec_Holder"

    class MigrationFeatureNotSupportedFault_Dec(ElementDeclaration):
        literal = "MigrationFeatureNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MigrationFeatureNotSupportedFault")
            kw["aname"] = "_MigrationFeatureNotSupportedFault"
            if ns0.MigrationFeatureNotSupported_Def not in ns0.MigrationFeatureNotSupportedFault_Dec.__bases__:
                bases = list(ns0.MigrationFeatureNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.MigrationFeatureNotSupported_Def)
                ns0.MigrationFeatureNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.MigrationFeatureNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MigrationFeatureNotSupportedFault_Dec_Holder"

    class MigrationNotReadyFault_Dec(ElementDeclaration):
        literal = "MigrationNotReadyFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MigrationNotReadyFault")
            kw["aname"] = "_MigrationNotReadyFault"
            if ns0.MigrationNotReady_Def not in ns0.MigrationNotReadyFault_Dec.__bases__:
                bases = list(ns0.MigrationNotReadyFault_Dec.__bases__)
                bases.insert(0, ns0.MigrationNotReady_Def)
                ns0.MigrationNotReadyFault_Dec.__bases__ = tuple(bases)

            ns0.MigrationNotReady_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MigrationNotReadyFault_Dec_Holder"

    class MismatchedBundleFault_Dec(ElementDeclaration):
        literal = "MismatchedBundleFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MismatchedBundleFault")
            kw["aname"] = "_MismatchedBundleFault"
            if ns0.MismatchedBundle_Def not in ns0.MismatchedBundleFault_Dec.__bases__:
                bases = list(ns0.MismatchedBundleFault_Dec.__bases__)
                bases.insert(0, ns0.MismatchedBundle_Def)
                ns0.MismatchedBundleFault_Dec.__bases__ = tuple(bases)

            ns0.MismatchedBundle_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MismatchedBundleFault_Dec_Holder"

    class MismatchedNetworkPoliciesFault_Dec(ElementDeclaration):
        literal = "MismatchedNetworkPoliciesFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MismatchedNetworkPoliciesFault")
            kw["aname"] = "_MismatchedNetworkPoliciesFault"
            if ns0.MismatchedNetworkPolicies_Def not in ns0.MismatchedNetworkPoliciesFault_Dec.__bases__:
                bases = list(ns0.MismatchedNetworkPoliciesFault_Dec.__bases__)
                bases.insert(0, ns0.MismatchedNetworkPolicies_Def)
                ns0.MismatchedNetworkPoliciesFault_Dec.__bases__ = tuple(bases)

            ns0.MismatchedNetworkPolicies_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MismatchedNetworkPoliciesFault_Dec_Holder"

    class MismatchedVMotionNetworkNamesFault_Dec(ElementDeclaration):
        literal = "MismatchedVMotionNetworkNamesFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MismatchedVMotionNetworkNamesFault")
            kw["aname"] = "_MismatchedVMotionNetworkNamesFault"
            if ns0.MismatchedVMotionNetworkNames_Def not in ns0.MismatchedVMotionNetworkNamesFault_Dec.__bases__:
                bases = list(ns0.MismatchedVMotionNetworkNamesFault_Dec.__bases__)
                bases.insert(0, ns0.MismatchedVMotionNetworkNames_Def)
                ns0.MismatchedVMotionNetworkNamesFault_Dec.__bases__ = tuple(bases)

            ns0.MismatchedVMotionNetworkNames_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MismatchedVMotionNetworkNamesFault_Dec_Holder"

    class MissingBmcSupportFault_Dec(ElementDeclaration):
        literal = "MissingBmcSupportFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MissingBmcSupportFault")
            kw["aname"] = "_MissingBmcSupportFault"
            if ns0.MissingBmcSupport_Def not in ns0.MissingBmcSupportFault_Dec.__bases__:
                bases = list(ns0.MissingBmcSupportFault_Dec.__bases__)
                bases.insert(0, ns0.MissingBmcSupport_Def)
                ns0.MissingBmcSupportFault_Dec.__bases__ = tuple(bases)

            ns0.MissingBmcSupport_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MissingBmcSupportFault_Dec_Holder"

    class MissingControllerFault_Dec(ElementDeclaration):
        literal = "MissingControllerFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MissingControllerFault")
            kw["aname"] = "_MissingControllerFault"
            if ns0.MissingController_Def not in ns0.MissingControllerFault_Dec.__bases__:
                bases = list(ns0.MissingControllerFault_Dec.__bases__)
                bases.insert(0, ns0.MissingController_Def)
                ns0.MissingControllerFault_Dec.__bases__ = tuple(bases)

            ns0.MissingController_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MissingControllerFault_Dec_Holder"

    class MissingIpPoolFault_Dec(ElementDeclaration):
        literal = "MissingIpPoolFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MissingIpPoolFault")
            kw["aname"] = "_MissingIpPoolFault"
            if ns0.MissingIpPool_Def not in ns0.MissingIpPoolFault_Dec.__bases__:
                bases = list(ns0.MissingIpPoolFault_Dec.__bases__)
                bases.insert(0, ns0.MissingIpPool_Def)
                ns0.MissingIpPoolFault_Dec.__bases__ = tuple(bases)

            ns0.MissingIpPool_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MissingIpPoolFault_Dec_Holder"

    class MissingLinuxCustResourcesFault_Dec(ElementDeclaration):
        literal = "MissingLinuxCustResourcesFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MissingLinuxCustResourcesFault")
            kw["aname"] = "_MissingLinuxCustResourcesFault"
            if ns0.MissingLinuxCustResources_Def not in ns0.MissingLinuxCustResourcesFault_Dec.__bases__:
                bases = list(ns0.MissingLinuxCustResourcesFault_Dec.__bases__)
                bases.insert(0, ns0.MissingLinuxCustResources_Def)
                ns0.MissingLinuxCustResourcesFault_Dec.__bases__ = tuple(bases)

            ns0.MissingLinuxCustResources_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MissingLinuxCustResourcesFault_Dec_Holder"

    class MissingNetworkIpConfigFault_Dec(ElementDeclaration):
        literal = "MissingNetworkIpConfigFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MissingNetworkIpConfigFault")
            kw["aname"] = "_MissingNetworkIpConfigFault"
            if ns0.MissingNetworkIpConfig_Def not in ns0.MissingNetworkIpConfigFault_Dec.__bases__:
                bases = list(ns0.MissingNetworkIpConfigFault_Dec.__bases__)
                bases.insert(0, ns0.MissingNetworkIpConfig_Def)
                ns0.MissingNetworkIpConfigFault_Dec.__bases__ = tuple(bases)

            ns0.MissingNetworkIpConfig_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MissingNetworkIpConfigFault_Dec_Holder"

    class MissingPowerOffConfigurationFault_Dec(ElementDeclaration):
        literal = "MissingPowerOffConfigurationFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MissingPowerOffConfigurationFault")
            kw["aname"] = "_MissingPowerOffConfigurationFault"
            if ns0.MissingPowerOffConfiguration_Def not in ns0.MissingPowerOffConfigurationFault_Dec.__bases__:
                bases = list(ns0.MissingPowerOffConfigurationFault_Dec.__bases__)
                bases.insert(0, ns0.MissingPowerOffConfiguration_Def)
                ns0.MissingPowerOffConfigurationFault_Dec.__bases__ = tuple(bases)

            ns0.MissingPowerOffConfiguration_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MissingPowerOffConfigurationFault_Dec_Holder"

    class MissingPowerOnConfigurationFault_Dec(ElementDeclaration):
        literal = "MissingPowerOnConfigurationFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MissingPowerOnConfigurationFault")
            kw["aname"] = "_MissingPowerOnConfigurationFault"
            if ns0.MissingPowerOnConfiguration_Def not in ns0.MissingPowerOnConfigurationFault_Dec.__bases__:
                bases = list(ns0.MissingPowerOnConfigurationFault_Dec.__bases__)
                bases.insert(0, ns0.MissingPowerOnConfiguration_Def)
                ns0.MissingPowerOnConfigurationFault_Dec.__bases__ = tuple(bases)

            ns0.MissingPowerOnConfiguration_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MissingPowerOnConfigurationFault_Dec_Holder"

    class MissingWindowsCustResourcesFault_Dec(ElementDeclaration):
        literal = "MissingWindowsCustResourcesFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MissingWindowsCustResourcesFault")
            kw["aname"] = "_MissingWindowsCustResourcesFault"
            if ns0.MissingWindowsCustResources_Def not in ns0.MissingWindowsCustResourcesFault_Dec.__bases__:
                bases = list(ns0.MissingWindowsCustResourcesFault_Dec.__bases__)
                bases.insert(0, ns0.MissingWindowsCustResources_Def)
                ns0.MissingWindowsCustResourcesFault_Dec.__bases__ = tuple(bases)

            ns0.MissingWindowsCustResources_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MissingWindowsCustResourcesFault_Dec_Holder"

    class MksConnectionLimitReachedFault_Dec(ElementDeclaration):
        literal = "MksConnectionLimitReachedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MksConnectionLimitReachedFault")
            kw["aname"] = "_MksConnectionLimitReachedFault"
            if ns0.MksConnectionLimitReached_Def not in ns0.MksConnectionLimitReachedFault_Dec.__bases__:
                bases = list(ns0.MksConnectionLimitReachedFault_Dec.__bases__)
                bases.insert(0, ns0.MksConnectionLimitReached_Def)
                ns0.MksConnectionLimitReachedFault_Dec.__bases__ = tuple(bases)

            ns0.MksConnectionLimitReached_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MksConnectionLimitReachedFault_Dec_Holder"

    class MountErrorFault_Dec(ElementDeclaration):
        literal = "MountErrorFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MountErrorFault")
            kw["aname"] = "_MountErrorFault"
            if ns0.MountError_Def not in ns0.MountErrorFault_Dec.__bases__:
                bases = list(ns0.MountErrorFault_Dec.__bases__)
                bases.insert(0, ns0.MountError_Def)
                ns0.MountErrorFault_Dec.__bases__ = tuple(bases)

            ns0.MountError_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MountErrorFault_Dec_Holder"

    class MultiWriterNotSupportedFault_Dec(ElementDeclaration):
        literal = "MultiWriterNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MultiWriterNotSupportedFault")
            kw["aname"] = "_MultiWriterNotSupportedFault"
            if ns0.MultiWriterNotSupported_Def not in ns0.MultiWriterNotSupportedFault_Dec.__bases__:
                bases = list(ns0.MultiWriterNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.MultiWriterNotSupported_Def)
                ns0.MultiWriterNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.MultiWriterNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MultiWriterNotSupportedFault_Dec_Holder"

    class MultipleCertificatesVerifyFaultFault_Dec(ElementDeclaration):
        literal = "MultipleCertificatesVerifyFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MultipleCertificatesVerifyFaultFault")
            kw["aname"] = "_MultipleCertificatesVerifyFaultFault"
            if ns0.MultipleCertificatesVerifyFault_Def not in ns0.MultipleCertificatesVerifyFaultFault_Dec.__bases__:
                bases = list(ns0.MultipleCertificatesVerifyFaultFault_Dec.__bases__)
                bases.insert(0, ns0.MultipleCertificatesVerifyFault_Def)
                ns0.MultipleCertificatesVerifyFaultFault_Dec.__bases__ = tuple(bases)

            ns0.MultipleCertificatesVerifyFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MultipleCertificatesVerifyFaultFault_Dec_Holder"

    class MultipleSnapshotsNotSupportedFault_Dec(ElementDeclaration):
        literal = "MultipleSnapshotsNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MultipleSnapshotsNotSupportedFault")
            kw["aname"] = "_MultipleSnapshotsNotSupportedFault"
            if ns0.MultipleSnapshotsNotSupported_Def not in ns0.MultipleSnapshotsNotSupportedFault_Dec.__bases__:
                bases = list(ns0.MultipleSnapshotsNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.MultipleSnapshotsNotSupported_Def)
                ns0.MultipleSnapshotsNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.MultipleSnapshotsNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MultipleSnapshotsNotSupportedFault_Dec_Holder"

    class NamespaceFullFault_Dec(ElementDeclaration):
        literal = "NamespaceFullFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NamespaceFullFault")
            kw["aname"] = "_NamespaceFullFault"
            if ns0.NamespaceFull_Def not in ns0.NamespaceFullFault_Dec.__bases__:
                bases = list(ns0.NamespaceFullFault_Dec.__bases__)
                bases.insert(0, ns0.NamespaceFull_Def)
                ns0.NamespaceFullFault_Dec.__bases__ = tuple(bases)

            ns0.NamespaceFull_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NamespaceFullFault_Dec_Holder"

    class NamespaceLimitReachedFault_Dec(ElementDeclaration):
        literal = "NamespaceLimitReachedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NamespaceLimitReachedFault")
            kw["aname"] = "_NamespaceLimitReachedFault"
            if ns0.NamespaceLimitReached_Def not in ns0.NamespaceLimitReachedFault_Dec.__bases__:
                bases = list(ns0.NamespaceLimitReachedFault_Dec.__bases__)
                bases.insert(0, ns0.NamespaceLimitReached_Def)
                ns0.NamespaceLimitReachedFault_Dec.__bases__ = tuple(bases)

            ns0.NamespaceLimitReached_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NamespaceLimitReachedFault_Dec_Holder"

    class NamespaceWriteProtectedFault_Dec(ElementDeclaration):
        literal = "NamespaceWriteProtectedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NamespaceWriteProtectedFault")
            kw["aname"] = "_NamespaceWriteProtectedFault"
            if ns0.NamespaceWriteProtected_Def not in ns0.NamespaceWriteProtectedFault_Dec.__bases__:
                bases = list(ns0.NamespaceWriteProtectedFault_Dec.__bases__)
                bases.insert(0, ns0.NamespaceWriteProtected_Def)
                ns0.NamespaceWriteProtectedFault_Dec.__bases__ = tuple(bases)

            ns0.NamespaceWriteProtected_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NamespaceWriteProtectedFault_Dec_Holder"

    class NasConfigFaultFault_Dec(ElementDeclaration):
        literal = "NasConfigFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NasConfigFaultFault")
            kw["aname"] = "_NasConfigFaultFault"
            if ns0.NasConfigFault_Def not in ns0.NasConfigFaultFault_Dec.__bases__:
                bases = list(ns0.NasConfigFaultFault_Dec.__bases__)
                bases.insert(0, ns0.NasConfigFault_Def)
                ns0.NasConfigFaultFault_Dec.__bases__ = tuple(bases)

            ns0.NasConfigFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NasConfigFaultFault_Dec_Holder"

    class NasConnectionLimitReachedFault_Dec(ElementDeclaration):
        literal = "NasConnectionLimitReachedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NasConnectionLimitReachedFault")
            kw["aname"] = "_NasConnectionLimitReachedFault"
            if ns0.NasConnectionLimitReached_Def not in ns0.NasConnectionLimitReachedFault_Dec.__bases__:
                bases = list(ns0.NasConnectionLimitReachedFault_Dec.__bases__)
                bases.insert(0, ns0.NasConnectionLimitReached_Def)
                ns0.NasConnectionLimitReachedFault_Dec.__bases__ = tuple(bases)

            ns0.NasConnectionLimitReached_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NasConnectionLimitReachedFault_Dec_Holder"

    class NasSessionCredentialConflictFault_Dec(ElementDeclaration):
        literal = "NasSessionCredentialConflictFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NasSessionCredentialConflictFault")
            kw["aname"] = "_NasSessionCredentialConflictFault"
            if ns0.NasSessionCredentialConflict_Def not in ns0.NasSessionCredentialConflictFault_Dec.__bases__:
                bases = list(ns0.NasSessionCredentialConflictFault_Dec.__bases__)
                bases.insert(0, ns0.NasSessionCredentialConflict_Def)
                ns0.NasSessionCredentialConflictFault_Dec.__bases__ = tuple(bases)

            ns0.NasSessionCredentialConflict_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NasSessionCredentialConflictFault_Dec_Holder"

    class NasVolumeNotMountedFault_Dec(ElementDeclaration):
        literal = "NasVolumeNotMountedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NasVolumeNotMountedFault")
            kw["aname"] = "_NasVolumeNotMountedFault"
            if ns0.NasVolumeNotMounted_Def not in ns0.NasVolumeNotMountedFault_Dec.__bases__:
                bases = list(ns0.NasVolumeNotMountedFault_Dec.__bases__)
                bases.insert(0, ns0.NasVolumeNotMounted_Def)
                ns0.NasVolumeNotMountedFault_Dec.__bases__ = tuple(bases)

            ns0.NasVolumeNotMounted_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NasVolumeNotMountedFault_Dec_Holder"

    class NetworkCopyFaultFault_Dec(ElementDeclaration):
        literal = "NetworkCopyFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NetworkCopyFaultFault")
            kw["aname"] = "_NetworkCopyFaultFault"
            if ns0.NetworkCopyFault_Def not in ns0.NetworkCopyFaultFault_Dec.__bases__:
                bases = list(ns0.NetworkCopyFaultFault_Dec.__bases__)
                bases.insert(0, ns0.NetworkCopyFault_Def)
                ns0.NetworkCopyFaultFault_Dec.__bases__ = tuple(bases)

            ns0.NetworkCopyFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NetworkCopyFaultFault_Dec_Holder"

    class NetworkDisruptedAndConfigRolledBackFault_Dec(ElementDeclaration):
        literal = "NetworkDisruptedAndConfigRolledBackFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NetworkDisruptedAndConfigRolledBackFault")
            kw["aname"] = "_NetworkDisruptedAndConfigRolledBackFault"
            if ns0.NetworkDisruptedAndConfigRolledBack_Def not in ns0.NetworkDisruptedAndConfigRolledBackFault_Dec.__bases__:
                bases = list(ns0.NetworkDisruptedAndConfigRolledBackFault_Dec.__bases__)
                bases.insert(0, ns0.NetworkDisruptedAndConfigRolledBack_Def)
                ns0.NetworkDisruptedAndConfigRolledBackFault_Dec.__bases__ = tuple(bases)

            ns0.NetworkDisruptedAndConfigRolledBack_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NetworkDisruptedAndConfigRolledBackFault_Dec_Holder"

    class NetworkInaccessibleFault_Dec(ElementDeclaration):
        literal = "NetworkInaccessibleFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NetworkInaccessibleFault")
            kw["aname"] = "_NetworkInaccessibleFault"
            if ns0.NetworkInaccessible_Def not in ns0.NetworkInaccessibleFault_Dec.__bases__:
                bases = list(ns0.NetworkInaccessibleFault_Dec.__bases__)
                bases.insert(0, ns0.NetworkInaccessible_Def)
                ns0.NetworkInaccessibleFault_Dec.__bases__ = tuple(bases)

            ns0.NetworkInaccessible_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NetworkInaccessibleFault_Dec_Holder"

    class NetworksMayNotBeTheSameFault_Dec(ElementDeclaration):
        literal = "NetworksMayNotBeTheSameFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NetworksMayNotBeTheSameFault")
            kw["aname"] = "_NetworksMayNotBeTheSameFault"
            if ns0.NetworksMayNotBeTheSame_Def not in ns0.NetworksMayNotBeTheSameFault_Dec.__bases__:
                bases = list(ns0.NetworksMayNotBeTheSameFault_Dec.__bases__)
                bases.insert(0, ns0.NetworksMayNotBeTheSame_Def)
                ns0.NetworksMayNotBeTheSameFault_Dec.__bases__ = tuple(bases)

            ns0.NetworksMayNotBeTheSame_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NetworksMayNotBeTheSameFault_Dec_Holder"

    class NicSettingMismatchFault_Dec(ElementDeclaration):
        literal = "NicSettingMismatchFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NicSettingMismatchFault")
            kw["aname"] = "_NicSettingMismatchFault"
            if ns0.NicSettingMismatch_Def not in ns0.NicSettingMismatchFault_Dec.__bases__:
                bases = list(ns0.NicSettingMismatchFault_Dec.__bases__)
                bases.insert(0, ns0.NicSettingMismatch_Def)
                ns0.NicSettingMismatchFault_Dec.__bases__ = tuple(bases)

            ns0.NicSettingMismatch_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NicSettingMismatchFault_Dec_Holder"

    class NoActiveHostInClusterFault_Dec(ElementDeclaration):
        literal = "NoActiveHostInClusterFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoActiveHostInClusterFault")
            kw["aname"] = "_NoActiveHostInClusterFault"
            if ns0.NoActiveHostInCluster_Def not in ns0.NoActiveHostInClusterFault_Dec.__bases__:
                bases = list(ns0.NoActiveHostInClusterFault_Dec.__bases__)
                bases.insert(0, ns0.NoActiveHostInCluster_Def)
                ns0.NoActiveHostInClusterFault_Dec.__bases__ = tuple(bases)

            ns0.NoActiveHostInCluster_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoActiveHostInClusterFault_Dec_Holder"

    class NoAvailableIpFault_Dec(ElementDeclaration):
        literal = "NoAvailableIpFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoAvailableIpFault")
            kw["aname"] = "_NoAvailableIpFault"
            if ns0.NoAvailableIp_Def not in ns0.NoAvailableIpFault_Dec.__bases__:
                bases = list(ns0.NoAvailableIpFault_Dec.__bases__)
                bases.insert(0, ns0.NoAvailableIp_Def)
                ns0.NoAvailableIpFault_Dec.__bases__ = tuple(bases)

            ns0.NoAvailableIp_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoAvailableIpFault_Dec_Holder"

    class NoClientCertificateFault_Dec(ElementDeclaration):
        literal = "NoClientCertificateFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoClientCertificateFault")
            kw["aname"] = "_NoClientCertificateFault"
            if ns0.NoClientCertificate_Def not in ns0.NoClientCertificateFault_Dec.__bases__:
                bases = list(ns0.NoClientCertificateFault_Dec.__bases__)
                bases.insert(0, ns0.NoClientCertificate_Def)
                ns0.NoClientCertificateFault_Dec.__bases__ = tuple(bases)

            ns0.NoClientCertificate_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoClientCertificateFault_Dec_Holder"

    class NoCompatibleDatastoreFault_Dec(ElementDeclaration):
        literal = "NoCompatibleDatastoreFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoCompatibleDatastoreFault")
            kw["aname"] = "_NoCompatibleDatastoreFault"
            if ns0.NoCompatibleDatastore_Def not in ns0.NoCompatibleDatastoreFault_Dec.__bases__:
                bases = list(ns0.NoCompatibleDatastoreFault_Dec.__bases__)
                bases.insert(0, ns0.NoCompatibleDatastore_Def)
                ns0.NoCompatibleDatastoreFault_Dec.__bases__ = tuple(bases)

            ns0.NoCompatibleDatastore_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoCompatibleDatastoreFault_Dec_Holder"

    class NoCompatibleHardAffinityHostFault_Dec(ElementDeclaration):
        literal = "NoCompatibleHardAffinityHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoCompatibleHardAffinityHostFault")
            kw["aname"] = "_NoCompatibleHardAffinityHostFault"
            if ns0.NoCompatibleHardAffinityHost_Def not in ns0.NoCompatibleHardAffinityHostFault_Dec.__bases__:
                bases = list(ns0.NoCompatibleHardAffinityHostFault_Dec.__bases__)
                bases.insert(0, ns0.NoCompatibleHardAffinityHost_Def)
                ns0.NoCompatibleHardAffinityHostFault_Dec.__bases__ = tuple(bases)

            ns0.NoCompatibleHardAffinityHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoCompatibleHardAffinityHostFault_Dec_Holder"

    class NoCompatibleHostFault_Dec(ElementDeclaration):
        literal = "NoCompatibleHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoCompatibleHostFault")
            kw["aname"] = "_NoCompatibleHostFault"
            if ns0.NoCompatibleHost_Def not in ns0.NoCompatibleHostFault_Dec.__bases__:
                bases = list(ns0.NoCompatibleHostFault_Dec.__bases__)
                bases.insert(0, ns0.NoCompatibleHost_Def)
                ns0.NoCompatibleHostFault_Dec.__bases__ = tuple(bases)

            ns0.NoCompatibleHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoCompatibleHostFault_Dec_Holder"

    class NoCompatibleHostWithAccessToDeviceFault_Dec(ElementDeclaration):
        literal = "NoCompatibleHostWithAccessToDeviceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoCompatibleHostWithAccessToDeviceFault")
            kw["aname"] = "_NoCompatibleHostWithAccessToDeviceFault"
            if ns0.NoCompatibleHostWithAccessToDevice_Def not in ns0.NoCompatibleHostWithAccessToDeviceFault_Dec.__bases__:
                bases = list(ns0.NoCompatibleHostWithAccessToDeviceFault_Dec.__bases__)
                bases.insert(0, ns0.NoCompatibleHostWithAccessToDevice_Def)
                ns0.NoCompatibleHostWithAccessToDeviceFault_Dec.__bases__ = tuple(bases)

            ns0.NoCompatibleHostWithAccessToDevice_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoCompatibleHostWithAccessToDeviceFault_Dec_Holder"

    class NoCompatibleSoftAffinityHostFault_Dec(ElementDeclaration):
        literal = "NoCompatibleSoftAffinityHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoCompatibleSoftAffinityHostFault")
            kw["aname"] = "_NoCompatibleSoftAffinityHostFault"
            if ns0.NoCompatibleSoftAffinityHost_Def not in ns0.NoCompatibleSoftAffinityHostFault_Dec.__bases__:
                bases = list(ns0.NoCompatibleSoftAffinityHostFault_Dec.__bases__)
                bases.insert(0, ns0.NoCompatibleSoftAffinityHost_Def)
                ns0.NoCompatibleSoftAffinityHostFault_Dec.__bases__ = tuple(bases)

            ns0.NoCompatibleSoftAffinityHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoCompatibleSoftAffinityHostFault_Dec_Holder"

    class NoConnectedDatastoreFault_Dec(ElementDeclaration):
        literal = "NoConnectedDatastoreFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoConnectedDatastoreFault")
            kw["aname"] = "_NoConnectedDatastoreFault"
            if ns0.NoConnectedDatastore_Def not in ns0.NoConnectedDatastoreFault_Dec.__bases__:
                bases = list(ns0.NoConnectedDatastoreFault_Dec.__bases__)
                bases.insert(0, ns0.NoConnectedDatastore_Def)
                ns0.NoConnectedDatastoreFault_Dec.__bases__ = tuple(bases)

            ns0.NoConnectedDatastore_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoConnectedDatastoreFault_Dec_Holder"

    class NoDiskFoundFault_Dec(ElementDeclaration):
        literal = "NoDiskFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoDiskFoundFault")
            kw["aname"] = "_NoDiskFoundFault"
            if ns0.NoDiskFound_Def not in ns0.NoDiskFoundFault_Dec.__bases__:
                bases = list(ns0.NoDiskFoundFault_Dec.__bases__)
                bases.insert(0, ns0.NoDiskFound_Def)
                ns0.NoDiskFoundFault_Dec.__bases__ = tuple(bases)

            ns0.NoDiskFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoDiskFoundFault_Dec_Holder"

    class NoDiskSpaceFault_Dec(ElementDeclaration):
        literal = "NoDiskSpaceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoDiskSpaceFault")
            kw["aname"] = "_NoDiskSpaceFault"
            if ns0.NoDiskSpace_Def not in ns0.NoDiskSpaceFault_Dec.__bases__:
                bases = list(ns0.NoDiskSpaceFault_Dec.__bases__)
                bases.insert(0, ns0.NoDiskSpace_Def)
                ns0.NoDiskSpaceFault_Dec.__bases__ = tuple(bases)

            ns0.NoDiskSpace_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoDiskSpaceFault_Dec_Holder"

    class NoDisksToCustomizeFault_Dec(ElementDeclaration):
        literal = "NoDisksToCustomizeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoDisksToCustomizeFault")
            kw["aname"] = "_NoDisksToCustomizeFault"
            if ns0.NoDisksToCustomize_Def not in ns0.NoDisksToCustomizeFault_Dec.__bases__:
                bases = list(ns0.NoDisksToCustomizeFault_Dec.__bases__)
                bases.insert(0, ns0.NoDisksToCustomize_Def)
                ns0.NoDisksToCustomizeFault_Dec.__bases__ = tuple(bases)

            ns0.NoDisksToCustomize_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoDisksToCustomizeFault_Dec_Holder"

    class NoGatewayFault_Dec(ElementDeclaration):
        literal = "NoGatewayFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoGatewayFault")
            kw["aname"] = "_NoGatewayFault"
            if ns0.NoGateway_Def not in ns0.NoGatewayFault_Dec.__bases__:
                bases = list(ns0.NoGatewayFault_Dec.__bases__)
                bases.insert(0, ns0.NoGateway_Def)
                ns0.NoGatewayFault_Dec.__bases__ = tuple(bases)

            ns0.NoGateway_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoGatewayFault_Dec_Holder"

    class NoGuestHeartbeatFault_Dec(ElementDeclaration):
        literal = "NoGuestHeartbeatFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoGuestHeartbeatFault")
            kw["aname"] = "_NoGuestHeartbeatFault"
            if ns0.NoGuestHeartbeat_Def not in ns0.NoGuestHeartbeatFault_Dec.__bases__:
                bases = list(ns0.NoGuestHeartbeatFault_Dec.__bases__)
                bases.insert(0, ns0.NoGuestHeartbeat_Def)
                ns0.NoGuestHeartbeatFault_Dec.__bases__ = tuple(bases)

            ns0.NoGuestHeartbeat_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoGuestHeartbeatFault_Dec_Holder"

    class NoHostFault_Dec(ElementDeclaration):
        literal = "NoHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoHostFault")
            kw["aname"] = "_NoHostFault"
            if ns0.NoHost_Def not in ns0.NoHostFault_Dec.__bases__:
                bases = list(ns0.NoHostFault_Dec.__bases__)
                bases.insert(0, ns0.NoHost_Def)
                ns0.NoHostFault_Dec.__bases__ = tuple(bases)

            ns0.NoHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoHostFault_Dec_Holder"

    class NoHostSuitableForFtSecondaryFault_Dec(ElementDeclaration):
        literal = "NoHostSuitableForFtSecondaryFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoHostSuitableForFtSecondaryFault")
            kw["aname"] = "_NoHostSuitableForFtSecondaryFault"
            if ns0.NoHostSuitableForFtSecondary_Def not in ns0.NoHostSuitableForFtSecondaryFault_Dec.__bases__:
                bases = list(ns0.NoHostSuitableForFtSecondaryFault_Dec.__bases__)
                bases.insert(0, ns0.NoHostSuitableForFtSecondary_Def)
                ns0.NoHostSuitableForFtSecondaryFault_Dec.__bases__ = tuple(bases)

            ns0.NoHostSuitableForFtSecondary_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoHostSuitableForFtSecondaryFault_Dec_Holder"

    class NoLicenseServerConfiguredFault_Dec(ElementDeclaration):
        literal = "NoLicenseServerConfiguredFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoLicenseServerConfiguredFault")
            kw["aname"] = "_NoLicenseServerConfiguredFault"
            if ns0.NoLicenseServerConfigured_Def not in ns0.NoLicenseServerConfiguredFault_Dec.__bases__:
                bases = list(ns0.NoLicenseServerConfiguredFault_Dec.__bases__)
                bases.insert(0, ns0.NoLicenseServerConfigured_Def)
                ns0.NoLicenseServerConfiguredFault_Dec.__bases__ = tuple(bases)

            ns0.NoLicenseServerConfigured_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoLicenseServerConfiguredFault_Dec_Holder"

    class NoPeerHostFoundFault_Dec(ElementDeclaration):
        literal = "NoPeerHostFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoPeerHostFoundFault")
            kw["aname"] = "_NoPeerHostFoundFault"
            if ns0.NoPeerHostFound_Def not in ns0.NoPeerHostFoundFault_Dec.__bases__:
                bases = list(ns0.NoPeerHostFoundFault_Dec.__bases__)
                bases.insert(0, ns0.NoPeerHostFound_Def)
                ns0.NoPeerHostFoundFault_Dec.__bases__ = tuple(bases)

            ns0.NoPeerHostFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoPeerHostFoundFault_Dec_Holder"

    class NoPermissionFault_Dec(ElementDeclaration):
        literal = "NoPermissionFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoPermissionFault")
            kw["aname"] = "_NoPermissionFault"
            if ns0.NoPermission_Def not in ns0.NoPermissionFault_Dec.__bases__:
                bases = list(ns0.NoPermissionFault_Dec.__bases__)
                bases.insert(0, ns0.NoPermission_Def)
                ns0.NoPermissionFault_Dec.__bases__ = tuple(bases)

            ns0.NoPermission_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoPermissionFault_Dec_Holder"

    class NoPermissionOnADFault_Dec(ElementDeclaration):
        literal = "NoPermissionOnADFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoPermissionOnADFault")
            kw["aname"] = "_NoPermissionOnADFault"
            if ns0.NoPermissionOnAD_Def not in ns0.NoPermissionOnADFault_Dec.__bases__:
                bases = list(ns0.NoPermissionOnADFault_Dec.__bases__)
                bases.insert(0, ns0.NoPermissionOnAD_Def)
                ns0.NoPermissionOnADFault_Dec.__bases__ = tuple(bases)

            ns0.NoPermissionOnAD_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoPermissionOnADFault_Dec_Holder"

    class NoPermissionOnHostFault_Dec(ElementDeclaration):
        literal = "NoPermissionOnHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoPermissionOnHostFault")
            kw["aname"] = "_NoPermissionOnHostFault"
            if ns0.NoPermissionOnHost_Def not in ns0.NoPermissionOnHostFault_Dec.__bases__:
                bases = list(ns0.NoPermissionOnHostFault_Dec.__bases__)
                bases.insert(0, ns0.NoPermissionOnHost_Def)
                ns0.NoPermissionOnHostFault_Dec.__bases__ = tuple(bases)

            ns0.NoPermissionOnHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoPermissionOnHostFault_Dec_Holder"

    class NoPermissionOnNasVolumeFault_Dec(ElementDeclaration):
        literal = "NoPermissionOnNasVolumeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoPermissionOnNasVolumeFault")
            kw["aname"] = "_NoPermissionOnNasVolumeFault"
            if ns0.NoPermissionOnNasVolume_Def not in ns0.NoPermissionOnNasVolumeFault_Dec.__bases__:
                bases = list(ns0.NoPermissionOnNasVolumeFault_Dec.__bases__)
                bases.insert(0, ns0.NoPermissionOnNasVolume_Def)
                ns0.NoPermissionOnNasVolumeFault_Dec.__bases__ = tuple(bases)

            ns0.NoPermissionOnNasVolume_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoPermissionOnNasVolumeFault_Dec_Holder"

    class NoSubjectNameFault_Dec(ElementDeclaration):
        literal = "NoSubjectNameFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoSubjectNameFault")
            kw["aname"] = "_NoSubjectNameFault"
            if ns0.NoSubjectName_Def not in ns0.NoSubjectNameFault_Dec.__bases__:
                bases = list(ns0.NoSubjectNameFault_Dec.__bases__)
                bases.insert(0, ns0.NoSubjectName_Def)
                ns0.NoSubjectNameFault_Dec.__bases__ = tuple(bases)

            ns0.NoSubjectName_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoSubjectNameFault_Dec_Holder"

    class NoVcManagedIpConfiguredFault_Dec(ElementDeclaration):
        literal = "NoVcManagedIpConfiguredFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoVcManagedIpConfiguredFault")
            kw["aname"] = "_NoVcManagedIpConfiguredFault"
            if ns0.NoVcManagedIpConfigured_Def not in ns0.NoVcManagedIpConfiguredFault_Dec.__bases__:
                bases = list(ns0.NoVcManagedIpConfiguredFault_Dec.__bases__)
                bases.insert(0, ns0.NoVcManagedIpConfigured_Def)
                ns0.NoVcManagedIpConfiguredFault_Dec.__bases__ = tuple(bases)

            ns0.NoVcManagedIpConfigured_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoVcManagedIpConfiguredFault_Dec_Holder"

    class NoVirtualNicFault_Dec(ElementDeclaration):
        literal = "NoVirtualNicFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoVirtualNicFault")
            kw["aname"] = "_NoVirtualNicFault"
            if ns0.NoVirtualNic_Def not in ns0.NoVirtualNicFault_Dec.__bases__:
                bases = list(ns0.NoVirtualNicFault_Dec.__bases__)
                bases.insert(0, ns0.NoVirtualNic_Def)
                ns0.NoVirtualNicFault_Dec.__bases__ = tuple(bases)

            ns0.NoVirtualNic_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoVirtualNicFault_Dec_Holder"

    class NoVmInVAppFault_Dec(ElementDeclaration):
        literal = "NoVmInVAppFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NoVmInVAppFault")
            kw["aname"] = "_NoVmInVAppFault"
            if ns0.NoVmInVApp_Def not in ns0.NoVmInVAppFault_Dec.__bases__:
                bases = list(ns0.NoVmInVAppFault_Dec.__bases__)
                bases.insert(0, ns0.NoVmInVApp_Def)
                ns0.NoVmInVAppFault_Dec.__bases__ = tuple(bases)

            ns0.NoVmInVApp_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NoVmInVAppFault_Dec_Holder"

    class NonADUserRequiredFault_Dec(ElementDeclaration):
        literal = "NonADUserRequiredFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NonADUserRequiredFault")
            kw["aname"] = "_NonADUserRequiredFault"
            if ns0.NonADUserRequired_Def not in ns0.NonADUserRequiredFault_Dec.__bases__:
                bases = list(ns0.NonADUserRequiredFault_Dec.__bases__)
                bases.insert(0, ns0.NonADUserRequired_Def)
                ns0.NonADUserRequiredFault_Dec.__bases__ = tuple(bases)

            ns0.NonADUserRequired_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NonADUserRequiredFault_Dec_Holder"

    class NonHomeRDMVMotionNotSupportedFault_Dec(ElementDeclaration):
        literal = "NonHomeRDMVMotionNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NonHomeRDMVMotionNotSupportedFault")
            kw["aname"] = "_NonHomeRDMVMotionNotSupportedFault"
            if ns0.NonHomeRDMVMotionNotSupported_Def not in ns0.NonHomeRDMVMotionNotSupportedFault_Dec.__bases__:
                bases = list(ns0.NonHomeRDMVMotionNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.NonHomeRDMVMotionNotSupported_Def)
                ns0.NonHomeRDMVMotionNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.NonHomeRDMVMotionNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NonHomeRDMVMotionNotSupportedFault_Dec_Holder"

    class NonPersistentDisksNotSupportedFault_Dec(ElementDeclaration):
        literal = "NonPersistentDisksNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NonPersistentDisksNotSupportedFault")
            kw["aname"] = "_NonPersistentDisksNotSupportedFault"
            if ns0.NonPersistentDisksNotSupported_Def not in ns0.NonPersistentDisksNotSupportedFault_Dec.__bases__:
                bases = list(ns0.NonPersistentDisksNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.NonPersistentDisksNotSupported_Def)
                ns0.NonPersistentDisksNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.NonPersistentDisksNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NonPersistentDisksNotSupportedFault_Dec_Holder"

    class NonVmwareOuiMacNotSupportedHostFault_Dec(ElementDeclaration):
        literal = "NonVmwareOuiMacNotSupportedHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NonVmwareOuiMacNotSupportedHostFault")
            kw["aname"] = "_NonVmwareOuiMacNotSupportedHostFault"
            if ns0.NonVmwareOuiMacNotSupportedHost_Def not in ns0.NonVmwareOuiMacNotSupportedHostFault_Dec.__bases__:
                bases = list(ns0.NonVmwareOuiMacNotSupportedHostFault_Dec.__bases__)
                bases.insert(0, ns0.NonVmwareOuiMacNotSupportedHost_Def)
                ns0.NonVmwareOuiMacNotSupportedHostFault_Dec.__bases__ = tuple(bases)

            ns0.NonVmwareOuiMacNotSupportedHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NonVmwareOuiMacNotSupportedHostFault_Dec_Holder"

    class NotADirectoryFault_Dec(ElementDeclaration):
        literal = "NotADirectoryFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotADirectoryFault")
            kw["aname"] = "_NotADirectoryFault"
            if ns0.NotADirectory_Def not in ns0.NotADirectoryFault_Dec.__bases__:
                bases = list(ns0.NotADirectoryFault_Dec.__bases__)
                bases.insert(0, ns0.NotADirectory_Def)
                ns0.NotADirectoryFault_Dec.__bases__ = tuple(bases)

            ns0.NotADirectory_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotADirectoryFault_Dec_Holder"

    class NotAFileFault_Dec(ElementDeclaration):
        literal = "NotAFileFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotAFileFault")
            kw["aname"] = "_NotAFileFault"
            if ns0.NotAFile_Def not in ns0.NotAFileFault_Dec.__bases__:
                bases = list(ns0.NotAFileFault_Dec.__bases__)
                bases.insert(0, ns0.NotAFile_Def)
                ns0.NotAFileFault_Dec.__bases__ = tuple(bases)

            ns0.NotAFile_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotAFileFault_Dec_Holder"

    class NotAuthenticatedFault_Dec(ElementDeclaration):
        literal = "NotAuthenticatedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotAuthenticatedFault")
            kw["aname"] = "_NotAuthenticatedFault"
            if ns0.NotAuthenticated_Def not in ns0.NotAuthenticatedFault_Dec.__bases__:
                bases = list(ns0.NotAuthenticatedFault_Dec.__bases__)
                bases.insert(0, ns0.NotAuthenticated_Def)
                ns0.NotAuthenticatedFault_Dec.__bases__ = tuple(bases)

            ns0.NotAuthenticated_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotAuthenticatedFault_Dec_Holder"

    class NotEnoughCpusFault_Dec(ElementDeclaration):
        literal = "NotEnoughCpusFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotEnoughCpusFault")
            kw["aname"] = "_NotEnoughCpusFault"
            if ns0.NotEnoughCpus_Def not in ns0.NotEnoughCpusFault_Dec.__bases__:
                bases = list(ns0.NotEnoughCpusFault_Dec.__bases__)
                bases.insert(0, ns0.NotEnoughCpus_Def)
                ns0.NotEnoughCpusFault_Dec.__bases__ = tuple(bases)

            ns0.NotEnoughCpus_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotEnoughCpusFault_Dec_Holder"

    class NotEnoughLogicalCpusFault_Dec(ElementDeclaration):
        literal = "NotEnoughLogicalCpusFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotEnoughLogicalCpusFault")
            kw["aname"] = "_NotEnoughLogicalCpusFault"
            if ns0.NotEnoughLogicalCpus_Def not in ns0.NotEnoughLogicalCpusFault_Dec.__bases__:
                bases = list(ns0.NotEnoughLogicalCpusFault_Dec.__bases__)
                bases.insert(0, ns0.NotEnoughLogicalCpus_Def)
                ns0.NotEnoughLogicalCpusFault_Dec.__bases__ = tuple(bases)

            ns0.NotEnoughLogicalCpus_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotEnoughLogicalCpusFault_Dec_Holder"

    class NotFoundFault_Dec(ElementDeclaration):
        literal = "NotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotFoundFault")
            kw["aname"] = "_NotFoundFault"
            if ns0.NotFound_Def not in ns0.NotFoundFault_Dec.__bases__:
                bases = list(ns0.NotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.NotFound_Def)
                ns0.NotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.NotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotFoundFault_Dec_Holder"

    class NotSupportedDeviceForFTFault_Dec(ElementDeclaration):
        literal = "NotSupportedDeviceForFTFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotSupportedDeviceForFTFault")
            kw["aname"] = "_NotSupportedDeviceForFTFault"
            if ns0.NotSupportedDeviceForFT_Def not in ns0.NotSupportedDeviceForFTFault_Dec.__bases__:
                bases = list(ns0.NotSupportedDeviceForFTFault_Dec.__bases__)
                bases.insert(0, ns0.NotSupportedDeviceForFT_Def)
                ns0.NotSupportedDeviceForFTFault_Dec.__bases__ = tuple(bases)

            ns0.NotSupportedDeviceForFT_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotSupportedDeviceForFTFault_Dec_Holder"

    class NotSupportedHostFault_Dec(ElementDeclaration):
        literal = "NotSupportedHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotSupportedHostFault")
            kw["aname"] = "_NotSupportedHostFault"
            if ns0.NotSupportedHost_Def not in ns0.NotSupportedHostFault_Dec.__bases__:
                bases = list(ns0.NotSupportedHostFault_Dec.__bases__)
                bases.insert(0, ns0.NotSupportedHost_Def)
                ns0.NotSupportedHostFault_Dec.__bases__ = tuple(bases)

            ns0.NotSupportedHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotSupportedHostFault_Dec_Holder"

    class NotSupportedHostForChecksumFault_Dec(ElementDeclaration):
        literal = "NotSupportedHostForChecksumFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotSupportedHostForChecksumFault")
            kw["aname"] = "_NotSupportedHostForChecksumFault"
            if ns0.NotSupportedHostForChecksum_Def not in ns0.NotSupportedHostForChecksumFault_Dec.__bases__:
                bases = list(ns0.NotSupportedHostForChecksumFault_Dec.__bases__)
                bases.insert(0, ns0.NotSupportedHostForChecksum_Def)
                ns0.NotSupportedHostForChecksumFault_Dec.__bases__ = tuple(bases)

            ns0.NotSupportedHostForChecksum_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotSupportedHostForChecksumFault_Dec_Holder"

    class NotSupportedHostForVFlashFault_Dec(ElementDeclaration):
        literal = "NotSupportedHostForVFlashFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotSupportedHostForVFlashFault")
            kw["aname"] = "_NotSupportedHostForVFlashFault"
            if ns0.NotSupportedHostForVFlash_Def not in ns0.NotSupportedHostForVFlashFault_Dec.__bases__:
                bases = list(ns0.NotSupportedHostForVFlashFault_Dec.__bases__)
                bases.insert(0, ns0.NotSupportedHostForVFlash_Def)
                ns0.NotSupportedHostForVFlashFault_Dec.__bases__ = tuple(bases)

            ns0.NotSupportedHostForVFlash_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotSupportedHostForVFlashFault_Dec_Holder"

    class NotSupportedHostForVmcpFault_Dec(ElementDeclaration):
        literal = "NotSupportedHostForVmcpFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotSupportedHostForVmcpFault")
            kw["aname"] = "_NotSupportedHostForVmcpFault"
            if ns0.NotSupportedHostForVmcp_Def not in ns0.NotSupportedHostForVmcpFault_Dec.__bases__:
                bases = list(ns0.NotSupportedHostForVmcpFault_Dec.__bases__)
                bases.insert(0, ns0.NotSupportedHostForVmcp_Def)
                ns0.NotSupportedHostForVmcpFault_Dec.__bases__ = tuple(bases)

            ns0.NotSupportedHostForVmcp_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotSupportedHostForVmcpFault_Dec_Holder"

    class NotSupportedHostForVmemFileFault_Dec(ElementDeclaration):
        literal = "NotSupportedHostForVmemFileFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotSupportedHostForVmemFileFault")
            kw["aname"] = "_NotSupportedHostForVmemFileFault"
            if ns0.NotSupportedHostForVmemFile_Def not in ns0.NotSupportedHostForVmemFileFault_Dec.__bases__:
                bases = list(ns0.NotSupportedHostForVmemFileFault_Dec.__bases__)
                bases.insert(0, ns0.NotSupportedHostForVmemFile_Def)
                ns0.NotSupportedHostForVmemFileFault_Dec.__bases__ = tuple(bases)

            ns0.NotSupportedHostForVmemFile_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotSupportedHostForVmemFileFault_Dec_Holder"

    class NotSupportedHostForVsanFault_Dec(ElementDeclaration):
        literal = "NotSupportedHostForVsanFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotSupportedHostForVsanFault")
            kw["aname"] = "_NotSupportedHostForVsanFault"
            if ns0.NotSupportedHostForVsan_Def not in ns0.NotSupportedHostForVsanFault_Dec.__bases__:
                bases = list(ns0.NotSupportedHostForVsanFault_Dec.__bases__)
                bases.insert(0, ns0.NotSupportedHostForVsan_Def)
                ns0.NotSupportedHostForVsanFault_Dec.__bases__ = tuple(bases)

            ns0.NotSupportedHostForVsan_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotSupportedHostForVsanFault_Dec_Holder"

    class NotSupportedHostInClusterFault_Dec(ElementDeclaration):
        literal = "NotSupportedHostInClusterFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotSupportedHostInClusterFault")
            kw["aname"] = "_NotSupportedHostInClusterFault"
            if ns0.NotSupportedHostInCluster_Def not in ns0.NotSupportedHostInClusterFault_Dec.__bases__:
                bases = list(ns0.NotSupportedHostInClusterFault_Dec.__bases__)
                bases.insert(0, ns0.NotSupportedHostInCluster_Def)
                ns0.NotSupportedHostInClusterFault_Dec.__bases__ = tuple(bases)

            ns0.NotSupportedHostInCluster_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotSupportedHostInClusterFault_Dec_Holder"

    class NotSupportedHostInDvsFault_Dec(ElementDeclaration):
        literal = "NotSupportedHostInDvsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotSupportedHostInDvsFault")
            kw["aname"] = "_NotSupportedHostInDvsFault"
            if ns0.NotSupportedHostInDvs_Def not in ns0.NotSupportedHostInDvsFault_Dec.__bases__:
                bases = list(ns0.NotSupportedHostInDvsFault_Dec.__bases__)
                bases.insert(0, ns0.NotSupportedHostInDvs_Def)
                ns0.NotSupportedHostInDvsFault_Dec.__bases__ = tuple(bases)

            ns0.NotSupportedHostInDvs_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotSupportedHostInDvsFault_Dec_Holder"

    class NotSupportedHostInHAClusterFault_Dec(ElementDeclaration):
        literal = "NotSupportedHostInHAClusterFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotSupportedHostInHAClusterFault")
            kw["aname"] = "_NotSupportedHostInHAClusterFault"
            if ns0.NotSupportedHostInHACluster_Def not in ns0.NotSupportedHostInHAClusterFault_Dec.__bases__:
                bases = list(ns0.NotSupportedHostInHAClusterFault_Dec.__bases__)
                bases.insert(0, ns0.NotSupportedHostInHACluster_Def)
                ns0.NotSupportedHostInHAClusterFault_Dec.__bases__ = tuple(bases)

            ns0.NotSupportedHostInHACluster_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotSupportedHostInHAClusterFault_Dec_Holder"

    class NotUserConfigurablePropertyFault_Dec(ElementDeclaration):
        literal = "NotUserConfigurablePropertyFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotUserConfigurablePropertyFault")
            kw["aname"] = "_NotUserConfigurablePropertyFault"
            if ns0.NotUserConfigurableProperty_Def not in ns0.NotUserConfigurablePropertyFault_Dec.__bases__:
                bases = list(ns0.NotUserConfigurablePropertyFault_Dec.__bases__)
                bases.insert(0, ns0.NotUserConfigurableProperty_Def)
                ns0.NotUserConfigurablePropertyFault_Dec.__bases__ = tuple(bases)

            ns0.NotUserConfigurableProperty_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotUserConfigurablePropertyFault_Dec_Holder"

    class NumVirtualCoresPerSocketNotSupportedFault_Dec(ElementDeclaration):
        literal = "NumVirtualCoresPerSocketNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NumVirtualCoresPerSocketNotSupportedFault")
            kw["aname"] = "_NumVirtualCoresPerSocketNotSupportedFault"
            if ns0.NumVirtualCoresPerSocketNotSupported_Def not in ns0.NumVirtualCoresPerSocketNotSupportedFault_Dec.__bases__:
                bases = list(ns0.NumVirtualCoresPerSocketNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.NumVirtualCoresPerSocketNotSupported_Def)
                ns0.NumVirtualCoresPerSocketNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.NumVirtualCoresPerSocketNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NumVirtualCoresPerSocketNotSupportedFault_Dec_Holder"

    class NumVirtualCpusExceedsLimitFault_Dec(ElementDeclaration):
        literal = "NumVirtualCpusExceedsLimitFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NumVirtualCpusExceedsLimitFault")
            kw["aname"] = "_NumVirtualCpusExceedsLimitFault"
            if ns0.NumVirtualCpusExceedsLimit_Def not in ns0.NumVirtualCpusExceedsLimitFault_Dec.__bases__:
                bases = list(ns0.NumVirtualCpusExceedsLimitFault_Dec.__bases__)
                bases.insert(0, ns0.NumVirtualCpusExceedsLimit_Def)
                ns0.NumVirtualCpusExceedsLimitFault_Dec.__bases__ = tuple(bases)

            ns0.NumVirtualCpusExceedsLimit_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NumVirtualCpusExceedsLimitFault_Dec_Holder"

    class NumVirtualCpusIncompatibleFault_Dec(ElementDeclaration):
        literal = "NumVirtualCpusIncompatibleFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NumVirtualCpusIncompatibleFault")
            kw["aname"] = "_NumVirtualCpusIncompatibleFault"
            if ns0.NumVirtualCpusIncompatible_Def not in ns0.NumVirtualCpusIncompatibleFault_Dec.__bases__:
                bases = list(ns0.NumVirtualCpusIncompatibleFault_Dec.__bases__)
                bases.insert(0, ns0.NumVirtualCpusIncompatible_Def)
                ns0.NumVirtualCpusIncompatibleFault_Dec.__bases__ = tuple(bases)

            ns0.NumVirtualCpusIncompatible_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NumVirtualCpusIncompatibleFault_Dec_Holder"

    class NumVirtualCpusNotSupportedFault_Dec(ElementDeclaration):
        literal = "NumVirtualCpusNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NumVirtualCpusNotSupportedFault")
            kw["aname"] = "_NumVirtualCpusNotSupportedFault"
            if ns0.NumVirtualCpusNotSupported_Def not in ns0.NumVirtualCpusNotSupportedFault_Dec.__bases__:
                bases = list(ns0.NumVirtualCpusNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.NumVirtualCpusNotSupported_Def)
                ns0.NumVirtualCpusNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.NumVirtualCpusNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NumVirtualCpusNotSupportedFault_Dec_Holder"

    class OperationDisabledByGuestFault_Dec(ElementDeclaration):
        literal = "OperationDisabledByGuestFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OperationDisabledByGuestFault")
            kw["aname"] = "_OperationDisabledByGuestFault"
            if ns0.OperationDisabledByGuest_Def not in ns0.OperationDisabledByGuestFault_Dec.__bases__:
                bases = list(ns0.OperationDisabledByGuestFault_Dec.__bases__)
                bases.insert(0, ns0.OperationDisabledByGuest_Def)
                ns0.OperationDisabledByGuestFault_Dec.__bases__ = tuple(bases)

            ns0.OperationDisabledByGuest_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OperationDisabledByGuestFault_Dec_Holder"

    class OperationDisallowedOnHostFault_Dec(ElementDeclaration):
        literal = "OperationDisallowedOnHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OperationDisallowedOnHostFault")
            kw["aname"] = "_OperationDisallowedOnHostFault"
            if ns0.OperationDisallowedOnHost_Def not in ns0.OperationDisallowedOnHostFault_Dec.__bases__:
                bases = list(ns0.OperationDisallowedOnHostFault_Dec.__bases__)
                bases.insert(0, ns0.OperationDisallowedOnHost_Def)
                ns0.OperationDisallowedOnHostFault_Dec.__bases__ = tuple(bases)

            ns0.OperationDisallowedOnHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OperationDisallowedOnHostFault_Dec_Holder"

    class OperationNotSupportedByGuestFault_Dec(ElementDeclaration):
        literal = "OperationNotSupportedByGuestFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OperationNotSupportedByGuestFault")
            kw["aname"] = "_OperationNotSupportedByGuestFault"
            if ns0.OperationNotSupportedByGuest_Def not in ns0.OperationNotSupportedByGuestFault_Dec.__bases__:
                bases = list(ns0.OperationNotSupportedByGuestFault_Dec.__bases__)
                bases.insert(0, ns0.OperationNotSupportedByGuest_Def)
                ns0.OperationNotSupportedByGuestFault_Dec.__bases__ = tuple(bases)

            ns0.OperationNotSupportedByGuest_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OperationNotSupportedByGuestFault_Dec_Holder"

    class OutOfBoundsFault_Dec(ElementDeclaration):
        literal = "OutOfBoundsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OutOfBoundsFault")
            kw["aname"] = "_OutOfBoundsFault"
            if ns0.OutOfBounds_Def not in ns0.OutOfBoundsFault_Dec.__bases__:
                bases = list(ns0.OutOfBoundsFault_Dec.__bases__)
                bases.insert(0, ns0.OutOfBounds_Def)
                ns0.OutOfBoundsFault_Dec.__bases__ = tuple(bases)

            ns0.OutOfBounds_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OutOfBoundsFault_Dec_Holder"

    class OvfAttributeFault_Dec(ElementDeclaration):
        literal = "OvfAttributeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfAttributeFault")
            kw["aname"] = "_OvfAttributeFault"
            if ns0.OvfAttribute_Def not in ns0.OvfAttributeFault_Dec.__bases__:
                bases = list(ns0.OvfAttributeFault_Dec.__bases__)
                bases.insert(0, ns0.OvfAttribute_Def)
                ns0.OvfAttributeFault_Dec.__bases__ = tuple(bases)

            ns0.OvfAttribute_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfAttributeFault_Dec_Holder"

    class OvfConnectedDeviceFault_Dec(ElementDeclaration):
        literal = "OvfConnectedDeviceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfConnectedDeviceFault")
            kw["aname"] = "_OvfConnectedDeviceFault"
            if ns0.OvfConnectedDevice_Def not in ns0.OvfConnectedDeviceFault_Dec.__bases__:
                bases = list(ns0.OvfConnectedDeviceFault_Dec.__bases__)
                bases.insert(0, ns0.OvfConnectedDevice_Def)
                ns0.OvfConnectedDeviceFault_Dec.__bases__ = tuple(bases)

            ns0.OvfConnectedDevice_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfConnectedDeviceFault_Dec_Holder"

    class OvfConnectedDeviceFloppyFault_Dec(ElementDeclaration):
        literal = "OvfConnectedDeviceFloppyFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfConnectedDeviceFloppyFault")
            kw["aname"] = "_OvfConnectedDeviceFloppyFault"
            if ns0.OvfConnectedDeviceFloppy_Def not in ns0.OvfConnectedDeviceFloppyFault_Dec.__bases__:
                bases = list(ns0.OvfConnectedDeviceFloppyFault_Dec.__bases__)
                bases.insert(0, ns0.OvfConnectedDeviceFloppy_Def)
                ns0.OvfConnectedDeviceFloppyFault_Dec.__bases__ = tuple(bases)

            ns0.OvfConnectedDeviceFloppy_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfConnectedDeviceFloppyFault_Dec_Holder"

    class OvfConnectedDeviceIsoFault_Dec(ElementDeclaration):
        literal = "OvfConnectedDeviceIsoFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfConnectedDeviceIsoFault")
            kw["aname"] = "_OvfConnectedDeviceIsoFault"
            if ns0.OvfConnectedDeviceIso_Def not in ns0.OvfConnectedDeviceIsoFault_Dec.__bases__:
                bases = list(ns0.OvfConnectedDeviceIsoFault_Dec.__bases__)
                bases.insert(0, ns0.OvfConnectedDeviceIso_Def)
                ns0.OvfConnectedDeviceIsoFault_Dec.__bases__ = tuple(bases)

            ns0.OvfConnectedDeviceIso_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfConnectedDeviceIsoFault_Dec_Holder"

    class OvfConstraintFault_Dec(ElementDeclaration):
        literal = "OvfConstraintFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfConstraintFault")
            kw["aname"] = "_OvfConstraintFault"
            if ns0.OvfConstraint_Def not in ns0.OvfConstraintFault_Dec.__bases__:
                bases = list(ns0.OvfConstraintFault_Dec.__bases__)
                bases.insert(0, ns0.OvfConstraint_Def)
                ns0.OvfConstraintFault_Dec.__bases__ = tuple(bases)

            ns0.OvfConstraint_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfConstraintFault_Dec_Holder"

    class OvfConsumerCallbackFaultFault_Dec(ElementDeclaration):
        literal = "OvfConsumerCallbackFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfConsumerCallbackFaultFault")
            kw["aname"] = "_OvfConsumerCallbackFaultFault"
            if ns0.OvfConsumerCallbackFault_Def not in ns0.OvfConsumerCallbackFaultFault_Dec.__bases__:
                bases = list(ns0.OvfConsumerCallbackFaultFault_Dec.__bases__)
                bases.insert(0, ns0.OvfConsumerCallbackFault_Def)
                ns0.OvfConsumerCallbackFaultFault_Dec.__bases__ = tuple(bases)

            ns0.OvfConsumerCallbackFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfConsumerCallbackFaultFault_Dec_Holder"

    class OvfConsumerCommunicationErrorFault_Dec(ElementDeclaration):
        literal = "OvfConsumerCommunicationErrorFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfConsumerCommunicationErrorFault")
            kw["aname"] = "_OvfConsumerCommunicationErrorFault"
            if ns0.OvfConsumerCommunicationError_Def not in ns0.OvfConsumerCommunicationErrorFault_Dec.__bases__:
                bases = list(ns0.OvfConsumerCommunicationErrorFault_Dec.__bases__)
                bases.insert(0, ns0.OvfConsumerCommunicationError_Def)
                ns0.OvfConsumerCommunicationErrorFault_Dec.__bases__ = tuple(bases)

            ns0.OvfConsumerCommunicationError_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfConsumerCommunicationErrorFault_Dec_Holder"

    class OvfConsumerFaultFault_Dec(ElementDeclaration):
        literal = "OvfConsumerFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfConsumerFaultFault")
            kw["aname"] = "_OvfConsumerFaultFault"
            if ns0.OvfConsumerFault_Def not in ns0.OvfConsumerFaultFault_Dec.__bases__:
                bases = list(ns0.OvfConsumerFaultFault_Dec.__bases__)
                bases.insert(0, ns0.OvfConsumerFault_Def)
                ns0.OvfConsumerFaultFault_Dec.__bases__ = tuple(bases)

            ns0.OvfConsumerFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfConsumerFaultFault_Dec_Holder"

    class OvfConsumerInvalidSectionFault_Dec(ElementDeclaration):
        literal = "OvfConsumerInvalidSectionFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfConsumerInvalidSectionFault")
            kw["aname"] = "_OvfConsumerInvalidSectionFault"
            if ns0.OvfConsumerInvalidSection_Def not in ns0.OvfConsumerInvalidSectionFault_Dec.__bases__:
                bases = list(ns0.OvfConsumerInvalidSectionFault_Dec.__bases__)
                bases.insert(0, ns0.OvfConsumerInvalidSection_Def)
                ns0.OvfConsumerInvalidSectionFault_Dec.__bases__ = tuple(bases)

            ns0.OvfConsumerInvalidSection_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfConsumerInvalidSectionFault_Dec_Holder"

    class OvfConsumerPowerOnFaultFault_Dec(ElementDeclaration):
        literal = "OvfConsumerPowerOnFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfConsumerPowerOnFaultFault")
            kw["aname"] = "_OvfConsumerPowerOnFaultFault"
            if ns0.OvfConsumerPowerOnFault_Def not in ns0.OvfConsumerPowerOnFaultFault_Dec.__bases__:
                bases = list(ns0.OvfConsumerPowerOnFaultFault_Dec.__bases__)
                bases.insert(0, ns0.OvfConsumerPowerOnFault_Def)
                ns0.OvfConsumerPowerOnFaultFault_Dec.__bases__ = tuple(bases)

            ns0.OvfConsumerPowerOnFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfConsumerPowerOnFaultFault_Dec_Holder"

    class OvfConsumerUndeclaredSectionFault_Dec(ElementDeclaration):
        literal = "OvfConsumerUndeclaredSectionFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfConsumerUndeclaredSectionFault")
            kw["aname"] = "_OvfConsumerUndeclaredSectionFault"
            if ns0.OvfConsumerUndeclaredSection_Def not in ns0.OvfConsumerUndeclaredSectionFault_Dec.__bases__:
                bases = list(ns0.OvfConsumerUndeclaredSectionFault_Dec.__bases__)
                bases.insert(0, ns0.OvfConsumerUndeclaredSection_Def)
                ns0.OvfConsumerUndeclaredSectionFault_Dec.__bases__ = tuple(bases)

            ns0.OvfConsumerUndeclaredSection_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfConsumerUndeclaredSectionFault_Dec_Holder"

    class OvfConsumerUndefinedPrefixFault_Dec(ElementDeclaration):
        literal = "OvfConsumerUndefinedPrefixFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfConsumerUndefinedPrefixFault")
            kw["aname"] = "_OvfConsumerUndefinedPrefixFault"
            if ns0.OvfConsumerUndefinedPrefix_Def not in ns0.OvfConsumerUndefinedPrefixFault_Dec.__bases__:
                bases = list(ns0.OvfConsumerUndefinedPrefixFault_Dec.__bases__)
                bases.insert(0, ns0.OvfConsumerUndefinedPrefix_Def)
                ns0.OvfConsumerUndefinedPrefixFault_Dec.__bases__ = tuple(bases)

            ns0.OvfConsumerUndefinedPrefix_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfConsumerUndefinedPrefixFault_Dec_Holder"

    class OvfConsumerValidationFaultFault_Dec(ElementDeclaration):
        literal = "OvfConsumerValidationFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfConsumerValidationFaultFault")
            kw["aname"] = "_OvfConsumerValidationFaultFault"
            if ns0.OvfConsumerValidationFault_Def not in ns0.OvfConsumerValidationFaultFault_Dec.__bases__:
                bases = list(ns0.OvfConsumerValidationFaultFault_Dec.__bases__)
                bases.insert(0, ns0.OvfConsumerValidationFault_Def)
                ns0.OvfConsumerValidationFaultFault_Dec.__bases__ = tuple(bases)

            ns0.OvfConsumerValidationFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfConsumerValidationFaultFault_Dec_Holder"

    class OvfCpuCompatibilityFault_Dec(ElementDeclaration):
        literal = "OvfCpuCompatibilityFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfCpuCompatibilityFault")
            kw["aname"] = "_OvfCpuCompatibilityFault"
            if ns0.OvfCpuCompatibility_Def not in ns0.OvfCpuCompatibilityFault_Dec.__bases__:
                bases = list(ns0.OvfCpuCompatibilityFault_Dec.__bases__)
                bases.insert(0, ns0.OvfCpuCompatibility_Def)
                ns0.OvfCpuCompatibilityFault_Dec.__bases__ = tuple(bases)

            ns0.OvfCpuCompatibility_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfCpuCompatibilityFault_Dec_Holder"

    class OvfCpuCompatibilityCheckNotSupportedFault_Dec(ElementDeclaration):
        literal = "OvfCpuCompatibilityCheckNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfCpuCompatibilityCheckNotSupportedFault")
            kw["aname"] = "_OvfCpuCompatibilityCheckNotSupportedFault"
            if ns0.OvfCpuCompatibilityCheckNotSupported_Def not in ns0.OvfCpuCompatibilityCheckNotSupportedFault_Dec.__bases__:
                bases = list(ns0.OvfCpuCompatibilityCheckNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.OvfCpuCompatibilityCheckNotSupported_Def)
                ns0.OvfCpuCompatibilityCheckNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.OvfCpuCompatibilityCheckNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfCpuCompatibilityCheckNotSupportedFault_Dec_Holder"

    class OvfDiskMappingNotFoundFault_Dec(ElementDeclaration):
        literal = "OvfDiskMappingNotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfDiskMappingNotFoundFault")
            kw["aname"] = "_OvfDiskMappingNotFoundFault"
            if ns0.OvfDiskMappingNotFound_Def not in ns0.OvfDiskMappingNotFoundFault_Dec.__bases__:
                bases = list(ns0.OvfDiskMappingNotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.OvfDiskMappingNotFound_Def)
                ns0.OvfDiskMappingNotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.OvfDiskMappingNotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfDiskMappingNotFoundFault_Dec_Holder"

    class OvfDiskOrderConstraintFault_Dec(ElementDeclaration):
        literal = "OvfDiskOrderConstraintFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfDiskOrderConstraintFault")
            kw["aname"] = "_OvfDiskOrderConstraintFault"
            if ns0.OvfDiskOrderConstraint_Def not in ns0.OvfDiskOrderConstraintFault_Dec.__bases__:
                bases = list(ns0.OvfDiskOrderConstraintFault_Dec.__bases__)
                bases.insert(0, ns0.OvfDiskOrderConstraint_Def)
                ns0.OvfDiskOrderConstraintFault_Dec.__bases__ = tuple(bases)

            ns0.OvfDiskOrderConstraint_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfDiskOrderConstraintFault_Dec_Holder"

    class OvfDuplicateElementFault_Dec(ElementDeclaration):
        literal = "OvfDuplicateElementFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfDuplicateElementFault")
            kw["aname"] = "_OvfDuplicateElementFault"
            if ns0.OvfDuplicateElement_Def not in ns0.OvfDuplicateElementFault_Dec.__bases__:
                bases = list(ns0.OvfDuplicateElementFault_Dec.__bases__)
                bases.insert(0, ns0.OvfDuplicateElement_Def)
                ns0.OvfDuplicateElementFault_Dec.__bases__ = tuple(bases)

            ns0.OvfDuplicateElement_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfDuplicateElementFault_Dec_Holder"

    class OvfDuplicatedElementBoundaryFault_Dec(ElementDeclaration):
        literal = "OvfDuplicatedElementBoundaryFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfDuplicatedElementBoundaryFault")
            kw["aname"] = "_OvfDuplicatedElementBoundaryFault"
            if ns0.OvfDuplicatedElementBoundary_Def not in ns0.OvfDuplicatedElementBoundaryFault_Dec.__bases__:
                bases = list(ns0.OvfDuplicatedElementBoundaryFault_Dec.__bases__)
                bases.insert(0, ns0.OvfDuplicatedElementBoundary_Def)
                ns0.OvfDuplicatedElementBoundaryFault_Dec.__bases__ = tuple(bases)

            ns0.OvfDuplicatedElementBoundary_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfDuplicatedElementBoundaryFault_Dec_Holder"

    class OvfDuplicatedPropertyIdExportFault_Dec(ElementDeclaration):
        literal = "OvfDuplicatedPropertyIdExportFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfDuplicatedPropertyIdExportFault")
            kw["aname"] = "_OvfDuplicatedPropertyIdExportFault"
            if ns0.OvfDuplicatedPropertyIdExport_Def not in ns0.OvfDuplicatedPropertyIdExportFault_Dec.__bases__:
                bases = list(ns0.OvfDuplicatedPropertyIdExportFault_Dec.__bases__)
                bases.insert(0, ns0.OvfDuplicatedPropertyIdExport_Def)
                ns0.OvfDuplicatedPropertyIdExportFault_Dec.__bases__ = tuple(bases)

            ns0.OvfDuplicatedPropertyIdExport_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfDuplicatedPropertyIdExportFault_Dec_Holder"

    class OvfDuplicatedPropertyIdImportFault_Dec(ElementDeclaration):
        literal = "OvfDuplicatedPropertyIdImportFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfDuplicatedPropertyIdImportFault")
            kw["aname"] = "_OvfDuplicatedPropertyIdImportFault"
            if ns0.OvfDuplicatedPropertyIdImport_Def not in ns0.OvfDuplicatedPropertyIdImportFault_Dec.__bases__:
                bases = list(ns0.OvfDuplicatedPropertyIdImportFault_Dec.__bases__)
                bases.insert(0, ns0.OvfDuplicatedPropertyIdImport_Def)
                ns0.OvfDuplicatedPropertyIdImportFault_Dec.__bases__ = tuple(bases)

            ns0.OvfDuplicatedPropertyIdImport_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfDuplicatedPropertyIdImportFault_Dec_Holder"

    class OvfElementFault_Dec(ElementDeclaration):
        literal = "OvfElementFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfElementFault")
            kw["aname"] = "_OvfElementFault"
            if ns0.OvfElement_Def not in ns0.OvfElementFault_Dec.__bases__:
                bases = list(ns0.OvfElementFault_Dec.__bases__)
                bases.insert(0, ns0.OvfElement_Def)
                ns0.OvfElementFault_Dec.__bases__ = tuple(bases)

            ns0.OvfElement_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfElementFault_Dec_Holder"

    class OvfElementInvalidValueFault_Dec(ElementDeclaration):
        literal = "OvfElementInvalidValueFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfElementInvalidValueFault")
            kw["aname"] = "_OvfElementInvalidValueFault"
            if ns0.OvfElementInvalidValue_Def not in ns0.OvfElementInvalidValueFault_Dec.__bases__:
                bases = list(ns0.OvfElementInvalidValueFault_Dec.__bases__)
                bases.insert(0, ns0.OvfElementInvalidValue_Def)
                ns0.OvfElementInvalidValueFault_Dec.__bases__ = tuple(bases)

            ns0.OvfElementInvalidValue_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfElementInvalidValueFault_Dec_Holder"

    class OvfExportFault_Dec(ElementDeclaration):
        literal = "OvfExportFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfExportFault")
            kw["aname"] = "_OvfExportFault"
            if ns0.OvfExport_Def not in ns0.OvfExportFault_Dec.__bases__:
                bases = list(ns0.OvfExportFault_Dec.__bases__)
                bases.insert(0, ns0.OvfExport_Def)
                ns0.OvfExportFault_Dec.__bases__ = tuple(bases)

            ns0.OvfExport_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfExportFault_Dec_Holder"

    class OvfExportFailedFault_Dec(ElementDeclaration):
        literal = "OvfExportFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfExportFailedFault")
            kw["aname"] = "_OvfExportFailedFault"
            if ns0.OvfExportFailed_Def not in ns0.OvfExportFailedFault_Dec.__bases__:
                bases = list(ns0.OvfExportFailedFault_Dec.__bases__)
                bases.insert(0, ns0.OvfExportFailed_Def)
                ns0.OvfExportFailedFault_Dec.__bases__ = tuple(bases)

            ns0.OvfExportFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfExportFailedFault_Dec_Holder"

    class OvfFaultFault_Dec(ElementDeclaration):
        literal = "OvfFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfFaultFault")
            kw["aname"] = "_OvfFaultFault"
            if ns0.OvfFault_Def not in ns0.OvfFaultFault_Dec.__bases__:
                bases = list(ns0.OvfFaultFault_Dec.__bases__)
                bases.insert(0, ns0.OvfFault_Def)
                ns0.OvfFaultFault_Dec.__bases__ = tuple(bases)

            ns0.OvfFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfFaultFault_Dec_Holder"

    class OvfHardwareCheckFault_Dec(ElementDeclaration):
        literal = "OvfHardwareCheckFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfHardwareCheckFault")
            kw["aname"] = "_OvfHardwareCheckFault"
            if ns0.OvfHardwareCheck_Def not in ns0.OvfHardwareCheckFault_Dec.__bases__:
                bases = list(ns0.OvfHardwareCheckFault_Dec.__bases__)
                bases.insert(0, ns0.OvfHardwareCheck_Def)
                ns0.OvfHardwareCheckFault_Dec.__bases__ = tuple(bases)

            ns0.OvfHardwareCheck_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfHardwareCheckFault_Dec_Holder"

    class OvfHardwareExportFault_Dec(ElementDeclaration):
        literal = "OvfHardwareExportFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfHardwareExportFault")
            kw["aname"] = "_OvfHardwareExportFault"
            if ns0.OvfHardwareExport_Def not in ns0.OvfHardwareExportFault_Dec.__bases__:
                bases = list(ns0.OvfHardwareExportFault_Dec.__bases__)
                bases.insert(0, ns0.OvfHardwareExport_Def)
                ns0.OvfHardwareExportFault_Dec.__bases__ = tuple(bases)

            ns0.OvfHardwareExport_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfHardwareExportFault_Dec_Holder"

    class OvfHostResourceConstraintFault_Dec(ElementDeclaration):
        literal = "OvfHostResourceConstraintFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfHostResourceConstraintFault")
            kw["aname"] = "_OvfHostResourceConstraintFault"
            if ns0.OvfHostResourceConstraint_Def not in ns0.OvfHostResourceConstraintFault_Dec.__bases__:
                bases = list(ns0.OvfHostResourceConstraintFault_Dec.__bases__)
                bases.insert(0, ns0.OvfHostResourceConstraint_Def)
                ns0.OvfHostResourceConstraintFault_Dec.__bases__ = tuple(bases)

            ns0.OvfHostResourceConstraint_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfHostResourceConstraintFault_Dec_Holder"

    class OvfHostValueNotParsedFault_Dec(ElementDeclaration):
        literal = "OvfHostValueNotParsedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfHostValueNotParsedFault")
            kw["aname"] = "_OvfHostValueNotParsedFault"
            if ns0.OvfHostValueNotParsed_Def not in ns0.OvfHostValueNotParsedFault_Dec.__bases__:
                bases = list(ns0.OvfHostValueNotParsedFault_Dec.__bases__)
                bases.insert(0, ns0.OvfHostValueNotParsed_Def)
                ns0.OvfHostValueNotParsedFault_Dec.__bases__ = tuple(bases)

            ns0.OvfHostValueNotParsed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfHostValueNotParsedFault_Dec_Holder"

    class OvfImportFault_Dec(ElementDeclaration):
        literal = "OvfImportFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfImportFault")
            kw["aname"] = "_OvfImportFault"
            if ns0.OvfImport_Def not in ns0.OvfImportFault_Dec.__bases__:
                bases = list(ns0.OvfImportFault_Dec.__bases__)
                bases.insert(0, ns0.OvfImport_Def)
                ns0.OvfImportFault_Dec.__bases__ = tuple(bases)

            ns0.OvfImport_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfImportFault_Dec_Holder"

    class OvfImportFailedFault_Dec(ElementDeclaration):
        literal = "OvfImportFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfImportFailedFault")
            kw["aname"] = "_OvfImportFailedFault"
            if ns0.OvfImportFailed_Def not in ns0.OvfImportFailedFault_Dec.__bases__:
                bases = list(ns0.OvfImportFailedFault_Dec.__bases__)
                bases.insert(0, ns0.OvfImportFailed_Def)
                ns0.OvfImportFailedFault_Dec.__bases__ = tuple(bases)

            ns0.OvfImportFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfImportFailedFault_Dec_Holder"

    class OvfInternalErrorFault_Dec(ElementDeclaration):
        literal = "OvfInternalErrorFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfInternalErrorFault")
            kw["aname"] = "_OvfInternalErrorFault"
            if ns0.OvfInternalError_Def not in ns0.OvfInternalErrorFault_Dec.__bases__:
                bases = list(ns0.OvfInternalErrorFault_Dec.__bases__)
                bases.insert(0, ns0.OvfInternalError_Def)
                ns0.OvfInternalErrorFault_Dec.__bases__ = tuple(bases)

            ns0.OvfInternalError_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfInternalErrorFault_Dec_Holder"

    class OvfInvalidPackageFault_Dec(ElementDeclaration):
        literal = "OvfInvalidPackageFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfInvalidPackageFault")
            kw["aname"] = "_OvfInvalidPackageFault"
            if ns0.OvfInvalidPackage_Def not in ns0.OvfInvalidPackageFault_Dec.__bases__:
                bases = list(ns0.OvfInvalidPackageFault_Dec.__bases__)
                bases.insert(0, ns0.OvfInvalidPackage_Def)
                ns0.OvfInvalidPackageFault_Dec.__bases__ = tuple(bases)

            ns0.OvfInvalidPackage_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfInvalidPackageFault_Dec_Holder"

    class OvfInvalidValueFault_Dec(ElementDeclaration):
        literal = "OvfInvalidValueFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfInvalidValueFault")
            kw["aname"] = "_OvfInvalidValueFault"
            if ns0.OvfInvalidValue_Def not in ns0.OvfInvalidValueFault_Dec.__bases__:
                bases = list(ns0.OvfInvalidValueFault_Dec.__bases__)
                bases.insert(0, ns0.OvfInvalidValue_Def)
                ns0.OvfInvalidValueFault_Dec.__bases__ = tuple(bases)

            ns0.OvfInvalidValue_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfInvalidValueFault_Dec_Holder"

    class OvfInvalidValueConfigurationFault_Dec(ElementDeclaration):
        literal = "OvfInvalidValueConfigurationFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfInvalidValueConfigurationFault")
            kw["aname"] = "_OvfInvalidValueConfigurationFault"
            if ns0.OvfInvalidValueConfiguration_Def not in ns0.OvfInvalidValueConfigurationFault_Dec.__bases__:
                bases = list(ns0.OvfInvalidValueConfigurationFault_Dec.__bases__)
                bases.insert(0, ns0.OvfInvalidValueConfiguration_Def)
                ns0.OvfInvalidValueConfigurationFault_Dec.__bases__ = tuple(bases)

            ns0.OvfInvalidValueConfiguration_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfInvalidValueConfigurationFault_Dec_Holder"

    class OvfInvalidValueEmptyFault_Dec(ElementDeclaration):
        literal = "OvfInvalidValueEmptyFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfInvalidValueEmptyFault")
            kw["aname"] = "_OvfInvalidValueEmptyFault"
            if ns0.OvfInvalidValueEmpty_Def not in ns0.OvfInvalidValueEmptyFault_Dec.__bases__:
                bases = list(ns0.OvfInvalidValueEmptyFault_Dec.__bases__)
                bases.insert(0, ns0.OvfInvalidValueEmpty_Def)
                ns0.OvfInvalidValueEmptyFault_Dec.__bases__ = tuple(bases)

            ns0.OvfInvalidValueEmpty_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfInvalidValueEmptyFault_Dec_Holder"

    class OvfInvalidValueFormatMalformedFault_Dec(ElementDeclaration):
        literal = "OvfInvalidValueFormatMalformedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfInvalidValueFormatMalformedFault")
            kw["aname"] = "_OvfInvalidValueFormatMalformedFault"
            if ns0.OvfInvalidValueFormatMalformed_Def not in ns0.OvfInvalidValueFormatMalformedFault_Dec.__bases__:
                bases = list(ns0.OvfInvalidValueFormatMalformedFault_Dec.__bases__)
                bases.insert(0, ns0.OvfInvalidValueFormatMalformed_Def)
                ns0.OvfInvalidValueFormatMalformedFault_Dec.__bases__ = tuple(bases)

            ns0.OvfInvalidValueFormatMalformed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfInvalidValueFormatMalformedFault_Dec_Holder"

    class OvfInvalidValueReferenceFault_Dec(ElementDeclaration):
        literal = "OvfInvalidValueReferenceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfInvalidValueReferenceFault")
            kw["aname"] = "_OvfInvalidValueReferenceFault"
            if ns0.OvfInvalidValueReference_Def not in ns0.OvfInvalidValueReferenceFault_Dec.__bases__:
                bases = list(ns0.OvfInvalidValueReferenceFault_Dec.__bases__)
                bases.insert(0, ns0.OvfInvalidValueReference_Def)
                ns0.OvfInvalidValueReferenceFault_Dec.__bases__ = tuple(bases)

            ns0.OvfInvalidValueReference_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfInvalidValueReferenceFault_Dec_Holder"

    class OvfInvalidVmNameFault_Dec(ElementDeclaration):
        literal = "OvfInvalidVmNameFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfInvalidVmNameFault")
            kw["aname"] = "_OvfInvalidVmNameFault"
            if ns0.OvfInvalidVmName_Def not in ns0.OvfInvalidVmNameFault_Dec.__bases__:
                bases = list(ns0.OvfInvalidVmNameFault_Dec.__bases__)
                bases.insert(0, ns0.OvfInvalidVmName_Def)
                ns0.OvfInvalidVmNameFault_Dec.__bases__ = tuple(bases)

            ns0.OvfInvalidVmName_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfInvalidVmNameFault_Dec_Holder"

    class OvfMappedOsIdFault_Dec(ElementDeclaration):
        literal = "OvfMappedOsIdFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfMappedOsIdFault")
            kw["aname"] = "_OvfMappedOsIdFault"
            if ns0.OvfMappedOsId_Def not in ns0.OvfMappedOsIdFault_Dec.__bases__:
                bases = list(ns0.OvfMappedOsIdFault_Dec.__bases__)
                bases.insert(0, ns0.OvfMappedOsId_Def)
                ns0.OvfMappedOsIdFault_Dec.__bases__ = tuple(bases)

            ns0.OvfMappedOsId_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfMappedOsIdFault_Dec_Holder"

    class OvfMissingAttributeFault_Dec(ElementDeclaration):
        literal = "OvfMissingAttributeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfMissingAttributeFault")
            kw["aname"] = "_OvfMissingAttributeFault"
            if ns0.OvfMissingAttribute_Def not in ns0.OvfMissingAttributeFault_Dec.__bases__:
                bases = list(ns0.OvfMissingAttributeFault_Dec.__bases__)
                bases.insert(0, ns0.OvfMissingAttribute_Def)
                ns0.OvfMissingAttributeFault_Dec.__bases__ = tuple(bases)

            ns0.OvfMissingAttribute_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfMissingAttributeFault_Dec_Holder"

    class OvfMissingElementFault_Dec(ElementDeclaration):
        literal = "OvfMissingElementFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfMissingElementFault")
            kw["aname"] = "_OvfMissingElementFault"
            if ns0.OvfMissingElement_Def not in ns0.OvfMissingElementFault_Dec.__bases__:
                bases = list(ns0.OvfMissingElementFault_Dec.__bases__)
                bases.insert(0, ns0.OvfMissingElement_Def)
                ns0.OvfMissingElementFault_Dec.__bases__ = tuple(bases)

            ns0.OvfMissingElement_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfMissingElementFault_Dec_Holder"

    class OvfMissingElementNormalBoundaryFault_Dec(ElementDeclaration):
        literal = "OvfMissingElementNormalBoundaryFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfMissingElementNormalBoundaryFault")
            kw["aname"] = "_OvfMissingElementNormalBoundaryFault"
            if ns0.OvfMissingElementNormalBoundary_Def not in ns0.OvfMissingElementNormalBoundaryFault_Dec.__bases__:
                bases = list(ns0.OvfMissingElementNormalBoundaryFault_Dec.__bases__)
                bases.insert(0, ns0.OvfMissingElementNormalBoundary_Def)
                ns0.OvfMissingElementNormalBoundaryFault_Dec.__bases__ = tuple(bases)

            ns0.OvfMissingElementNormalBoundary_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfMissingElementNormalBoundaryFault_Dec_Holder"

    class OvfMissingHardwareFault_Dec(ElementDeclaration):
        literal = "OvfMissingHardwareFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfMissingHardwareFault")
            kw["aname"] = "_OvfMissingHardwareFault"
            if ns0.OvfMissingHardware_Def not in ns0.OvfMissingHardwareFault_Dec.__bases__:
                bases = list(ns0.OvfMissingHardwareFault_Dec.__bases__)
                bases.insert(0, ns0.OvfMissingHardware_Def)
                ns0.OvfMissingHardwareFault_Dec.__bases__ = tuple(bases)

            ns0.OvfMissingHardware_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfMissingHardwareFault_Dec_Holder"

    class OvfNetworkMappingNotSupportedFault_Dec(ElementDeclaration):
        literal = "OvfNetworkMappingNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfNetworkMappingNotSupportedFault")
            kw["aname"] = "_OvfNetworkMappingNotSupportedFault"
            if ns0.OvfNetworkMappingNotSupported_Def not in ns0.OvfNetworkMappingNotSupportedFault_Dec.__bases__:
                bases = list(ns0.OvfNetworkMappingNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.OvfNetworkMappingNotSupported_Def)
                ns0.OvfNetworkMappingNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.OvfNetworkMappingNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfNetworkMappingNotSupportedFault_Dec_Holder"

    class OvfNoHostNicFault_Dec(ElementDeclaration):
        literal = "OvfNoHostNicFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfNoHostNicFault")
            kw["aname"] = "_OvfNoHostNicFault"
            if ns0.OvfNoHostNic_Def not in ns0.OvfNoHostNicFault_Dec.__bases__:
                bases = list(ns0.OvfNoHostNicFault_Dec.__bases__)
                bases.insert(0, ns0.OvfNoHostNic_Def)
                ns0.OvfNoHostNicFault_Dec.__bases__ = tuple(bases)

            ns0.OvfNoHostNic_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfNoHostNicFault_Dec_Holder"

    class OvfNoSpaceOnControllerFault_Dec(ElementDeclaration):
        literal = "OvfNoSpaceOnControllerFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfNoSpaceOnControllerFault")
            kw["aname"] = "_OvfNoSpaceOnControllerFault"
            if ns0.OvfNoSpaceOnController_Def not in ns0.OvfNoSpaceOnControllerFault_Dec.__bases__:
                bases = list(ns0.OvfNoSpaceOnControllerFault_Dec.__bases__)
                bases.insert(0, ns0.OvfNoSpaceOnController_Def)
                ns0.OvfNoSpaceOnControllerFault_Dec.__bases__ = tuple(bases)

            ns0.OvfNoSpaceOnController_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfNoSpaceOnControllerFault_Dec_Holder"

    class OvfNoSupportedHardwareFamilyFault_Dec(ElementDeclaration):
        literal = "OvfNoSupportedHardwareFamilyFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfNoSupportedHardwareFamilyFault")
            kw["aname"] = "_OvfNoSupportedHardwareFamilyFault"
            if ns0.OvfNoSupportedHardwareFamily_Def not in ns0.OvfNoSupportedHardwareFamilyFault_Dec.__bases__:
                bases = list(ns0.OvfNoSupportedHardwareFamilyFault_Dec.__bases__)
                bases.insert(0, ns0.OvfNoSupportedHardwareFamily_Def)
                ns0.OvfNoSupportedHardwareFamilyFault_Dec.__bases__ = tuple(bases)

            ns0.OvfNoSupportedHardwareFamily_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfNoSupportedHardwareFamilyFault_Dec_Holder"

    class OvfPropertyFault_Dec(ElementDeclaration):
        literal = "OvfPropertyFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfPropertyFault")
            kw["aname"] = "_OvfPropertyFault"
            if ns0.OvfProperty_Def not in ns0.OvfPropertyFault_Dec.__bases__:
                bases = list(ns0.OvfPropertyFault_Dec.__bases__)
                bases.insert(0, ns0.OvfProperty_Def)
                ns0.OvfPropertyFault_Dec.__bases__ = tuple(bases)

            ns0.OvfProperty_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfPropertyFault_Dec_Holder"

    class OvfPropertyExportFault_Dec(ElementDeclaration):
        literal = "OvfPropertyExportFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfPropertyExportFault")
            kw["aname"] = "_OvfPropertyExportFault"
            if ns0.OvfPropertyExport_Def not in ns0.OvfPropertyExportFault_Dec.__bases__:
                bases = list(ns0.OvfPropertyExportFault_Dec.__bases__)
                bases.insert(0, ns0.OvfPropertyExport_Def)
                ns0.OvfPropertyExportFault_Dec.__bases__ = tuple(bases)

            ns0.OvfPropertyExport_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfPropertyExportFault_Dec_Holder"

    class OvfPropertyNetworkFault_Dec(ElementDeclaration):
        literal = "OvfPropertyNetworkFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfPropertyNetworkFault")
            kw["aname"] = "_OvfPropertyNetworkFault"
            if ns0.OvfPropertyNetwork_Def not in ns0.OvfPropertyNetworkFault_Dec.__bases__:
                bases = list(ns0.OvfPropertyNetworkFault_Dec.__bases__)
                bases.insert(0, ns0.OvfPropertyNetwork_Def)
                ns0.OvfPropertyNetworkFault_Dec.__bases__ = tuple(bases)

            ns0.OvfPropertyNetwork_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfPropertyNetworkFault_Dec_Holder"

    class OvfPropertyNetworkExportFault_Dec(ElementDeclaration):
        literal = "OvfPropertyNetworkExportFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfPropertyNetworkExportFault")
            kw["aname"] = "_OvfPropertyNetworkExportFault"
            if ns0.OvfPropertyNetworkExport_Def not in ns0.OvfPropertyNetworkExportFault_Dec.__bases__:
                bases = list(ns0.OvfPropertyNetworkExportFault_Dec.__bases__)
                bases.insert(0, ns0.OvfPropertyNetworkExport_Def)
                ns0.OvfPropertyNetworkExportFault_Dec.__bases__ = tuple(bases)

            ns0.OvfPropertyNetworkExport_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfPropertyNetworkExportFault_Dec_Holder"

    class OvfPropertyQualifierFault_Dec(ElementDeclaration):
        literal = "OvfPropertyQualifierFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfPropertyQualifierFault")
            kw["aname"] = "_OvfPropertyQualifierFault"
            if ns0.OvfPropertyQualifier_Def not in ns0.OvfPropertyQualifierFault_Dec.__bases__:
                bases = list(ns0.OvfPropertyQualifierFault_Dec.__bases__)
                bases.insert(0, ns0.OvfPropertyQualifier_Def)
                ns0.OvfPropertyQualifierFault_Dec.__bases__ = tuple(bases)

            ns0.OvfPropertyQualifier_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfPropertyQualifierFault_Dec_Holder"

    class OvfPropertyQualifierDuplicateFault_Dec(ElementDeclaration):
        literal = "OvfPropertyQualifierDuplicateFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfPropertyQualifierDuplicateFault")
            kw["aname"] = "_OvfPropertyQualifierDuplicateFault"
            if ns0.OvfPropertyQualifierDuplicate_Def not in ns0.OvfPropertyQualifierDuplicateFault_Dec.__bases__:
                bases = list(ns0.OvfPropertyQualifierDuplicateFault_Dec.__bases__)
                bases.insert(0, ns0.OvfPropertyQualifierDuplicate_Def)
                ns0.OvfPropertyQualifierDuplicateFault_Dec.__bases__ = tuple(bases)

            ns0.OvfPropertyQualifierDuplicate_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfPropertyQualifierDuplicateFault_Dec_Holder"

    class OvfPropertyQualifierIgnoredFault_Dec(ElementDeclaration):
        literal = "OvfPropertyQualifierIgnoredFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfPropertyQualifierIgnoredFault")
            kw["aname"] = "_OvfPropertyQualifierIgnoredFault"
            if ns0.OvfPropertyQualifierIgnored_Def not in ns0.OvfPropertyQualifierIgnoredFault_Dec.__bases__:
                bases = list(ns0.OvfPropertyQualifierIgnoredFault_Dec.__bases__)
                bases.insert(0, ns0.OvfPropertyQualifierIgnored_Def)
                ns0.OvfPropertyQualifierIgnoredFault_Dec.__bases__ = tuple(bases)

            ns0.OvfPropertyQualifierIgnored_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfPropertyQualifierIgnoredFault_Dec_Holder"

    class OvfPropertyTypeFault_Dec(ElementDeclaration):
        literal = "OvfPropertyTypeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfPropertyTypeFault")
            kw["aname"] = "_OvfPropertyTypeFault"
            if ns0.OvfPropertyType_Def not in ns0.OvfPropertyTypeFault_Dec.__bases__:
                bases = list(ns0.OvfPropertyTypeFault_Dec.__bases__)
                bases.insert(0, ns0.OvfPropertyType_Def)
                ns0.OvfPropertyTypeFault_Dec.__bases__ = tuple(bases)

            ns0.OvfPropertyType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfPropertyTypeFault_Dec_Holder"

    class OvfPropertyValueFault_Dec(ElementDeclaration):
        literal = "OvfPropertyValueFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfPropertyValueFault")
            kw["aname"] = "_OvfPropertyValueFault"
            if ns0.OvfPropertyValue_Def not in ns0.OvfPropertyValueFault_Dec.__bases__:
                bases = list(ns0.OvfPropertyValueFault_Dec.__bases__)
                bases.insert(0, ns0.OvfPropertyValue_Def)
                ns0.OvfPropertyValueFault_Dec.__bases__ = tuple(bases)

            ns0.OvfPropertyValue_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfPropertyValueFault_Dec_Holder"

    class OvfSystemFaultFault_Dec(ElementDeclaration):
        literal = "OvfSystemFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfSystemFaultFault")
            kw["aname"] = "_OvfSystemFaultFault"
            if ns0.OvfSystemFault_Def not in ns0.OvfSystemFaultFault_Dec.__bases__:
                bases = list(ns0.OvfSystemFaultFault_Dec.__bases__)
                bases.insert(0, ns0.OvfSystemFault_Def)
                ns0.OvfSystemFaultFault_Dec.__bases__ = tuple(bases)

            ns0.OvfSystemFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfSystemFaultFault_Dec_Holder"

    class OvfToXmlUnsupportedElementFault_Dec(ElementDeclaration):
        literal = "OvfToXmlUnsupportedElementFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfToXmlUnsupportedElementFault")
            kw["aname"] = "_OvfToXmlUnsupportedElementFault"
            if ns0.OvfToXmlUnsupportedElement_Def not in ns0.OvfToXmlUnsupportedElementFault_Dec.__bases__:
                bases = list(ns0.OvfToXmlUnsupportedElementFault_Dec.__bases__)
                bases.insert(0, ns0.OvfToXmlUnsupportedElement_Def)
                ns0.OvfToXmlUnsupportedElementFault_Dec.__bases__ = tuple(bases)

            ns0.OvfToXmlUnsupportedElement_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfToXmlUnsupportedElementFault_Dec_Holder"

    class OvfUnableToExportDiskFault_Dec(ElementDeclaration):
        literal = "OvfUnableToExportDiskFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnableToExportDiskFault")
            kw["aname"] = "_OvfUnableToExportDiskFault"
            if ns0.OvfUnableToExportDisk_Def not in ns0.OvfUnableToExportDiskFault_Dec.__bases__:
                bases = list(ns0.OvfUnableToExportDiskFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnableToExportDisk_Def)
                ns0.OvfUnableToExportDiskFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnableToExportDisk_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnableToExportDiskFault_Dec_Holder"

    class OvfUnexpectedElementFault_Dec(ElementDeclaration):
        literal = "OvfUnexpectedElementFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnexpectedElementFault")
            kw["aname"] = "_OvfUnexpectedElementFault"
            if ns0.OvfUnexpectedElement_Def not in ns0.OvfUnexpectedElementFault_Dec.__bases__:
                bases = list(ns0.OvfUnexpectedElementFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnexpectedElement_Def)
                ns0.OvfUnexpectedElementFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnexpectedElement_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnexpectedElementFault_Dec_Holder"

    class OvfUnknownDeviceFault_Dec(ElementDeclaration):
        literal = "OvfUnknownDeviceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnknownDeviceFault")
            kw["aname"] = "_OvfUnknownDeviceFault"
            if ns0.OvfUnknownDevice_Def not in ns0.OvfUnknownDeviceFault_Dec.__bases__:
                bases = list(ns0.OvfUnknownDeviceFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnknownDevice_Def)
                ns0.OvfUnknownDeviceFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnknownDevice_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnknownDeviceFault_Dec_Holder"

    class OvfUnknownDeviceBackingFault_Dec(ElementDeclaration):
        literal = "OvfUnknownDeviceBackingFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnknownDeviceBackingFault")
            kw["aname"] = "_OvfUnknownDeviceBackingFault"
            if ns0.OvfUnknownDeviceBacking_Def not in ns0.OvfUnknownDeviceBackingFault_Dec.__bases__:
                bases = list(ns0.OvfUnknownDeviceBackingFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnknownDeviceBacking_Def)
                ns0.OvfUnknownDeviceBackingFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnknownDeviceBacking_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnknownDeviceBackingFault_Dec_Holder"

    class OvfUnknownEntityFault_Dec(ElementDeclaration):
        literal = "OvfUnknownEntityFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnknownEntityFault")
            kw["aname"] = "_OvfUnknownEntityFault"
            if ns0.OvfUnknownEntity_Def not in ns0.OvfUnknownEntityFault_Dec.__bases__:
                bases = list(ns0.OvfUnknownEntityFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnknownEntity_Def)
                ns0.OvfUnknownEntityFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnknownEntity_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnknownEntityFault_Dec_Holder"

    class OvfUnsupportedAttributeFault_Dec(ElementDeclaration):
        literal = "OvfUnsupportedAttributeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnsupportedAttributeFault")
            kw["aname"] = "_OvfUnsupportedAttributeFault"
            if ns0.OvfUnsupportedAttribute_Def not in ns0.OvfUnsupportedAttributeFault_Dec.__bases__:
                bases = list(ns0.OvfUnsupportedAttributeFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnsupportedAttribute_Def)
                ns0.OvfUnsupportedAttributeFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnsupportedAttribute_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnsupportedAttributeFault_Dec_Holder"

    class OvfUnsupportedAttributeValueFault_Dec(ElementDeclaration):
        literal = "OvfUnsupportedAttributeValueFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnsupportedAttributeValueFault")
            kw["aname"] = "_OvfUnsupportedAttributeValueFault"
            if ns0.OvfUnsupportedAttributeValue_Def not in ns0.OvfUnsupportedAttributeValueFault_Dec.__bases__:
                bases = list(ns0.OvfUnsupportedAttributeValueFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnsupportedAttributeValue_Def)
                ns0.OvfUnsupportedAttributeValueFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnsupportedAttributeValue_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnsupportedAttributeValueFault_Dec_Holder"

    class OvfUnsupportedDeviceBackingInfoFault_Dec(ElementDeclaration):
        literal = "OvfUnsupportedDeviceBackingInfoFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnsupportedDeviceBackingInfoFault")
            kw["aname"] = "_OvfUnsupportedDeviceBackingInfoFault"
            if ns0.OvfUnsupportedDeviceBackingInfo_Def not in ns0.OvfUnsupportedDeviceBackingInfoFault_Dec.__bases__:
                bases = list(ns0.OvfUnsupportedDeviceBackingInfoFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnsupportedDeviceBackingInfo_Def)
                ns0.OvfUnsupportedDeviceBackingInfoFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnsupportedDeviceBackingInfo_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnsupportedDeviceBackingInfoFault_Dec_Holder"

    class OvfUnsupportedDeviceBackingOptionFault_Dec(ElementDeclaration):
        literal = "OvfUnsupportedDeviceBackingOptionFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnsupportedDeviceBackingOptionFault")
            kw["aname"] = "_OvfUnsupportedDeviceBackingOptionFault"
            if ns0.OvfUnsupportedDeviceBackingOption_Def not in ns0.OvfUnsupportedDeviceBackingOptionFault_Dec.__bases__:
                bases = list(ns0.OvfUnsupportedDeviceBackingOptionFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnsupportedDeviceBackingOption_Def)
                ns0.OvfUnsupportedDeviceBackingOptionFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnsupportedDeviceBackingOption_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnsupportedDeviceBackingOptionFault_Dec_Holder"

    class OvfUnsupportedDeviceExportFault_Dec(ElementDeclaration):
        literal = "OvfUnsupportedDeviceExportFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnsupportedDeviceExportFault")
            kw["aname"] = "_OvfUnsupportedDeviceExportFault"
            if ns0.OvfUnsupportedDeviceExport_Def not in ns0.OvfUnsupportedDeviceExportFault_Dec.__bases__:
                bases = list(ns0.OvfUnsupportedDeviceExportFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnsupportedDeviceExport_Def)
                ns0.OvfUnsupportedDeviceExportFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnsupportedDeviceExport_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnsupportedDeviceExportFault_Dec_Holder"

    class OvfUnsupportedDiskProvisioningFault_Dec(ElementDeclaration):
        literal = "OvfUnsupportedDiskProvisioningFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnsupportedDiskProvisioningFault")
            kw["aname"] = "_OvfUnsupportedDiskProvisioningFault"
            if ns0.OvfUnsupportedDiskProvisioning_Def not in ns0.OvfUnsupportedDiskProvisioningFault_Dec.__bases__:
                bases = list(ns0.OvfUnsupportedDiskProvisioningFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnsupportedDiskProvisioning_Def)
                ns0.OvfUnsupportedDiskProvisioningFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnsupportedDiskProvisioning_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnsupportedDiskProvisioningFault_Dec_Holder"

    class OvfUnsupportedElementFault_Dec(ElementDeclaration):
        literal = "OvfUnsupportedElementFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnsupportedElementFault")
            kw["aname"] = "_OvfUnsupportedElementFault"
            if ns0.OvfUnsupportedElement_Def not in ns0.OvfUnsupportedElementFault_Dec.__bases__:
                bases = list(ns0.OvfUnsupportedElementFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnsupportedElement_Def)
                ns0.OvfUnsupportedElementFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnsupportedElement_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnsupportedElementFault_Dec_Holder"

    class OvfUnsupportedElementValueFault_Dec(ElementDeclaration):
        literal = "OvfUnsupportedElementValueFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnsupportedElementValueFault")
            kw["aname"] = "_OvfUnsupportedElementValueFault"
            if ns0.OvfUnsupportedElementValue_Def not in ns0.OvfUnsupportedElementValueFault_Dec.__bases__:
                bases = list(ns0.OvfUnsupportedElementValueFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnsupportedElementValue_Def)
                ns0.OvfUnsupportedElementValueFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnsupportedElementValue_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnsupportedElementValueFault_Dec_Holder"

    class OvfUnsupportedPackageFault_Dec(ElementDeclaration):
        literal = "OvfUnsupportedPackageFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnsupportedPackageFault")
            kw["aname"] = "_OvfUnsupportedPackageFault"
            if ns0.OvfUnsupportedPackage_Def not in ns0.OvfUnsupportedPackageFault_Dec.__bases__:
                bases = list(ns0.OvfUnsupportedPackageFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnsupportedPackage_Def)
                ns0.OvfUnsupportedPackageFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnsupportedPackage_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnsupportedPackageFault_Dec_Holder"

    class OvfUnsupportedSectionFault_Dec(ElementDeclaration):
        literal = "OvfUnsupportedSectionFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnsupportedSectionFault")
            kw["aname"] = "_OvfUnsupportedSectionFault"
            if ns0.OvfUnsupportedSection_Def not in ns0.OvfUnsupportedSectionFault_Dec.__bases__:
                bases = list(ns0.OvfUnsupportedSectionFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnsupportedSection_Def)
                ns0.OvfUnsupportedSectionFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnsupportedSection_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnsupportedSectionFault_Dec_Holder"

    class OvfUnsupportedSubTypeFault_Dec(ElementDeclaration):
        literal = "OvfUnsupportedSubTypeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnsupportedSubTypeFault")
            kw["aname"] = "_OvfUnsupportedSubTypeFault"
            if ns0.OvfUnsupportedSubType_Def not in ns0.OvfUnsupportedSubTypeFault_Dec.__bases__:
                bases = list(ns0.OvfUnsupportedSubTypeFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnsupportedSubType_Def)
                ns0.OvfUnsupportedSubTypeFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnsupportedSubType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnsupportedSubTypeFault_Dec_Holder"

    class OvfUnsupportedTypeFault_Dec(ElementDeclaration):
        literal = "OvfUnsupportedTypeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfUnsupportedTypeFault")
            kw["aname"] = "_OvfUnsupportedTypeFault"
            if ns0.OvfUnsupportedType_Def not in ns0.OvfUnsupportedTypeFault_Dec.__bases__:
                bases = list(ns0.OvfUnsupportedTypeFault_Dec.__bases__)
                bases.insert(0, ns0.OvfUnsupportedType_Def)
                ns0.OvfUnsupportedTypeFault_Dec.__bases__ = tuple(bases)

            ns0.OvfUnsupportedType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfUnsupportedTypeFault_Dec_Holder"

    class OvfWrongElementFault_Dec(ElementDeclaration):
        literal = "OvfWrongElementFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfWrongElementFault")
            kw["aname"] = "_OvfWrongElementFault"
            if ns0.OvfWrongElement_Def not in ns0.OvfWrongElementFault_Dec.__bases__:
                bases = list(ns0.OvfWrongElementFault_Dec.__bases__)
                bases.insert(0, ns0.OvfWrongElement_Def)
                ns0.OvfWrongElementFault_Dec.__bases__ = tuple(bases)

            ns0.OvfWrongElement_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfWrongElementFault_Dec_Holder"

    class OvfWrongNamespaceFault_Dec(ElementDeclaration):
        literal = "OvfWrongNamespaceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfWrongNamespaceFault")
            kw["aname"] = "_OvfWrongNamespaceFault"
            if ns0.OvfWrongNamespace_Def not in ns0.OvfWrongNamespaceFault_Dec.__bases__:
                bases = list(ns0.OvfWrongNamespaceFault_Dec.__bases__)
                bases.insert(0, ns0.OvfWrongNamespace_Def)
                ns0.OvfWrongNamespaceFault_Dec.__bases__ = tuple(bases)

            ns0.OvfWrongNamespace_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfWrongNamespaceFault_Dec_Holder"

    class OvfXmlFormatFault_Dec(ElementDeclaration):
        literal = "OvfXmlFormatFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OvfXmlFormatFault")
            kw["aname"] = "_OvfXmlFormatFault"
            if ns0.OvfXmlFormat_Def not in ns0.OvfXmlFormatFault_Dec.__bases__:
                bases = list(ns0.OvfXmlFormatFault_Dec.__bases__)
                bases.insert(0, ns0.OvfXmlFormat_Def)
                ns0.OvfXmlFormatFault_Dec.__bases__ = tuple(bases)

            ns0.OvfXmlFormat_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OvfXmlFormatFault_Dec_Holder"

    class PatchAlreadyInstalledFault_Dec(ElementDeclaration):
        literal = "PatchAlreadyInstalledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PatchAlreadyInstalledFault")
            kw["aname"] = "_PatchAlreadyInstalledFault"
            if ns0.PatchAlreadyInstalled_Def not in ns0.PatchAlreadyInstalledFault_Dec.__bases__:
                bases = list(ns0.PatchAlreadyInstalledFault_Dec.__bases__)
                bases.insert(0, ns0.PatchAlreadyInstalled_Def)
                ns0.PatchAlreadyInstalledFault_Dec.__bases__ = tuple(bases)

            ns0.PatchAlreadyInstalled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PatchAlreadyInstalledFault_Dec_Holder"

    class PatchBinariesNotFoundFault_Dec(ElementDeclaration):
        literal = "PatchBinariesNotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PatchBinariesNotFoundFault")
            kw["aname"] = "_PatchBinariesNotFoundFault"
            if ns0.PatchBinariesNotFound_Def not in ns0.PatchBinariesNotFoundFault_Dec.__bases__:
                bases = list(ns0.PatchBinariesNotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.PatchBinariesNotFound_Def)
                ns0.PatchBinariesNotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.PatchBinariesNotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PatchBinariesNotFoundFault_Dec_Holder"

    class PatchInstallFailedFault_Dec(ElementDeclaration):
        literal = "PatchInstallFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PatchInstallFailedFault")
            kw["aname"] = "_PatchInstallFailedFault"
            if ns0.PatchInstallFailed_Def not in ns0.PatchInstallFailedFault_Dec.__bases__:
                bases = list(ns0.PatchInstallFailedFault_Dec.__bases__)
                bases.insert(0, ns0.PatchInstallFailed_Def)
                ns0.PatchInstallFailedFault_Dec.__bases__ = tuple(bases)

            ns0.PatchInstallFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PatchInstallFailedFault_Dec_Holder"

    class PatchIntegrityErrorFault_Dec(ElementDeclaration):
        literal = "PatchIntegrityErrorFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PatchIntegrityErrorFault")
            kw["aname"] = "_PatchIntegrityErrorFault"
            if ns0.PatchIntegrityError_Def not in ns0.PatchIntegrityErrorFault_Dec.__bases__:
                bases = list(ns0.PatchIntegrityErrorFault_Dec.__bases__)
                bases.insert(0, ns0.PatchIntegrityError_Def)
                ns0.PatchIntegrityErrorFault_Dec.__bases__ = tuple(bases)

            ns0.PatchIntegrityError_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PatchIntegrityErrorFault_Dec_Holder"

    class PatchMetadataCorruptedFault_Dec(ElementDeclaration):
        literal = "PatchMetadataCorruptedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PatchMetadataCorruptedFault")
            kw["aname"] = "_PatchMetadataCorruptedFault"
            if ns0.PatchMetadataCorrupted_Def not in ns0.PatchMetadataCorruptedFault_Dec.__bases__:
                bases = list(ns0.PatchMetadataCorruptedFault_Dec.__bases__)
                bases.insert(0, ns0.PatchMetadataCorrupted_Def)
                ns0.PatchMetadataCorruptedFault_Dec.__bases__ = tuple(bases)

            ns0.PatchMetadataCorrupted_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PatchMetadataCorruptedFault_Dec_Holder"

    class PatchMetadataInvalidFault_Dec(ElementDeclaration):
        literal = "PatchMetadataInvalidFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PatchMetadataInvalidFault")
            kw["aname"] = "_PatchMetadataInvalidFault"
            if ns0.PatchMetadataInvalid_Def not in ns0.PatchMetadataInvalidFault_Dec.__bases__:
                bases = list(ns0.PatchMetadataInvalidFault_Dec.__bases__)
                bases.insert(0, ns0.PatchMetadataInvalid_Def)
                ns0.PatchMetadataInvalidFault_Dec.__bases__ = tuple(bases)

            ns0.PatchMetadataInvalid_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PatchMetadataInvalidFault_Dec_Holder"

    class PatchMetadataNotFoundFault_Dec(ElementDeclaration):
        literal = "PatchMetadataNotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PatchMetadataNotFoundFault")
            kw["aname"] = "_PatchMetadataNotFoundFault"
            if ns0.PatchMetadataNotFound_Def not in ns0.PatchMetadataNotFoundFault_Dec.__bases__:
                bases = list(ns0.PatchMetadataNotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.PatchMetadataNotFound_Def)
                ns0.PatchMetadataNotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.PatchMetadataNotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PatchMetadataNotFoundFault_Dec_Holder"

    class PatchMissingDependenciesFault_Dec(ElementDeclaration):
        literal = "PatchMissingDependenciesFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PatchMissingDependenciesFault")
            kw["aname"] = "_PatchMissingDependenciesFault"
            if ns0.PatchMissingDependencies_Def not in ns0.PatchMissingDependenciesFault_Dec.__bases__:
                bases = list(ns0.PatchMissingDependenciesFault_Dec.__bases__)
                bases.insert(0, ns0.PatchMissingDependencies_Def)
                ns0.PatchMissingDependenciesFault_Dec.__bases__ = tuple(bases)

            ns0.PatchMissingDependencies_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PatchMissingDependenciesFault_Dec_Holder"

    class PatchNotApplicableFault_Dec(ElementDeclaration):
        literal = "PatchNotApplicableFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PatchNotApplicableFault")
            kw["aname"] = "_PatchNotApplicableFault"
            if ns0.PatchNotApplicable_Def not in ns0.PatchNotApplicableFault_Dec.__bases__:
                bases = list(ns0.PatchNotApplicableFault_Dec.__bases__)
                bases.insert(0, ns0.PatchNotApplicable_Def)
                ns0.PatchNotApplicableFault_Dec.__bases__ = tuple(bases)

            ns0.PatchNotApplicable_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PatchNotApplicableFault_Dec_Holder"

    class PatchSupersededFault_Dec(ElementDeclaration):
        literal = "PatchSupersededFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PatchSupersededFault")
            kw["aname"] = "_PatchSupersededFault"
            if ns0.PatchSuperseded_Def not in ns0.PatchSupersededFault_Dec.__bases__:
                bases = list(ns0.PatchSupersededFault_Dec.__bases__)
                bases.insert(0, ns0.PatchSuperseded_Def)
                ns0.PatchSupersededFault_Dec.__bases__ = tuple(bases)

            ns0.PatchSuperseded_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PatchSupersededFault_Dec_Holder"

    class PhysCompatRDMNotSupportedFault_Dec(ElementDeclaration):
        literal = "PhysCompatRDMNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PhysCompatRDMNotSupportedFault")
            kw["aname"] = "_PhysCompatRDMNotSupportedFault"
            if ns0.PhysCompatRDMNotSupported_Def not in ns0.PhysCompatRDMNotSupportedFault_Dec.__bases__:
                bases = list(ns0.PhysCompatRDMNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.PhysCompatRDMNotSupported_Def)
                ns0.PhysCompatRDMNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.PhysCompatRDMNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PhysCompatRDMNotSupportedFault_Dec_Holder"

    class PlatformConfigFaultFault_Dec(ElementDeclaration):
        literal = "PlatformConfigFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PlatformConfigFaultFault")
            kw["aname"] = "_PlatformConfigFaultFault"
            if ns0.PlatformConfigFault_Def not in ns0.PlatformConfigFaultFault_Dec.__bases__:
                bases = list(ns0.PlatformConfigFaultFault_Dec.__bases__)
                bases.insert(0, ns0.PlatformConfigFault_Def)
                ns0.PlatformConfigFaultFault_Dec.__bases__ = tuple(bases)

            ns0.PlatformConfigFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PlatformConfigFaultFault_Dec_Holder"

    class PowerOnFtSecondaryFailedFault_Dec(ElementDeclaration):
        literal = "PowerOnFtSecondaryFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PowerOnFtSecondaryFailedFault")
            kw["aname"] = "_PowerOnFtSecondaryFailedFault"
            if ns0.PowerOnFtSecondaryFailed_Def not in ns0.PowerOnFtSecondaryFailedFault_Dec.__bases__:
                bases = list(ns0.PowerOnFtSecondaryFailedFault_Dec.__bases__)
                bases.insert(0, ns0.PowerOnFtSecondaryFailed_Def)
                ns0.PowerOnFtSecondaryFailedFault_Dec.__bases__ = tuple(bases)

            ns0.PowerOnFtSecondaryFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PowerOnFtSecondaryFailedFault_Dec_Holder"

    class PowerOnFtSecondaryTimedoutFault_Dec(ElementDeclaration):
        literal = "PowerOnFtSecondaryTimedoutFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","PowerOnFtSecondaryTimedoutFault")
            kw["aname"] = "_PowerOnFtSecondaryTimedoutFault"
            if ns0.PowerOnFtSecondaryTimedout_Def not in ns0.PowerOnFtSecondaryTimedoutFault_Dec.__bases__:
                bases = list(ns0.PowerOnFtSecondaryTimedoutFault_Dec.__bases__)
                bases.insert(0, ns0.PowerOnFtSecondaryTimedout_Def)
                ns0.PowerOnFtSecondaryTimedoutFault_Dec.__bases__ = tuple(bases)

            ns0.PowerOnFtSecondaryTimedout_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "PowerOnFtSecondaryTimedoutFault_Dec_Holder"

    class ProfileUpdateFailedFault_Dec(ElementDeclaration):
        literal = "ProfileUpdateFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ProfileUpdateFailedFault")
            kw["aname"] = "_ProfileUpdateFailedFault"
            if ns0.ProfileUpdateFailed_Def not in ns0.ProfileUpdateFailedFault_Dec.__bases__:
                bases = list(ns0.ProfileUpdateFailedFault_Dec.__bases__)
                bases.insert(0, ns0.ProfileUpdateFailed_Def)
                ns0.ProfileUpdateFailedFault_Dec.__bases__ = tuple(bases)

            ns0.ProfileUpdateFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ProfileUpdateFailedFault_Dec_Holder"

    class QuarantineModeFaultFault_Dec(ElementDeclaration):
        literal = "QuarantineModeFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QuarantineModeFaultFault")
            kw["aname"] = "_QuarantineModeFaultFault"
            if ns0.QuarantineModeFault_Def not in ns0.QuarantineModeFaultFault_Dec.__bases__:
                bases = list(ns0.QuarantineModeFaultFault_Dec.__bases__)
                bases.insert(0, ns0.QuarantineModeFault_Def)
                ns0.QuarantineModeFaultFault_Dec.__bases__ = tuple(bases)

            ns0.QuarantineModeFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QuarantineModeFaultFault_Dec_Holder"

    class QuestionPendingFault_Dec(ElementDeclaration):
        literal = "QuestionPendingFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QuestionPendingFault")
            kw["aname"] = "_QuestionPendingFault"
            if ns0.QuestionPending_Def not in ns0.QuestionPendingFault_Dec.__bases__:
                bases = list(ns0.QuestionPendingFault_Dec.__bases__)
                bases.insert(0, ns0.QuestionPending_Def)
                ns0.QuestionPendingFault_Dec.__bases__ = tuple(bases)

            ns0.QuestionPending_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QuestionPendingFault_Dec_Holder"

    class QuiesceDatastoreIOForHAFailedFault_Dec(ElementDeclaration):
        literal = "QuiesceDatastoreIOForHAFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QuiesceDatastoreIOForHAFailedFault")
            kw["aname"] = "_QuiesceDatastoreIOForHAFailedFault"
            if ns0.QuiesceDatastoreIOForHAFailed_Def not in ns0.QuiesceDatastoreIOForHAFailedFault_Dec.__bases__:
                bases = list(ns0.QuiesceDatastoreIOForHAFailedFault_Dec.__bases__)
                bases.insert(0, ns0.QuiesceDatastoreIOForHAFailed_Def)
                ns0.QuiesceDatastoreIOForHAFailedFault_Dec.__bases__ = tuple(bases)

            ns0.QuiesceDatastoreIOForHAFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QuiesceDatastoreIOForHAFailedFault_Dec_Holder"

    class RDMConversionNotSupportedFault_Dec(ElementDeclaration):
        literal = "RDMConversionNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RDMConversionNotSupportedFault")
            kw["aname"] = "_RDMConversionNotSupportedFault"
            if ns0.RDMConversionNotSupported_Def not in ns0.RDMConversionNotSupportedFault_Dec.__bases__:
                bases = list(ns0.RDMConversionNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.RDMConversionNotSupported_Def)
                ns0.RDMConversionNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.RDMConversionNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RDMConversionNotSupportedFault_Dec_Holder"

    class RDMNotPreservedFault_Dec(ElementDeclaration):
        literal = "RDMNotPreservedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RDMNotPreservedFault")
            kw["aname"] = "_RDMNotPreservedFault"
            if ns0.RDMNotPreserved_Def not in ns0.RDMNotPreservedFault_Dec.__bases__:
                bases = list(ns0.RDMNotPreservedFault_Dec.__bases__)
                bases.insert(0, ns0.RDMNotPreserved_Def)
                ns0.RDMNotPreservedFault_Dec.__bases__ = tuple(bases)

            ns0.RDMNotPreserved_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RDMNotPreservedFault_Dec_Holder"

    class RDMNotSupportedFault_Dec(ElementDeclaration):
        literal = "RDMNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RDMNotSupportedFault")
            kw["aname"] = "_RDMNotSupportedFault"
            if ns0.RDMNotSupported_Def not in ns0.RDMNotSupportedFault_Dec.__bases__:
                bases = list(ns0.RDMNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.RDMNotSupported_Def)
                ns0.RDMNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.RDMNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RDMNotSupportedFault_Dec_Holder"

    class RDMNotSupportedOnDatastoreFault_Dec(ElementDeclaration):
        literal = "RDMNotSupportedOnDatastoreFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RDMNotSupportedOnDatastoreFault")
            kw["aname"] = "_RDMNotSupportedOnDatastoreFault"
            if ns0.RDMNotSupportedOnDatastore_Def not in ns0.RDMNotSupportedOnDatastoreFault_Dec.__bases__:
                bases = list(ns0.RDMNotSupportedOnDatastoreFault_Dec.__bases__)
                bases.insert(0, ns0.RDMNotSupportedOnDatastore_Def)
                ns0.RDMNotSupportedOnDatastoreFault_Dec.__bases__ = tuple(bases)

            ns0.RDMNotSupportedOnDatastore_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RDMNotSupportedOnDatastoreFault_Dec_Holder"

    class RDMPointsToInaccessibleDiskFault_Dec(ElementDeclaration):
        literal = "RDMPointsToInaccessibleDiskFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RDMPointsToInaccessibleDiskFault")
            kw["aname"] = "_RDMPointsToInaccessibleDiskFault"
            if ns0.RDMPointsToInaccessibleDisk_Def not in ns0.RDMPointsToInaccessibleDiskFault_Dec.__bases__:
                bases = list(ns0.RDMPointsToInaccessibleDiskFault_Dec.__bases__)
                bases.insert(0, ns0.RDMPointsToInaccessibleDisk_Def)
                ns0.RDMPointsToInaccessibleDiskFault_Dec.__bases__ = tuple(bases)

            ns0.RDMPointsToInaccessibleDisk_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RDMPointsToInaccessibleDiskFault_Dec_Holder"

    class RawDiskNotSupportedFault_Dec(ElementDeclaration):
        literal = "RawDiskNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RawDiskNotSupportedFault")
            kw["aname"] = "_RawDiskNotSupportedFault"
            if ns0.RawDiskNotSupported_Def not in ns0.RawDiskNotSupportedFault_Dec.__bases__:
                bases = list(ns0.RawDiskNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.RawDiskNotSupported_Def)
                ns0.RawDiskNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.RawDiskNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RawDiskNotSupportedFault_Dec_Holder"

    class ReadHostResourcePoolTreeFailedFault_Dec(ElementDeclaration):
        literal = "ReadHostResourcePoolTreeFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReadHostResourcePoolTreeFailedFault")
            kw["aname"] = "_ReadHostResourcePoolTreeFailedFault"
            if ns0.ReadHostResourcePoolTreeFailed_Def not in ns0.ReadHostResourcePoolTreeFailedFault_Dec.__bases__:
                bases = list(ns0.ReadHostResourcePoolTreeFailedFault_Dec.__bases__)
                bases.insert(0, ns0.ReadHostResourcePoolTreeFailed_Def)
                ns0.ReadHostResourcePoolTreeFailedFault_Dec.__bases__ = tuple(bases)

            ns0.ReadHostResourcePoolTreeFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReadHostResourcePoolTreeFailedFault_Dec_Holder"

    class ReadOnlyDisksWithLegacyDestinationFault_Dec(ElementDeclaration):
        literal = "ReadOnlyDisksWithLegacyDestinationFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReadOnlyDisksWithLegacyDestinationFault")
            kw["aname"] = "_ReadOnlyDisksWithLegacyDestinationFault"
            if ns0.ReadOnlyDisksWithLegacyDestination_Def not in ns0.ReadOnlyDisksWithLegacyDestinationFault_Dec.__bases__:
                bases = list(ns0.ReadOnlyDisksWithLegacyDestinationFault_Dec.__bases__)
                bases.insert(0, ns0.ReadOnlyDisksWithLegacyDestination_Def)
                ns0.ReadOnlyDisksWithLegacyDestinationFault_Dec.__bases__ = tuple(bases)

            ns0.ReadOnlyDisksWithLegacyDestination_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReadOnlyDisksWithLegacyDestinationFault_Dec_Holder"

    class RebootRequiredFault_Dec(ElementDeclaration):
        literal = "RebootRequiredFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RebootRequiredFault")
            kw["aname"] = "_RebootRequiredFault"
            if ns0.RebootRequired_Def not in ns0.RebootRequiredFault_Dec.__bases__:
                bases = list(ns0.RebootRequiredFault_Dec.__bases__)
                bases.insert(0, ns0.RebootRequired_Def)
                ns0.RebootRequiredFault_Dec.__bases__ = tuple(bases)

            ns0.RebootRequired_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RebootRequiredFault_Dec_Holder"

    class RecordReplayDisabledFault_Dec(ElementDeclaration):
        literal = "RecordReplayDisabledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RecordReplayDisabledFault")
            kw["aname"] = "_RecordReplayDisabledFault"
            if ns0.RecordReplayDisabled_Def not in ns0.RecordReplayDisabledFault_Dec.__bases__:
                bases = list(ns0.RecordReplayDisabledFault_Dec.__bases__)
                bases.insert(0, ns0.RecordReplayDisabled_Def)
                ns0.RecordReplayDisabledFault_Dec.__bases__ = tuple(bases)

            ns0.RecordReplayDisabled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RecordReplayDisabledFault_Dec_Holder"

    class RemoteDeviceNotSupportedFault_Dec(ElementDeclaration):
        literal = "RemoteDeviceNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoteDeviceNotSupportedFault")
            kw["aname"] = "_RemoteDeviceNotSupportedFault"
            if ns0.RemoteDeviceNotSupported_Def not in ns0.RemoteDeviceNotSupportedFault_Dec.__bases__:
                bases = list(ns0.RemoteDeviceNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.RemoteDeviceNotSupported_Def)
                ns0.RemoteDeviceNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.RemoteDeviceNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoteDeviceNotSupportedFault_Dec_Holder"

    class RemoveFailedFault_Dec(ElementDeclaration):
        literal = "RemoveFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveFailedFault")
            kw["aname"] = "_RemoveFailedFault"
            if ns0.RemoveFailed_Def not in ns0.RemoveFailedFault_Dec.__bases__:
                bases = list(ns0.RemoveFailedFault_Dec.__bases__)
                bases.insert(0, ns0.RemoveFailed_Def)
                ns0.RemoveFailedFault_Dec.__bases__ = tuple(bases)

            ns0.RemoveFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveFailedFault_Dec_Holder"

    class ReplicationConfigFaultFault_Dec(ElementDeclaration):
        literal = "ReplicationConfigFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReplicationConfigFaultFault")
            kw["aname"] = "_ReplicationConfigFaultFault"
            if ns0.ReplicationConfigFault_Def not in ns0.ReplicationConfigFaultFault_Dec.__bases__:
                bases = list(ns0.ReplicationConfigFaultFault_Dec.__bases__)
                bases.insert(0, ns0.ReplicationConfigFault_Def)
                ns0.ReplicationConfigFaultFault_Dec.__bases__ = tuple(bases)

            ns0.ReplicationConfigFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReplicationConfigFaultFault_Dec_Holder"

    class ReplicationDiskConfigFaultFault_Dec(ElementDeclaration):
        literal = "ReplicationDiskConfigFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReplicationDiskConfigFaultFault")
            kw["aname"] = "_ReplicationDiskConfigFaultFault"
            if ns0.ReplicationDiskConfigFault_Def not in ns0.ReplicationDiskConfigFaultFault_Dec.__bases__:
                bases = list(ns0.ReplicationDiskConfigFaultFault_Dec.__bases__)
                bases.insert(0, ns0.ReplicationDiskConfigFault_Def)
                ns0.ReplicationDiskConfigFaultFault_Dec.__bases__ = tuple(bases)

            ns0.ReplicationDiskConfigFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReplicationDiskConfigFaultFault_Dec_Holder"

    class ReplicationFaultFault_Dec(ElementDeclaration):
        literal = "ReplicationFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReplicationFaultFault")
            kw["aname"] = "_ReplicationFaultFault"
            if ns0.ReplicationFault_Def not in ns0.ReplicationFaultFault_Dec.__bases__:
                bases = list(ns0.ReplicationFaultFault_Dec.__bases__)
                bases.insert(0, ns0.ReplicationFault_Def)
                ns0.ReplicationFaultFault_Dec.__bases__ = tuple(bases)

            ns0.ReplicationFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReplicationFaultFault_Dec_Holder"

    class ReplicationIncompatibleWithFTFault_Dec(ElementDeclaration):
        literal = "ReplicationIncompatibleWithFTFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReplicationIncompatibleWithFTFault")
            kw["aname"] = "_ReplicationIncompatibleWithFTFault"
            if ns0.ReplicationIncompatibleWithFT_Def not in ns0.ReplicationIncompatibleWithFTFault_Dec.__bases__:
                bases = list(ns0.ReplicationIncompatibleWithFTFault_Dec.__bases__)
                bases.insert(0, ns0.ReplicationIncompatibleWithFT_Def)
                ns0.ReplicationIncompatibleWithFTFault_Dec.__bases__ = tuple(bases)

            ns0.ReplicationIncompatibleWithFT_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReplicationIncompatibleWithFTFault_Dec_Holder"

    class ReplicationInvalidOptionsFault_Dec(ElementDeclaration):
        literal = "ReplicationInvalidOptionsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReplicationInvalidOptionsFault")
            kw["aname"] = "_ReplicationInvalidOptionsFault"
            if ns0.ReplicationInvalidOptions_Def not in ns0.ReplicationInvalidOptionsFault_Dec.__bases__:
                bases = list(ns0.ReplicationInvalidOptionsFault_Dec.__bases__)
                bases.insert(0, ns0.ReplicationInvalidOptions_Def)
                ns0.ReplicationInvalidOptionsFault_Dec.__bases__ = tuple(bases)

            ns0.ReplicationInvalidOptions_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReplicationInvalidOptionsFault_Dec_Holder"

    class ReplicationNotSupportedOnHostFault_Dec(ElementDeclaration):
        literal = "ReplicationNotSupportedOnHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReplicationNotSupportedOnHostFault")
            kw["aname"] = "_ReplicationNotSupportedOnHostFault"
            if ns0.ReplicationNotSupportedOnHost_Def not in ns0.ReplicationNotSupportedOnHostFault_Dec.__bases__:
                bases = list(ns0.ReplicationNotSupportedOnHostFault_Dec.__bases__)
                bases.insert(0, ns0.ReplicationNotSupportedOnHost_Def)
                ns0.ReplicationNotSupportedOnHostFault_Dec.__bases__ = tuple(bases)

            ns0.ReplicationNotSupportedOnHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReplicationNotSupportedOnHostFault_Dec_Holder"

    class ReplicationVmConfigFaultFault_Dec(ElementDeclaration):
        literal = "ReplicationVmConfigFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReplicationVmConfigFaultFault")
            kw["aname"] = "_ReplicationVmConfigFaultFault"
            if ns0.ReplicationVmConfigFault_Def not in ns0.ReplicationVmConfigFaultFault_Dec.__bases__:
                bases = list(ns0.ReplicationVmConfigFaultFault_Dec.__bases__)
                bases.insert(0, ns0.ReplicationVmConfigFault_Def)
                ns0.ReplicationVmConfigFaultFault_Dec.__bases__ = tuple(bases)

            ns0.ReplicationVmConfigFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReplicationVmConfigFaultFault_Dec_Holder"

    class ReplicationVmFaultFault_Dec(ElementDeclaration):
        literal = "ReplicationVmFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReplicationVmFaultFault")
            kw["aname"] = "_ReplicationVmFaultFault"
            if ns0.ReplicationVmFault_Def not in ns0.ReplicationVmFaultFault_Dec.__bases__:
                bases = list(ns0.ReplicationVmFaultFault_Dec.__bases__)
                bases.insert(0, ns0.ReplicationVmFault_Def)
                ns0.ReplicationVmFaultFault_Dec.__bases__ = tuple(bases)

            ns0.ReplicationVmFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReplicationVmFaultFault_Dec_Holder"

    class ReplicationVmInProgressFaultFault_Dec(ElementDeclaration):
        literal = "ReplicationVmInProgressFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReplicationVmInProgressFaultFault")
            kw["aname"] = "_ReplicationVmInProgressFaultFault"
            if ns0.ReplicationVmInProgressFault_Def not in ns0.ReplicationVmInProgressFaultFault_Dec.__bases__:
                bases = list(ns0.ReplicationVmInProgressFaultFault_Dec.__bases__)
                bases.insert(0, ns0.ReplicationVmInProgressFault_Def)
                ns0.ReplicationVmInProgressFaultFault_Dec.__bases__ = tuple(bases)

            ns0.ReplicationVmInProgressFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReplicationVmInProgressFaultFault_Dec_Holder"

    class ResourceInUseFault_Dec(ElementDeclaration):
        literal = "ResourceInUseFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResourceInUseFault")
            kw["aname"] = "_ResourceInUseFault"
            if ns0.ResourceInUse_Def not in ns0.ResourceInUseFault_Dec.__bases__:
                bases = list(ns0.ResourceInUseFault_Dec.__bases__)
                bases.insert(0, ns0.ResourceInUse_Def)
                ns0.ResourceInUseFault_Dec.__bases__ = tuple(bases)

            ns0.ResourceInUse_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResourceInUseFault_Dec_Holder"

    class ResourceNotAvailableFault_Dec(ElementDeclaration):
        literal = "ResourceNotAvailableFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResourceNotAvailableFault")
            kw["aname"] = "_ResourceNotAvailableFault"
            if ns0.ResourceNotAvailable_Def not in ns0.ResourceNotAvailableFault_Dec.__bases__:
                bases = list(ns0.ResourceNotAvailableFault_Dec.__bases__)
                bases.insert(0, ns0.ResourceNotAvailable_Def)
                ns0.ResourceNotAvailableFault_Dec.__bases__ = tuple(bases)

            ns0.ResourceNotAvailable_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResourceNotAvailableFault_Dec_Holder"

    class RestrictedByAdministratorFault_Dec(ElementDeclaration):
        literal = "RestrictedByAdministratorFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RestrictedByAdministratorFault")
            kw["aname"] = "_RestrictedByAdministratorFault"
            if ns0.RestrictedByAdministrator_Def not in ns0.RestrictedByAdministratorFault_Dec.__bases__:
                bases = list(ns0.RestrictedByAdministratorFault_Dec.__bases__)
                bases.insert(0, ns0.RestrictedByAdministrator_Def)
                ns0.RestrictedByAdministratorFault_Dec.__bases__ = tuple(bases)

            ns0.RestrictedByAdministrator_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RestrictedByAdministratorFault_Dec_Holder"

    class RestrictedVersionFault_Dec(ElementDeclaration):
        literal = "RestrictedVersionFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RestrictedVersionFault")
            kw["aname"] = "_RestrictedVersionFault"
            if ns0.RestrictedVersion_Def not in ns0.RestrictedVersionFault_Dec.__bases__:
                bases = list(ns0.RestrictedVersionFault_Dec.__bases__)
                bases.insert(0, ns0.RestrictedVersion_Def)
                ns0.RestrictedVersionFault_Dec.__bases__ = tuple(bases)

            ns0.RestrictedVersion_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RestrictedVersionFault_Dec_Holder"

    class RollbackFailureFault_Dec(ElementDeclaration):
        literal = "RollbackFailureFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RollbackFailureFault")
            kw["aname"] = "_RollbackFailureFault"
            if ns0.RollbackFailure_Def not in ns0.RollbackFailureFault_Dec.__bases__:
                bases = list(ns0.RollbackFailureFault_Dec.__bases__)
                bases.insert(0, ns0.RollbackFailure_Def)
                ns0.RollbackFailureFault_Dec.__bases__ = tuple(bases)

            ns0.RollbackFailure_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RollbackFailureFault_Dec_Holder"

    class RuleViolationFault_Dec(ElementDeclaration):
        literal = "RuleViolationFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RuleViolationFault")
            kw["aname"] = "_RuleViolationFault"
            if ns0.RuleViolation_Def not in ns0.RuleViolationFault_Dec.__bases__:
                bases = list(ns0.RuleViolationFault_Dec.__bases__)
                bases.insert(0, ns0.RuleViolation_Def)
                ns0.RuleViolationFault_Dec.__bases__ = tuple(bases)

            ns0.RuleViolation_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RuleViolationFault_Dec_Holder"

    class SSLDisabledFaultFault_Dec(ElementDeclaration):
        literal = "SSLDisabledFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SSLDisabledFaultFault")
            kw["aname"] = "_SSLDisabledFaultFault"
            if ns0.SSLDisabledFault_Def not in ns0.SSLDisabledFaultFault_Dec.__bases__:
                bases = list(ns0.SSLDisabledFaultFault_Dec.__bases__)
                bases.insert(0, ns0.SSLDisabledFault_Def)
                ns0.SSLDisabledFaultFault_Dec.__bases__ = tuple(bases)

            ns0.SSLDisabledFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SSLDisabledFaultFault_Dec_Holder"

    class SSLVerifyFaultFault_Dec(ElementDeclaration):
        literal = "SSLVerifyFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SSLVerifyFaultFault")
            kw["aname"] = "_SSLVerifyFaultFault"
            if ns0.SSLVerifyFault_Def not in ns0.SSLVerifyFaultFault_Dec.__bases__:
                bases = list(ns0.SSLVerifyFaultFault_Dec.__bases__)
                bases.insert(0, ns0.SSLVerifyFault_Def)
                ns0.SSLVerifyFaultFault_Dec.__bases__ = tuple(bases)

            ns0.SSLVerifyFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SSLVerifyFaultFault_Dec_Holder"

    class SSPIChallengeFault_Dec(ElementDeclaration):
        literal = "SSPIChallengeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SSPIChallengeFault")
            kw["aname"] = "_SSPIChallengeFault"
            if ns0.SSPIChallenge_Def not in ns0.SSPIChallengeFault_Dec.__bases__:
                bases = list(ns0.SSPIChallengeFault_Dec.__bases__)
                bases.insert(0, ns0.SSPIChallenge_Def)
                ns0.SSPIChallengeFault_Dec.__bases__ = tuple(bases)

            ns0.SSPIChallenge_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SSPIChallengeFault_Dec_Holder"

    class SecondaryVmAlreadyDisabledFault_Dec(ElementDeclaration):
        literal = "SecondaryVmAlreadyDisabledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SecondaryVmAlreadyDisabledFault")
            kw["aname"] = "_SecondaryVmAlreadyDisabledFault"
            if ns0.SecondaryVmAlreadyDisabled_Def not in ns0.SecondaryVmAlreadyDisabledFault_Dec.__bases__:
                bases = list(ns0.SecondaryVmAlreadyDisabledFault_Dec.__bases__)
                bases.insert(0, ns0.SecondaryVmAlreadyDisabled_Def)
                ns0.SecondaryVmAlreadyDisabledFault_Dec.__bases__ = tuple(bases)

            ns0.SecondaryVmAlreadyDisabled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SecondaryVmAlreadyDisabledFault_Dec_Holder"

    class SecondaryVmAlreadyEnabledFault_Dec(ElementDeclaration):
        literal = "SecondaryVmAlreadyEnabledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SecondaryVmAlreadyEnabledFault")
            kw["aname"] = "_SecondaryVmAlreadyEnabledFault"
            if ns0.SecondaryVmAlreadyEnabled_Def not in ns0.SecondaryVmAlreadyEnabledFault_Dec.__bases__:
                bases = list(ns0.SecondaryVmAlreadyEnabledFault_Dec.__bases__)
                bases.insert(0, ns0.SecondaryVmAlreadyEnabled_Def)
                ns0.SecondaryVmAlreadyEnabledFault_Dec.__bases__ = tuple(bases)

            ns0.SecondaryVmAlreadyEnabled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SecondaryVmAlreadyEnabledFault_Dec_Holder"

    class SecondaryVmAlreadyRegisteredFault_Dec(ElementDeclaration):
        literal = "SecondaryVmAlreadyRegisteredFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SecondaryVmAlreadyRegisteredFault")
            kw["aname"] = "_SecondaryVmAlreadyRegisteredFault"
            if ns0.SecondaryVmAlreadyRegistered_Def not in ns0.SecondaryVmAlreadyRegisteredFault_Dec.__bases__:
                bases = list(ns0.SecondaryVmAlreadyRegisteredFault_Dec.__bases__)
                bases.insert(0, ns0.SecondaryVmAlreadyRegistered_Def)
                ns0.SecondaryVmAlreadyRegisteredFault_Dec.__bases__ = tuple(bases)

            ns0.SecondaryVmAlreadyRegistered_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SecondaryVmAlreadyRegisteredFault_Dec_Holder"

    class SecondaryVmNotRegisteredFault_Dec(ElementDeclaration):
        literal = "SecondaryVmNotRegisteredFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SecondaryVmNotRegisteredFault")
            kw["aname"] = "_SecondaryVmNotRegisteredFault"
            if ns0.SecondaryVmNotRegistered_Def not in ns0.SecondaryVmNotRegisteredFault_Dec.__bases__:
                bases = list(ns0.SecondaryVmNotRegisteredFault_Dec.__bases__)
                bases.insert(0, ns0.SecondaryVmNotRegistered_Def)
                ns0.SecondaryVmNotRegisteredFault_Dec.__bases__ = tuple(bases)

            ns0.SecondaryVmNotRegistered_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SecondaryVmNotRegisteredFault_Dec_Holder"

    class SharedBusControllerNotSupportedFault_Dec(ElementDeclaration):
        literal = "SharedBusControllerNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SharedBusControllerNotSupportedFault")
            kw["aname"] = "_SharedBusControllerNotSupportedFault"
            if ns0.SharedBusControllerNotSupported_Def not in ns0.SharedBusControllerNotSupportedFault_Dec.__bases__:
                bases = list(ns0.SharedBusControllerNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.SharedBusControllerNotSupported_Def)
                ns0.SharedBusControllerNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.SharedBusControllerNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SharedBusControllerNotSupportedFault_Dec_Holder"

    class ShrinkDiskFaultFault_Dec(ElementDeclaration):
        literal = "ShrinkDiskFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ShrinkDiskFaultFault")
            kw["aname"] = "_ShrinkDiskFaultFault"
            if ns0.ShrinkDiskFault_Def not in ns0.ShrinkDiskFaultFault_Dec.__bases__:
                bases = list(ns0.ShrinkDiskFaultFault_Dec.__bases__)
                bases.insert(0, ns0.ShrinkDiskFault_Def)
                ns0.ShrinkDiskFaultFault_Dec.__bases__ = tuple(bases)

            ns0.ShrinkDiskFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ShrinkDiskFaultFault_Dec_Holder"

    class SnapshotCloneNotSupportedFault_Dec(ElementDeclaration):
        literal = "SnapshotCloneNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SnapshotCloneNotSupportedFault")
            kw["aname"] = "_SnapshotCloneNotSupportedFault"
            if ns0.SnapshotCloneNotSupported_Def not in ns0.SnapshotCloneNotSupportedFault_Dec.__bases__:
                bases = list(ns0.SnapshotCloneNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.SnapshotCloneNotSupported_Def)
                ns0.SnapshotCloneNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.SnapshotCloneNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SnapshotCloneNotSupportedFault_Dec_Holder"

    class SnapshotCopyNotSupportedFault_Dec(ElementDeclaration):
        literal = "SnapshotCopyNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SnapshotCopyNotSupportedFault")
            kw["aname"] = "_SnapshotCopyNotSupportedFault"
            if ns0.SnapshotCopyNotSupported_Def not in ns0.SnapshotCopyNotSupportedFault_Dec.__bases__:
                bases = list(ns0.SnapshotCopyNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.SnapshotCopyNotSupported_Def)
                ns0.SnapshotCopyNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.SnapshotCopyNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SnapshotCopyNotSupportedFault_Dec_Holder"

    class SnapshotDisabledFault_Dec(ElementDeclaration):
        literal = "SnapshotDisabledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SnapshotDisabledFault")
            kw["aname"] = "_SnapshotDisabledFault"
            if ns0.SnapshotDisabled_Def not in ns0.SnapshotDisabledFault_Dec.__bases__:
                bases = list(ns0.SnapshotDisabledFault_Dec.__bases__)
                bases.insert(0, ns0.SnapshotDisabled_Def)
                ns0.SnapshotDisabledFault_Dec.__bases__ = tuple(bases)

            ns0.SnapshotDisabled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SnapshotDisabledFault_Dec_Holder"

    class SnapshotFaultFault_Dec(ElementDeclaration):
        literal = "SnapshotFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SnapshotFaultFault")
            kw["aname"] = "_SnapshotFaultFault"
            if ns0.SnapshotFault_Def not in ns0.SnapshotFaultFault_Dec.__bases__:
                bases = list(ns0.SnapshotFaultFault_Dec.__bases__)
                bases.insert(0, ns0.SnapshotFault_Def)
                ns0.SnapshotFaultFault_Dec.__bases__ = tuple(bases)

            ns0.SnapshotFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SnapshotFaultFault_Dec_Holder"

    class SnapshotIncompatibleDeviceInVmFault_Dec(ElementDeclaration):
        literal = "SnapshotIncompatibleDeviceInVmFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SnapshotIncompatibleDeviceInVmFault")
            kw["aname"] = "_SnapshotIncompatibleDeviceInVmFault"
            if ns0.SnapshotIncompatibleDeviceInVm_Def not in ns0.SnapshotIncompatibleDeviceInVmFault_Dec.__bases__:
                bases = list(ns0.SnapshotIncompatibleDeviceInVmFault_Dec.__bases__)
                bases.insert(0, ns0.SnapshotIncompatibleDeviceInVm_Def)
                ns0.SnapshotIncompatibleDeviceInVmFault_Dec.__bases__ = tuple(bases)

            ns0.SnapshotIncompatibleDeviceInVm_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SnapshotIncompatibleDeviceInVmFault_Dec_Holder"

    class SnapshotLockedFault_Dec(ElementDeclaration):
        literal = "SnapshotLockedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SnapshotLockedFault")
            kw["aname"] = "_SnapshotLockedFault"
            if ns0.SnapshotLocked_Def not in ns0.SnapshotLockedFault_Dec.__bases__:
                bases = list(ns0.SnapshotLockedFault_Dec.__bases__)
                bases.insert(0, ns0.SnapshotLocked_Def)
                ns0.SnapshotLockedFault_Dec.__bases__ = tuple(bases)

            ns0.SnapshotLocked_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SnapshotLockedFault_Dec_Holder"

    class SnapshotMoveFromNonHomeNotSupportedFault_Dec(ElementDeclaration):
        literal = "SnapshotMoveFromNonHomeNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SnapshotMoveFromNonHomeNotSupportedFault")
            kw["aname"] = "_SnapshotMoveFromNonHomeNotSupportedFault"
            if ns0.SnapshotMoveFromNonHomeNotSupported_Def not in ns0.SnapshotMoveFromNonHomeNotSupportedFault_Dec.__bases__:
                bases = list(ns0.SnapshotMoveFromNonHomeNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.SnapshotMoveFromNonHomeNotSupported_Def)
                ns0.SnapshotMoveFromNonHomeNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.SnapshotMoveFromNonHomeNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SnapshotMoveFromNonHomeNotSupportedFault_Dec_Holder"

    class SnapshotMoveNotSupportedFault_Dec(ElementDeclaration):
        literal = "SnapshotMoveNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SnapshotMoveNotSupportedFault")
            kw["aname"] = "_SnapshotMoveNotSupportedFault"
            if ns0.SnapshotMoveNotSupported_Def not in ns0.SnapshotMoveNotSupportedFault_Dec.__bases__:
                bases = list(ns0.SnapshotMoveNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.SnapshotMoveNotSupported_Def)
                ns0.SnapshotMoveNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.SnapshotMoveNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SnapshotMoveNotSupportedFault_Dec_Holder"

    class SnapshotMoveToNonHomeNotSupportedFault_Dec(ElementDeclaration):
        literal = "SnapshotMoveToNonHomeNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SnapshotMoveToNonHomeNotSupportedFault")
            kw["aname"] = "_SnapshotMoveToNonHomeNotSupportedFault"
            if ns0.SnapshotMoveToNonHomeNotSupported_Def not in ns0.SnapshotMoveToNonHomeNotSupportedFault_Dec.__bases__:
                bases = list(ns0.SnapshotMoveToNonHomeNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.SnapshotMoveToNonHomeNotSupported_Def)
                ns0.SnapshotMoveToNonHomeNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.SnapshotMoveToNonHomeNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SnapshotMoveToNonHomeNotSupportedFault_Dec_Holder"

    class SnapshotNoChangeFault_Dec(ElementDeclaration):
        literal = "SnapshotNoChangeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SnapshotNoChangeFault")
            kw["aname"] = "_SnapshotNoChangeFault"
            if ns0.SnapshotNoChange_Def not in ns0.SnapshotNoChangeFault_Dec.__bases__:
                bases = list(ns0.SnapshotNoChangeFault_Dec.__bases__)
                bases.insert(0, ns0.SnapshotNoChange_Def)
                ns0.SnapshotNoChangeFault_Dec.__bases__ = tuple(bases)

            ns0.SnapshotNoChange_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SnapshotNoChangeFault_Dec_Holder"

    class SnapshotRevertIssueFault_Dec(ElementDeclaration):
        literal = "SnapshotRevertIssueFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SnapshotRevertIssueFault")
            kw["aname"] = "_SnapshotRevertIssueFault"
            if ns0.SnapshotRevertIssue_Def not in ns0.SnapshotRevertIssueFault_Dec.__bases__:
                bases = list(ns0.SnapshotRevertIssueFault_Dec.__bases__)
                bases.insert(0, ns0.SnapshotRevertIssue_Def)
                ns0.SnapshotRevertIssueFault_Dec.__bases__ = tuple(bases)

            ns0.SnapshotRevertIssue_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SnapshotRevertIssueFault_Dec_Holder"

    class SoftRuleVioCorrectionDisallowedFault_Dec(ElementDeclaration):
        literal = "SoftRuleVioCorrectionDisallowedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SoftRuleVioCorrectionDisallowedFault")
            kw["aname"] = "_SoftRuleVioCorrectionDisallowedFault"
            if ns0.SoftRuleVioCorrectionDisallowed_Def not in ns0.SoftRuleVioCorrectionDisallowedFault_Dec.__bases__:
                bases = list(ns0.SoftRuleVioCorrectionDisallowedFault_Dec.__bases__)
                bases.insert(0, ns0.SoftRuleVioCorrectionDisallowed_Def)
                ns0.SoftRuleVioCorrectionDisallowedFault_Dec.__bases__ = tuple(bases)

            ns0.SoftRuleVioCorrectionDisallowed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SoftRuleVioCorrectionDisallowedFault_Dec_Holder"

    class SoftRuleVioCorrectionImpactFault_Dec(ElementDeclaration):
        literal = "SoftRuleVioCorrectionImpactFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SoftRuleVioCorrectionImpactFault")
            kw["aname"] = "_SoftRuleVioCorrectionImpactFault"
            if ns0.SoftRuleVioCorrectionImpact_Def not in ns0.SoftRuleVioCorrectionImpactFault_Dec.__bases__:
                bases = list(ns0.SoftRuleVioCorrectionImpactFault_Dec.__bases__)
                bases.insert(0, ns0.SoftRuleVioCorrectionImpact_Def)
                ns0.SoftRuleVioCorrectionImpactFault_Dec.__bases__ = tuple(bases)

            ns0.SoftRuleVioCorrectionImpact_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SoftRuleVioCorrectionImpactFault_Dec_Holder"

    class SsdDiskNotAvailableFault_Dec(ElementDeclaration):
        literal = "SsdDiskNotAvailableFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SsdDiskNotAvailableFault")
            kw["aname"] = "_SsdDiskNotAvailableFault"
            if ns0.SsdDiskNotAvailable_Def not in ns0.SsdDiskNotAvailableFault_Dec.__bases__:
                bases = list(ns0.SsdDiskNotAvailableFault_Dec.__bases__)
                bases.insert(0, ns0.SsdDiskNotAvailable_Def)
                ns0.SsdDiskNotAvailableFault_Dec.__bases__ = tuple(bases)

            ns0.SsdDiskNotAvailable_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SsdDiskNotAvailableFault_Dec_Holder"

    class StorageDrsCannotMoveDiskInMultiWriterModeFault_Dec(ElementDeclaration):
        literal = "StorageDrsCannotMoveDiskInMultiWriterModeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsCannotMoveDiskInMultiWriterModeFault")
            kw["aname"] = "_StorageDrsCannotMoveDiskInMultiWriterModeFault"
            if ns0.StorageDrsCannotMoveDiskInMultiWriterMode_Def not in ns0.StorageDrsCannotMoveDiskInMultiWriterModeFault_Dec.__bases__:
                bases = list(ns0.StorageDrsCannotMoveDiskInMultiWriterModeFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsCannotMoveDiskInMultiWriterMode_Def)
                ns0.StorageDrsCannotMoveDiskInMultiWriterModeFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsCannotMoveDiskInMultiWriterMode_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsCannotMoveDiskInMultiWriterModeFault_Dec_Holder"

    class StorageDrsCannotMoveFTVmFault_Dec(ElementDeclaration):
        literal = "StorageDrsCannotMoveFTVmFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsCannotMoveFTVmFault")
            kw["aname"] = "_StorageDrsCannotMoveFTVmFault"
            if ns0.StorageDrsCannotMoveFTVm_Def not in ns0.StorageDrsCannotMoveFTVmFault_Dec.__bases__:
                bases = list(ns0.StorageDrsCannotMoveFTVmFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsCannotMoveFTVm_Def)
                ns0.StorageDrsCannotMoveFTVmFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsCannotMoveFTVm_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsCannotMoveFTVmFault_Dec_Holder"

    class StorageDrsCannotMoveIndependentDiskFault_Dec(ElementDeclaration):
        literal = "StorageDrsCannotMoveIndependentDiskFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsCannotMoveIndependentDiskFault")
            kw["aname"] = "_StorageDrsCannotMoveIndependentDiskFault"
            if ns0.StorageDrsCannotMoveIndependentDisk_Def not in ns0.StorageDrsCannotMoveIndependentDiskFault_Dec.__bases__:
                bases = list(ns0.StorageDrsCannotMoveIndependentDiskFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsCannotMoveIndependentDisk_Def)
                ns0.StorageDrsCannotMoveIndependentDiskFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsCannotMoveIndependentDisk_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsCannotMoveIndependentDiskFault_Dec_Holder"

    class StorageDrsCannotMoveManuallyPlacedSwapFileFault_Dec(ElementDeclaration):
        literal = "StorageDrsCannotMoveManuallyPlacedSwapFileFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsCannotMoveManuallyPlacedSwapFileFault")
            kw["aname"] = "_StorageDrsCannotMoveManuallyPlacedSwapFileFault"
            if ns0.StorageDrsCannotMoveManuallyPlacedSwapFile_Def not in ns0.StorageDrsCannotMoveManuallyPlacedSwapFileFault_Dec.__bases__:
                bases = list(ns0.StorageDrsCannotMoveManuallyPlacedSwapFileFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsCannotMoveManuallyPlacedSwapFile_Def)
                ns0.StorageDrsCannotMoveManuallyPlacedSwapFileFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsCannotMoveManuallyPlacedSwapFile_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsCannotMoveManuallyPlacedSwapFileFault_Dec_Holder"

    class StorageDrsCannotMoveManuallyPlacedVmFault_Dec(ElementDeclaration):
        literal = "StorageDrsCannotMoveManuallyPlacedVmFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsCannotMoveManuallyPlacedVmFault")
            kw["aname"] = "_StorageDrsCannotMoveManuallyPlacedVmFault"
            if ns0.StorageDrsCannotMoveManuallyPlacedVm_Def not in ns0.StorageDrsCannotMoveManuallyPlacedVmFault_Dec.__bases__:
                bases = list(ns0.StorageDrsCannotMoveManuallyPlacedVmFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsCannotMoveManuallyPlacedVm_Def)
                ns0.StorageDrsCannotMoveManuallyPlacedVmFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsCannotMoveManuallyPlacedVm_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsCannotMoveManuallyPlacedVmFault_Dec_Holder"

    class StorageDrsCannotMoveSharedDiskFault_Dec(ElementDeclaration):
        literal = "StorageDrsCannotMoveSharedDiskFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsCannotMoveSharedDiskFault")
            kw["aname"] = "_StorageDrsCannotMoveSharedDiskFault"
            if ns0.StorageDrsCannotMoveSharedDisk_Def not in ns0.StorageDrsCannotMoveSharedDiskFault_Dec.__bases__:
                bases = list(ns0.StorageDrsCannotMoveSharedDiskFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsCannotMoveSharedDisk_Def)
                ns0.StorageDrsCannotMoveSharedDiskFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsCannotMoveSharedDisk_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsCannotMoveSharedDiskFault_Dec_Holder"

    class StorageDrsCannotMoveTemplateFault_Dec(ElementDeclaration):
        literal = "StorageDrsCannotMoveTemplateFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsCannotMoveTemplateFault")
            kw["aname"] = "_StorageDrsCannotMoveTemplateFault"
            if ns0.StorageDrsCannotMoveTemplate_Def not in ns0.StorageDrsCannotMoveTemplateFault_Dec.__bases__:
                bases = list(ns0.StorageDrsCannotMoveTemplateFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsCannotMoveTemplate_Def)
                ns0.StorageDrsCannotMoveTemplateFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsCannotMoveTemplate_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsCannotMoveTemplateFault_Dec_Holder"

    class StorageDrsCannotMoveVmInUserFolderFault_Dec(ElementDeclaration):
        literal = "StorageDrsCannotMoveVmInUserFolderFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsCannotMoveVmInUserFolderFault")
            kw["aname"] = "_StorageDrsCannotMoveVmInUserFolderFault"
            if ns0.StorageDrsCannotMoveVmInUserFolder_Def not in ns0.StorageDrsCannotMoveVmInUserFolderFault_Dec.__bases__:
                bases = list(ns0.StorageDrsCannotMoveVmInUserFolderFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsCannotMoveVmInUserFolder_Def)
                ns0.StorageDrsCannotMoveVmInUserFolderFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsCannotMoveVmInUserFolder_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsCannotMoveVmInUserFolderFault_Dec_Holder"

    class StorageDrsCannotMoveVmWithMountedCDROMFault_Dec(ElementDeclaration):
        literal = "StorageDrsCannotMoveVmWithMountedCDROMFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsCannotMoveVmWithMountedCDROMFault")
            kw["aname"] = "_StorageDrsCannotMoveVmWithMountedCDROMFault"
            if ns0.StorageDrsCannotMoveVmWithMountedCDROM_Def not in ns0.StorageDrsCannotMoveVmWithMountedCDROMFault_Dec.__bases__:
                bases = list(ns0.StorageDrsCannotMoveVmWithMountedCDROMFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsCannotMoveVmWithMountedCDROM_Def)
                ns0.StorageDrsCannotMoveVmWithMountedCDROMFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsCannotMoveVmWithMountedCDROM_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsCannotMoveVmWithMountedCDROMFault_Dec_Holder"

    class StorageDrsCannotMoveVmWithNoFilesInLayoutFault_Dec(ElementDeclaration):
        literal = "StorageDrsCannotMoveVmWithNoFilesInLayoutFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsCannotMoveVmWithNoFilesInLayoutFault")
            kw["aname"] = "_StorageDrsCannotMoveVmWithNoFilesInLayoutFault"
            if ns0.StorageDrsCannotMoveVmWithNoFilesInLayout_Def not in ns0.StorageDrsCannotMoveVmWithNoFilesInLayoutFault_Dec.__bases__:
                bases = list(ns0.StorageDrsCannotMoveVmWithNoFilesInLayoutFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsCannotMoveVmWithNoFilesInLayout_Def)
                ns0.StorageDrsCannotMoveVmWithNoFilesInLayoutFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsCannotMoveVmWithNoFilesInLayout_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsCannotMoveVmWithNoFilesInLayoutFault_Dec_Holder"

    class StorageDrsDatacentersCannotShareDatastoreFault_Dec(ElementDeclaration):
        literal = "StorageDrsDatacentersCannotShareDatastoreFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsDatacentersCannotShareDatastoreFault")
            kw["aname"] = "_StorageDrsDatacentersCannotShareDatastoreFault"
            if ns0.StorageDrsDatacentersCannotShareDatastore_Def not in ns0.StorageDrsDatacentersCannotShareDatastoreFault_Dec.__bases__:
                bases = list(ns0.StorageDrsDatacentersCannotShareDatastoreFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsDatacentersCannotShareDatastore_Def)
                ns0.StorageDrsDatacentersCannotShareDatastoreFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsDatacentersCannotShareDatastore_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsDatacentersCannotShareDatastoreFault_Dec_Holder"

    class StorageDrsDisabledOnVmFault_Dec(ElementDeclaration):
        literal = "StorageDrsDisabledOnVmFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsDisabledOnVmFault")
            kw["aname"] = "_StorageDrsDisabledOnVmFault"
            if ns0.StorageDrsDisabledOnVm_Def not in ns0.StorageDrsDisabledOnVmFault_Dec.__bases__:
                bases = list(ns0.StorageDrsDisabledOnVmFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsDisabledOnVm_Def)
                ns0.StorageDrsDisabledOnVmFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsDisabledOnVm_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsDisabledOnVmFault_Dec_Holder"

    class StorageDrsHbrDiskNotMovableFault_Dec(ElementDeclaration):
        literal = "StorageDrsHbrDiskNotMovableFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsHbrDiskNotMovableFault")
            kw["aname"] = "_StorageDrsHbrDiskNotMovableFault"
            if ns0.StorageDrsHbrDiskNotMovable_Def not in ns0.StorageDrsHbrDiskNotMovableFault_Dec.__bases__:
                bases = list(ns0.StorageDrsHbrDiskNotMovableFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsHbrDiskNotMovable_Def)
                ns0.StorageDrsHbrDiskNotMovableFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsHbrDiskNotMovable_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsHbrDiskNotMovableFault_Dec_Holder"

    class StorageDrsHmsMoveInProgressFault_Dec(ElementDeclaration):
        literal = "StorageDrsHmsMoveInProgressFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsHmsMoveInProgressFault")
            kw["aname"] = "_StorageDrsHmsMoveInProgressFault"
            if ns0.StorageDrsHmsMoveInProgress_Def not in ns0.StorageDrsHmsMoveInProgressFault_Dec.__bases__:
                bases = list(ns0.StorageDrsHmsMoveInProgressFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsHmsMoveInProgress_Def)
                ns0.StorageDrsHmsMoveInProgressFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsHmsMoveInProgress_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsHmsMoveInProgressFault_Dec_Holder"

    class StorageDrsHmsUnreachableFault_Dec(ElementDeclaration):
        literal = "StorageDrsHmsUnreachableFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsHmsUnreachableFault")
            kw["aname"] = "_StorageDrsHmsUnreachableFault"
            if ns0.StorageDrsHmsUnreachable_Def not in ns0.StorageDrsHmsUnreachableFault_Dec.__bases__:
                bases = list(ns0.StorageDrsHmsUnreachableFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsHmsUnreachable_Def)
                ns0.StorageDrsHmsUnreachableFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsHmsUnreachable_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsHmsUnreachableFault_Dec_Holder"

    class StorageDrsIolbDisabledInternallyFault_Dec(ElementDeclaration):
        literal = "StorageDrsIolbDisabledInternallyFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsIolbDisabledInternallyFault")
            kw["aname"] = "_StorageDrsIolbDisabledInternallyFault"
            if ns0.StorageDrsIolbDisabledInternally_Def not in ns0.StorageDrsIolbDisabledInternallyFault_Dec.__bases__:
                bases = list(ns0.StorageDrsIolbDisabledInternallyFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsIolbDisabledInternally_Def)
                ns0.StorageDrsIolbDisabledInternallyFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsIolbDisabledInternally_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsIolbDisabledInternallyFault_Dec_Holder"

    class StorageDrsRelocateDisabledFault_Dec(ElementDeclaration):
        literal = "StorageDrsRelocateDisabledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsRelocateDisabledFault")
            kw["aname"] = "_StorageDrsRelocateDisabledFault"
            if ns0.StorageDrsRelocateDisabled_Def not in ns0.StorageDrsRelocateDisabledFault_Dec.__bases__:
                bases = list(ns0.StorageDrsRelocateDisabledFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsRelocateDisabled_Def)
                ns0.StorageDrsRelocateDisabledFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsRelocateDisabled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsRelocateDisabledFault_Dec_Holder"

    class StorageDrsStaleHmsCollectionFault_Dec(ElementDeclaration):
        literal = "StorageDrsStaleHmsCollectionFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsStaleHmsCollectionFault")
            kw["aname"] = "_StorageDrsStaleHmsCollectionFault"
            if ns0.StorageDrsStaleHmsCollection_Def not in ns0.StorageDrsStaleHmsCollectionFault_Dec.__bases__:
                bases = list(ns0.StorageDrsStaleHmsCollectionFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsStaleHmsCollection_Def)
                ns0.StorageDrsStaleHmsCollectionFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsStaleHmsCollection_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsStaleHmsCollectionFault_Dec_Holder"

    class StorageDrsUnableToMoveFilesFault_Dec(ElementDeclaration):
        literal = "StorageDrsUnableToMoveFilesFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageDrsUnableToMoveFilesFault")
            kw["aname"] = "_StorageDrsUnableToMoveFilesFault"
            if ns0.StorageDrsUnableToMoveFiles_Def not in ns0.StorageDrsUnableToMoveFilesFault_Dec.__bases__:
                bases = list(ns0.StorageDrsUnableToMoveFilesFault_Dec.__bases__)
                bases.insert(0, ns0.StorageDrsUnableToMoveFiles_Def)
                ns0.StorageDrsUnableToMoveFilesFault_Dec.__bases__ = tuple(bases)

            ns0.StorageDrsUnableToMoveFiles_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageDrsUnableToMoveFilesFault_Dec_Holder"

    class StorageVMotionNotSupportedFault_Dec(ElementDeclaration):
        literal = "StorageVMotionNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageVMotionNotSupportedFault")
            kw["aname"] = "_StorageVMotionNotSupportedFault"
            if ns0.StorageVMotionNotSupported_Def not in ns0.StorageVMotionNotSupportedFault_Dec.__bases__:
                bases = list(ns0.StorageVMotionNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.StorageVMotionNotSupported_Def)
                ns0.StorageVMotionNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.StorageVMotionNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageVMotionNotSupportedFault_Dec_Holder"

    class StorageVmotionIncompatibleFault_Dec(ElementDeclaration):
        literal = "StorageVmotionIncompatibleFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StorageVmotionIncompatibleFault")
            kw["aname"] = "_StorageVmotionIncompatibleFault"
            if ns0.StorageVmotionIncompatible_Def not in ns0.StorageVmotionIncompatibleFault_Dec.__bases__:
                bases = list(ns0.StorageVmotionIncompatibleFault_Dec.__bases__)
                bases.insert(0, ns0.StorageVmotionIncompatible_Def)
                ns0.StorageVmotionIncompatibleFault_Dec.__bases__ = tuple(bases)

            ns0.StorageVmotionIncompatible_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StorageVmotionIncompatibleFault_Dec_Holder"

    class SuspendedRelocateNotSupportedFault_Dec(ElementDeclaration):
        literal = "SuspendedRelocateNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SuspendedRelocateNotSupportedFault")
            kw["aname"] = "_SuspendedRelocateNotSupportedFault"
            if ns0.SuspendedRelocateNotSupported_Def not in ns0.SuspendedRelocateNotSupportedFault_Dec.__bases__:
                bases = list(ns0.SuspendedRelocateNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.SuspendedRelocateNotSupported_Def)
                ns0.SuspendedRelocateNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.SuspendedRelocateNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SuspendedRelocateNotSupportedFault_Dec_Holder"

    class SwapDatastoreNotWritableOnHostFault_Dec(ElementDeclaration):
        literal = "SwapDatastoreNotWritableOnHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SwapDatastoreNotWritableOnHostFault")
            kw["aname"] = "_SwapDatastoreNotWritableOnHostFault"
            if ns0.SwapDatastoreNotWritableOnHost_Def not in ns0.SwapDatastoreNotWritableOnHostFault_Dec.__bases__:
                bases = list(ns0.SwapDatastoreNotWritableOnHostFault_Dec.__bases__)
                bases.insert(0, ns0.SwapDatastoreNotWritableOnHost_Def)
                ns0.SwapDatastoreNotWritableOnHostFault_Dec.__bases__ = tuple(bases)

            ns0.SwapDatastoreNotWritableOnHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SwapDatastoreNotWritableOnHostFault_Dec_Holder"

    class SwapDatastoreUnsetFault_Dec(ElementDeclaration):
        literal = "SwapDatastoreUnsetFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SwapDatastoreUnsetFault")
            kw["aname"] = "_SwapDatastoreUnsetFault"
            if ns0.SwapDatastoreUnset_Def not in ns0.SwapDatastoreUnsetFault_Dec.__bases__:
                bases = list(ns0.SwapDatastoreUnsetFault_Dec.__bases__)
                bases.insert(0, ns0.SwapDatastoreUnset_Def)
                ns0.SwapDatastoreUnsetFault_Dec.__bases__ = tuple(bases)

            ns0.SwapDatastoreUnset_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SwapDatastoreUnsetFault_Dec_Holder"

    class SwapPlacementOverrideNotSupportedFault_Dec(ElementDeclaration):
        literal = "SwapPlacementOverrideNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SwapPlacementOverrideNotSupportedFault")
            kw["aname"] = "_SwapPlacementOverrideNotSupportedFault"
            if ns0.SwapPlacementOverrideNotSupported_Def not in ns0.SwapPlacementOverrideNotSupportedFault_Dec.__bases__:
                bases = list(ns0.SwapPlacementOverrideNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.SwapPlacementOverrideNotSupported_Def)
                ns0.SwapPlacementOverrideNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.SwapPlacementOverrideNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SwapPlacementOverrideNotSupportedFault_Dec_Holder"

    class SwitchIpUnsetFault_Dec(ElementDeclaration):
        literal = "SwitchIpUnsetFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SwitchIpUnsetFault")
            kw["aname"] = "_SwitchIpUnsetFault"
            if ns0.SwitchIpUnset_Def not in ns0.SwitchIpUnsetFault_Dec.__bases__:
                bases = list(ns0.SwitchIpUnsetFault_Dec.__bases__)
                bases.insert(0, ns0.SwitchIpUnset_Def)
                ns0.SwitchIpUnsetFault_Dec.__bases__ = tuple(bases)

            ns0.SwitchIpUnset_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SwitchIpUnsetFault_Dec_Holder"

    class SwitchNotInUpgradeModeFault_Dec(ElementDeclaration):
        literal = "SwitchNotInUpgradeModeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SwitchNotInUpgradeModeFault")
            kw["aname"] = "_SwitchNotInUpgradeModeFault"
            if ns0.SwitchNotInUpgradeMode_Def not in ns0.SwitchNotInUpgradeModeFault_Dec.__bases__:
                bases = list(ns0.SwitchNotInUpgradeModeFault_Dec.__bases__)
                bases.insert(0, ns0.SwitchNotInUpgradeMode_Def)
                ns0.SwitchNotInUpgradeModeFault_Dec.__bases__ = tuple(bases)

            ns0.SwitchNotInUpgradeMode_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SwitchNotInUpgradeModeFault_Dec_Holder"

    class TaskInProgressFault_Dec(ElementDeclaration):
        literal = "TaskInProgressFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TaskInProgressFault")
            kw["aname"] = "_TaskInProgressFault"
            if ns0.TaskInProgress_Def not in ns0.TaskInProgressFault_Dec.__bases__:
                bases = list(ns0.TaskInProgressFault_Dec.__bases__)
                bases.insert(0, ns0.TaskInProgress_Def)
                ns0.TaskInProgressFault_Dec.__bases__ = tuple(bases)

            ns0.TaskInProgress_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TaskInProgressFault_Dec_Holder"

    class ThirdPartyLicenseAssignmentFailedFault_Dec(ElementDeclaration):
        literal = "ThirdPartyLicenseAssignmentFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ThirdPartyLicenseAssignmentFailedFault")
            kw["aname"] = "_ThirdPartyLicenseAssignmentFailedFault"
            if ns0.ThirdPartyLicenseAssignmentFailed_Def not in ns0.ThirdPartyLicenseAssignmentFailedFault_Dec.__bases__:
                bases = list(ns0.ThirdPartyLicenseAssignmentFailedFault_Dec.__bases__)
                bases.insert(0, ns0.ThirdPartyLicenseAssignmentFailed_Def)
                ns0.ThirdPartyLicenseAssignmentFailedFault_Dec.__bases__ = tuple(bases)

            ns0.ThirdPartyLicenseAssignmentFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ThirdPartyLicenseAssignmentFailedFault_Dec_Holder"

    class TimedoutFault_Dec(ElementDeclaration):
        literal = "TimedoutFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TimedoutFault")
            kw["aname"] = "_TimedoutFault"
            if ns0.Timedout_Def not in ns0.TimedoutFault_Dec.__bases__:
                bases = list(ns0.TimedoutFault_Dec.__bases__)
                bases.insert(0, ns0.Timedout_Def)
                ns0.TimedoutFault_Dec.__bases__ = tuple(bases)

            ns0.Timedout_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TimedoutFault_Dec_Holder"

    class TooManyConcurrentNativeClonesFault_Dec(ElementDeclaration):
        literal = "TooManyConcurrentNativeClonesFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TooManyConcurrentNativeClonesFault")
            kw["aname"] = "_TooManyConcurrentNativeClonesFault"
            if ns0.TooManyConcurrentNativeClones_Def not in ns0.TooManyConcurrentNativeClonesFault_Dec.__bases__:
                bases = list(ns0.TooManyConcurrentNativeClonesFault_Dec.__bases__)
                bases.insert(0, ns0.TooManyConcurrentNativeClones_Def)
                ns0.TooManyConcurrentNativeClonesFault_Dec.__bases__ = tuple(bases)

            ns0.TooManyConcurrentNativeClones_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TooManyConcurrentNativeClonesFault_Dec_Holder"

    class TooManyConsecutiveOverridesFault_Dec(ElementDeclaration):
        literal = "TooManyConsecutiveOverridesFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TooManyConsecutiveOverridesFault")
            kw["aname"] = "_TooManyConsecutiveOverridesFault"
            if ns0.TooManyConsecutiveOverrides_Def not in ns0.TooManyConsecutiveOverridesFault_Dec.__bases__:
                bases = list(ns0.TooManyConsecutiveOverridesFault_Dec.__bases__)
                bases.insert(0, ns0.TooManyConsecutiveOverrides_Def)
                ns0.TooManyConsecutiveOverridesFault_Dec.__bases__ = tuple(bases)

            ns0.TooManyConsecutiveOverrides_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TooManyConsecutiveOverridesFault_Dec_Holder"

    class TooManyDevicesFault_Dec(ElementDeclaration):
        literal = "TooManyDevicesFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TooManyDevicesFault")
            kw["aname"] = "_TooManyDevicesFault"
            if ns0.TooManyDevices_Def not in ns0.TooManyDevicesFault_Dec.__bases__:
                bases = list(ns0.TooManyDevicesFault_Dec.__bases__)
                bases.insert(0, ns0.TooManyDevices_Def)
                ns0.TooManyDevicesFault_Dec.__bases__ = tuple(bases)

            ns0.TooManyDevices_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TooManyDevicesFault_Dec_Holder"

    class TooManyDisksOnLegacyHostFault_Dec(ElementDeclaration):
        literal = "TooManyDisksOnLegacyHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TooManyDisksOnLegacyHostFault")
            kw["aname"] = "_TooManyDisksOnLegacyHostFault"
            if ns0.TooManyDisksOnLegacyHost_Def not in ns0.TooManyDisksOnLegacyHostFault_Dec.__bases__:
                bases = list(ns0.TooManyDisksOnLegacyHostFault_Dec.__bases__)
                bases.insert(0, ns0.TooManyDisksOnLegacyHost_Def)
                ns0.TooManyDisksOnLegacyHostFault_Dec.__bases__ = tuple(bases)

            ns0.TooManyDisksOnLegacyHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TooManyDisksOnLegacyHostFault_Dec_Holder"

    class TooManyGuestLogonsFault_Dec(ElementDeclaration):
        literal = "TooManyGuestLogonsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TooManyGuestLogonsFault")
            kw["aname"] = "_TooManyGuestLogonsFault"
            if ns0.TooManyGuestLogons_Def not in ns0.TooManyGuestLogonsFault_Dec.__bases__:
                bases = list(ns0.TooManyGuestLogonsFault_Dec.__bases__)
                bases.insert(0, ns0.TooManyGuestLogons_Def)
                ns0.TooManyGuestLogonsFault_Dec.__bases__ = tuple(bases)

            ns0.TooManyGuestLogons_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TooManyGuestLogonsFault_Dec_Holder"

    class TooManyHostsFault_Dec(ElementDeclaration):
        literal = "TooManyHostsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TooManyHostsFault")
            kw["aname"] = "_TooManyHostsFault"
            if ns0.TooManyHosts_Def not in ns0.TooManyHostsFault_Dec.__bases__:
                bases = list(ns0.TooManyHostsFault_Dec.__bases__)
                bases.insert(0, ns0.TooManyHosts_Def)
                ns0.TooManyHostsFault_Dec.__bases__ = tuple(bases)

            ns0.TooManyHosts_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TooManyHostsFault_Dec_Holder"

    class TooManyNativeCloneLevelsFault_Dec(ElementDeclaration):
        literal = "TooManyNativeCloneLevelsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TooManyNativeCloneLevelsFault")
            kw["aname"] = "_TooManyNativeCloneLevelsFault"
            if ns0.TooManyNativeCloneLevels_Def not in ns0.TooManyNativeCloneLevelsFault_Dec.__bases__:
                bases = list(ns0.TooManyNativeCloneLevelsFault_Dec.__bases__)
                bases.insert(0, ns0.TooManyNativeCloneLevels_Def)
                ns0.TooManyNativeCloneLevelsFault_Dec.__bases__ = tuple(bases)

            ns0.TooManyNativeCloneLevels_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TooManyNativeCloneLevelsFault_Dec_Holder"

    class TooManyNativeClonesOnFileFault_Dec(ElementDeclaration):
        literal = "TooManyNativeClonesOnFileFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TooManyNativeClonesOnFileFault")
            kw["aname"] = "_TooManyNativeClonesOnFileFault"
            if ns0.TooManyNativeClonesOnFile_Def not in ns0.TooManyNativeClonesOnFileFault_Dec.__bases__:
                bases = list(ns0.TooManyNativeClonesOnFileFault_Dec.__bases__)
                bases.insert(0, ns0.TooManyNativeClonesOnFile_Def)
                ns0.TooManyNativeClonesOnFileFault_Dec.__bases__ = tuple(bases)

            ns0.TooManyNativeClonesOnFile_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TooManyNativeClonesOnFileFault_Dec_Holder"

    class TooManySnapshotLevelsFault_Dec(ElementDeclaration):
        literal = "TooManySnapshotLevelsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TooManySnapshotLevelsFault")
            kw["aname"] = "_TooManySnapshotLevelsFault"
            if ns0.TooManySnapshotLevels_Def not in ns0.TooManySnapshotLevelsFault_Dec.__bases__:
                bases = list(ns0.TooManySnapshotLevelsFault_Dec.__bases__)
                bases.insert(0, ns0.TooManySnapshotLevels_Def)
                ns0.TooManySnapshotLevelsFault_Dec.__bases__ = tuple(bases)

            ns0.TooManySnapshotLevels_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TooManySnapshotLevelsFault_Dec_Holder"

    class ToolsAlreadyUpgradedFault_Dec(ElementDeclaration):
        literal = "ToolsAlreadyUpgradedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ToolsAlreadyUpgradedFault")
            kw["aname"] = "_ToolsAlreadyUpgradedFault"
            if ns0.ToolsAlreadyUpgraded_Def not in ns0.ToolsAlreadyUpgradedFault_Dec.__bases__:
                bases = list(ns0.ToolsAlreadyUpgradedFault_Dec.__bases__)
                bases.insert(0, ns0.ToolsAlreadyUpgraded_Def)
                ns0.ToolsAlreadyUpgradedFault_Dec.__bases__ = tuple(bases)

            ns0.ToolsAlreadyUpgraded_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ToolsAlreadyUpgradedFault_Dec_Holder"

    class ToolsAutoUpgradeNotSupportedFault_Dec(ElementDeclaration):
        literal = "ToolsAutoUpgradeNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ToolsAutoUpgradeNotSupportedFault")
            kw["aname"] = "_ToolsAutoUpgradeNotSupportedFault"
            if ns0.ToolsAutoUpgradeNotSupported_Def not in ns0.ToolsAutoUpgradeNotSupportedFault_Dec.__bases__:
                bases = list(ns0.ToolsAutoUpgradeNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.ToolsAutoUpgradeNotSupported_Def)
                ns0.ToolsAutoUpgradeNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.ToolsAutoUpgradeNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ToolsAutoUpgradeNotSupportedFault_Dec_Holder"

    class ToolsImageCopyFailedFault_Dec(ElementDeclaration):
        literal = "ToolsImageCopyFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ToolsImageCopyFailedFault")
            kw["aname"] = "_ToolsImageCopyFailedFault"
            if ns0.ToolsImageCopyFailed_Def not in ns0.ToolsImageCopyFailedFault_Dec.__bases__:
                bases = list(ns0.ToolsImageCopyFailedFault_Dec.__bases__)
                bases.insert(0, ns0.ToolsImageCopyFailed_Def)
                ns0.ToolsImageCopyFailedFault_Dec.__bases__ = tuple(bases)

            ns0.ToolsImageCopyFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ToolsImageCopyFailedFault_Dec_Holder"

    class ToolsImageNotAvailableFault_Dec(ElementDeclaration):
        literal = "ToolsImageNotAvailableFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ToolsImageNotAvailableFault")
            kw["aname"] = "_ToolsImageNotAvailableFault"
            if ns0.ToolsImageNotAvailable_Def not in ns0.ToolsImageNotAvailableFault_Dec.__bases__:
                bases = list(ns0.ToolsImageNotAvailableFault_Dec.__bases__)
                bases.insert(0, ns0.ToolsImageNotAvailable_Def)
                ns0.ToolsImageNotAvailableFault_Dec.__bases__ = tuple(bases)

            ns0.ToolsImageNotAvailable_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ToolsImageNotAvailableFault_Dec_Holder"

    class ToolsImageSignatureCheckFailedFault_Dec(ElementDeclaration):
        literal = "ToolsImageSignatureCheckFailedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ToolsImageSignatureCheckFailedFault")
            kw["aname"] = "_ToolsImageSignatureCheckFailedFault"
            if ns0.ToolsImageSignatureCheckFailed_Def not in ns0.ToolsImageSignatureCheckFailedFault_Dec.__bases__:
                bases = list(ns0.ToolsImageSignatureCheckFailedFault_Dec.__bases__)
                bases.insert(0, ns0.ToolsImageSignatureCheckFailed_Def)
                ns0.ToolsImageSignatureCheckFailedFault_Dec.__bases__ = tuple(bases)

            ns0.ToolsImageSignatureCheckFailed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ToolsImageSignatureCheckFailedFault_Dec_Holder"

    class ToolsInstallationInProgressFault_Dec(ElementDeclaration):
        literal = "ToolsInstallationInProgressFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ToolsInstallationInProgressFault")
            kw["aname"] = "_ToolsInstallationInProgressFault"
            if ns0.ToolsInstallationInProgress_Def not in ns0.ToolsInstallationInProgressFault_Dec.__bases__:
                bases = list(ns0.ToolsInstallationInProgressFault_Dec.__bases__)
                bases.insert(0, ns0.ToolsInstallationInProgress_Def)
                ns0.ToolsInstallationInProgressFault_Dec.__bases__ = tuple(bases)

            ns0.ToolsInstallationInProgress_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ToolsInstallationInProgressFault_Dec_Holder"

    class ToolsUnavailableFault_Dec(ElementDeclaration):
        literal = "ToolsUnavailableFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ToolsUnavailableFault")
            kw["aname"] = "_ToolsUnavailableFault"
            if ns0.ToolsUnavailable_Def not in ns0.ToolsUnavailableFault_Dec.__bases__:
                bases = list(ns0.ToolsUnavailableFault_Dec.__bases__)
                bases.insert(0, ns0.ToolsUnavailable_Def)
                ns0.ToolsUnavailableFault_Dec.__bases__ = tuple(bases)

            ns0.ToolsUnavailable_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ToolsUnavailableFault_Dec_Holder"

    class ToolsUpgradeCancelledFault_Dec(ElementDeclaration):
        literal = "ToolsUpgradeCancelledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ToolsUpgradeCancelledFault")
            kw["aname"] = "_ToolsUpgradeCancelledFault"
            if ns0.ToolsUpgradeCancelled_Def not in ns0.ToolsUpgradeCancelledFault_Dec.__bases__:
                bases = list(ns0.ToolsUpgradeCancelledFault_Dec.__bases__)
                bases.insert(0, ns0.ToolsUpgradeCancelled_Def)
                ns0.ToolsUpgradeCancelledFault_Dec.__bases__ = tuple(bases)

            ns0.ToolsUpgradeCancelled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ToolsUpgradeCancelledFault_Dec_Holder"

    class UnSupportedDatastoreForVFlashFault_Dec(ElementDeclaration):
        literal = "UnSupportedDatastoreForVFlashFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnSupportedDatastoreForVFlashFault")
            kw["aname"] = "_UnSupportedDatastoreForVFlashFault"
            if ns0.UnSupportedDatastoreForVFlash_Def not in ns0.UnSupportedDatastoreForVFlashFault_Dec.__bases__:
                bases = list(ns0.UnSupportedDatastoreForVFlashFault_Dec.__bases__)
                bases.insert(0, ns0.UnSupportedDatastoreForVFlash_Def)
                ns0.UnSupportedDatastoreForVFlashFault_Dec.__bases__ = tuple(bases)

            ns0.UnSupportedDatastoreForVFlash_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnSupportedDatastoreForVFlashFault_Dec_Holder"

    class UncommittedUndoableDiskFault_Dec(ElementDeclaration):
        literal = "UncommittedUndoableDiskFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UncommittedUndoableDiskFault")
            kw["aname"] = "_UncommittedUndoableDiskFault"
            if ns0.UncommittedUndoableDisk_Def not in ns0.UncommittedUndoableDiskFault_Dec.__bases__:
                bases = list(ns0.UncommittedUndoableDiskFault_Dec.__bases__)
                bases.insert(0, ns0.UncommittedUndoableDisk_Def)
                ns0.UncommittedUndoableDiskFault_Dec.__bases__ = tuple(bases)

            ns0.UncommittedUndoableDisk_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UncommittedUndoableDiskFault_Dec_Holder"

    class UnconfiguredPropertyValueFault_Dec(ElementDeclaration):
        literal = "UnconfiguredPropertyValueFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnconfiguredPropertyValueFault")
            kw["aname"] = "_UnconfiguredPropertyValueFault"
            if ns0.UnconfiguredPropertyValue_Def not in ns0.UnconfiguredPropertyValueFault_Dec.__bases__:
                bases = list(ns0.UnconfiguredPropertyValueFault_Dec.__bases__)
                bases.insert(0, ns0.UnconfiguredPropertyValue_Def)
                ns0.UnconfiguredPropertyValueFault_Dec.__bases__ = tuple(bases)

            ns0.UnconfiguredPropertyValue_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnconfiguredPropertyValueFault_Dec_Holder"

    class UncustomizableGuestFault_Dec(ElementDeclaration):
        literal = "UncustomizableGuestFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UncustomizableGuestFault")
            kw["aname"] = "_UncustomizableGuestFault"
            if ns0.UncustomizableGuest_Def not in ns0.UncustomizableGuestFault_Dec.__bases__:
                bases = list(ns0.UncustomizableGuestFault_Dec.__bases__)
                bases.insert(0, ns0.UncustomizableGuest_Def)
                ns0.UncustomizableGuestFault_Dec.__bases__ = tuple(bases)

            ns0.UncustomizableGuest_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UncustomizableGuestFault_Dec_Holder"

    class UnexpectedCustomizationFaultFault_Dec(ElementDeclaration):
        literal = "UnexpectedCustomizationFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnexpectedCustomizationFaultFault")
            kw["aname"] = "_UnexpectedCustomizationFaultFault"
            if ns0.UnexpectedCustomizationFault_Def not in ns0.UnexpectedCustomizationFaultFault_Dec.__bases__:
                bases = list(ns0.UnexpectedCustomizationFaultFault_Dec.__bases__)
                bases.insert(0, ns0.UnexpectedCustomizationFault_Def)
                ns0.UnexpectedCustomizationFaultFault_Dec.__bases__ = tuple(bases)

            ns0.UnexpectedCustomizationFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnexpectedCustomizationFaultFault_Dec_Holder"

    class UnrecognizedHostFault_Dec(ElementDeclaration):
        literal = "UnrecognizedHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnrecognizedHostFault")
            kw["aname"] = "_UnrecognizedHostFault"
            if ns0.UnrecognizedHost_Def not in ns0.UnrecognizedHostFault_Dec.__bases__:
                bases = list(ns0.UnrecognizedHostFault_Dec.__bases__)
                bases.insert(0, ns0.UnrecognizedHost_Def)
                ns0.UnrecognizedHostFault_Dec.__bases__ = tuple(bases)

            ns0.UnrecognizedHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnrecognizedHostFault_Dec_Holder"

    class UnsharedSwapVMotionNotSupportedFault_Dec(ElementDeclaration):
        literal = "UnsharedSwapVMotionNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnsharedSwapVMotionNotSupportedFault")
            kw["aname"] = "_UnsharedSwapVMotionNotSupportedFault"
            if ns0.UnsharedSwapVMotionNotSupported_Def not in ns0.UnsharedSwapVMotionNotSupportedFault_Dec.__bases__:
                bases = list(ns0.UnsharedSwapVMotionNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.UnsharedSwapVMotionNotSupported_Def)
                ns0.UnsharedSwapVMotionNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.UnsharedSwapVMotionNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnsharedSwapVMotionNotSupportedFault_Dec_Holder"

    class UnsupportedDatastoreFault_Dec(ElementDeclaration):
        literal = "UnsupportedDatastoreFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnsupportedDatastoreFault")
            kw["aname"] = "_UnsupportedDatastoreFault"
            if ns0.UnsupportedDatastore_Def not in ns0.UnsupportedDatastoreFault_Dec.__bases__:
                bases = list(ns0.UnsupportedDatastoreFault_Dec.__bases__)
                bases.insert(0, ns0.UnsupportedDatastore_Def)
                ns0.UnsupportedDatastoreFault_Dec.__bases__ = tuple(bases)

            ns0.UnsupportedDatastore_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnsupportedDatastoreFault_Dec_Holder"

    class UnsupportedGuestFault_Dec(ElementDeclaration):
        literal = "UnsupportedGuestFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnsupportedGuestFault")
            kw["aname"] = "_UnsupportedGuestFault"
            if ns0.UnsupportedGuest_Def not in ns0.UnsupportedGuestFault_Dec.__bases__:
                bases = list(ns0.UnsupportedGuestFault_Dec.__bases__)
                bases.insert(0, ns0.UnsupportedGuest_Def)
                ns0.UnsupportedGuestFault_Dec.__bases__ = tuple(bases)

            ns0.UnsupportedGuest_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnsupportedGuestFault_Dec_Holder"

    class UnsupportedVimApiVersionFault_Dec(ElementDeclaration):
        literal = "UnsupportedVimApiVersionFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnsupportedVimApiVersionFault")
            kw["aname"] = "_UnsupportedVimApiVersionFault"
            if ns0.UnsupportedVimApiVersion_Def not in ns0.UnsupportedVimApiVersionFault_Dec.__bases__:
                bases = list(ns0.UnsupportedVimApiVersionFault_Dec.__bases__)
                bases.insert(0, ns0.UnsupportedVimApiVersion_Def)
                ns0.UnsupportedVimApiVersionFault_Dec.__bases__ = tuple(bases)

            ns0.UnsupportedVimApiVersion_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnsupportedVimApiVersionFault_Dec_Holder"

    class UnsupportedVmxLocationFault_Dec(ElementDeclaration):
        literal = "UnsupportedVmxLocationFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnsupportedVmxLocationFault")
            kw["aname"] = "_UnsupportedVmxLocationFault"
            if ns0.UnsupportedVmxLocation_Def not in ns0.UnsupportedVmxLocationFault_Dec.__bases__:
                bases = list(ns0.UnsupportedVmxLocationFault_Dec.__bases__)
                bases.insert(0, ns0.UnsupportedVmxLocation_Def)
                ns0.UnsupportedVmxLocationFault_Dec.__bases__ = tuple(bases)

            ns0.UnsupportedVmxLocation_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnsupportedVmxLocationFault_Dec_Holder"

    class UnusedVirtualDiskBlocksNotScrubbedFault_Dec(ElementDeclaration):
        literal = "UnusedVirtualDiskBlocksNotScrubbedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnusedVirtualDiskBlocksNotScrubbedFault")
            kw["aname"] = "_UnusedVirtualDiskBlocksNotScrubbedFault"
            if ns0.UnusedVirtualDiskBlocksNotScrubbed_Def not in ns0.UnusedVirtualDiskBlocksNotScrubbedFault_Dec.__bases__:
                bases = list(ns0.UnusedVirtualDiskBlocksNotScrubbedFault_Dec.__bases__)
                bases.insert(0, ns0.UnusedVirtualDiskBlocksNotScrubbed_Def)
                ns0.UnusedVirtualDiskBlocksNotScrubbedFault_Dec.__bases__ = tuple(bases)

            ns0.UnusedVirtualDiskBlocksNotScrubbed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnusedVirtualDiskBlocksNotScrubbedFault_Dec_Holder"

    class UserNotFoundFault_Dec(ElementDeclaration):
        literal = "UserNotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UserNotFoundFault")
            kw["aname"] = "_UserNotFoundFault"
            if ns0.UserNotFound_Def not in ns0.UserNotFoundFault_Dec.__bases__:
                bases = list(ns0.UserNotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.UserNotFound_Def)
                ns0.UserNotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.UserNotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UserNotFoundFault_Dec_Holder"

    class VAppConfigFaultFault_Dec(ElementDeclaration):
        literal = "VAppConfigFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VAppConfigFaultFault")
            kw["aname"] = "_VAppConfigFaultFault"
            if ns0.VAppConfigFault_Def not in ns0.VAppConfigFaultFault_Dec.__bases__:
                bases = list(ns0.VAppConfigFaultFault_Dec.__bases__)
                bases.insert(0, ns0.VAppConfigFault_Def)
                ns0.VAppConfigFaultFault_Dec.__bases__ = tuple(bases)

            ns0.VAppConfigFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VAppConfigFaultFault_Dec_Holder"

    class VAppNotRunningFault_Dec(ElementDeclaration):
        literal = "VAppNotRunningFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VAppNotRunningFault")
            kw["aname"] = "_VAppNotRunningFault"
            if ns0.VAppNotRunning_Def not in ns0.VAppNotRunningFault_Dec.__bases__:
                bases = list(ns0.VAppNotRunningFault_Dec.__bases__)
                bases.insert(0, ns0.VAppNotRunning_Def)
                ns0.VAppNotRunningFault_Dec.__bases__ = tuple(bases)

            ns0.VAppNotRunning_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VAppNotRunningFault_Dec_Holder"

    class VAppOperationInProgressFault_Dec(ElementDeclaration):
        literal = "VAppOperationInProgressFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VAppOperationInProgressFault")
            kw["aname"] = "_VAppOperationInProgressFault"
            if ns0.VAppOperationInProgress_Def not in ns0.VAppOperationInProgressFault_Dec.__bases__:
                bases = list(ns0.VAppOperationInProgressFault_Dec.__bases__)
                bases.insert(0, ns0.VAppOperationInProgress_Def)
                ns0.VAppOperationInProgressFault_Dec.__bases__ = tuple(bases)

            ns0.VAppOperationInProgress_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VAppOperationInProgressFault_Dec_Holder"

    class VAppPropertyFaultFault_Dec(ElementDeclaration):
        literal = "VAppPropertyFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VAppPropertyFaultFault")
            kw["aname"] = "_VAppPropertyFaultFault"
            if ns0.VAppPropertyFault_Def not in ns0.VAppPropertyFaultFault_Dec.__bases__:
                bases = list(ns0.VAppPropertyFaultFault_Dec.__bases__)
                bases.insert(0, ns0.VAppPropertyFault_Def)
                ns0.VAppPropertyFaultFault_Dec.__bases__ = tuple(bases)

            ns0.VAppPropertyFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VAppPropertyFaultFault_Dec_Holder"

    class VAppTaskInProgressFault_Dec(ElementDeclaration):
        literal = "VAppTaskInProgressFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VAppTaskInProgressFault")
            kw["aname"] = "_VAppTaskInProgressFault"
            if ns0.VAppTaskInProgress_Def not in ns0.VAppTaskInProgressFault_Dec.__bases__:
                bases = list(ns0.VAppTaskInProgressFault_Dec.__bases__)
                bases.insert(0, ns0.VAppTaskInProgress_Def)
                ns0.VAppTaskInProgressFault_Dec.__bases__ = tuple(bases)

            ns0.VAppTaskInProgress_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VAppTaskInProgressFault_Dec_Holder"

    class VFlashCacheHotConfigNotSupportedFault_Dec(ElementDeclaration):
        literal = "VFlashCacheHotConfigNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VFlashCacheHotConfigNotSupportedFault")
            kw["aname"] = "_VFlashCacheHotConfigNotSupportedFault"
            if ns0.VFlashCacheHotConfigNotSupported_Def not in ns0.VFlashCacheHotConfigNotSupportedFault_Dec.__bases__:
                bases = list(ns0.VFlashCacheHotConfigNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.VFlashCacheHotConfigNotSupported_Def)
                ns0.VFlashCacheHotConfigNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.VFlashCacheHotConfigNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VFlashCacheHotConfigNotSupportedFault_Dec_Holder"

    class VFlashModuleNotSupportedFault_Dec(ElementDeclaration):
        literal = "VFlashModuleNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VFlashModuleNotSupportedFault")
            kw["aname"] = "_VFlashModuleNotSupportedFault"
            if ns0.VFlashModuleNotSupported_Def not in ns0.VFlashModuleNotSupportedFault_Dec.__bases__:
                bases = list(ns0.VFlashModuleNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.VFlashModuleNotSupported_Def)
                ns0.VFlashModuleNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.VFlashModuleNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VFlashModuleNotSupportedFault_Dec_Holder"

    class VFlashModuleVersionIncompatibleFault_Dec(ElementDeclaration):
        literal = "VFlashModuleVersionIncompatibleFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VFlashModuleVersionIncompatibleFault")
            kw["aname"] = "_VFlashModuleVersionIncompatibleFault"
            if ns0.VFlashModuleVersionIncompatible_Def not in ns0.VFlashModuleVersionIncompatibleFault_Dec.__bases__:
                bases = list(ns0.VFlashModuleVersionIncompatibleFault_Dec.__bases__)
                bases.insert(0, ns0.VFlashModuleVersionIncompatible_Def)
                ns0.VFlashModuleVersionIncompatibleFault_Dec.__bases__ = tuple(bases)

            ns0.VFlashModuleVersionIncompatible_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VFlashModuleVersionIncompatibleFault_Dec_Holder"

    class VMINotSupportedFault_Dec(ElementDeclaration):
        literal = "VMINotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VMINotSupportedFault")
            kw["aname"] = "_VMINotSupportedFault"
            if ns0.VMINotSupported_Def not in ns0.VMINotSupportedFault_Dec.__bases__:
                bases = list(ns0.VMINotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.VMINotSupported_Def)
                ns0.VMINotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.VMINotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VMINotSupportedFault_Dec_Holder"

    class VMOnConflictDVPortFault_Dec(ElementDeclaration):
        literal = "VMOnConflictDVPortFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VMOnConflictDVPortFault")
            kw["aname"] = "_VMOnConflictDVPortFault"
            if ns0.VMOnConflictDVPort_Def not in ns0.VMOnConflictDVPortFault_Dec.__bases__:
                bases = list(ns0.VMOnConflictDVPortFault_Dec.__bases__)
                bases.insert(0, ns0.VMOnConflictDVPort_Def)
                ns0.VMOnConflictDVPortFault_Dec.__bases__ = tuple(bases)

            ns0.VMOnConflictDVPort_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VMOnConflictDVPortFault_Dec_Holder"

    class VMOnVirtualIntranetFault_Dec(ElementDeclaration):
        literal = "VMOnVirtualIntranetFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VMOnVirtualIntranetFault")
            kw["aname"] = "_VMOnVirtualIntranetFault"
            if ns0.VMOnVirtualIntranet_Def not in ns0.VMOnVirtualIntranetFault_Dec.__bases__:
                bases = list(ns0.VMOnVirtualIntranetFault_Dec.__bases__)
                bases.insert(0, ns0.VMOnVirtualIntranet_Def)
                ns0.VMOnVirtualIntranetFault_Dec.__bases__ = tuple(bases)

            ns0.VMOnVirtualIntranet_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VMOnVirtualIntranetFault_Dec_Holder"

    class VMotionAcrossNetworkNotSupportedFault_Dec(ElementDeclaration):
        literal = "VMotionAcrossNetworkNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VMotionAcrossNetworkNotSupportedFault")
            kw["aname"] = "_VMotionAcrossNetworkNotSupportedFault"
            if ns0.VMotionAcrossNetworkNotSupported_Def not in ns0.VMotionAcrossNetworkNotSupportedFault_Dec.__bases__:
                bases = list(ns0.VMotionAcrossNetworkNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.VMotionAcrossNetworkNotSupported_Def)
                ns0.VMotionAcrossNetworkNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.VMotionAcrossNetworkNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VMotionAcrossNetworkNotSupportedFault_Dec_Holder"

    class VMotionInterfaceIssueFault_Dec(ElementDeclaration):
        literal = "VMotionInterfaceIssueFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VMotionInterfaceIssueFault")
            kw["aname"] = "_VMotionInterfaceIssueFault"
            if ns0.VMotionInterfaceIssue_Def not in ns0.VMotionInterfaceIssueFault_Dec.__bases__:
                bases = list(ns0.VMotionInterfaceIssueFault_Dec.__bases__)
                bases.insert(0, ns0.VMotionInterfaceIssue_Def)
                ns0.VMotionInterfaceIssueFault_Dec.__bases__ = tuple(bases)

            ns0.VMotionInterfaceIssue_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VMotionInterfaceIssueFault_Dec_Holder"

    class VMotionLinkCapacityLowFault_Dec(ElementDeclaration):
        literal = "VMotionLinkCapacityLowFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VMotionLinkCapacityLowFault")
            kw["aname"] = "_VMotionLinkCapacityLowFault"
            if ns0.VMotionLinkCapacityLow_Def not in ns0.VMotionLinkCapacityLowFault_Dec.__bases__:
                bases = list(ns0.VMotionLinkCapacityLowFault_Dec.__bases__)
                bases.insert(0, ns0.VMotionLinkCapacityLow_Def)
                ns0.VMotionLinkCapacityLowFault_Dec.__bases__ = tuple(bases)

            ns0.VMotionLinkCapacityLow_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VMotionLinkCapacityLowFault_Dec_Holder"

    class VMotionLinkDownFault_Dec(ElementDeclaration):
        literal = "VMotionLinkDownFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VMotionLinkDownFault")
            kw["aname"] = "_VMotionLinkDownFault"
            if ns0.VMotionLinkDown_Def not in ns0.VMotionLinkDownFault_Dec.__bases__:
                bases = list(ns0.VMotionLinkDownFault_Dec.__bases__)
                bases.insert(0, ns0.VMotionLinkDown_Def)
                ns0.VMotionLinkDownFault_Dec.__bases__ = tuple(bases)

            ns0.VMotionLinkDown_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VMotionLinkDownFault_Dec_Holder"

    class VMotionNotConfiguredFault_Dec(ElementDeclaration):
        literal = "VMotionNotConfiguredFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VMotionNotConfiguredFault")
            kw["aname"] = "_VMotionNotConfiguredFault"
            if ns0.VMotionNotConfigured_Def not in ns0.VMotionNotConfiguredFault_Dec.__bases__:
                bases = list(ns0.VMotionNotConfiguredFault_Dec.__bases__)
                bases.insert(0, ns0.VMotionNotConfigured_Def)
                ns0.VMotionNotConfiguredFault_Dec.__bases__ = tuple(bases)

            ns0.VMotionNotConfigured_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VMotionNotConfiguredFault_Dec_Holder"

    class VMotionNotLicensedFault_Dec(ElementDeclaration):
        literal = "VMotionNotLicensedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VMotionNotLicensedFault")
            kw["aname"] = "_VMotionNotLicensedFault"
            if ns0.VMotionNotLicensed_Def not in ns0.VMotionNotLicensedFault_Dec.__bases__:
                bases = list(ns0.VMotionNotLicensedFault_Dec.__bases__)
                bases.insert(0, ns0.VMotionNotLicensed_Def)
                ns0.VMotionNotLicensedFault_Dec.__bases__ = tuple(bases)

            ns0.VMotionNotLicensed_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VMotionNotLicensedFault_Dec_Holder"

    class VMotionNotSupportedFault_Dec(ElementDeclaration):
        literal = "VMotionNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VMotionNotSupportedFault")
            kw["aname"] = "_VMotionNotSupportedFault"
            if ns0.VMotionNotSupported_Def not in ns0.VMotionNotSupportedFault_Dec.__bases__:
                bases = list(ns0.VMotionNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.VMotionNotSupported_Def)
                ns0.VMotionNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.VMotionNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VMotionNotSupportedFault_Dec_Holder"

    class VMotionProtocolIncompatibleFault_Dec(ElementDeclaration):
        literal = "VMotionProtocolIncompatibleFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VMotionProtocolIncompatibleFault")
            kw["aname"] = "_VMotionProtocolIncompatibleFault"
            if ns0.VMotionProtocolIncompatible_Def not in ns0.VMotionProtocolIncompatibleFault_Dec.__bases__:
                bases = list(ns0.VMotionProtocolIncompatibleFault_Dec.__bases__)
                bases.insert(0, ns0.VMotionProtocolIncompatible_Def)
                ns0.VMotionProtocolIncompatibleFault_Dec.__bases__ = tuple(bases)

            ns0.VMotionProtocolIncompatible_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VMotionProtocolIncompatibleFault_Dec_Holder"

    class VimFaultFault_Dec(ElementDeclaration):
        literal = "VimFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VimFaultFault")
            kw["aname"] = "_VimFaultFault"
            if ns0.VimFault_Def not in ns0.VimFaultFault_Dec.__bases__:
                bases = list(ns0.VimFaultFault_Dec.__bases__)
                bases.insert(0, ns0.VimFault_Def)
                ns0.VimFaultFault_Dec.__bases__ = tuple(bases)

            ns0.VimFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VimFaultFault_Dec_Holder"

    class VirtualDiskBlocksNotFullyProvisionedFault_Dec(ElementDeclaration):
        literal = "VirtualDiskBlocksNotFullyProvisionedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VirtualDiskBlocksNotFullyProvisionedFault")
            kw["aname"] = "_VirtualDiskBlocksNotFullyProvisionedFault"
            if ns0.VirtualDiskBlocksNotFullyProvisioned_Def not in ns0.VirtualDiskBlocksNotFullyProvisionedFault_Dec.__bases__:
                bases = list(ns0.VirtualDiskBlocksNotFullyProvisionedFault_Dec.__bases__)
                bases.insert(0, ns0.VirtualDiskBlocksNotFullyProvisioned_Def)
                ns0.VirtualDiskBlocksNotFullyProvisionedFault_Dec.__bases__ = tuple(bases)

            ns0.VirtualDiskBlocksNotFullyProvisioned_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VirtualDiskBlocksNotFullyProvisionedFault_Dec_Holder"

    class VirtualDiskModeNotSupportedFault_Dec(ElementDeclaration):
        literal = "VirtualDiskModeNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VirtualDiskModeNotSupportedFault")
            kw["aname"] = "_VirtualDiskModeNotSupportedFault"
            if ns0.VirtualDiskModeNotSupported_Def not in ns0.VirtualDiskModeNotSupportedFault_Dec.__bases__:
                bases = list(ns0.VirtualDiskModeNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.VirtualDiskModeNotSupported_Def)
                ns0.VirtualDiskModeNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.VirtualDiskModeNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VirtualDiskModeNotSupportedFault_Dec_Holder"

    class VirtualEthernetCardNotSupportedFault_Dec(ElementDeclaration):
        literal = "VirtualEthernetCardNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VirtualEthernetCardNotSupportedFault")
            kw["aname"] = "_VirtualEthernetCardNotSupportedFault"
            if ns0.VirtualEthernetCardNotSupported_Def not in ns0.VirtualEthernetCardNotSupportedFault_Dec.__bases__:
                bases = list(ns0.VirtualEthernetCardNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.VirtualEthernetCardNotSupported_Def)
                ns0.VirtualEthernetCardNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.VirtualEthernetCardNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VirtualEthernetCardNotSupportedFault_Dec_Holder"

    class VirtualHardwareCompatibilityIssueFault_Dec(ElementDeclaration):
        literal = "VirtualHardwareCompatibilityIssueFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VirtualHardwareCompatibilityIssueFault")
            kw["aname"] = "_VirtualHardwareCompatibilityIssueFault"
            if ns0.VirtualHardwareCompatibilityIssue_Def not in ns0.VirtualHardwareCompatibilityIssueFault_Dec.__bases__:
                bases = list(ns0.VirtualHardwareCompatibilityIssueFault_Dec.__bases__)
                bases.insert(0, ns0.VirtualHardwareCompatibilityIssue_Def)
                ns0.VirtualHardwareCompatibilityIssueFault_Dec.__bases__ = tuple(bases)

            ns0.VirtualHardwareCompatibilityIssue_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VirtualHardwareCompatibilityIssueFault_Dec_Holder"

    class VirtualHardwareVersionNotSupportedFault_Dec(ElementDeclaration):
        literal = "VirtualHardwareVersionNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VirtualHardwareVersionNotSupportedFault")
            kw["aname"] = "_VirtualHardwareVersionNotSupportedFault"
            if ns0.VirtualHardwareVersionNotSupported_Def not in ns0.VirtualHardwareVersionNotSupportedFault_Dec.__bases__:
                bases = list(ns0.VirtualHardwareVersionNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.VirtualHardwareVersionNotSupported_Def)
                ns0.VirtualHardwareVersionNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.VirtualHardwareVersionNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VirtualHardwareVersionNotSupportedFault_Dec_Holder"

    class VmAlreadyExistsInDatacenterFault_Dec(ElementDeclaration):
        literal = "VmAlreadyExistsInDatacenterFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmAlreadyExistsInDatacenterFault")
            kw["aname"] = "_VmAlreadyExistsInDatacenterFault"
            if ns0.VmAlreadyExistsInDatacenter_Def not in ns0.VmAlreadyExistsInDatacenterFault_Dec.__bases__:
                bases = list(ns0.VmAlreadyExistsInDatacenterFault_Dec.__bases__)
                bases.insert(0, ns0.VmAlreadyExistsInDatacenter_Def)
                ns0.VmAlreadyExistsInDatacenterFault_Dec.__bases__ = tuple(bases)

            ns0.VmAlreadyExistsInDatacenter_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmAlreadyExistsInDatacenterFault_Dec_Holder"

    class VmConfigFaultFault_Dec(ElementDeclaration):
        literal = "VmConfigFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmConfigFaultFault")
            kw["aname"] = "_VmConfigFaultFault"
            if ns0.VmConfigFault_Def not in ns0.VmConfigFaultFault_Dec.__bases__:
                bases = list(ns0.VmConfigFaultFault_Dec.__bases__)
                bases.insert(0, ns0.VmConfigFault_Def)
                ns0.VmConfigFaultFault_Dec.__bases__ = tuple(bases)

            ns0.VmConfigFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmConfigFaultFault_Dec_Holder"

    class VmConfigIncompatibleForFaultToleranceFault_Dec(ElementDeclaration):
        literal = "VmConfigIncompatibleForFaultToleranceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmConfigIncompatibleForFaultToleranceFault")
            kw["aname"] = "_VmConfigIncompatibleForFaultToleranceFault"
            if ns0.VmConfigIncompatibleForFaultTolerance_Def not in ns0.VmConfigIncompatibleForFaultToleranceFault_Dec.__bases__:
                bases = list(ns0.VmConfigIncompatibleForFaultToleranceFault_Dec.__bases__)
                bases.insert(0, ns0.VmConfigIncompatibleForFaultTolerance_Def)
                ns0.VmConfigIncompatibleForFaultToleranceFault_Dec.__bases__ = tuple(bases)

            ns0.VmConfigIncompatibleForFaultTolerance_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmConfigIncompatibleForFaultToleranceFault_Dec_Holder"

    class VmConfigIncompatibleForRecordReplayFault_Dec(ElementDeclaration):
        literal = "VmConfigIncompatibleForRecordReplayFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmConfigIncompatibleForRecordReplayFault")
            kw["aname"] = "_VmConfigIncompatibleForRecordReplayFault"
            if ns0.VmConfigIncompatibleForRecordReplay_Def not in ns0.VmConfigIncompatibleForRecordReplayFault_Dec.__bases__:
                bases = list(ns0.VmConfigIncompatibleForRecordReplayFault_Dec.__bases__)
                bases.insert(0, ns0.VmConfigIncompatibleForRecordReplay_Def)
                ns0.VmConfigIncompatibleForRecordReplayFault_Dec.__bases__ = tuple(bases)

            ns0.VmConfigIncompatibleForRecordReplay_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmConfigIncompatibleForRecordReplayFault_Dec_Holder"

    class VmFaultToleranceConfigIssueFault_Dec(ElementDeclaration):
        literal = "VmFaultToleranceConfigIssueFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmFaultToleranceConfigIssueFault")
            kw["aname"] = "_VmFaultToleranceConfigIssueFault"
            if ns0.VmFaultToleranceConfigIssue_Def not in ns0.VmFaultToleranceConfigIssueFault_Dec.__bases__:
                bases = list(ns0.VmFaultToleranceConfigIssueFault_Dec.__bases__)
                bases.insert(0, ns0.VmFaultToleranceConfigIssue_Def)
                ns0.VmFaultToleranceConfigIssueFault_Dec.__bases__ = tuple(bases)

            ns0.VmFaultToleranceConfigIssue_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmFaultToleranceConfigIssueFault_Dec_Holder"

    class VmFaultToleranceConfigIssueWrapperFault_Dec(ElementDeclaration):
        literal = "VmFaultToleranceConfigIssueWrapperFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmFaultToleranceConfigIssueWrapperFault")
            kw["aname"] = "_VmFaultToleranceConfigIssueWrapperFault"
            if ns0.VmFaultToleranceConfigIssueWrapper_Def not in ns0.VmFaultToleranceConfigIssueWrapperFault_Dec.__bases__:
                bases = list(ns0.VmFaultToleranceConfigIssueWrapperFault_Dec.__bases__)
                bases.insert(0, ns0.VmFaultToleranceConfigIssueWrapper_Def)
                ns0.VmFaultToleranceConfigIssueWrapperFault_Dec.__bases__ = tuple(bases)

            ns0.VmFaultToleranceConfigIssueWrapper_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmFaultToleranceConfigIssueWrapperFault_Dec_Holder"

    class VmFaultToleranceInvalidFileBackingFault_Dec(ElementDeclaration):
        literal = "VmFaultToleranceInvalidFileBackingFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmFaultToleranceInvalidFileBackingFault")
            kw["aname"] = "_VmFaultToleranceInvalidFileBackingFault"
            if ns0.VmFaultToleranceInvalidFileBacking_Def not in ns0.VmFaultToleranceInvalidFileBackingFault_Dec.__bases__:
                bases = list(ns0.VmFaultToleranceInvalidFileBackingFault_Dec.__bases__)
                bases.insert(0, ns0.VmFaultToleranceInvalidFileBacking_Def)
                ns0.VmFaultToleranceInvalidFileBackingFault_Dec.__bases__ = tuple(bases)

            ns0.VmFaultToleranceInvalidFileBacking_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmFaultToleranceInvalidFileBackingFault_Dec_Holder"

    class VmFaultToleranceIssueFault_Dec(ElementDeclaration):
        literal = "VmFaultToleranceIssueFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmFaultToleranceIssueFault")
            kw["aname"] = "_VmFaultToleranceIssueFault"
            if ns0.VmFaultToleranceIssue_Def not in ns0.VmFaultToleranceIssueFault_Dec.__bases__:
                bases = list(ns0.VmFaultToleranceIssueFault_Dec.__bases__)
                bases.insert(0, ns0.VmFaultToleranceIssue_Def)
                ns0.VmFaultToleranceIssueFault_Dec.__bases__ = tuple(bases)

            ns0.VmFaultToleranceIssue_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmFaultToleranceIssueFault_Dec_Holder"

    class VmFaultToleranceOpIssuesListFault_Dec(ElementDeclaration):
        literal = "VmFaultToleranceOpIssuesListFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmFaultToleranceOpIssuesListFault")
            kw["aname"] = "_VmFaultToleranceOpIssuesListFault"
            if ns0.VmFaultToleranceOpIssuesList_Def not in ns0.VmFaultToleranceOpIssuesListFault_Dec.__bases__:
                bases = list(ns0.VmFaultToleranceOpIssuesListFault_Dec.__bases__)
                bases.insert(0, ns0.VmFaultToleranceOpIssuesList_Def)
                ns0.VmFaultToleranceOpIssuesListFault_Dec.__bases__ = tuple(bases)

            ns0.VmFaultToleranceOpIssuesList_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmFaultToleranceOpIssuesListFault_Dec_Holder"

    class VmFaultToleranceTooManyFtVcpusOnHostFault_Dec(ElementDeclaration):
        literal = "VmFaultToleranceTooManyFtVcpusOnHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmFaultToleranceTooManyFtVcpusOnHostFault")
            kw["aname"] = "_VmFaultToleranceTooManyFtVcpusOnHostFault"
            if ns0.VmFaultToleranceTooManyFtVcpusOnHost_Def not in ns0.VmFaultToleranceTooManyFtVcpusOnHostFault_Dec.__bases__:
                bases = list(ns0.VmFaultToleranceTooManyFtVcpusOnHostFault_Dec.__bases__)
                bases.insert(0, ns0.VmFaultToleranceTooManyFtVcpusOnHost_Def)
                ns0.VmFaultToleranceTooManyFtVcpusOnHostFault_Dec.__bases__ = tuple(bases)

            ns0.VmFaultToleranceTooManyFtVcpusOnHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmFaultToleranceTooManyFtVcpusOnHostFault_Dec_Holder"

    class VmFaultToleranceTooManyVMsOnHostFault_Dec(ElementDeclaration):
        literal = "VmFaultToleranceTooManyVMsOnHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmFaultToleranceTooManyVMsOnHostFault")
            kw["aname"] = "_VmFaultToleranceTooManyVMsOnHostFault"
            if ns0.VmFaultToleranceTooManyVMsOnHost_Def not in ns0.VmFaultToleranceTooManyVMsOnHostFault_Dec.__bases__:
                bases = list(ns0.VmFaultToleranceTooManyVMsOnHostFault_Dec.__bases__)
                bases.insert(0, ns0.VmFaultToleranceTooManyVMsOnHost_Def)
                ns0.VmFaultToleranceTooManyVMsOnHostFault_Dec.__bases__ = tuple(bases)

            ns0.VmFaultToleranceTooManyVMsOnHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmFaultToleranceTooManyVMsOnHostFault_Dec_Holder"

    class VmHostAffinityRuleViolationFault_Dec(ElementDeclaration):
        literal = "VmHostAffinityRuleViolationFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmHostAffinityRuleViolationFault")
            kw["aname"] = "_VmHostAffinityRuleViolationFault"
            if ns0.VmHostAffinityRuleViolation_Def not in ns0.VmHostAffinityRuleViolationFault_Dec.__bases__:
                bases = list(ns0.VmHostAffinityRuleViolationFault_Dec.__bases__)
                bases.insert(0, ns0.VmHostAffinityRuleViolation_Def)
                ns0.VmHostAffinityRuleViolationFault_Dec.__bases__ = tuple(bases)

            ns0.VmHostAffinityRuleViolation_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmHostAffinityRuleViolationFault_Dec_Holder"

    class VmLimitLicenseFault_Dec(ElementDeclaration):
        literal = "VmLimitLicenseFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmLimitLicenseFault")
            kw["aname"] = "_VmLimitLicenseFault"
            if ns0.VmLimitLicense_Def not in ns0.VmLimitLicenseFault_Dec.__bases__:
                bases = list(ns0.VmLimitLicenseFault_Dec.__bases__)
                bases.insert(0, ns0.VmLimitLicense_Def)
                ns0.VmLimitLicenseFault_Dec.__bases__ = tuple(bases)

            ns0.VmLimitLicense_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmLimitLicenseFault_Dec_Holder"

    class VmMetadataManagerFaultFault_Dec(ElementDeclaration):
        literal = "VmMetadataManagerFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmMetadataManagerFaultFault")
            kw["aname"] = "_VmMetadataManagerFaultFault"
            if ns0.VmMetadataManagerFault_Def not in ns0.VmMetadataManagerFaultFault_Dec.__bases__:
                bases = list(ns0.VmMetadataManagerFaultFault_Dec.__bases__)
                bases.insert(0, ns0.VmMetadataManagerFault_Def)
                ns0.VmMetadataManagerFaultFault_Dec.__bases__ = tuple(bases)

            ns0.VmMetadataManagerFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmMetadataManagerFaultFault_Dec_Holder"

    class VmMonitorIncompatibleForFaultToleranceFault_Dec(ElementDeclaration):
        literal = "VmMonitorIncompatibleForFaultToleranceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmMonitorIncompatibleForFaultToleranceFault")
            kw["aname"] = "_VmMonitorIncompatibleForFaultToleranceFault"
            if ns0.VmMonitorIncompatibleForFaultTolerance_Def not in ns0.VmMonitorIncompatibleForFaultToleranceFault_Dec.__bases__:
                bases = list(ns0.VmMonitorIncompatibleForFaultToleranceFault_Dec.__bases__)
                bases.insert(0, ns0.VmMonitorIncompatibleForFaultTolerance_Def)
                ns0.VmMonitorIncompatibleForFaultToleranceFault_Dec.__bases__ = tuple(bases)

            ns0.VmMonitorIncompatibleForFaultTolerance_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmMonitorIncompatibleForFaultToleranceFault_Dec_Holder"

    class VmPowerOnDisabledFault_Dec(ElementDeclaration):
        literal = "VmPowerOnDisabledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmPowerOnDisabledFault")
            kw["aname"] = "_VmPowerOnDisabledFault"
            if ns0.VmPowerOnDisabled_Def not in ns0.VmPowerOnDisabledFault_Dec.__bases__:
                bases = list(ns0.VmPowerOnDisabledFault_Dec.__bases__)
                bases.insert(0, ns0.VmPowerOnDisabled_Def)
                ns0.VmPowerOnDisabledFault_Dec.__bases__ = tuple(bases)

            ns0.VmPowerOnDisabled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmPowerOnDisabledFault_Dec_Holder"

    class VmSmpFaultToleranceTooManyVMsOnHostFault_Dec(ElementDeclaration):
        literal = "VmSmpFaultToleranceTooManyVMsOnHostFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmSmpFaultToleranceTooManyVMsOnHostFault")
            kw["aname"] = "_VmSmpFaultToleranceTooManyVMsOnHostFault"
            if ns0.VmSmpFaultToleranceTooManyVMsOnHost_Def not in ns0.VmSmpFaultToleranceTooManyVMsOnHostFault_Dec.__bases__:
                bases = list(ns0.VmSmpFaultToleranceTooManyVMsOnHostFault_Dec.__bases__)
                bases.insert(0, ns0.VmSmpFaultToleranceTooManyVMsOnHost_Def)
                ns0.VmSmpFaultToleranceTooManyVMsOnHostFault_Dec.__bases__ = tuple(bases)

            ns0.VmSmpFaultToleranceTooManyVMsOnHost_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmSmpFaultToleranceTooManyVMsOnHostFault_Dec_Holder"

    class VmToolsUpgradeFaultFault_Dec(ElementDeclaration):
        literal = "VmToolsUpgradeFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmToolsUpgradeFaultFault")
            kw["aname"] = "_VmToolsUpgradeFaultFault"
            if ns0.VmToolsUpgradeFault_Def not in ns0.VmToolsUpgradeFaultFault_Dec.__bases__:
                bases = list(ns0.VmToolsUpgradeFaultFault_Dec.__bases__)
                bases.insert(0, ns0.VmToolsUpgradeFault_Def)
                ns0.VmToolsUpgradeFaultFault_Dec.__bases__ = tuple(bases)

            ns0.VmToolsUpgradeFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmToolsUpgradeFaultFault_Dec_Holder"

    class VmValidateMaxDeviceFault_Dec(ElementDeclaration):
        literal = "VmValidateMaxDeviceFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmValidateMaxDeviceFault")
            kw["aname"] = "_VmValidateMaxDeviceFault"
            if ns0.VmValidateMaxDevice_Def not in ns0.VmValidateMaxDeviceFault_Dec.__bases__:
                bases = list(ns0.VmValidateMaxDeviceFault_Dec.__bases__)
                bases.insert(0, ns0.VmValidateMaxDevice_Def)
                ns0.VmValidateMaxDeviceFault_Dec.__bases__ = tuple(bases)

            ns0.VmValidateMaxDevice_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmValidateMaxDeviceFault_Dec_Holder"

    class VmWwnConflictFault_Dec(ElementDeclaration):
        literal = "VmWwnConflictFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmWwnConflictFault")
            kw["aname"] = "_VmWwnConflictFault"
            if ns0.VmWwnConflict_Def not in ns0.VmWwnConflictFault_Dec.__bases__:
                bases = list(ns0.VmWwnConflictFault_Dec.__bases__)
                bases.insert(0, ns0.VmWwnConflict_Def)
                ns0.VmWwnConflictFault_Dec.__bases__ = tuple(bases)

            ns0.VmWwnConflict_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmWwnConflictFault_Dec_Holder"

    class VmfsAlreadyMountedFault_Dec(ElementDeclaration):
        literal = "VmfsAlreadyMountedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmfsAlreadyMountedFault")
            kw["aname"] = "_VmfsAlreadyMountedFault"
            if ns0.VmfsAlreadyMounted_Def not in ns0.VmfsAlreadyMountedFault_Dec.__bases__:
                bases = list(ns0.VmfsAlreadyMountedFault_Dec.__bases__)
                bases.insert(0, ns0.VmfsAlreadyMounted_Def)
                ns0.VmfsAlreadyMountedFault_Dec.__bases__ = tuple(bases)

            ns0.VmfsAlreadyMounted_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmfsAlreadyMountedFault_Dec_Holder"

    class VmfsAmbiguousMountFault_Dec(ElementDeclaration):
        literal = "VmfsAmbiguousMountFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmfsAmbiguousMountFault")
            kw["aname"] = "_VmfsAmbiguousMountFault"
            if ns0.VmfsAmbiguousMount_Def not in ns0.VmfsAmbiguousMountFault_Dec.__bases__:
                bases = list(ns0.VmfsAmbiguousMountFault_Dec.__bases__)
                bases.insert(0, ns0.VmfsAmbiguousMount_Def)
                ns0.VmfsAmbiguousMountFault_Dec.__bases__ = tuple(bases)

            ns0.VmfsAmbiguousMount_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmfsAmbiguousMountFault_Dec_Holder"

    class VmfsMountFaultFault_Dec(ElementDeclaration):
        literal = "VmfsMountFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmfsMountFaultFault")
            kw["aname"] = "_VmfsMountFaultFault"
            if ns0.VmfsMountFault_Def not in ns0.VmfsMountFaultFault_Dec.__bases__:
                bases = list(ns0.VmfsMountFaultFault_Dec.__bases__)
                bases.insert(0, ns0.VmfsMountFault_Def)
                ns0.VmfsMountFaultFault_Dec.__bases__ = tuple(bases)

            ns0.VmfsMountFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmfsMountFaultFault_Dec_Holder"

    class VmotionInterfaceNotEnabledFault_Dec(ElementDeclaration):
        literal = "VmotionInterfaceNotEnabledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VmotionInterfaceNotEnabledFault")
            kw["aname"] = "_VmotionInterfaceNotEnabledFault"
            if ns0.VmotionInterfaceNotEnabled_Def not in ns0.VmotionInterfaceNotEnabledFault_Dec.__bases__:
                bases = list(ns0.VmotionInterfaceNotEnabledFault_Dec.__bases__)
                bases.insert(0, ns0.VmotionInterfaceNotEnabled_Def)
                ns0.VmotionInterfaceNotEnabledFault_Dec.__bases__ = tuple(bases)

            ns0.VmotionInterfaceNotEnabled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VmotionInterfaceNotEnabledFault_Dec_Holder"

    class VolumeEditorErrorFault_Dec(ElementDeclaration):
        literal = "VolumeEditorErrorFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VolumeEditorErrorFault")
            kw["aname"] = "_VolumeEditorErrorFault"
            if ns0.VolumeEditorError_Def not in ns0.VolumeEditorErrorFault_Dec.__bases__:
                bases = list(ns0.VolumeEditorErrorFault_Dec.__bases__)
                bases.insert(0, ns0.VolumeEditorError_Def)
                ns0.VolumeEditorErrorFault_Dec.__bases__ = tuple(bases)

            ns0.VolumeEditorError_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VolumeEditorErrorFault_Dec_Holder"

    class VramLimitLicenseFault_Dec(ElementDeclaration):
        literal = "VramLimitLicenseFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VramLimitLicenseFault")
            kw["aname"] = "_VramLimitLicenseFault"
            if ns0.VramLimitLicense_Def not in ns0.VramLimitLicenseFault_Dec.__bases__:
                bases = list(ns0.VramLimitLicenseFault_Dec.__bases__)
                bases.insert(0, ns0.VramLimitLicense_Def)
                ns0.VramLimitLicenseFault_Dec.__bases__ = tuple(bases)

            ns0.VramLimitLicense_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VramLimitLicenseFault_Dec_Holder"

    class VsanClusterUuidMismatchFault_Dec(ElementDeclaration):
        literal = "VsanClusterUuidMismatchFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VsanClusterUuidMismatchFault")
            kw["aname"] = "_VsanClusterUuidMismatchFault"
            if ns0.VsanClusterUuidMismatch_Def not in ns0.VsanClusterUuidMismatchFault_Dec.__bases__:
                bases = list(ns0.VsanClusterUuidMismatchFault_Dec.__bases__)
                bases.insert(0, ns0.VsanClusterUuidMismatch_Def)
                ns0.VsanClusterUuidMismatchFault_Dec.__bases__ = tuple(bases)

            ns0.VsanClusterUuidMismatch_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VsanClusterUuidMismatchFault_Dec_Holder"

    class VsanDiskFaultFault_Dec(ElementDeclaration):
        literal = "VsanDiskFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VsanDiskFaultFault")
            kw["aname"] = "_VsanDiskFaultFault"
            if ns0.VsanDiskFault_Def not in ns0.VsanDiskFaultFault_Dec.__bases__:
                bases = list(ns0.VsanDiskFaultFault_Dec.__bases__)
                bases.insert(0, ns0.VsanDiskFault_Def)
                ns0.VsanDiskFaultFault_Dec.__bases__ = tuple(bases)

            ns0.VsanDiskFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VsanDiskFaultFault_Dec_Holder"

    class VsanFaultFault_Dec(ElementDeclaration):
        literal = "VsanFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VsanFaultFault")
            kw["aname"] = "_VsanFaultFault"
            if ns0.VsanFault_Def not in ns0.VsanFaultFault_Dec.__bases__:
                bases = list(ns0.VsanFaultFault_Dec.__bases__)
                bases.insert(0, ns0.VsanFault_Def)
                ns0.VsanFaultFault_Dec.__bases__ = tuple(bases)

            ns0.VsanFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VsanFaultFault_Dec_Holder"

    class VsanIncompatibleDiskMappingFault_Dec(ElementDeclaration):
        literal = "VsanIncompatibleDiskMappingFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VsanIncompatibleDiskMappingFault")
            kw["aname"] = "_VsanIncompatibleDiskMappingFault"
            if ns0.VsanIncompatibleDiskMapping_Def not in ns0.VsanIncompatibleDiskMappingFault_Dec.__bases__:
                bases = list(ns0.VsanIncompatibleDiskMappingFault_Dec.__bases__)
                bases.insert(0, ns0.VsanIncompatibleDiskMapping_Def)
                ns0.VsanIncompatibleDiskMappingFault_Dec.__bases__ = tuple(bases)

            ns0.VsanIncompatibleDiskMapping_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VsanIncompatibleDiskMappingFault_Dec_Holder"

    class VspanDestPortConflictFault_Dec(ElementDeclaration):
        literal = "VspanDestPortConflictFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VspanDestPortConflictFault")
            kw["aname"] = "_VspanDestPortConflictFault"
            if ns0.VspanDestPortConflict_Def not in ns0.VspanDestPortConflictFault_Dec.__bases__:
                bases = list(ns0.VspanDestPortConflictFault_Dec.__bases__)
                bases.insert(0, ns0.VspanDestPortConflict_Def)
                ns0.VspanDestPortConflictFault_Dec.__bases__ = tuple(bases)

            ns0.VspanDestPortConflict_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VspanDestPortConflictFault_Dec_Holder"

    class VspanPortConflictFault_Dec(ElementDeclaration):
        literal = "VspanPortConflictFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VspanPortConflictFault")
            kw["aname"] = "_VspanPortConflictFault"
            if ns0.VspanPortConflict_Def not in ns0.VspanPortConflictFault_Dec.__bases__:
                bases = list(ns0.VspanPortConflictFault_Dec.__bases__)
                bases.insert(0, ns0.VspanPortConflict_Def)
                ns0.VspanPortConflictFault_Dec.__bases__ = tuple(bases)

            ns0.VspanPortConflict_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VspanPortConflictFault_Dec_Holder"

    class VspanPortMoveFaultFault_Dec(ElementDeclaration):
        literal = "VspanPortMoveFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VspanPortMoveFaultFault")
            kw["aname"] = "_VspanPortMoveFaultFault"
            if ns0.VspanPortMoveFault_Def not in ns0.VspanPortMoveFaultFault_Dec.__bases__:
                bases = list(ns0.VspanPortMoveFaultFault_Dec.__bases__)
                bases.insert(0, ns0.VspanPortMoveFault_Def)
                ns0.VspanPortMoveFaultFault_Dec.__bases__ = tuple(bases)

            ns0.VspanPortMoveFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VspanPortMoveFaultFault_Dec_Holder"

    class VspanPortPromiscChangeFaultFault_Dec(ElementDeclaration):
        literal = "VspanPortPromiscChangeFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VspanPortPromiscChangeFaultFault")
            kw["aname"] = "_VspanPortPromiscChangeFaultFault"
            if ns0.VspanPortPromiscChangeFault_Def not in ns0.VspanPortPromiscChangeFaultFault_Dec.__bases__:
                bases = list(ns0.VspanPortPromiscChangeFaultFault_Dec.__bases__)
                bases.insert(0, ns0.VspanPortPromiscChangeFault_Def)
                ns0.VspanPortPromiscChangeFaultFault_Dec.__bases__ = tuple(bases)

            ns0.VspanPortPromiscChangeFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VspanPortPromiscChangeFaultFault_Dec_Holder"

    class VspanPortgroupPromiscChangeFaultFault_Dec(ElementDeclaration):
        literal = "VspanPortgroupPromiscChangeFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VspanPortgroupPromiscChangeFaultFault")
            kw["aname"] = "_VspanPortgroupPromiscChangeFaultFault"
            if ns0.VspanPortgroupPromiscChangeFault_Def not in ns0.VspanPortgroupPromiscChangeFaultFault_Dec.__bases__:
                bases = list(ns0.VspanPortgroupPromiscChangeFaultFault_Dec.__bases__)
                bases.insert(0, ns0.VspanPortgroupPromiscChangeFault_Def)
                ns0.VspanPortgroupPromiscChangeFaultFault_Dec.__bases__ = tuple(bases)

            ns0.VspanPortgroupPromiscChangeFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VspanPortgroupPromiscChangeFaultFault_Dec_Holder"

    class VspanPortgroupTypeChangeFaultFault_Dec(ElementDeclaration):
        literal = "VspanPortgroupTypeChangeFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VspanPortgroupTypeChangeFaultFault")
            kw["aname"] = "_VspanPortgroupTypeChangeFaultFault"
            if ns0.VspanPortgroupTypeChangeFault_Def not in ns0.VspanPortgroupTypeChangeFaultFault_Dec.__bases__:
                bases = list(ns0.VspanPortgroupTypeChangeFaultFault_Dec.__bases__)
                bases.insert(0, ns0.VspanPortgroupTypeChangeFault_Def)
                ns0.VspanPortgroupTypeChangeFaultFault_Dec.__bases__ = tuple(bases)

            ns0.VspanPortgroupTypeChangeFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VspanPortgroupTypeChangeFaultFault_Dec_Holder"

    class VspanPromiscuousPortNotSupportedFault_Dec(ElementDeclaration):
        literal = "VspanPromiscuousPortNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VspanPromiscuousPortNotSupportedFault")
            kw["aname"] = "_VspanPromiscuousPortNotSupportedFault"
            if ns0.VspanPromiscuousPortNotSupported_Def not in ns0.VspanPromiscuousPortNotSupportedFault_Dec.__bases__:
                bases = list(ns0.VspanPromiscuousPortNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.VspanPromiscuousPortNotSupported_Def)
                ns0.VspanPromiscuousPortNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.VspanPromiscuousPortNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VspanPromiscuousPortNotSupportedFault_Dec_Holder"

    class VspanSameSessionPortConflictFault_Dec(ElementDeclaration):
        literal = "VspanSameSessionPortConflictFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VspanSameSessionPortConflictFault")
            kw["aname"] = "_VspanSameSessionPortConflictFault"
            if ns0.VspanSameSessionPortConflict_Def not in ns0.VspanSameSessionPortConflictFault_Dec.__bases__:
                bases = list(ns0.VspanSameSessionPortConflictFault_Dec.__bases__)
                bases.insert(0, ns0.VspanSameSessionPortConflict_Def)
                ns0.VspanSameSessionPortConflictFault_Dec.__bases__ = tuple(bases)

            ns0.VspanSameSessionPortConflict_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VspanSameSessionPortConflictFault_Dec_Holder"

    class WakeOnLanNotSupportedFault_Dec(ElementDeclaration):
        literal = "WakeOnLanNotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","WakeOnLanNotSupportedFault")
            kw["aname"] = "_WakeOnLanNotSupportedFault"
            if ns0.WakeOnLanNotSupported_Def not in ns0.WakeOnLanNotSupportedFault_Dec.__bases__:
                bases = list(ns0.WakeOnLanNotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.WakeOnLanNotSupported_Def)
                ns0.WakeOnLanNotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.WakeOnLanNotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "WakeOnLanNotSupportedFault_Dec_Holder"

    class WakeOnLanNotSupportedByVmotionNICFault_Dec(ElementDeclaration):
        literal = "WakeOnLanNotSupportedByVmotionNICFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","WakeOnLanNotSupportedByVmotionNICFault")
            kw["aname"] = "_WakeOnLanNotSupportedByVmotionNICFault"
            if ns0.WakeOnLanNotSupportedByVmotionNIC_Def not in ns0.WakeOnLanNotSupportedByVmotionNICFault_Dec.__bases__:
                bases = list(ns0.WakeOnLanNotSupportedByVmotionNICFault_Dec.__bases__)
                bases.insert(0, ns0.WakeOnLanNotSupportedByVmotionNIC_Def)
                ns0.WakeOnLanNotSupportedByVmotionNICFault_Dec.__bases__ = tuple(bases)

            ns0.WakeOnLanNotSupportedByVmotionNIC_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "WakeOnLanNotSupportedByVmotionNICFault_Dec_Holder"

    class WillLoseHAProtectionFault_Dec(ElementDeclaration):
        literal = "WillLoseHAProtectionFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","WillLoseHAProtectionFault")
            kw["aname"] = "_WillLoseHAProtectionFault"
            if ns0.WillLoseHAProtection_Def not in ns0.WillLoseHAProtectionFault_Dec.__bases__:
                bases = list(ns0.WillLoseHAProtectionFault_Dec.__bases__)
                bases.insert(0, ns0.WillLoseHAProtection_Def)
                ns0.WillLoseHAProtectionFault_Dec.__bases__ = tuple(bases)

            ns0.WillLoseHAProtection_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "WillLoseHAProtectionFault_Dec_Holder"

    class WillModifyConfigCpuRequirementsFault_Dec(ElementDeclaration):
        literal = "WillModifyConfigCpuRequirementsFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","WillModifyConfigCpuRequirementsFault")
            kw["aname"] = "_WillModifyConfigCpuRequirementsFault"
            if ns0.WillModifyConfigCpuRequirements_Def not in ns0.WillModifyConfigCpuRequirementsFault_Dec.__bases__:
                bases = list(ns0.WillModifyConfigCpuRequirementsFault_Dec.__bases__)
                bases.insert(0, ns0.WillModifyConfigCpuRequirements_Def)
                ns0.WillModifyConfigCpuRequirementsFault_Dec.__bases__ = tuple(bases)

            ns0.WillModifyConfigCpuRequirements_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "WillModifyConfigCpuRequirementsFault_Dec_Holder"

    class WillResetSnapshotDirectoryFault_Dec(ElementDeclaration):
        literal = "WillResetSnapshotDirectoryFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","WillResetSnapshotDirectoryFault")
            kw["aname"] = "_WillResetSnapshotDirectoryFault"
            if ns0.WillResetSnapshotDirectory_Def not in ns0.WillResetSnapshotDirectoryFault_Dec.__bases__:
                bases = list(ns0.WillResetSnapshotDirectoryFault_Dec.__bases__)
                bases.insert(0, ns0.WillResetSnapshotDirectory_Def)
                ns0.WillResetSnapshotDirectoryFault_Dec.__bases__ = tuple(bases)

            ns0.WillResetSnapshotDirectory_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "WillResetSnapshotDirectoryFault_Dec_Holder"

    class WipeDiskFaultFault_Dec(ElementDeclaration):
        literal = "WipeDiskFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","WipeDiskFaultFault")
            kw["aname"] = "_WipeDiskFaultFault"
            if ns0.WipeDiskFault_Def not in ns0.WipeDiskFaultFault_Dec.__bases__:
                bases = list(ns0.WipeDiskFaultFault_Dec.__bases__)
                bases.insert(0, ns0.WipeDiskFault_Def)
                ns0.WipeDiskFaultFault_Dec.__bases__ = tuple(bases)

            ns0.WipeDiskFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "WipeDiskFaultFault_Dec_Holder"

    class JoinDomain_Task_Dec(ElementDeclaration):
        literal = "JoinDomain_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","JoinDomain_Task")
            kw["aname"] = "_JoinDomain_Task"
            if ns0.JoinDomainRequestType_Def not in ns0.JoinDomain_Task_Dec.__bases__:
                bases = list(ns0.JoinDomain_Task_Dec.__bases__)
                bases.insert(0, ns0.JoinDomainRequestType_Def)
                ns0.JoinDomain_Task_Dec.__bases__ = tuple(bases)

            ns0.JoinDomainRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "JoinDomain_Task_Dec_Holder"

    class JoinDomain_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "JoinDomain_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.JoinDomain_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","JoinDomain_TaskResponse")
            kw["aname"] = "_JoinDomain_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "JoinDomain_TaskResponse_Holder"
            self.pyclass = Holder

    class JoinDomainWithCAM_Task_Dec(ElementDeclaration):
        literal = "JoinDomainWithCAM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","JoinDomainWithCAM_Task")
            kw["aname"] = "_JoinDomainWithCAM_Task"
            if ns0.JoinDomainWithCAMRequestType_Def not in ns0.JoinDomainWithCAM_Task_Dec.__bases__:
                bases = list(ns0.JoinDomainWithCAM_Task_Dec.__bases__)
                bases.insert(0, ns0.JoinDomainWithCAMRequestType_Def)
                ns0.JoinDomainWithCAM_Task_Dec.__bases__ = tuple(bases)

            ns0.JoinDomainWithCAMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "JoinDomainWithCAM_Task_Dec_Holder"

    class JoinDomainWithCAM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "JoinDomainWithCAM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.JoinDomainWithCAM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","JoinDomainWithCAM_TaskResponse")
            kw["aname"] = "_JoinDomainWithCAM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "JoinDomainWithCAM_TaskResponse_Holder"
            self.pyclass = Holder

    class ImportCertificateForCAM_Task_Dec(ElementDeclaration):
        literal = "ImportCertificateForCAM_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ImportCertificateForCAM_Task")
            kw["aname"] = "_ImportCertificateForCAM_Task"
            if ns0.ImportCertificateForCAMRequestType_Def not in ns0.ImportCertificateForCAM_Task_Dec.__bases__:
                bases = list(ns0.ImportCertificateForCAM_Task_Dec.__bases__)
                bases.insert(0, ns0.ImportCertificateForCAMRequestType_Def)
                ns0.ImportCertificateForCAM_Task_Dec.__bases__ = tuple(bases)

            ns0.ImportCertificateForCAMRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ImportCertificateForCAM_Task_Dec_Holder"

    class ImportCertificateForCAM_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ImportCertificateForCAM_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ImportCertificateForCAM_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ImportCertificateForCAM_TaskResponse")
            kw["aname"] = "_ImportCertificateForCAM_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ImportCertificateForCAM_TaskResponse_Holder"
            self.pyclass = Holder

    class LeaveCurrentDomain_Task_Dec(ElementDeclaration):
        literal = "LeaveCurrentDomain_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","LeaveCurrentDomain_Task")
            kw["aname"] = "_LeaveCurrentDomain_Task"
            if ns0.LeaveCurrentDomainRequestType_Def not in ns0.LeaveCurrentDomain_Task_Dec.__bases__:
                bases = list(ns0.LeaveCurrentDomain_Task_Dec.__bases__)
                bases.insert(0, ns0.LeaveCurrentDomainRequestType_Def)
                ns0.LeaveCurrentDomain_Task_Dec.__bases__ = tuple(bases)

            ns0.LeaveCurrentDomainRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "LeaveCurrentDomain_Task_Dec_Holder"

    class LeaveCurrentDomain_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "LeaveCurrentDomain_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.LeaveCurrentDomain_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","LeaveCurrentDomain_TaskResponse")
            kw["aname"] = "_LeaveCurrentDomain_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "LeaveCurrentDomain_TaskResponse_Holder"
            self.pyclass = Holder

    class EnableSmartCardAuthentication_Dec(ElementDeclaration):
        literal = "EnableSmartCardAuthentication"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EnableSmartCardAuthentication")
            kw["aname"] = "_EnableSmartCardAuthentication"
            if ns0.EnableSmartCardAuthenticationRequestType_Def not in ns0.EnableSmartCardAuthentication_Dec.__bases__:
                bases = list(ns0.EnableSmartCardAuthentication_Dec.__bases__)
                bases.insert(0, ns0.EnableSmartCardAuthenticationRequestType_Def)
                ns0.EnableSmartCardAuthentication_Dec.__bases__ = tuple(bases)

            ns0.EnableSmartCardAuthenticationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EnableSmartCardAuthentication_Dec_Holder"

    class EnableSmartCardAuthenticationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EnableSmartCardAuthenticationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EnableSmartCardAuthenticationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","EnableSmartCardAuthenticationResponse")
            kw["aname"] = "_EnableSmartCardAuthenticationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "EnableSmartCardAuthenticationResponse_Holder"
            self.pyclass = Holder

    class InstallSmartCardTrustAnchor_Dec(ElementDeclaration):
        literal = "InstallSmartCardTrustAnchor"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InstallSmartCardTrustAnchor")
            kw["aname"] = "_InstallSmartCardTrustAnchor"
            if ns0.InstallSmartCardTrustAnchorRequestType_Def not in ns0.InstallSmartCardTrustAnchor_Dec.__bases__:
                bases = list(ns0.InstallSmartCardTrustAnchor_Dec.__bases__)
                bases.insert(0, ns0.InstallSmartCardTrustAnchorRequestType_Def)
                ns0.InstallSmartCardTrustAnchor_Dec.__bases__ = tuple(bases)

            ns0.InstallSmartCardTrustAnchorRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InstallSmartCardTrustAnchor_Dec_Holder"

    class InstallSmartCardTrustAnchorResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "InstallSmartCardTrustAnchorResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.InstallSmartCardTrustAnchorResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","InstallSmartCardTrustAnchorResponse")
            kw["aname"] = "_InstallSmartCardTrustAnchorResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "InstallSmartCardTrustAnchorResponse_Holder"
            self.pyclass = Holder

    class ReplaceSmartCardTrustAnchors_Dec(ElementDeclaration):
        literal = "ReplaceSmartCardTrustAnchors"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReplaceSmartCardTrustAnchors")
            kw["aname"] = "_ReplaceSmartCardTrustAnchors"
            if ns0.ReplaceSmartCardTrustAnchorsRequestType_Def not in ns0.ReplaceSmartCardTrustAnchors_Dec.__bases__:
                bases = list(ns0.ReplaceSmartCardTrustAnchors_Dec.__bases__)
                bases.insert(0, ns0.ReplaceSmartCardTrustAnchorsRequestType_Def)
                ns0.ReplaceSmartCardTrustAnchors_Dec.__bases__ = tuple(bases)

            ns0.ReplaceSmartCardTrustAnchorsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReplaceSmartCardTrustAnchors_Dec_Holder"

    class ReplaceSmartCardTrustAnchorsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReplaceSmartCardTrustAnchorsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReplaceSmartCardTrustAnchorsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ReplaceSmartCardTrustAnchorsResponse")
            kw["aname"] = "_ReplaceSmartCardTrustAnchorsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ReplaceSmartCardTrustAnchorsResponse_Holder"
            self.pyclass = Holder

    class RemoveSmartCardTrustAnchor_Dec(ElementDeclaration):
        literal = "RemoveSmartCardTrustAnchor"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveSmartCardTrustAnchor")
            kw["aname"] = "_RemoveSmartCardTrustAnchor"
            if ns0.RemoveSmartCardTrustAnchorRequestType_Def not in ns0.RemoveSmartCardTrustAnchor_Dec.__bases__:
                bases = list(ns0.RemoveSmartCardTrustAnchor_Dec.__bases__)
                bases.insert(0, ns0.RemoveSmartCardTrustAnchorRequestType_Def)
                ns0.RemoveSmartCardTrustAnchor_Dec.__bases__ = tuple(bases)

            ns0.RemoveSmartCardTrustAnchorRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveSmartCardTrustAnchor_Dec_Holder"

    class RemoveSmartCardTrustAnchorResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveSmartCardTrustAnchorResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveSmartCardTrustAnchorResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveSmartCardTrustAnchorResponse")
            kw["aname"] = "_RemoveSmartCardTrustAnchorResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveSmartCardTrustAnchorResponse_Holder"
            self.pyclass = Holder

    class RemoveSmartCardTrustAnchorByFingerprint_Dec(ElementDeclaration):
        literal = "RemoveSmartCardTrustAnchorByFingerprint"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveSmartCardTrustAnchorByFingerprint")
            kw["aname"] = "_RemoveSmartCardTrustAnchorByFingerprint"
            if ns0.RemoveSmartCardTrustAnchorByFingerprintRequestType_Def not in ns0.RemoveSmartCardTrustAnchorByFingerprint_Dec.__bases__:
                bases = list(ns0.RemoveSmartCardTrustAnchorByFingerprint_Dec.__bases__)
                bases.insert(0, ns0.RemoveSmartCardTrustAnchorByFingerprintRequestType_Def)
                ns0.RemoveSmartCardTrustAnchorByFingerprint_Dec.__bases__ = tuple(bases)

            ns0.RemoveSmartCardTrustAnchorByFingerprintRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveSmartCardTrustAnchorByFingerprint_Dec_Holder"

    class RemoveSmartCardTrustAnchorByFingerprintResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveSmartCardTrustAnchorByFingerprintResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveSmartCardTrustAnchorByFingerprintResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveSmartCardTrustAnchorByFingerprintResponse")
            kw["aname"] = "_RemoveSmartCardTrustAnchorByFingerprintResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveSmartCardTrustAnchorByFingerprintResponse_Holder"
            self.pyclass = Holder

    class ListSmartCardTrustAnchors_Dec(ElementDeclaration):
        literal = "ListSmartCardTrustAnchors"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ListSmartCardTrustAnchors")
            kw["aname"] = "_ListSmartCardTrustAnchors"
            if ns0.ListSmartCardTrustAnchorsRequestType_Def not in ns0.ListSmartCardTrustAnchors_Dec.__bases__:
                bases = list(ns0.ListSmartCardTrustAnchors_Dec.__bases__)
                bases.insert(0, ns0.ListSmartCardTrustAnchorsRequestType_Def)
                ns0.ListSmartCardTrustAnchors_Dec.__bases__ = tuple(bases)

            ns0.ListSmartCardTrustAnchorsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ListSmartCardTrustAnchors_Dec_Holder"

    class ListSmartCardTrustAnchorsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ListSmartCardTrustAnchorsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ListSmartCardTrustAnchorsResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ListSmartCardTrustAnchorsResponse")
            kw["aname"] = "_ListSmartCardTrustAnchorsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ListSmartCardTrustAnchorsResponse_Holder"
            self.pyclass = Holder

    class DisableSmartCardAuthentication_Dec(ElementDeclaration):
        literal = "DisableSmartCardAuthentication"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DisableSmartCardAuthentication")
            kw["aname"] = "_DisableSmartCardAuthentication"
            if ns0.DisableSmartCardAuthenticationRequestType_Def not in ns0.DisableSmartCardAuthentication_Dec.__bases__:
                bases = list(ns0.DisableSmartCardAuthentication_Dec.__bases__)
                bases.insert(0, ns0.DisableSmartCardAuthenticationRequestType_Def)
                ns0.DisableSmartCardAuthentication_Dec.__bases__ = tuple(bases)

            ns0.DisableSmartCardAuthenticationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DisableSmartCardAuthentication_Dec_Holder"

    class DisableSmartCardAuthenticationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DisableSmartCardAuthenticationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DisableSmartCardAuthenticationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DisableSmartCardAuthenticationResponse")
            kw["aname"] = "_DisableSmartCardAuthenticationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DisableSmartCardAuthenticationResponse_Holder"
            self.pyclass = Holder

    class ReconfigureAutostart_Dec(ElementDeclaration):
        literal = "ReconfigureAutostart"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigureAutostart")
            kw["aname"] = "_ReconfigureAutostart"
            if ns0.ReconfigureAutostartRequestType_Def not in ns0.ReconfigureAutostart_Dec.__bases__:
                bases = list(ns0.ReconfigureAutostart_Dec.__bases__)
                bases.insert(0, ns0.ReconfigureAutostartRequestType_Def)
                ns0.ReconfigureAutostart_Dec.__bases__ = tuple(bases)

            ns0.ReconfigureAutostartRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigureAutostart_Dec_Holder"

    class ReconfigureAutostartResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigureAutostartResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigureAutostartResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ReconfigureAutostartResponse")
            kw["aname"] = "_ReconfigureAutostartResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ReconfigureAutostartResponse_Holder"
            self.pyclass = Holder

    class AutoStartPowerOn_Dec(ElementDeclaration):
        literal = "AutoStartPowerOn"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AutoStartPowerOn")
            kw["aname"] = "_AutoStartPowerOn"
            if ns0.AutoStartPowerOnRequestType_Def not in ns0.AutoStartPowerOn_Dec.__bases__:
                bases = list(ns0.AutoStartPowerOn_Dec.__bases__)
                bases.insert(0, ns0.AutoStartPowerOnRequestType_Def)
                ns0.AutoStartPowerOn_Dec.__bases__ = tuple(bases)

            ns0.AutoStartPowerOnRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AutoStartPowerOn_Dec_Holder"

    class AutoStartPowerOnResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AutoStartPowerOnResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AutoStartPowerOnResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AutoStartPowerOnResponse")
            kw["aname"] = "_AutoStartPowerOnResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AutoStartPowerOnResponse_Holder"
            self.pyclass = Holder

    class AutoStartPowerOff_Dec(ElementDeclaration):
        literal = "AutoStartPowerOff"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AutoStartPowerOff")
            kw["aname"] = "_AutoStartPowerOff"
            if ns0.AutoStartPowerOffRequestType_Def not in ns0.AutoStartPowerOff_Dec.__bases__:
                bases = list(ns0.AutoStartPowerOff_Dec.__bases__)
                bases.insert(0, ns0.AutoStartPowerOffRequestType_Def)
                ns0.AutoStartPowerOff_Dec.__bases__ = tuple(bases)

            ns0.AutoStartPowerOffRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AutoStartPowerOff_Dec_Holder"

    class AutoStartPowerOffResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AutoStartPowerOffResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AutoStartPowerOffResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AutoStartPowerOffResponse")
            kw["aname"] = "_AutoStartPowerOffResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AutoStartPowerOffResponse_Holder"
            self.pyclass = Holder

    class QueryBootDevices_Dec(ElementDeclaration):
        literal = "QueryBootDevices"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryBootDevices")
            kw["aname"] = "_QueryBootDevices"
            if ns0.QueryBootDevicesRequestType_Def not in ns0.QueryBootDevices_Dec.__bases__:
                bases = list(ns0.QueryBootDevices_Dec.__bases__)
                bases.insert(0, ns0.QueryBootDevicesRequestType_Def)
                ns0.QueryBootDevices_Dec.__bases__ = tuple(bases)

            ns0.QueryBootDevicesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryBootDevices_Dec_Holder"

    class QueryBootDevicesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryBootDevicesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryBootDevicesResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostBootDeviceInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryBootDevicesResponse")
            kw["aname"] = "_QueryBootDevicesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryBootDevicesResponse_Holder"
            self.pyclass = Holder

    class UpdateBootDevice_Dec(ElementDeclaration):
        literal = "UpdateBootDevice"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateBootDevice")
            kw["aname"] = "_UpdateBootDevice"
            if ns0.UpdateBootDeviceRequestType_Def not in ns0.UpdateBootDevice_Dec.__bases__:
                bases = list(ns0.UpdateBootDevice_Dec.__bases__)
                bases.insert(0, ns0.UpdateBootDeviceRequestType_Def)
                ns0.UpdateBootDevice_Dec.__bases__ = tuple(bases)

            ns0.UpdateBootDeviceRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateBootDevice_Dec_Holder"

    class UpdateBootDeviceResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateBootDeviceResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateBootDeviceResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateBootDeviceResponse")
            kw["aname"] = "_UpdateBootDeviceResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateBootDeviceResponse_Holder"
            self.pyclass = Holder

    class ConfigureHostCache_Task_Dec(ElementDeclaration):
        literal = "ConfigureHostCache_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConfigureHostCache_Task")
            kw["aname"] = "_ConfigureHostCache_Task"
            if ns0.ConfigureHostCacheRequestType_Def not in ns0.ConfigureHostCache_Task_Dec.__bases__:
                bases = list(ns0.ConfigureHostCache_Task_Dec.__bases__)
                bases.insert(0, ns0.ConfigureHostCacheRequestType_Def)
                ns0.ConfigureHostCache_Task_Dec.__bases__ = tuple(bases)

            ns0.ConfigureHostCacheRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConfigureHostCache_Task_Dec_Holder"

    class ConfigureHostCache_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ConfigureHostCache_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ConfigureHostCache_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ConfigureHostCache_TaskResponse")
            kw["aname"] = "_ConfigureHostCache_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ConfigureHostCache_TaskResponse_Holder"
            self.pyclass = Holder

    class GenerateCertificateSigningRequest_Dec(ElementDeclaration):
        literal = "GenerateCertificateSigningRequest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GenerateCertificateSigningRequest")
            kw["aname"] = "_GenerateCertificateSigningRequest"
            if ns0.GenerateCertificateSigningRequestRequestType_Def not in ns0.GenerateCertificateSigningRequest_Dec.__bases__:
                bases = list(ns0.GenerateCertificateSigningRequest_Dec.__bases__)
                bases.insert(0, ns0.GenerateCertificateSigningRequestRequestType_Def)
                ns0.GenerateCertificateSigningRequest_Dec.__bases__ = tuple(bases)

            ns0.GenerateCertificateSigningRequestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GenerateCertificateSigningRequest_Dec_Holder"

    class GenerateCertificateSigningRequestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GenerateCertificateSigningRequestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GenerateCertificateSigningRequestResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GenerateCertificateSigningRequestResponse")
            kw["aname"] = "_GenerateCertificateSigningRequestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "GenerateCertificateSigningRequestResponse_Holder"
            self.pyclass = Holder

    class GenerateCertificateSigningRequestByDn_Dec(ElementDeclaration):
        literal = "GenerateCertificateSigningRequestByDn"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GenerateCertificateSigningRequestByDn")
            kw["aname"] = "_GenerateCertificateSigningRequestByDn"
            if ns0.GenerateCertificateSigningRequestByDnRequestType_Def not in ns0.GenerateCertificateSigningRequestByDn_Dec.__bases__:
                bases = list(ns0.GenerateCertificateSigningRequestByDn_Dec.__bases__)
                bases.insert(0, ns0.GenerateCertificateSigningRequestByDnRequestType_Def)
                ns0.GenerateCertificateSigningRequestByDn_Dec.__bases__ = tuple(bases)

            ns0.GenerateCertificateSigningRequestByDnRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GenerateCertificateSigningRequestByDn_Dec_Holder"

    class GenerateCertificateSigningRequestByDnResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GenerateCertificateSigningRequestByDnResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GenerateCertificateSigningRequestByDnResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GenerateCertificateSigningRequestByDnResponse")
            kw["aname"] = "_GenerateCertificateSigningRequestByDnResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "GenerateCertificateSigningRequestByDnResponse_Holder"
            self.pyclass = Holder

    class InstallServerCertificate_Dec(ElementDeclaration):
        literal = "InstallServerCertificate"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InstallServerCertificate")
            kw["aname"] = "_InstallServerCertificate"
            if ns0.InstallServerCertificateRequestType_Def not in ns0.InstallServerCertificate_Dec.__bases__:
                bases = list(ns0.InstallServerCertificate_Dec.__bases__)
                bases.insert(0, ns0.InstallServerCertificateRequestType_Def)
                ns0.InstallServerCertificate_Dec.__bases__ = tuple(bases)

            ns0.InstallServerCertificateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InstallServerCertificate_Dec_Holder"

    class InstallServerCertificateResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "InstallServerCertificateResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.InstallServerCertificateResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","InstallServerCertificateResponse")
            kw["aname"] = "_InstallServerCertificateResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "InstallServerCertificateResponse_Holder"
            self.pyclass = Holder

    class ReplaceCACertificatesAndCRLs_Dec(ElementDeclaration):
        literal = "ReplaceCACertificatesAndCRLs"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReplaceCACertificatesAndCRLs")
            kw["aname"] = "_ReplaceCACertificatesAndCRLs"
            if ns0.ReplaceCACertificatesAndCRLsRequestType_Def not in ns0.ReplaceCACertificatesAndCRLs_Dec.__bases__:
                bases = list(ns0.ReplaceCACertificatesAndCRLs_Dec.__bases__)
                bases.insert(0, ns0.ReplaceCACertificatesAndCRLsRequestType_Def)
                ns0.ReplaceCACertificatesAndCRLs_Dec.__bases__ = tuple(bases)

            ns0.ReplaceCACertificatesAndCRLsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReplaceCACertificatesAndCRLs_Dec_Holder"

    class ReplaceCACertificatesAndCRLsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReplaceCACertificatesAndCRLsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReplaceCACertificatesAndCRLsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ReplaceCACertificatesAndCRLsResponse")
            kw["aname"] = "_ReplaceCACertificatesAndCRLsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ReplaceCACertificatesAndCRLsResponse_Holder"
            self.pyclass = Holder

    class ListCACertificates_Dec(ElementDeclaration):
        literal = "ListCACertificates"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ListCACertificates")
            kw["aname"] = "_ListCACertificates"
            if ns0.ListCACertificatesRequestType_Def not in ns0.ListCACertificates_Dec.__bases__:
                bases = list(ns0.ListCACertificates_Dec.__bases__)
                bases.insert(0, ns0.ListCACertificatesRequestType_Def)
                ns0.ListCACertificates_Dec.__bases__ = tuple(bases)

            ns0.ListCACertificatesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ListCACertificates_Dec_Holder"

    class ListCACertificatesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ListCACertificatesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ListCACertificatesResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ListCACertificatesResponse")
            kw["aname"] = "_ListCACertificatesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ListCACertificatesResponse_Holder"
            self.pyclass = Holder

    class ListCACertificateRevocationLists_Dec(ElementDeclaration):
        literal = "ListCACertificateRevocationLists"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ListCACertificateRevocationLists")
            kw["aname"] = "_ListCACertificateRevocationLists"
            if ns0.ListCACertificateRevocationListsRequestType_Def not in ns0.ListCACertificateRevocationLists_Dec.__bases__:
                bases = list(ns0.ListCACertificateRevocationLists_Dec.__bases__)
                bases.insert(0, ns0.ListCACertificateRevocationListsRequestType_Def)
                ns0.ListCACertificateRevocationLists_Dec.__bases__ = tuple(bases)

            ns0.ListCACertificateRevocationListsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ListCACertificateRevocationLists_Dec_Holder"

    class ListCACertificateRevocationListsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ListCACertificateRevocationListsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ListCACertificateRevocationListsResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ListCACertificateRevocationListsResponse")
            kw["aname"] = "_ListCACertificateRevocationListsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ListCACertificateRevocationListsResponse_Holder"
            self.pyclass = Holder

    class EnableHyperThreading_Dec(ElementDeclaration):
        literal = "EnableHyperThreading"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EnableHyperThreading")
            kw["aname"] = "_EnableHyperThreading"
            if ns0.EnableHyperThreadingRequestType_Def not in ns0.EnableHyperThreading_Dec.__bases__:
                bases = list(ns0.EnableHyperThreading_Dec.__bases__)
                bases.insert(0, ns0.EnableHyperThreadingRequestType_Def)
                ns0.EnableHyperThreading_Dec.__bases__ = tuple(bases)

            ns0.EnableHyperThreadingRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EnableHyperThreading_Dec_Holder"

    class EnableHyperThreadingResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EnableHyperThreadingResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EnableHyperThreadingResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","EnableHyperThreadingResponse")
            kw["aname"] = "_EnableHyperThreadingResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "EnableHyperThreadingResponse_Holder"
            self.pyclass = Holder

    class DisableHyperThreading_Dec(ElementDeclaration):
        literal = "DisableHyperThreading"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DisableHyperThreading")
            kw["aname"] = "_DisableHyperThreading"
            if ns0.DisableHyperThreadingRequestType_Def not in ns0.DisableHyperThreading_Dec.__bases__:
                bases = list(ns0.DisableHyperThreading_Dec.__bases__)
                bases.insert(0, ns0.DisableHyperThreadingRequestType_Def)
                ns0.DisableHyperThreading_Dec.__bases__ = tuple(bases)

            ns0.DisableHyperThreadingRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DisableHyperThreading_Dec_Holder"

    class DisableHyperThreadingResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DisableHyperThreadingResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DisableHyperThreadingResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DisableHyperThreadingResponse")
            kw["aname"] = "_DisableHyperThreadingResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DisableHyperThreadingResponse_Holder"
            self.pyclass = Holder

    class SearchDatastore_Task_Dec(ElementDeclaration):
        literal = "SearchDatastore_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SearchDatastore_Task")
            kw["aname"] = "_SearchDatastore_Task"
            if ns0.SearchDatastoreRequestType_Def not in ns0.SearchDatastore_Task_Dec.__bases__:
                bases = list(ns0.SearchDatastore_Task_Dec.__bases__)
                bases.insert(0, ns0.SearchDatastoreRequestType_Def)
                ns0.SearchDatastore_Task_Dec.__bases__ = tuple(bases)

            ns0.SearchDatastoreRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SearchDatastore_Task_Dec_Holder"

    class SearchDatastore_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SearchDatastore_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SearchDatastore_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","SearchDatastore_TaskResponse")
            kw["aname"] = "_SearchDatastore_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "SearchDatastore_TaskResponse_Holder"
            self.pyclass = Holder

    class SearchDatastoreSubFolders_Task_Dec(ElementDeclaration):
        literal = "SearchDatastoreSubFolders_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SearchDatastoreSubFolders_Task")
            kw["aname"] = "_SearchDatastoreSubFolders_Task"
            if ns0.SearchDatastoreSubFoldersRequestType_Def not in ns0.SearchDatastoreSubFolders_Task_Dec.__bases__:
                bases = list(ns0.SearchDatastoreSubFolders_Task_Dec.__bases__)
                bases.insert(0, ns0.SearchDatastoreSubFoldersRequestType_Def)
                ns0.SearchDatastoreSubFolders_Task_Dec.__bases__ = tuple(bases)

            ns0.SearchDatastoreSubFoldersRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SearchDatastoreSubFolders_Task_Dec_Holder"

    class SearchDatastoreSubFolders_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SearchDatastoreSubFolders_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SearchDatastoreSubFolders_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","SearchDatastoreSubFolders_TaskResponse")
            kw["aname"] = "_SearchDatastoreSubFolders_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "SearchDatastoreSubFolders_TaskResponse_Holder"
            self.pyclass = Holder

    class DeleteFile_Dec(ElementDeclaration):
        literal = "DeleteFile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteFile")
            kw["aname"] = "_DeleteFile"
            if ns0.DeleteFileRequestType_Def not in ns0.DeleteFile_Dec.__bases__:
                bases = list(ns0.DeleteFile_Dec.__bases__)
                bases.insert(0, ns0.DeleteFileRequestType_Def)
                ns0.DeleteFile_Dec.__bases__ = tuple(bases)

            ns0.DeleteFileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteFile_Dec_Holder"

    class DeleteFileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteFileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteFileResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DeleteFileResponse")
            kw["aname"] = "_DeleteFileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DeleteFileResponse_Holder"
            self.pyclass = Holder

    class UpdateLocalSwapDatastore_Dec(ElementDeclaration):
        literal = "UpdateLocalSwapDatastore"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateLocalSwapDatastore")
            kw["aname"] = "_UpdateLocalSwapDatastore"
            if ns0.UpdateLocalSwapDatastoreRequestType_Def not in ns0.UpdateLocalSwapDatastore_Dec.__bases__:
                bases = list(ns0.UpdateLocalSwapDatastore_Dec.__bases__)
                bases.insert(0, ns0.UpdateLocalSwapDatastoreRequestType_Def)
                ns0.UpdateLocalSwapDatastore_Dec.__bases__ = tuple(bases)

            ns0.UpdateLocalSwapDatastoreRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateLocalSwapDatastore_Dec_Holder"

    class UpdateLocalSwapDatastoreResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateLocalSwapDatastoreResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateLocalSwapDatastoreResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateLocalSwapDatastoreResponse")
            kw["aname"] = "_UpdateLocalSwapDatastoreResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateLocalSwapDatastoreResponse_Holder"
            self.pyclass = Holder

    class QueryAvailableDisksForVmfs_Dec(ElementDeclaration):
        literal = "QueryAvailableDisksForVmfs"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryAvailableDisksForVmfs")
            kw["aname"] = "_QueryAvailableDisksForVmfs"
            if ns0.QueryAvailableDisksForVmfsRequestType_Def not in ns0.QueryAvailableDisksForVmfs_Dec.__bases__:
                bases = list(ns0.QueryAvailableDisksForVmfs_Dec.__bases__)
                bases.insert(0, ns0.QueryAvailableDisksForVmfsRequestType_Def)
                ns0.QueryAvailableDisksForVmfs_Dec.__bases__ = tuple(bases)

            ns0.QueryAvailableDisksForVmfsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryAvailableDisksForVmfs_Dec_Holder"

    class QueryAvailableDisksForVmfsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryAvailableDisksForVmfsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryAvailableDisksForVmfsResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostScsiDisk",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryAvailableDisksForVmfsResponse")
            kw["aname"] = "_QueryAvailableDisksForVmfsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryAvailableDisksForVmfsResponse_Holder"
            self.pyclass = Holder

    class QueryVmfsDatastoreCreateOptions_Dec(ElementDeclaration):
        literal = "QueryVmfsDatastoreCreateOptions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryVmfsDatastoreCreateOptions")
            kw["aname"] = "_QueryVmfsDatastoreCreateOptions"
            if ns0.QueryVmfsDatastoreCreateOptionsRequestType_Def not in ns0.QueryVmfsDatastoreCreateOptions_Dec.__bases__:
                bases = list(ns0.QueryVmfsDatastoreCreateOptions_Dec.__bases__)
                bases.insert(0, ns0.QueryVmfsDatastoreCreateOptionsRequestType_Def)
                ns0.QueryVmfsDatastoreCreateOptions_Dec.__bases__ = tuple(bases)

            ns0.QueryVmfsDatastoreCreateOptionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryVmfsDatastoreCreateOptions_Dec_Holder"

    class QueryVmfsDatastoreCreateOptionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryVmfsDatastoreCreateOptionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryVmfsDatastoreCreateOptionsResponse_Dec.schema
            TClist = [GTD("urn:vim25","VmfsDatastoreOption",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryVmfsDatastoreCreateOptionsResponse")
            kw["aname"] = "_QueryVmfsDatastoreCreateOptionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryVmfsDatastoreCreateOptionsResponse_Holder"
            self.pyclass = Holder

    class CreateVmfsDatastore_Dec(ElementDeclaration):
        literal = "CreateVmfsDatastore"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateVmfsDatastore")
            kw["aname"] = "_CreateVmfsDatastore"
            if ns0.CreateVmfsDatastoreRequestType_Def not in ns0.CreateVmfsDatastore_Dec.__bases__:
                bases = list(ns0.CreateVmfsDatastore_Dec.__bases__)
                bases.insert(0, ns0.CreateVmfsDatastoreRequestType_Def)
                ns0.CreateVmfsDatastore_Dec.__bases__ = tuple(bases)

            ns0.CreateVmfsDatastoreRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateVmfsDatastore_Dec_Holder"

    class CreateVmfsDatastoreResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateVmfsDatastoreResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateVmfsDatastoreResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateVmfsDatastoreResponse")
            kw["aname"] = "_CreateVmfsDatastoreResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateVmfsDatastoreResponse_Holder"
            self.pyclass = Holder

    class QueryVmfsDatastoreExtendOptions_Dec(ElementDeclaration):
        literal = "QueryVmfsDatastoreExtendOptions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryVmfsDatastoreExtendOptions")
            kw["aname"] = "_QueryVmfsDatastoreExtendOptions"
            if ns0.QueryVmfsDatastoreExtendOptionsRequestType_Def not in ns0.QueryVmfsDatastoreExtendOptions_Dec.__bases__:
                bases = list(ns0.QueryVmfsDatastoreExtendOptions_Dec.__bases__)
                bases.insert(0, ns0.QueryVmfsDatastoreExtendOptionsRequestType_Def)
                ns0.QueryVmfsDatastoreExtendOptions_Dec.__bases__ = tuple(bases)

            ns0.QueryVmfsDatastoreExtendOptionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryVmfsDatastoreExtendOptions_Dec_Holder"

    class QueryVmfsDatastoreExtendOptionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryVmfsDatastoreExtendOptionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryVmfsDatastoreExtendOptionsResponse_Dec.schema
            TClist = [GTD("urn:vim25","VmfsDatastoreOption",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryVmfsDatastoreExtendOptionsResponse")
            kw["aname"] = "_QueryVmfsDatastoreExtendOptionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryVmfsDatastoreExtendOptionsResponse_Holder"
            self.pyclass = Holder

    class QueryVmfsDatastoreExpandOptions_Dec(ElementDeclaration):
        literal = "QueryVmfsDatastoreExpandOptions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryVmfsDatastoreExpandOptions")
            kw["aname"] = "_QueryVmfsDatastoreExpandOptions"
            if ns0.QueryVmfsDatastoreExpandOptionsRequestType_Def not in ns0.QueryVmfsDatastoreExpandOptions_Dec.__bases__:
                bases = list(ns0.QueryVmfsDatastoreExpandOptions_Dec.__bases__)
                bases.insert(0, ns0.QueryVmfsDatastoreExpandOptionsRequestType_Def)
                ns0.QueryVmfsDatastoreExpandOptions_Dec.__bases__ = tuple(bases)

            ns0.QueryVmfsDatastoreExpandOptionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryVmfsDatastoreExpandOptions_Dec_Holder"

    class QueryVmfsDatastoreExpandOptionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryVmfsDatastoreExpandOptionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryVmfsDatastoreExpandOptionsResponse_Dec.schema
            TClist = [GTD("urn:vim25","VmfsDatastoreOption",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryVmfsDatastoreExpandOptionsResponse")
            kw["aname"] = "_QueryVmfsDatastoreExpandOptionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryVmfsDatastoreExpandOptionsResponse_Holder"
            self.pyclass = Holder

    class ExtendVmfsDatastore_Dec(ElementDeclaration):
        literal = "ExtendVmfsDatastore"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExtendVmfsDatastore")
            kw["aname"] = "_ExtendVmfsDatastore"
            if ns0.ExtendVmfsDatastoreRequestType_Def not in ns0.ExtendVmfsDatastore_Dec.__bases__:
                bases = list(ns0.ExtendVmfsDatastore_Dec.__bases__)
                bases.insert(0, ns0.ExtendVmfsDatastoreRequestType_Def)
                ns0.ExtendVmfsDatastore_Dec.__bases__ = tuple(bases)

            ns0.ExtendVmfsDatastoreRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExtendVmfsDatastore_Dec_Holder"

    class ExtendVmfsDatastoreResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExtendVmfsDatastoreResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExtendVmfsDatastoreResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ExtendVmfsDatastoreResponse")
            kw["aname"] = "_ExtendVmfsDatastoreResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ExtendVmfsDatastoreResponse_Holder"
            self.pyclass = Holder

    class ExpandVmfsDatastore_Dec(ElementDeclaration):
        literal = "ExpandVmfsDatastore"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExpandVmfsDatastore")
            kw["aname"] = "_ExpandVmfsDatastore"
            if ns0.ExpandVmfsDatastoreRequestType_Def not in ns0.ExpandVmfsDatastore_Dec.__bases__:
                bases = list(ns0.ExpandVmfsDatastore_Dec.__bases__)
                bases.insert(0, ns0.ExpandVmfsDatastoreRequestType_Def)
                ns0.ExpandVmfsDatastore_Dec.__bases__ = tuple(bases)

            ns0.ExpandVmfsDatastoreRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExpandVmfsDatastore_Dec_Holder"

    class ExpandVmfsDatastoreResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExpandVmfsDatastoreResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExpandVmfsDatastoreResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ExpandVmfsDatastoreResponse")
            kw["aname"] = "_ExpandVmfsDatastoreResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ExpandVmfsDatastoreResponse_Holder"
            self.pyclass = Holder

    class CreateNasDatastore_Dec(ElementDeclaration):
        literal = "CreateNasDatastore"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateNasDatastore")
            kw["aname"] = "_CreateNasDatastore"
            if ns0.CreateNasDatastoreRequestType_Def not in ns0.CreateNasDatastore_Dec.__bases__:
                bases = list(ns0.CreateNasDatastore_Dec.__bases__)
                bases.insert(0, ns0.CreateNasDatastoreRequestType_Def)
                ns0.CreateNasDatastore_Dec.__bases__ = tuple(bases)

            ns0.CreateNasDatastoreRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateNasDatastore_Dec_Holder"

    class CreateNasDatastoreResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateNasDatastoreResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateNasDatastoreResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateNasDatastoreResponse")
            kw["aname"] = "_CreateNasDatastoreResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateNasDatastoreResponse_Holder"
            self.pyclass = Holder

    class CreateLocalDatastore_Dec(ElementDeclaration):
        literal = "CreateLocalDatastore"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateLocalDatastore")
            kw["aname"] = "_CreateLocalDatastore"
            if ns0.CreateLocalDatastoreRequestType_Def not in ns0.CreateLocalDatastore_Dec.__bases__:
                bases = list(ns0.CreateLocalDatastore_Dec.__bases__)
                bases.insert(0, ns0.CreateLocalDatastoreRequestType_Def)
                ns0.CreateLocalDatastore_Dec.__bases__ = tuple(bases)

            ns0.CreateLocalDatastoreRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateLocalDatastore_Dec_Holder"

    class CreateLocalDatastoreResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateLocalDatastoreResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateLocalDatastoreResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateLocalDatastoreResponse")
            kw["aname"] = "_CreateLocalDatastoreResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateLocalDatastoreResponse_Holder"
            self.pyclass = Holder

    class CreateVvolDatastore_Dec(ElementDeclaration):
        literal = "CreateVvolDatastore"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateVvolDatastore")
            kw["aname"] = "_CreateVvolDatastore"
            if ns0.CreateVvolDatastoreRequestType_Def not in ns0.CreateVvolDatastore_Dec.__bases__:
                bases = list(ns0.CreateVvolDatastore_Dec.__bases__)
                bases.insert(0, ns0.CreateVvolDatastoreRequestType_Def)
                ns0.CreateVvolDatastore_Dec.__bases__ = tuple(bases)

            ns0.CreateVvolDatastoreRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateVvolDatastore_Dec_Holder"

    class CreateVvolDatastoreResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateVvolDatastoreResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateVvolDatastoreResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateVvolDatastoreResponse")
            kw["aname"] = "_CreateVvolDatastoreResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateVvolDatastoreResponse_Holder"
            self.pyclass = Holder

    class RemoveDatastore_Dec(ElementDeclaration):
        literal = "RemoveDatastore"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveDatastore")
            kw["aname"] = "_RemoveDatastore"
            if ns0.RemoveDatastoreRequestType_Def not in ns0.RemoveDatastore_Dec.__bases__:
                bases = list(ns0.RemoveDatastore_Dec.__bases__)
                bases.insert(0, ns0.RemoveDatastoreRequestType_Def)
                ns0.RemoveDatastore_Dec.__bases__ = tuple(bases)

            ns0.RemoveDatastoreRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveDatastore_Dec_Holder"

    class RemoveDatastoreResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveDatastoreResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveDatastoreResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveDatastoreResponse")
            kw["aname"] = "_RemoveDatastoreResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveDatastoreResponse_Holder"
            self.pyclass = Holder

    class RemoveDatastoreEx_Task_Dec(ElementDeclaration):
        literal = "RemoveDatastoreEx_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveDatastoreEx_Task")
            kw["aname"] = "_RemoveDatastoreEx_Task"
            if ns0.RemoveDatastoreExRequestType_Def not in ns0.RemoveDatastoreEx_Task_Dec.__bases__:
                bases = list(ns0.RemoveDatastoreEx_Task_Dec.__bases__)
                bases.insert(0, ns0.RemoveDatastoreExRequestType_Def)
                ns0.RemoveDatastoreEx_Task_Dec.__bases__ = tuple(bases)

            ns0.RemoveDatastoreExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveDatastoreEx_Task_Dec_Holder"

    class RemoveDatastoreEx_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveDatastoreEx_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveDatastoreEx_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RemoveDatastoreEx_TaskResponse")
            kw["aname"] = "_RemoveDatastoreEx_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RemoveDatastoreEx_TaskResponse_Holder"
            self.pyclass = Holder

    class ConfigureDatastorePrincipal_Dec(ElementDeclaration):
        literal = "ConfigureDatastorePrincipal"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConfigureDatastorePrincipal")
            kw["aname"] = "_ConfigureDatastorePrincipal"
            if ns0.ConfigureDatastorePrincipalRequestType_Def not in ns0.ConfigureDatastorePrincipal_Dec.__bases__:
                bases = list(ns0.ConfigureDatastorePrincipal_Dec.__bases__)
                bases.insert(0, ns0.ConfigureDatastorePrincipalRequestType_Def)
                ns0.ConfigureDatastorePrincipal_Dec.__bases__ = tuple(bases)

            ns0.ConfigureDatastorePrincipalRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConfigureDatastorePrincipal_Dec_Holder"

    class ConfigureDatastorePrincipalResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ConfigureDatastorePrincipalResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ConfigureDatastorePrincipalResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ConfigureDatastorePrincipalResponse")
            kw["aname"] = "_ConfigureDatastorePrincipalResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ConfigureDatastorePrincipalResponse_Holder"
            self.pyclass = Holder

    class QueryUnresolvedVmfsVolumes_Dec(ElementDeclaration):
        literal = "QueryUnresolvedVmfsVolumes"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryUnresolvedVmfsVolumes")
            kw["aname"] = "_QueryUnresolvedVmfsVolumes"
            if ns0.QueryUnresolvedVmfsVolumesRequestType_Def not in ns0.QueryUnresolvedVmfsVolumes_Dec.__bases__:
                bases = list(ns0.QueryUnresolvedVmfsVolumes_Dec.__bases__)
                bases.insert(0, ns0.QueryUnresolvedVmfsVolumesRequestType_Def)
                ns0.QueryUnresolvedVmfsVolumes_Dec.__bases__ = tuple(bases)

            ns0.QueryUnresolvedVmfsVolumesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryUnresolvedVmfsVolumes_Dec_Holder"

    class QueryUnresolvedVmfsVolumesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryUnresolvedVmfsVolumesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryUnresolvedVmfsVolumesResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostUnresolvedVmfsVolume",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryUnresolvedVmfsVolumesResponse")
            kw["aname"] = "_QueryUnresolvedVmfsVolumesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryUnresolvedVmfsVolumesResponse_Holder"
            self.pyclass = Holder

    class ResignatureUnresolvedVmfsVolume_Task_Dec(ElementDeclaration):
        literal = "ResignatureUnresolvedVmfsVolume_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResignatureUnresolvedVmfsVolume_Task")
            kw["aname"] = "_ResignatureUnresolvedVmfsVolume_Task"
            if ns0.ResignatureUnresolvedVmfsVolumeRequestType_Def not in ns0.ResignatureUnresolvedVmfsVolume_Task_Dec.__bases__:
                bases = list(ns0.ResignatureUnresolvedVmfsVolume_Task_Dec.__bases__)
                bases.insert(0, ns0.ResignatureUnresolvedVmfsVolumeRequestType_Def)
                ns0.ResignatureUnresolvedVmfsVolume_Task_Dec.__bases__ = tuple(bases)

            ns0.ResignatureUnresolvedVmfsVolumeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResignatureUnresolvedVmfsVolume_Task_Dec_Holder"

    class ResignatureUnresolvedVmfsVolume_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ResignatureUnresolvedVmfsVolume_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ResignatureUnresolvedVmfsVolume_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ResignatureUnresolvedVmfsVolume_TaskResponse")
            kw["aname"] = "_ResignatureUnresolvedVmfsVolume_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ResignatureUnresolvedVmfsVolume_TaskResponse_Holder"
            self.pyclass = Holder

    class UpdateDateTimeConfig_Dec(ElementDeclaration):
        literal = "UpdateDateTimeConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateDateTimeConfig")
            kw["aname"] = "_UpdateDateTimeConfig"
            if ns0.UpdateDateTimeConfigRequestType_Def not in ns0.UpdateDateTimeConfig_Dec.__bases__:
                bases = list(ns0.UpdateDateTimeConfig_Dec.__bases__)
                bases.insert(0, ns0.UpdateDateTimeConfigRequestType_Def)
                ns0.UpdateDateTimeConfig_Dec.__bases__ = tuple(bases)

            ns0.UpdateDateTimeConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateDateTimeConfig_Dec_Holder"

    class UpdateDateTimeConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateDateTimeConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateDateTimeConfigResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateDateTimeConfigResponse")
            kw["aname"] = "_UpdateDateTimeConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateDateTimeConfigResponse_Holder"
            self.pyclass = Holder

    class QueryAvailableTimeZones_Dec(ElementDeclaration):
        literal = "QueryAvailableTimeZones"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryAvailableTimeZones")
            kw["aname"] = "_QueryAvailableTimeZones"
            if ns0.QueryAvailableTimeZonesRequestType_Def not in ns0.QueryAvailableTimeZones_Dec.__bases__:
                bases = list(ns0.QueryAvailableTimeZones_Dec.__bases__)
                bases.insert(0, ns0.QueryAvailableTimeZonesRequestType_Def)
                ns0.QueryAvailableTimeZones_Dec.__bases__ = tuple(bases)

            ns0.QueryAvailableTimeZonesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryAvailableTimeZones_Dec_Holder"

    class QueryAvailableTimeZonesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryAvailableTimeZonesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryAvailableTimeZonesResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostDateTimeSystemTimeZone",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryAvailableTimeZonesResponse")
            kw["aname"] = "_QueryAvailableTimeZonesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryAvailableTimeZonesResponse_Holder"
            self.pyclass = Holder

    class QueryDateTime_Dec(ElementDeclaration):
        literal = "QueryDateTime"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryDateTime")
            kw["aname"] = "_QueryDateTime"
            if ns0.QueryDateTimeRequestType_Def not in ns0.QueryDateTime_Dec.__bases__:
                bases = list(ns0.QueryDateTime_Dec.__bases__)
                bases.insert(0, ns0.QueryDateTimeRequestType_Def)
                ns0.QueryDateTime_Dec.__bases__ = tuple(bases)

            ns0.QueryDateTimeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryDateTime_Dec_Holder"

    class QueryDateTimeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryDateTimeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryDateTimeResponse_Dec.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryDateTimeResponse")
            kw["aname"] = "_QueryDateTimeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryDateTimeResponse_Holder"
            self.pyclass = Holder

    class UpdateDateTime_Dec(ElementDeclaration):
        literal = "UpdateDateTime"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateDateTime")
            kw["aname"] = "_UpdateDateTime"
            if ns0.UpdateDateTimeRequestType_Def not in ns0.UpdateDateTime_Dec.__bases__:
                bases = list(ns0.UpdateDateTime_Dec.__bases__)
                bases.insert(0, ns0.UpdateDateTimeRequestType_Def)
                ns0.UpdateDateTime_Dec.__bases__ = tuple(bases)

            ns0.UpdateDateTimeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateDateTime_Dec_Holder"

    class UpdateDateTimeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateDateTimeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateDateTimeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateDateTimeResponse")
            kw["aname"] = "_UpdateDateTimeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateDateTimeResponse_Holder"
            self.pyclass = Holder

    class RefreshDateTimeSystem_Dec(ElementDeclaration):
        literal = "RefreshDateTimeSystem"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshDateTimeSystem")
            kw["aname"] = "_RefreshDateTimeSystem"
            if ns0.RefreshDateTimeSystemRequestType_Def not in ns0.RefreshDateTimeSystem_Dec.__bases__:
                bases = list(ns0.RefreshDateTimeSystem_Dec.__bases__)
                bases.insert(0, ns0.RefreshDateTimeSystemRequestType_Def)
                ns0.RefreshDateTimeSystem_Dec.__bases__ = tuple(bases)

            ns0.RefreshDateTimeSystemRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshDateTimeSystem_Dec_Holder"

    class RefreshDateTimeSystemResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshDateTimeSystemResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshDateTimeSystemResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshDateTimeSystemResponse")
            kw["aname"] = "_RefreshDateTimeSystemResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshDateTimeSystemResponse_Holder"
            self.pyclass = Holder

    class QueryAvailablePartition_Dec(ElementDeclaration):
        literal = "QueryAvailablePartition"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryAvailablePartition")
            kw["aname"] = "_QueryAvailablePartition"
            if ns0.QueryAvailablePartitionRequestType_Def not in ns0.QueryAvailablePartition_Dec.__bases__:
                bases = list(ns0.QueryAvailablePartition_Dec.__bases__)
                bases.insert(0, ns0.QueryAvailablePartitionRequestType_Def)
                ns0.QueryAvailablePartition_Dec.__bases__ = tuple(bases)

            ns0.QueryAvailablePartitionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryAvailablePartition_Dec_Holder"

    class QueryAvailablePartitionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryAvailablePartitionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryAvailablePartitionResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostDiagnosticPartition",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryAvailablePartitionResponse")
            kw["aname"] = "_QueryAvailablePartitionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryAvailablePartitionResponse_Holder"
            self.pyclass = Holder

    class SelectActivePartition_Dec(ElementDeclaration):
        literal = "SelectActivePartition"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SelectActivePartition")
            kw["aname"] = "_SelectActivePartition"
            if ns0.SelectActivePartitionRequestType_Def not in ns0.SelectActivePartition_Dec.__bases__:
                bases = list(ns0.SelectActivePartition_Dec.__bases__)
                bases.insert(0, ns0.SelectActivePartitionRequestType_Def)
                ns0.SelectActivePartition_Dec.__bases__ = tuple(bases)

            ns0.SelectActivePartitionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SelectActivePartition_Dec_Holder"

    class SelectActivePartitionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SelectActivePartitionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SelectActivePartitionResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SelectActivePartitionResponse")
            kw["aname"] = "_SelectActivePartitionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SelectActivePartitionResponse_Holder"
            self.pyclass = Holder

    class QueryPartitionCreateOptions_Dec(ElementDeclaration):
        literal = "QueryPartitionCreateOptions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryPartitionCreateOptions")
            kw["aname"] = "_QueryPartitionCreateOptions"
            if ns0.QueryPartitionCreateOptionsRequestType_Def not in ns0.QueryPartitionCreateOptions_Dec.__bases__:
                bases = list(ns0.QueryPartitionCreateOptions_Dec.__bases__)
                bases.insert(0, ns0.QueryPartitionCreateOptionsRequestType_Def)
                ns0.QueryPartitionCreateOptions_Dec.__bases__ = tuple(bases)

            ns0.QueryPartitionCreateOptionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryPartitionCreateOptions_Dec_Holder"

    class QueryPartitionCreateOptionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryPartitionCreateOptionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryPartitionCreateOptionsResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostDiagnosticPartitionCreateOption",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryPartitionCreateOptionsResponse")
            kw["aname"] = "_QueryPartitionCreateOptionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryPartitionCreateOptionsResponse_Holder"
            self.pyclass = Holder

    class QueryPartitionCreateDesc_Dec(ElementDeclaration):
        literal = "QueryPartitionCreateDesc"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryPartitionCreateDesc")
            kw["aname"] = "_QueryPartitionCreateDesc"
            if ns0.QueryPartitionCreateDescRequestType_Def not in ns0.QueryPartitionCreateDesc_Dec.__bases__:
                bases = list(ns0.QueryPartitionCreateDesc_Dec.__bases__)
                bases.insert(0, ns0.QueryPartitionCreateDescRequestType_Def)
                ns0.QueryPartitionCreateDesc_Dec.__bases__ = tuple(bases)

            ns0.QueryPartitionCreateDescRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryPartitionCreateDesc_Dec_Holder"

    class QueryPartitionCreateDescResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryPartitionCreateDescResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryPartitionCreateDescResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostDiagnosticPartitionCreateDescription",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryPartitionCreateDescResponse")
            kw["aname"] = "_QueryPartitionCreateDescResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryPartitionCreateDescResponse_Holder"
            self.pyclass = Holder

    class CreateDiagnosticPartition_Dec(ElementDeclaration):
        literal = "CreateDiagnosticPartition"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateDiagnosticPartition")
            kw["aname"] = "_CreateDiagnosticPartition"
            if ns0.CreateDiagnosticPartitionRequestType_Def not in ns0.CreateDiagnosticPartition_Dec.__bases__:
                bases = list(ns0.CreateDiagnosticPartition_Dec.__bases__)
                bases.insert(0, ns0.CreateDiagnosticPartitionRequestType_Def)
                ns0.CreateDiagnosticPartition_Dec.__bases__ = tuple(bases)

            ns0.CreateDiagnosticPartitionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateDiagnosticPartition_Dec_Holder"

    class CreateDiagnosticPartitionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateDiagnosticPartitionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateDiagnosticPartitionResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CreateDiagnosticPartitionResponse")
            kw["aname"] = "_CreateDiagnosticPartitionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CreateDiagnosticPartitionResponse_Holder"
            self.pyclass = Holder

    class EsxAgentHostManagerUpdateConfig_Dec(ElementDeclaration):
        literal = "EsxAgentHostManagerUpdateConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EsxAgentHostManagerUpdateConfig")
            kw["aname"] = "_EsxAgentHostManagerUpdateConfig"
            if ns0.EsxAgentHostManagerUpdateConfigRequestType_Def not in ns0.EsxAgentHostManagerUpdateConfig_Dec.__bases__:
                bases = list(ns0.EsxAgentHostManagerUpdateConfig_Dec.__bases__)
                bases.insert(0, ns0.EsxAgentHostManagerUpdateConfigRequestType_Def)
                ns0.EsxAgentHostManagerUpdateConfig_Dec.__bases__ = tuple(bases)

            ns0.EsxAgentHostManagerUpdateConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EsxAgentHostManagerUpdateConfig_Dec_Holder"

    class EsxAgentHostManagerUpdateConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EsxAgentHostManagerUpdateConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EsxAgentHostManagerUpdateConfigResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","EsxAgentHostManagerUpdateConfigResponse")
            kw["aname"] = "_EsxAgentHostManagerUpdateConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "EsxAgentHostManagerUpdateConfigResponse_Holder"
            self.pyclass = Holder

    class UpdateDefaultPolicy_Dec(ElementDeclaration):
        literal = "UpdateDefaultPolicy"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateDefaultPolicy")
            kw["aname"] = "_UpdateDefaultPolicy"
            if ns0.UpdateDefaultPolicyRequestType_Def not in ns0.UpdateDefaultPolicy_Dec.__bases__:
                bases = list(ns0.UpdateDefaultPolicy_Dec.__bases__)
                bases.insert(0, ns0.UpdateDefaultPolicyRequestType_Def)
                ns0.UpdateDefaultPolicy_Dec.__bases__ = tuple(bases)

            ns0.UpdateDefaultPolicyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateDefaultPolicy_Dec_Holder"

    class UpdateDefaultPolicyResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateDefaultPolicyResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateDefaultPolicyResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateDefaultPolicyResponse")
            kw["aname"] = "_UpdateDefaultPolicyResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateDefaultPolicyResponse_Holder"
            self.pyclass = Holder

    class EnableRuleset_Dec(ElementDeclaration):
        literal = "EnableRuleset"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EnableRuleset")
            kw["aname"] = "_EnableRuleset"
            if ns0.EnableRulesetRequestType_Def not in ns0.EnableRuleset_Dec.__bases__:
                bases = list(ns0.EnableRuleset_Dec.__bases__)
                bases.insert(0, ns0.EnableRulesetRequestType_Def)
                ns0.EnableRuleset_Dec.__bases__ = tuple(bases)

            ns0.EnableRulesetRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EnableRuleset_Dec_Holder"

    class EnableRulesetResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EnableRulesetResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EnableRulesetResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","EnableRulesetResponse")
            kw["aname"] = "_EnableRulesetResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "EnableRulesetResponse_Holder"
            self.pyclass = Holder

    class DisableRuleset_Dec(ElementDeclaration):
        literal = "DisableRuleset"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DisableRuleset")
            kw["aname"] = "_DisableRuleset"
            if ns0.DisableRulesetRequestType_Def not in ns0.DisableRuleset_Dec.__bases__:
                bases = list(ns0.DisableRuleset_Dec.__bases__)
                bases.insert(0, ns0.DisableRulesetRequestType_Def)
                ns0.DisableRuleset_Dec.__bases__ = tuple(bases)

            ns0.DisableRulesetRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DisableRuleset_Dec_Holder"

    class DisableRulesetResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DisableRulesetResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DisableRulesetResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DisableRulesetResponse")
            kw["aname"] = "_DisableRulesetResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DisableRulesetResponse_Holder"
            self.pyclass = Holder

    class UpdateRuleset_Dec(ElementDeclaration):
        literal = "UpdateRuleset"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateRuleset")
            kw["aname"] = "_UpdateRuleset"
            if ns0.UpdateRulesetRequestType_Def not in ns0.UpdateRuleset_Dec.__bases__:
                bases = list(ns0.UpdateRuleset_Dec.__bases__)
                bases.insert(0, ns0.UpdateRulesetRequestType_Def)
                ns0.UpdateRuleset_Dec.__bases__ = tuple(bases)

            ns0.UpdateRulesetRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateRuleset_Dec_Holder"

    class UpdateRulesetResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateRulesetResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateRulesetResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateRulesetResponse")
            kw["aname"] = "_UpdateRulesetResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateRulesetResponse_Holder"
            self.pyclass = Holder

    class RefreshFirewall_Dec(ElementDeclaration):
        literal = "RefreshFirewall"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshFirewall")
            kw["aname"] = "_RefreshFirewall"
            if ns0.RefreshFirewallRequestType_Def not in ns0.RefreshFirewall_Dec.__bases__:
                bases = list(ns0.RefreshFirewall_Dec.__bases__)
                bases.insert(0, ns0.RefreshFirewallRequestType_Def)
                ns0.RefreshFirewall_Dec.__bases__ = tuple(bases)

            ns0.RefreshFirewallRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshFirewall_Dec_Holder"

    class RefreshFirewallResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshFirewallResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshFirewallResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshFirewallResponse")
            kw["aname"] = "_RefreshFirewallResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshFirewallResponse_Holder"
            self.pyclass = Holder

    class ResetFirmwareToFactoryDefaults_Dec(ElementDeclaration):
        literal = "ResetFirmwareToFactoryDefaults"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResetFirmwareToFactoryDefaults")
            kw["aname"] = "_ResetFirmwareToFactoryDefaults"
            if ns0.ResetFirmwareToFactoryDefaultsRequestType_Def not in ns0.ResetFirmwareToFactoryDefaults_Dec.__bases__:
                bases = list(ns0.ResetFirmwareToFactoryDefaults_Dec.__bases__)
                bases.insert(0, ns0.ResetFirmwareToFactoryDefaultsRequestType_Def)
                ns0.ResetFirmwareToFactoryDefaults_Dec.__bases__ = tuple(bases)

            ns0.ResetFirmwareToFactoryDefaultsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResetFirmwareToFactoryDefaults_Dec_Holder"

    class ResetFirmwareToFactoryDefaultsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ResetFirmwareToFactoryDefaultsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ResetFirmwareToFactoryDefaultsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ResetFirmwareToFactoryDefaultsResponse")
            kw["aname"] = "_ResetFirmwareToFactoryDefaultsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ResetFirmwareToFactoryDefaultsResponse_Holder"
            self.pyclass = Holder

    class BackupFirmwareConfiguration_Dec(ElementDeclaration):
        literal = "BackupFirmwareConfiguration"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","BackupFirmwareConfiguration")
            kw["aname"] = "_BackupFirmwareConfiguration"
            if ns0.BackupFirmwareConfigurationRequestType_Def not in ns0.BackupFirmwareConfiguration_Dec.__bases__:
                bases = list(ns0.BackupFirmwareConfiguration_Dec.__bases__)
                bases.insert(0, ns0.BackupFirmwareConfigurationRequestType_Def)
                ns0.BackupFirmwareConfiguration_Dec.__bases__ = tuple(bases)

            ns0.BackupFirmwareConfigurationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "BackupFirmwareConfiguration_Dec_Holder"

    class BackupFirmwareConfigurationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "BackupFirmwareConfigurationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.BackupFirmwareConfigurationResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","BackupFirmwareConfigurationResponse")
            kw["aname"] = "_BackupFirmwareConfigurationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "BackupFirmwareConfigurationResponse_Holder"
            self.pyclass = Holder

    class QueryFirmwareConfigUploadURL_Dec(ElementDeclaration):
        literal = "QueryFirmwareConfigUploadURL"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryFirmwareConfigUploadURL")
            kw["aname"] = "_QueryFirmwareConfigUploadURL"
            if ns0.QueryFirmwareConfigUploadURLRequestType_Def not in ns0.QueryFirmwareConfigUploadURL_Dec.__bases__:
                bases = list(ns0.QueryFirmwareConfigUploadURL_Dec.__bases__)
                bases.insert(0, ns0.QueryFirmwareConfigUploadURLRequestType_Def)
                ns0.QueryFirmwareConfigUploadURL_Dec.__bases__ = tuple(bases)

            ns0.QueryFirmwareConfigUploadURLRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryFirmwareConfigUploadURL_Dec_Holder"

    class QueryFirmwareConfigUploadURLResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryFirmwareConfigUploadURLResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryFirmwareConfigUploadURLResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryFirmwareConfigUploadURLResponse")
            kw["aname"] = "_QueryFirmwareConfigUploadURLResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryFirmwareConfigUploadURLResponse_Holder"
            self.pyclass = Holder

    class RestoreFirmwareConfiguration_Dec(ElementDeclaration):
        literal = "RestoreFirmwareConfiguration"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RestoreFirmwareConfiguration")
            kw["aname"] = "_RestoreFirmwareConfiguration"
            if ns0.RestoreFirmwareConfigurationRequestType_Def not in ns0.RestoreFirmwareConfiguration_Dec.__bases__:
                bases = list(ns0.RestoreFirmwareConfiguration_Dec.__bases__)
                bases.insert(0, ns0.RestoreFirmwareConfigurationRequestType_Def)
                ns0.RestoreFirmwareConfiguration_Dec.__bases__ = tuple(bases)

            ns0.RestoreFirmwareConfigurationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RestoreFirmwareConfiguration_Dec_Holder"

    class RestoreFirmwareConfigurationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RestoreFirmwareConfigurationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RestoreFirmwareConfigurationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RestoreFirmwareConfigurationResponse")
            kw["aname"] = "_RestoreFirmwareConfigurationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RestoreFirmwareConfigurationResponse_Holder"
            self.pyclass = Holder

    class RefreshGraphicsManager_Dec(ElementDeclaration):
        literal = "RefreshGraphicsManager"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshGraphicsManager")
            kw["aname"] = "_RefreshGraphicsManager"
            if ns0.RefreshGraphicsManagerRequestType_Def not in ns0.RefreshGraphicsManager_Dec.__bases__:
                bases = list(ns0.RefreshGraphicsManager_Dec.__bases__)
                bases.insert(0, ns0.RefreshGraphicsManagerRequestType_Def)
                ns0.RefreshGraphicsManager_Dec.__bases__ = tuple(bases)

            ns0.RefreshGraphicsManagerRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshGraphicsManager_Dec_Holder"

    class RefreshGraphicsManagerResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshGraphicsManagerResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshGraphicsManagerResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshGraphicsManagerResponse")
            kw["aname"] = "_RefreshGraphicsManagerResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshGraphicsManagerResponse_Holder"
            self.pyclass = Holder

    class IsSharedGraphicsActive_Dec(ElementDeclaration):
        literal = "IsSharedGraphicsActive"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","IsSharedGraphicsActive")
            kw["aname"] = "_IsSharedGraphicsActive"
            if ns0.IsSharedGraphicsActiveRequestType_Def not in ns0.IsSharedGraphicsActive_Dec.__bases__:
                bases = list(ns0.IsSharedGraphicsActive_Dec.__bases__)
                bases.insert(0, ns0.IsSharedGraphicsActiveRequestType_Def)
                ns0.IsSharedGraphicsActive_Dec.__bases__ = tuple(bases)

            ns0.IsSharedGraphicsActiveRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "IsSharedGraphicsActive_Dec_Holder"

    class IsSharedGraphicsActiveResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "IsSharedGraphicsActiveResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.IsSharedGraphicsActiveResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.Boolean(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","IsSharedGraphicsActiveResponse")
            kw["aname"] = "_IsSharedGraphicsActiveResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "IsSharedGraphicsActiveResponse_Holder"
            self.pyclass = Holder

    class UpdateGraphicsConfig_Dec(ElementDeclaration):
        literal = "UpdateGraphicsConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateGraphicsConfig")
            kw["aname"] = "_UpdateGraphicsConfig"
            if ns0.UpdateGraphicsConfigRequestType_Def not in ns0.UpdateGraphicsConfig_Dec.__bases__:
                bases = list(ns0.UpdateGraphicsConfig_Dec.__bases__)
                bases.insert(0, ns0.UpdateGraphicsConfigRequestType_Def)
                ns0.UpdateGraphicsConfig_Dec.__bases__ = tuple(bases)

            ns0.UpdateGraphicsConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateGraphicsConfig_Dec_Holder"

    class UpdateGraphicsConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateGraphicsConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateGraphicsConfigResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateGraphicsConfigResponse")
            kw["aname"] = "_UpdateGraphicsConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateGraphicsConfigResponse_Holder"
            self.pyclass = Holder

    class RefreshHealthStatusSystem_Dec(ElementDeclaration):
        literal = "RefreshHealthStatusSystem"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshHealthStatusSystem")
            kw["aname"] = "_RefreshHealthStatusSystem"
            if ns0.RefreshHealthStatusSystemRequestType_Def not in ns0.RefreshHealthStatusSystem_Dec.__bases__:
                bases = list(ns0.RefreshHealthStatusSystem_Dec.__bases__)
                bases.insert(0, ns0.RefreshHealthStatusSystemRequestType_Def)
                ns0.RefreshHealthStatusSystem_Dec.__bases__ = tuple(bases)

            ns0.RefreshHealthStatusSystemRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshHealthStatusSystem_Dec_Holder"

    class RefreshHealthStatusSystemResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshHealthStatusSystemResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshHealthStatusSystemResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshHealthStatusSystemResponse")
            kw["aname"] = "_RefreshHealthStatusSystemResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshHealthStatusSystemResponse_Holder"
            self.pyclass = Holder

    class ResetSystemHealthInfo_Dec(ElementDeclaration):
        literal = "ResetSystemHealthInfo"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResetSystemHealthInfo")
            kw["aname"] = "_ResetSystemHealthInfo"
            if ns0.ResetSystemHealthInfoRequestType_Def not in ns0.ResetSystemHealthInfo_Dec.__bases__:
                bases = list(ns0.ResetSystemHealthInfo_Dec.__bases__)
                bases.insert(0, ns0.ResetSystemHealthInfoRequestType_Def)
                ns0.ResetSystemHealthInfo_Dec.__bases__ = tuple(bases)

            ns0.ResetSystemHealthInfoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResetSystemHealthInfo_Dec_Holder"

    class ResetSystemHealthInfoResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ResetSystemHealthInfoResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ResetSystemHealthInfoResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ResetSystemHealthInfoResponse")
            kw["aname"] = "_ResetSystemHealthInfoResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ResetSystemHealthInfoResponse_Holder"
            self.pyclass = Holder

    class ClearSystemEventLog_Dec(ElementDeclaration):
        literal = "ClearSystemEventLog"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ClearSystemEventLog")
            kw["aname"] = "_ClearSystemEventLog"
            if ns0.ClearSystemEventLogRequestType_Def not in ns0.ClearSystemEventLog_Dec.__bases__:
                bases = list(ns0.ClearSystemEventLog_Dec.__bases__)
                bases.insert(0, ns0.ClearSystemEventLogRequestType_Def)
                ns0.ClearSystemEventLog_Dec.__bases__ = tuple(bases)

            ns0.ClearSystemEventLogRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ClearSystemEventLog_Dec_Holder"

    class ClearSystemEventLogResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ClearSystemEventLogResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ClearSystemEventLogResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ClearSystemEventLogResponse")
            kw["aname"] = "_ClearSystemEventLogResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ClearSystemEventLogResponse_Holder"
            self.pyclass = Holder

    class FetchSystemEventLog_Dec(ElementDeclaration):
        literal = "FetchSystemEventLog"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FetchSystemEventLog")
            kw["aname"] = "_FetchSystemEventLog"
            if ns0.FetchSystemEventLogRequestType_Def not in ns0.FetchSystemEventLog_Dec.__bases__:
                bases = list(ns0.FetchSystemEventLog_Dec.__bases__)
                bases.insert(0, ns0.FetchSystemEventLogRequestType_Def)
                ns0.FetchSystemEventLog_Dec.__bases__ = tuple(bases)

            ns0.FetchSystemEventLogRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FetchSystemEventLog_Dec_Holder"

    class FetchSystemEventLogResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FetchSystemEventLogResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FetchSystemEventLogResponse_Dec.schema
            TClist = [GTD("urn:vim25","SystemEventInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FetchSystemEventLogResponse")
            kw["aname"] = "_FetchSystemEventLogResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "FetchSystemEventLogResponse_Holder"
            self.pyclass = Holder

    class RetrieveHostAccessControlEntries_Dec(ElementDeclaration):
        literal = "RetrieveHostAccessControlEntries"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveHostAccessControlEntries")
            kw["aname"] = "_RetrieveHostAccessControlEntries"
            if ns0.RetrieveHostAccessControlEntriesRequestType_Def not in ns0.RetrieveHostAccessControlEntries_Dec.__bases__:
                bases = list(ns0.RetrieveHostAccessControlEntries_Dec.__bases__)
                bases.insert(0, ns0.RetrieveHostAccessControlEntriesRequestType_Def)
                ns0.RetrieveHostAccessControlEntries_Dec.__bases__ = tuple(bases)

            ns0.RetrieveHostAccessControlEntriesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveHostAccessControlEntries_Dec_Holder"

    class RetrieveHostAccessControlEntriesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveHostAccessControlEntriesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveHostAccessControlEntriesResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostAccessControlEntry",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveHostAccessControlEntriesResponse")
            kw["aname"] = "_RetrieveHostAccessControlEntriesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrieveHostAccessControlEntriesResponse_Holder"
            self.pyclass = Holder

    class ChangeAccessMode_Dec(ElementDeclaration):
        literal = "ChangeAccessMode"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ChangeAccessMode")
            kw["aname"] = "_ChangeAccessMode"
            if ns0.ChangeAccessModeRequestType_Def not in ns0.ChangeAccessMode_Dec.__bases__:
                bases = list(ns0.ChangeAccessMode_Dec.__bases__)
                bases.insert(0, ns0.ChangeAccessModeRequestType_Def)
                ns0.ChangeAccessMode_Dec.__bases__ = tuple(bases)

            ns0.ChangeAccessModeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ChangeAccessMode_Dec_Holder"

    class ChangeAccessModeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ChangeAccessModeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ChangeAccessModeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ChangeAccessModeResponse")
            kw["aname"] = "_ChangeAccessModeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ChangeAccessModeResponse_Holder"
            self.pyclass = Holder

    class QuerySystemUsers_Dec(ElementDeclaration):
        literal = "QuerySystemUsers"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QuerySystemUsers")
            kw["aname"] = "_QuerySystemUsers"
            if ns0.QuerySystemUsersRequestType_Def not in ns0.QuerySystemUsers_Dec.__bases__:
                bases = list(ns0.QuerySystemUsers_Dec.__bases__)
                bases.insert(0, ns0.QuerySystemUsersRequestType_Def)
                ns0.QuerySystemUsers_Dec.__bases__ = tuple(bases)

            ns0.QuerySystemUsersRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QuerySystemUsers_Dec_Holder"

    class QuerySystemUsersResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QuerySystemUsersResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QuerySystemUsersResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QuerySystemUsersResponse")
            kw["aname"] = "_QuerySystemUsersResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QuerySystemUsersResponse_Holder"
            self.pyclass = Holder

    class UpdateSystemUsers_Dec(ElementDeclaration):
        literal = "UpdateSystemUsers"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateSystemUsers")
            kw["aname"] = "_UpdateSystemUsers"
            if ns0.UpdateSystemUsersRequestType_Def not in ns0.UpdateSystemUsers_Dec.__bases__:
                bases = list(ns0.UpdateSystemUsers_Dec.__bases__)
                bases.insert(0, ns0.UpdateSystemUsersRequestType_Def)
                ns0.UpdateSystemUsers_Dec.__bases__ = tuple(bases)

            ns0.UpdateSystemUsersRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateSystemUsers_Dec_Holder"

    class UpdateSystemUsersResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateSystemUsersResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateSystemUsersResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateSystemUsersResponse")
            kw["aname"] = "_UpdateSystemUsersResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateSystemUsersResponse_Holder"
            self.pyclass = Holder

    class QueryLockdownExceptions_Dec(ElementDeclaration):
        literal = "QueryLockdownExceptions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryLockdownExceptions")
            kw["aname"] = "_QueryLockdownExceptions"
            if ns0.QueryLockdownExceptionsRequestType_Def not in ns0.QueryLockdownExceptions_Dec.__bases__:
                bases = list(ns0.QueryLockdownExceptions_Dec.__bases__)
                bases.insert(0, ns0.QueryLockdownExceptionsRequestType_Def)
                ns0.QueryLockdownExceptions_Dec.__bases__ = tuple(bases)

            ns0.QueryLockdownExceptionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryLockdownExceptions_Dec_Holder"

    class QueryLockdownExceptionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryLockdownExceptionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryLockdownExceptionsResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryLockdownExceptionsResponse")
            kw["aname"] = "_QueryLockdownExceptionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryLockdownExceptionsResponse_Holder"
            self.pyclass = Holder

    class UpdateLockdownExceptions_Dec(ElementDeclaration):
        literal = "UpdateLockdownExceptions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateLockdownExceptions")
            kw["aname"] = "_UpdateLockdownExceptions"
            if ns0.UpdateLockdownExceptionsRequestType_Def not in ns0.UpdateLockdownExceptions_Dec.__bases__:
                bases = list(ns0.UpdateLockdownExceptions_Dec.__bases__)
                bases.insert(0, ns0.UpdateLockdownExceptionsRequestType_Def)
                ns0.UpdateLockdownExceptions_Dec.__bases__ = tuple(bases)

            ns0.UpdateLockdownExceptionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateLockdownExceptions_Dec_Holder"

    class UpdateLockdownExceptionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateLockdownExceptionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateLockdownExceptionsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateLockdownExceptionsResponse")
            kw["aname"] = "_UpdateLockdownExceptionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateLockdownExceptionsResponse_Holder"
            self.pyclass = Holder

    class ChangeLockdownMode_Dec(ElementDeclaration):
        literal = "ChangeLockdownMode"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ChangeLockdownMode")
            kw["aname"] = "_ChangeLockdownMode"
            if ns0.ChangeLockdownModeRequestType_Def not in ns0.ChangeLockdownMode_Dec.__bases__:
                bases = list(ns0.ChangeLockdownMode_Dec.__bases__)
                bases.insert(0, ns0.ChangeLockdownModeRequestType_Def)
                ns0.ChangeLockdownMode_Dec.__bases__ = tuple(bases)

            ns0.ChangeLockdownModeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ChangeLockdownMode_Dec_Holder"

    class ChangeLockdownModeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ChangeLockdownModeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ChangeLockdownModeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ChangeLockdownModeResponse")
            kw["aname"] = "_ChangeLockdownModeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ChangeLockdownModeResponse_Holder"
            self.pyclass = Holder

    class HostImageConfigGetAcceptance_Dec(ElementDeclaration):
        literal = "HostImageConfigGetAcceptance"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostImageConfigGetAcceptance")
            kw["aname"] = "_HostImageConfigGetAcceptance"
            if ns0.HostImageConfigGetAcceptanceRequestType_Def not in ns0.HostImageConfigGetAcceptance_Dec.__bases__:
                bases = list(ns0.HostImageConfigGetAcceptance_Dec.__bases__)
                bases.insert(0, ns0.HostImageConfigGetAcceptanceRequestType_Def)
                ns0.HostImageConfigGetAcceptance_Dec.__bases__ = tuple(bases)

            ns0.HostImageConfigGetAcceptanceRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostImageConfigGetAcceptance_Dec_Holder"

    class HostImageConfigGetAcceptanceResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostImageConfigGetAcceptanceResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostImageConfigGetAcceptanceResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostImageConfigGetAcceptanceResponse")
            kw["aname"] = "_HostImageConfigGetAcceptanceResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostImageConfigGetAcceptanceResponse_Holder"
            self.pyclass = Holder

    class HostImageConfigGetProfile_Dec(ElementDeclaration):
        literal = "HostImageConfigGetProfile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostImageConfigGetProfile")
            kw["aname"] = "_HostImageConfigGetProfile"
            if ns0.HostImageConfigGetProfileRequestType_Def not in ns0.HostImageConfigGetProfile_Dec.__bases__:
                bases = list(ns0.HostImageConfigGetProfile_Dec.__bases__)
                bases.insert(0, ns0.HostImageConfigGetProfileRequestType_Def)
                ns0.HostImageConfigGetProfile_Dec.__bases__ = tuple(bases)

            ns0.HostImageConfigGetProfileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostImageConfigGetProfile_Dec_Holder"

    class HostImageConfigGetProfileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostImageConfigGetProfileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostImageConfigGetProfileResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostImageProfileSummary",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostImageConfigGetProfileResponse")
            kw["aname"] = "_HostImageConfigGetProfileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostImageConfigGetProfileResponse_Holder"
            self.pyclass = Holder

    class UpdateHostImageAcceptanceLevel_Dec(ElementDeclaration):
        literal = "UpdateHostImageAcceptanceLevel"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateHostImageAcceptanceLevel")
            kw["aname"] = "_UpdateHostImageAcceptanceLevel"
            if ns0.UpdateHostImageAcceptanceLevelRequestType_Def not in ns0.UpdateHostImageAcceptanceLevel_Dec.__bases__:
                bases = list(ns0.UpdateHostImageAcceptanceLevel_Dec.__bases__)
                bases.insert(0, ns0.UpdateHostImageAcceptanceLevelRequestType_Def)
                ns0.UpdateHostImageAcceptanceLevel_Dec.__bases__ = tuple(bases)

            ns0.UpdateHostImageAcceptanceLevelRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateHostImageAcceptanceLevel_Dec_Holder"

    class UpdateHostImageAcceptanceLevelResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateHostImageAcceptanceLevelResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateHostImageAcceptanceLevelResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateHostImageAcceptanceLevelResponse")
            kw["aname"] = "_UpdateHostImageAcceptanceLevelResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateHostImageAcceptanceLevelResponse_Holder"
            self.pyclass = Holder

    class fetchSoftwarePackages_Dec(ElementDeclaration):
        literal = "fetchSoftwarePackages"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","fetchSoftwarePackages")
            kw["aname"] = "_fetchSoftwarePackages"
            if ns0.fetchSoftwarePackagesRequestType_Def not in ns0.fetchSoftwarePackages_Dec.__bases__:
                bases = list(ns0.fetchSoftwarePackages_Dec.__bases__)
                bases.insert(0, ns0.fetchSoftwarePackagesRequestType_Def)
                ns0.fetchSoftwarePackages_Dec.__bases__ = tuple(bases)

            ns0.fetchSoftwarePackagesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "fetchSoftwarePackages_Dec_Holder"

    class fetchSoftwarePackagesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "fetchSoftwarePackagesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.fetchSoftwarePackagesResponse_Dec.schema
            TClist = [GTD("urn:vim25","SoftwarePackage",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","fetchSoftwarePackagesResponse")
            kw["aname"] = "_fetchSoftwarePackagesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "fetchSoftwarePackagesResponse_Holder"
            self.pyclass = Holder

    class installDate_Dec(ElementDeclaration):
        literal = "installDate"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","installDate")
            kw["aname"] = "_installDate"
            if ns0.installDateRequestType_Def not in ns0.installDate_Dec.__bases__:
                bases = list(ns0.installDate_Dec.__bases__)
                bases.insert(0, ns0.installDateRequestType_Def)
                ns0.installDate_Dec.__bases__ = tuple(bases)

            ns0.installDateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "installDate_Dec_Holder"

    class installDateResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "installDateResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.installDateResponse_Dec.schema
            TClist = [pysphere.ZSI.TCtimes.gDateTime(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","installDateResponse")
            kw["aname"] = "_installDateResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "installDateResponse_Holder"
            self.pyclass = Holder

    class QueryVnicStatus_Dec(ElementDeclaration):
        literal = "QueryVnicStatus"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryVnicStatus")
            kw["aname"] = "_QueryVnicStatus"
            if ns0.QueryVnicStatusRequestType_Def not in ns0.QueryVnicStatus_Dec.__bases__:
                bases = list(ns0.QueryVnicStatus_Dec.__bases__)
                bases.insert(0, ns0.QueryVnicStatusRequestType_Def)
                ns0.QueryVnicStatus_Dec.__bases__ = tuple(bases)

            ns0.QueryVnicStatusRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryVnicStatus_Dec_Holder"

    class QueryVnicStatusResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryVnicStatusResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryVnicStatusResponse_Dec.schema
            TClist = [GTD("urn:vim25","IscsiStatus",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryVnicStatusResponse")
            kw["aname"] = "_QueryVnicStatusResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryVnicStatusResponse_Holder"
            self.pyclass = Holder

    class QueryPnicStatus_Dec(ElementDeclaration):
        literal = "QueryPnicStatus"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryPnicStatus")
            kw["aname"] = "_QueryPnicStatus"
            if ns0.QueryPnicStatusRequestType_Def not in ns0.QueryPnicStatus_Dec.__bases__:
                bases = list(ns0.QueryPnicStatus_Dec.__bases__)
                bases.insert(0, ns0.QueryPnicStatusRequestType_Def)
                ns0.QueryPnicStatus_Dec.__bases__ = tuple(bases)

            ns0.QueryPnicStatusRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryPnicStatus_Dec_Holder"

    class QueryPnicStatusResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryPnicStatusResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryPnicStatusResponse_Dec.schema
            TClist = [GTD("urn:vim25","IscsiStatus",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryPnicStatusResponse")
            kw["aname"] = "_QueryPnicStatusResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryPnicStatusResponse_Holder"
            self.pyclass = Holder

    class QueryBoundVnics_Dec(ElementDeclaration):
        literal = "QueryBoundVnics"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryBoundVnics")
            kw["aname"] = "_QueryBoundVnics"
            if ns0.QueryBoundVnicsRequestType_Def not in ns0.QueryBoundVnics_Dec.__bases__:
                bases = list(ns0.QueryBoundVnics_Dec.__bases__)
                bases.insert(0, ns0.QueryBoundVnicsRequestType_Def)
                ns0.QueryBoundVnics_Dec.__bases__ = tuple(bases)

            ns0.QueryBoundVnicsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryBoundVnics_Dec_Holder"

    class QueryBoundVnicsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryBoundVnicsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryBoundVnicsResponse_Dec.schema
            TClist = [GTD("urn:vim25","IscsiPortInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryBoundVnicsResponse")
            kw["aname"] = "_QueryBoundVnicsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryBoundVnicsResponse_Holder"
            self.pyclass = Holder

    class QueryCandidateNics_Dec(ElementDeclaration):
        literal = "QueryCandidateNics"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryCandidateNics")
            kw["aname"] = "_QueryCandidateNics"
            if ns0.QueryCandidateNicsRequestType_Def not in ns0.QueryCandidateNics_Dec.__bases__:
                bases = list(ns0.QueryCandidateNics_Dec.__bases__)
                bases.insert(0, ns0.QueryCandidateNicsRequestType_Def)
                ns0.QueryCandidateNics_Dec.__bases__ = tuple(bases)

            ns0.QueryCandidateNicsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryCandidateNics_Dec_Holder"

    class QueryCandidateNicsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryCandidateNicsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryCandidateNicsResponse_Dec.schema
            TClist = [GTD("urn:vim25","IscsiPortInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryCandidateNicsResponse")
            kw["aname"] = "_QueryCandidateNicsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryCandidateNicsResponse_Holder"
            self.pyclass = Holder

    class BindVnic_Dec(ElementDeclaration):
        literal = "BindVnic"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","BindVnic")
            kw["aname"] = "_BindVnic"
            if ns0.BindVnicRequestType_Def not in ns0.BindVnic_Dec.__bases__:
                bases = list(ns0.BindVnic_Dec.__bases__)
                bases.insert(0, ns0.BindVnicRequestType_Def)
                ns0.BindVnic_Dec.__bases__ = tuple(bases)

            ns0.BindVnicRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "BindVnic_Dec_Holder"

    class BindVnicResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "BindVnicResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.BindVnicResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","BindVnicResponse")
            kw["aname"] = "_BindVnicResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "BindVnicResponse_Holder"
            self.pyclass = Holder

    class UnbindVnic_Dec(ElementDeclaration):
        literal = "UnbindVnic"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnbindVnic")
            kw["aname"] = "_UnbindVnic"
            if ns0.UnbindVnicRequestType_Def not in ns0.UnbindVnic_Dec.__bases__:
                bases = list(ns0.UnbindVnic_Dec.__bases__)
                bases.insert(0, ns0.UnbindVnicRequestType_Def)
                ns0.UnbindVnic_Dec.__bases__ = tuple(bases)

            ns0.UnbindVnicRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnbindVnic_Dec_Holder"

    class UnbindVnicResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UnbindVnicResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UnbindVnicResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UnbindVnicResponse")
            kw["aname"] = "_UnbindVnicResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UnbindVnicResponse_Holder"
            self.pyclass = Holder

    class QueryMigrationDependencies_Dec(ElementDeclaration):
        literal = "QueryMigrationDependencies"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryMigrationDependencies")
            kw["aname"] = "_QueryMigrationDependencies"
            if ns0.QueryMigrationDependenciesRequestType_Def not in ns0.QueryMigrationDependencies_Dec.__bases__:
                bases = list(ns0.QueryMigrationDependencies_Dec.__bases__)
                bases.insert(0, ns0.QueryMigrationDependenciesRequestType_Def)
                ns0.QueryMigrationDependencies_Dec.__bases__ = tuple(bases)

            ns0.QueryMigrationDependenciesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryMigrationDependencies_Dec_Holder"

    class QueryMigrationDependenciesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryMigrationDependenciesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryMigrationDependenciesResponse_Dec.schema
            TClist = [GTD("urn:vim25","IscsiMigrationDependency",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryMigrationDependenciesResponse")
            kw["aname"] = "_QueryMigrationDependenciesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryMigrationDependenciesResponse_Holder"
            self.pyclass = Holder

    class QueryModules_Dec(ElementDeclaration):
        literal = "QueryModules"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryModules")
            kw["aname"] = "_QueryModules"
            if ns0.QueryModulesRequestType_Def not in ns0.QueryModules_Dec.__bases__:
                bases = list(ns0.QueryModules_Dec.__bases__)
                bases.insert(0, ns0.QueryModulesRequestType_Def)
                ns0.QueryModules_Dec.__bases__ = tuple(bases)

            ns0.QueryModulesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryModules_Dec_Holder"

    class QueryModulesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryModulesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryModulesResponse_Dec.schema
            TClist = [GTD("urn:vim25","KernelModuleInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryModulesResponse")
            kw["aname"] = "_QueryModulesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryModulesResponse_Holder"
            self.pyclass = Holder

    class UpdateModuleOptionString_Dec(ElementDeclaration):
        literal = "UpdateModuleOptionString"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateModuleOptionString")
            kw["aname"] = "_UpdateModuleOptionString"
            if ns0.UpdateModuleOptionStringRequestType_Def not in ns0.UpdateModuleOptionString_Dec.__bases__:
                bases = list(ns0.UpdateModuleOptionString_Dec.__bases__)
                bases.insert(0, ns0.UpdateModuleOptionStringRequestType_Def)
                ns0.UpdateModuleOptionString_Dec.__bases__ = tuple(bases)

            ns0.UpdateModuleOptionStringRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateModuleOptionString_Dec_Holder"

    class UpdateModuleOptionStringResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateModuleOptionStringResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateModuleOptionStringResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateModuleOptionStringResponse")
            kw["aname"] = "_UpdateModuleOptionStringResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateModuleOptionStringResponse_Holder"
            self.pyclass = Holder

    class QueryConfiguredModuleOptionString_Dec(ElementDeclaration):
        literal = "QueryConfiguredModuleOptionString"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryConfiguredModuleOptionString")
            kw["aname"] = "_QueryConfiguredModuleOptionString"
            if ns0.QueryConfiguredModuleOptionStringRequestType_Def not in ns0.QueryConfiguredModuleOptionString_Dec.__bases__:
                bases = list(ns0.QueryConfiguredModuleOptionString_Dec.__bases__)
                bases.insert(0, ns0.QueryConfiguredModuleOptionStringRequestType_Def)
                ns0.QueryConfiguredModuleOptionString_Dec.__bases__ = tuple(bases)

            ns0.QueryConfiguredModuleOptionStringRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryConfiguredModuleOptionString_Dec_Holder"

    class QueryConfiguredModuleOptionStringResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryConfiguredModuleOptionStringResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryConfiguredModuleOptionStringResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryConfiguredModuleOptionStringResponse")
            kw["aname"] = "_QueryConfiguredModuleOptionStringResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryConfiguredModuleOptionStringResponse_Holder"
            self.pyclass = Holder

    class CreateUser_Dec(ElementDeclaration):
        literal = "CreateUser"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateUser")
            kw["aname"] = "_CreateUser"
            if ns0.CreateUserRequestType_Def not in ns0.CreateUser_Dec.__bases__:
                bases = list(ns0.CreateUser_Dec.__bases__)
                bases.insert(0, ns0.CreateUserRequestType_Def)
                ns0.CreateUser_Dec.__bases__ = tuple(bases)

            ns0.CreateUserRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateUser_Dec_Holder"

    class CreateUserResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateUserResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateUserResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CreateUserResponse")
            kw["aname"] = "_CreateUserResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CreateUserResponse_Holder"
            self.pyclass = Holder

    class UpdateUser_Dec(ElementDeclaration):
        literal = "UpdateUser"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateUser")
            kw["aname"] = "_UpdateUser"
            if ns0.UpdateUserRequestType_Def not in ns0.UpdateUser_Dec.__bases__:
                bases = list(ns0.UpdateUser_Dec.__bases__)
                bases.insert(0, ns0.UpdateUserRequestType_Def)
                ns0.UpdateUser_Dec.__bases__ = tuple(bases)

            ns0.UpdateUserRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateUser_Dec_Holder"

    class UpdateUserResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateUserResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateUserResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateUserResponse")
            kw["aname"] = "_UpdateUserResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateUserResponse_Holder"
            self.pyclass = Holder

    class CreateGroup_Dec(ElementDeclaration):
        literal = "CreateGroup"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateGroup")
            kw["aname"] = "_CreateGroup"
            if ns0.CreateGroupRequestType_Def not in ns0.CreateGroup_Dec.__bases__:
                bases = list(ns0.CreateGroup_Dec.__bases__)
                bases.insert(0, ns0.CreateGroupRequestType_Def)
                ns0.CreateGroup_Dec.__bases__ = tuple(bases)

            ns0.CreateGroupRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateGroup_Dec_Holder"

    class CreateGroupResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateGroupResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateGroupResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CreateGroupResponse")
            kw["aname"] = "_CreateGroupResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CreateGroupResponse_Holder"
            self.pyclass = Holder

    class RemoveUser_Dec(ElementDeclaration):
        literal = "RemoveUser"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveUser")
            kw["aname"] = "_RemoveUser"
            if ns0.RemoveUserRequestType_Def not in ns0.RemoveUser_Dec.__bases__:
                bases = list(ns0.RemoveUser_Dec.__bases__)
                bases.insert(0, ns0.RemoveUserRequestType_Def)
                ns0.RemoveUser_Dec.__bases__ = tuple(bases)

            ns0.RemoveUserRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveUser_Dec_Holder"

    class RemoveUserResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveUserResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveUserResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveUserResponse")
            kw["aname"] = "_RemoveUserResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveUserResponse_Holder"
            self.pyclass = Holder

    class RemoveGroup_Dec(ElementDeclaration):
        literal = "RemoveGroup"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveGroup")
            kw["aname"] = "_RemoveGroup"
            if ns0.RemoveGroupRequestType_Def not in ns0.RemoveGroup_Dec.__bases__:
                bases = list(ns0.RemoveGroup_Dec.__bases__)
                bases.insert(0, ns0.RemoveGroupRequestType_Def)
                ns0.RemoveGroup_Dec.__bases__ = tuple(bases)

            ns0.RemoveGroupRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveGroup_Dec_Holder"

    class RemoveGroupResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveGroupResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveGroupResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveGroupResponse")
            kw["aname"] = "_RemoveGroupResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveGroupResponse_Holder"
            self.pyclass = Holder

    class AssignUserToGroup_Dec(ElementDeclaration):
        literal = "AssignUserToGroup"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AssignUserToGroup")
            kw["aname"] = "_AssignUserToGroup"
            if ns0.AssignUserToGroupRequestType_Def not in ns0.AssignUserToGroup_Dec.__bases__:
                bases = list(ns0.AssignUserToGroup_Dec.__bases__)
                bases.insert(0, ns0.AssignUserToGroupRequestType_Def)
                ns0.AssignUserToGroup_Dec.__bases__ = tuple(bases)

            ns0.AssignUserToGroupRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AssignUserToGroup_Dec_Holder"

    class AssignUserToGroupResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AssignUserToGroupResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AssignUserToGroupResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AssignUserToGroupResponse")
            kw["aname"] = "_AssignUserToGroupResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AssignUserToGroupResponse_Holder"
            self.pyclass = Holder

    class UnassignUserFromGroup_Dec(ElementDeclaration):
        literal = "UnassignUserFromGroup"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnassignUserFromGroup")
            kw["aname"] = "_UnassignUserFromGroup"
            if ns0.UnassignUserFromGroupRequestType_Def not in ns0.UnassignUserFromGroup_Dec.__bases__:
                bases = list(ns0.UnassignUserFromGroup_Dec.__bases__)
                bases.insert(0, ns0.UnassignUserFromGroupRequestType_Def)
                ns0.UnassignUserFromGroup_Dec.__bases__ = tuple(bases)

            ns0.UnassignUserFromGroupRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnassignUserFromGroup_Dec_Holder"

    class UnassignUserFromGroupResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UnassignUserFromGroupResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UnassignUserFromGroupResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UnassignUserFromGroupResponse")
            kw["aname"] = "_UnassignUserFromGroupResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UnassignUserFromGroupResponse_Holder"
            self.pyclass = Holder

    class ReconfigureServiceConsoleReservation_Dec(ElementDeclaration):
        literal = "ReconfigureServiceConsoleReservation"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigureServiceConsoleReservation")
            kw["aname"] = "_ReconfigureServiceConsoleReservation"
            if ns0.ReconfigureServiceConsoleReservationRequestType_Def not in ns0.ReconfigureServiceConsoleReservation_Dec.__bases__:
                bases = list(ns0.ReconfigureServiceConsoleReservation_Dec.__bases__)
                bases.insert(0, ns0.ReconfigureServiceConsoleReservationRequestType_Def)
                ns0.ReconfigureServiceConsoleReservation_Dec.__bases__ = tuple(bases)

            ns0.ReconfigureServiceConsoleReservationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigureServiceConsoleReservation_Dec_Holder"

    class ReconfigureServiceConsoleReservationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigureServiceConsoleReservationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigureServiceConsoleReservationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ReconfigureServiceConsoleReservationResponse")
            kw["aname"] = "_ReconfigureServiceConsoleReservationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ReconfigureServiceConsoleReservationResponse_Holder"
            self.pyclass = Holder

    class ReconfigureVirtualMachineReservation_Dec(ElementDeclaration):
        literal = "ReconfigureVirtualMachineReservation"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigureVirtualMachineReservation")
            kw["aname"] = "_ReconfigureVirtualMachineReservation"
            if ns0.ReconfigureVirtualMachineReservationRequestType_Def not in ns0.ReconfigureVirtualMachineReservation_Dec.__bases__:
                bases = list(ns0.ReconfigureVirtualMachineReservation_Dec.__bases__)
                bases.insert(0, ns0.ReconfigureVirtualMachineReservationRequestType_Def)
                ns0.ReconfigureVirtualMachineReservation_Dec.__bases__ = tuple(bases)

            ns0.ReconfigureVirtualMachineReservationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigureVirtualMachineReservation_Dec_Holder"

    class ReconfigureVirtualMachineReservationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigureVirtualMachineReservationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigureVirtualMachineReservationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ReconfigureVirtualMachineReservationResponse")
            kw["aname"] = "_ReconfigureVirtualMachineReservationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ReconfigureVirtualMachineReservationResponse_Holder"
            self.pyclass = Holder

    class UpdateNetworkConfig_Dec(ElementDeclaration):
        literal = "UpdateNetworkConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateNetworkConfig")
            kw["aname"] = "_UpdateNetworkConfig"
            if ns0.UpdateNetworkConfigRequestType_Def not in ns0.UpdateNetworkConfig_Dec.__bases__:
                bases = list(ns0.UpdateNetworkConfig_Dec.__bases__)
                bases.insert(0, ns0.UpdateNetworkConfigRequestType_Def)
                ns0.UpdateNetworkConfig_Dec.__bases__ = tuple(bases)

            ns0.UpdateNetworkConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateNetworkConfig_Dec_Holder"

    class UpdateNetworkConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateNetworkConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateNetworkConfigResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostNetworkConfigResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpdateNetworkConfigResponse")
            kw["aname"] = "_UpdateNetworkConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpdateNetworkConfigResponse_Holder"
            self.pyclass = Holder

    class UpdateDnsConfig_Dec(ElementDeclaration):
        literal = "UpdateDnsConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateDnsConfig")
            kw["aname"] = "_UpdateDnsConfig"
            if ns0.UpdateDnsConfigRequestType_Def not in ns0.UpdateDnsConfig_Dec.__bases__:
                bases = list(ns0.UpdateDnsConfig_Dec.__bases__)
                bases.insert(0, ns0.UpdateDnsConfigRequestType_Def)
                ns0.UpdateDnsConfig_Dec.__bases__ = tuple(bases)

            ns0.UpdateDnsConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateDnsConfig_Dec_Holder"

    class UpdateDnsConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateDnsConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateDnsConfigResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateDnsConfigResponse")
            kw["aname"] = "_UpdateDnsConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateDnsConfigResponse_Holder"
            self.pyclass = Holder

    class UpdateIpRouteConfig_Dec(ElementDeclaration):
        literal = "UpdateIpRouteConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateIpRouteConfig")
            kw["aname"] = "_UpdateIpRouteConfig"
            if ns0.UpdateIpRouteConfigRequestType_Def not in ns0.UpdateIpRouteConfig_Dec.__bases__:
                bases = list(ns0.UpdateIpRouteConfig_Dec.__bases__)
                bases.insert(0, ns0.UpdateIpRouteConfigRequestType_Def)
                ns0.UpdateIpRouteConfig_Dec.__bases__ = tuple(bases)

            ns0.UpdateIpRouteConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateIpRouteConfig_Dec_Holder"

    class UpdateIpRouteConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateIpRouteConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateIpRouteConfigResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateIpRouteConfigResponse")
            kw["aname"] = "_UpdateIpRouteConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateIpRouteConfigResponse_Holder"
            self.pyclass = Holder

    class UpdateConsoleIpRouteConfig_Dec(ElementDeclaration):
        literal = "UpdateConsoleIpRouteConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateConsoleIpRouteConfig")
            kw["aname"] = "_UpdateConsoleIpRouteConfig"
            if ns0.UpdateConsoleIpRouteConfigRequestType_Def not in ns0.UpdateConsoleIpRouteConfig_Dec.__bases__:
                bases = list(ns0.UpdateConsoleIpRouteConfig_Dec.__bases__)
                bases.insert(0, ns0.UpdateConsoleIpRouteConfigRequestType_Def)
                ns0.UpdateConsoleIpRouteConfig_Dec.__bases__ = tuple(bases)

            ns0.UpdateConsoleIpRouteConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateConsoleIpRouteConfig_Dec_Holder"

    class UpdateConsoleIpRouteConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateConsoleIpRouteConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateConsoleIpRouteConfigResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateConsoleIpRouteConfigResponse")
            kw["aname"] = "_UpdateConsoleIpRouteConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateConsoleIpRouteConfigResponse_Holder"
            self.pyclass = Holder

    class UpdateIpRouteTableConfig_Dec(ElementDeclaration):
        literal = "UpdateIpRouteTableConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateIpRouteTableConfig")
            kw["aname"] = "_UpdateIpRouteTableConfig"
            if ns0.UpdateIpRouteTableConfigRequestType_Def not in ns0.UpdateIpRouteTableConfig_Dec.__bases__:
                bases = list(ns0.UpdateIpRouteTableConfig_Dec.__bases__)
                bases.insert(0, ns0.UpdateIpRouteTableConfigRequestType_Def)
                ns0.UpdateIpRouteTableConfig_Dec.__bases__ = tuple(bases)

            ns0.UpdateIpRouteTableConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateIpRouteTableConfig_Dec_Holder"

    class UpdateIpRouteTableConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateIpRouteTableConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateIpRouteTableConfigResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateIpRouteTableConfigResponse")
            kw["aname"] = "_UpdateIpRouteTableConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateIpRouteTableConfigResponse_Holder"
            self.pyclass = Holder

    class AddVirtualSwitch_Dec(ElementDeclaration):
        literal = "AddVirtualSwitch"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddVirtualSwitch")
            kw["aname"] = "_AddVirtualSwitch"
            if ns0.AddVirtualSwitchRequestType_Def not in ns0.AddVirtualSwitch_Dec.__bases__:
                bases = list(ns0.AddVirtualSwitch_Dec.__bases__)
                bases.insert(0, ns0.AddVirtualSwitchRequestType_Def)
                ns0.AddVirtualSwitch_Dec.__bases__ = tuple(bases)

            ns0.AddVirtualSwitchRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddVirtualSwitch_Dec_Holder"

    class AddVirtualSwitchResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddVirtualSwitchResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddVirtualSwitchResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AddVirtualSwitchResponse")
            kw["aname"] = "_AddVirtualSwitchResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AddVirtualSwitchResponse_Holder"
            self.pyclass = Holder

    class RemoveVirtualSwitch_Dec(ElementDeclaration):
        literal = "RemoveVirtualSwitch"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveVirtualSwitch")
            kw["aname"] = "_RemoveVirtualSwitch"
            if ns0.RemoveVirtualSwitchRequestType_Def not in ns0.RemoveVirtualSwitch_Dec.__bases__:
                bases = list(ns0.RemoveVirtualSwitch_Dec.__bases__)
                bases.insert(0, ns0.RemoveVirtualSwitchRequestType_Def)
                ns0.RemoveVirtualSwitch_Dec.__bases__ = tuple(bases)

            ns0.RemoveVirtualSwitchRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveVirtualSwitch_Dec_Holder"

    class RemoveVirtualSwitchResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveVirtualSwitchResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveVirtualSwitchResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveVirtualSwitchResponse")
            kw["aname"] = "_RemoveVirtualSwitchResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveVirtualSwitchResponse_Holder"
            self.pyclass = Holder

    class UpdateVirtualSwitch_Dec(ElementDeclaration):
        literal = "UpdateVirtualSwitch"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateVirtualSwitch")
            kw["aname"] = "_UpdateVirtualSwitch"
            if ns0.UpdateVirtualSwitchRequestType_Def not in ns0.UpdateVirtualSwitch_Dec.__bases__:
                bases = list(ns0.UpdateVirtualSwitch_Dec.__bases__)
                bases.insert(0, ns0.UpdateVirtualSwitchRequestType_Def)
                ns0.UpdateVirtualSwitch_Dec.__bases__ = tuple(bases)

            ns0.UpdateVirtualSwitchRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateVirtualSwitch_Dec_Holder"

    class UpdateVirtualSwitchResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateVirtualSwitchResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateVirtualSwitchResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateVirtualSwitchResponse")
            kw["aname"] = "_UpdateVirtualSwitchResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateVirtualSwitchResponse_Holder"
            self.pyclass = Holder

    class AddPortGroup_Dec(ElementDeclaration):
        literal = "AddPortGroup"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddPortGroup")
            kw["aname"] = "_AddPortGroup"
            if ns0.AddPortGroupRequestType_Def not in ns0.AddPortGroup_Dec.__bases__:
                bases = list(ns0.AddPortGroup_Dec.__bases__)
                bases.insert(0, ns0.AddPortGroupRequestType_Def)
                ns0.AddPortGroup_Dec.__bases__ = tuple(bases)

            ns0.AddPortGroupRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddPortGroup_Dec_Holder"

    class AddPortGroupResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddPortGroupResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddPortGroupResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AddPortGroupResponse")
            kw["aname"] = "_AddPortGroupResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AddPortGroupResponse_Holder"
            self.pyclass = Holder

    class RemovePortGroup_Dec(ElementDeclaration):
        literal = "RemovePortGroup"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemovePortGroup")
            kw["aname"] = "_RemovePortGroup"
            if ns0.RemovePortGroupRequestType_Def not in ns0.RemovePortGroup_Dec.__bases__:
                bases = list(ns0.RemovePortGroup_Dec.__bases__)
                bases.insert(0, ns0.RemovePortGroupRequestType_Def)
                ns0.RemovePortGroup_Dec.__bases__ = tuple(bases)

            ns0.RemovePortGroupRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemovePortGroup_Dec_Holder"

    class RemovePortGroupResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemovePortGroupResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemovePortGroupResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemovePortGroupResponse")
            kw["aname"] = "_RemovePortGroupResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemovePortGroupResponse_Holder"
            self.pyclass = Holder

    class UpdatePortGroup_Dec(ElementDeclaration):
        literal = "UpdatePortGroup"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdatePortGroup")
            kw["aname"] = "_UpdatePortGroup"
            if ns0.UpdatePortGroupRequestType_Def not in ns0.UpdatePortGroup_Dec.__bases__:
                bases = list(ns0.UpdatePortGroup_Dec.__bases__)
                bases.insert(0, ns0.UpdatePortGroupRequestType_Def)
                ns0.UpdatePortGroup_Dec.__bases__ = tuple(bases)

            ns0.UpdatePortGroupRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdatePortGroup_Dec_Holder"

    class UpdatePortGroupResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdatePortGroupResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdatePortGroupResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdatePortGroupResponse")
            kw["aname"] = "_UpdatePortGroupResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdatePortGroupResponse_Holder"
            self.pyclass = Holder

    class UpdatePhysicalNicLinkSpeed_Dec(ElementDeclaration):
        literal = "UpdatePhysicalNicLinkSpeed"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdatePhysicalNicLinkSpeed")
            kw["aname"] = "_UpdatePhysicalNicLinkSpeed"
            if ns0.UpdatePhysicalNicLinkSpeedRequestType_Def not in ns0.UpdatePhysicalNicLinkSpeed_Dec.__bases__:
                bases = list(ns0.UpdatePhysicalNicLinkSpeed_Dec.__bases__)
                bases.insert(0, ns0.UpdatePhysicalNicLinkSpeedRequestType_Def)
                ns0.UpdatePhysicalNicLinkSpeed_Dec.__bases__ = tuple(bases)

            ns0.UpdatePhysicalNicLinkSpeedRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdatePhysicalNicLinkSpeed_Dec_Holder"

    class UpdatePhysicalNicLinkSpeedResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdatePhysicalNicLinkSpeedResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdatePhysicalNicLinkSpeedResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdatePhysicalNicLinkSpeedResponse")
            kw["aname"] = "_UpdatePhysicalNicLinkSpeedResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdatePhysicalNicLinkSpeedResponse_Holder"
            self.pyclass = Holder

    class QueryNetworkHint_Dec(ElementDeclaration):
        literal = "QueryNetworkHint"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryNetworkHint")
            kw["aname"] = "_QueryNetworkHint"
            if ns0.QueryNetworkHintRequestType_Def not in ns0.QueryNetworkHint_Dec.__bases__:
                bases = list(ns0.QueryNetworkHint_Dec.__bases__)
                bases.insert(0, ns0.QueryNetworkHintRequestType_Def)
                ns0.QueryNetworkHint_Dec.__bases__ = tuple(bases)

            ns0.QueryNetworkHintRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryNetworkHint_Dec_Holder"

    class QueryNetworkHintResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryNetworkHintResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryNetworkHintResponse_Dec.schema
            TClist = [GTD("urn:vim25","PhysicalNicHintInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryNetworkHintResponse")
            kw["aname"] = "_QueryNetworkHintResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryNetworkHintResponse_Holder"
            self.pyclass = Holder

    class AddVirtualNic_Dec(ElementDeclaration):
        literal = "AddVirtualNic"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddVirtualNic")
            kw["aname"] = "_AddVirtualNic"
            if ns0.AddVirtualNicRequestType_Def not in ns0.AddVirtualNic_Dec.__bases__:
                bases = list(ns0.AddVirtualNic_Dec.__bases__)
                bases.insert(0, ns0.AddVirtualNicRequestType_Def)
                ns0.AddVirtualNic_Dec.__bases__ = tuple(bases)

            ns0.AddVirtualNicRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddVirtualNic_Dec_Holder"

    class AddVirtualNicResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddVirtualNicResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddVirtualNicResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AddVirtualNicResponse")
            kw["aname"] = "_AddVirtualNicResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AddVirtualNicResponse_Holder"
            self.pyclass = Holder

    class RemoveVirtualNic_Dec(ElementDeclaration):
        literal = "RemoveVirtualNic"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveVirtualNic")
            kw["aname"] = "_RemoveVirtualNic"
            if ns0.RemoveVirtualNicRequestType_Def not in ns0.RemoveVirtualNic_Dec.__bases__:
                bases = list(ns0.RemoveVirtualNic_Dec.__bases__)
                bases.insert(0, ns0.RemoveVirtualNicRequestType_Def)
                ns0.RemoveVirtualNic_Dec.__bases__ = tuple(bases)

            ns0.RemoveVirtualNicRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveVirtualNic_Dec_Holder"

    class RemoveVirtualNicResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveVirtualNicResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveVirtualNicResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveVirtualNicResponse")
            kw["aname"] = "_RemoveVirtualNicResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveVirtualNicResponse_Holder"
            self.pyclass = Holder

    class UpdateVirtualNic_Dec(ElementDeclaration):
        literal = "UpdateVirtualNic"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateVirtualNic")
            kw["aname"] = "_UpdateVirtualNic"
            if ns0.UpdateVirtualNicRequestType_Def not in ns0.UpdateVirtualNic_Dec.__bases__:
                bases = list(ns0.UpdateVirtualNic_Dec.__bases__)
                bases.insert(0, ns0.UpdateVirtualNicRequestType_Def)
                ns0.UpdateVirtualNic_Dec.__bases__ = tuple(bases)

            ns0.UpdateVirtualNicRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateVirtualNic_Dec_Holder"

    class UpdateVirtualNicResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateVirtualNicResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateVirtualNicResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateVirtualNicResponse")
            kw["aname"] = "_UpdateVirtualNicResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateVirtualNicResponse_Holder"
            self.pyclass = Holder

    class AddServiceConsoleVirtualNic_Dec(ElementDeclaration):
        literal = "AddServiceConsoleVirtualNic"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddServiceConsoleVirtualNic")
            kw["aname"] = "_AddServiceConsoleVirtualNic"
            if ns0.AddServiceConsoleVirtualNicRequestType_Def not in ns0.AddServiceConsoleVirtualNic_Dec.__bases__:
                bases = list(ns0.AddServiceConsoleVirtualNic_Dec.__bases__)
                bases.insert(0, ns0.AddServiceConsoleVirtualNicRequestType_Def)
                ns0.AddServiceConsoleVirtualNic_Dec.__bases__ = tuple(bases)

            ns0.AddServiceConsoleVirtualNicRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddServiceConsoleVirtualNic_Dec_Holder"

    class AddServiceConsoleVirtualNicResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddServiceConsoleVirtualNicResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddServiceConsoleVirtualNicResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AddServiceConsoleVirtualNicResponse")
            kw["aname"] = "_AddServiceConsoleVirtualNicResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AddServiceConsoleVirtualNicResponse_Holder"
            self.pyclass = Holder

    class RemoveServiceConsoleVirtualNic_Dec(ElementDeclaration):
        literal = "RemoveServiceConsoleVirtualNic"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveServiceConsoleVirtualNic")
            kw["aname"] = "_RemoveServiceConsoleVirtualNic"
            if ns0.RemoveServiceConsoleVirtualNicRequestType_Def not in ns0.RemoveServiceConsoleVirtualNic_Dec.__bases__:
                bases = list(ns0.RemoveServiceConsoleVirtualNic_Dec.__bases__)
                bases.insert(0, ns0.RemoveServiceConsoleVirtualNicRequestType_Def)
                ns0.RemoveServiceConsoleVirtualNic_Dec.__bases__ = tuple(bases)

            ns0.RemoveServiceConsoleVirtualNicRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveServiceConsoleVirtualNic_Dec_Holder"

    class RemoveServiceConsoleVirtualNicResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveServiceConsoleVirtualNicResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveServiceConsoleVirtualNicResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveServiceConsoleVirtualNicResponse")
            kw["aname"] = "_RemoveServiceConsoleVirtualNicResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveServiceConsoleVirtualNicResponse_Holder"
            self.pyclass = Holder

    class UpdateServiceConsoleVirtualNic_Dec(ElementDeclaration):
        literal = "UpdateServiceConsoleVirtualNic"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateServiceConsoleVirtualNic")
            kw["aname"] = "_UpdateServiceConsoleVirtualNic"
            if ns0.UpdateServiceConsoleVirtualNicRequestType_Def not in ns0.UpdateServiceConsoleVirtualNic_Dec.__bases__:
                bases = list(ns0.UpdateServiceConsoleVirtualNic_Dec.__bases__)
                bases.insert(0, ns0.UpdateServiceConsoleVirtualNicRequestType_Def)
                ns0.UpdateServiceConsoleVirtualNic_Dec.__bases__ = tuple(bases)

            ns0.UpdateServiceConsoleVirtualNicRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateServiceConsoleVirtualNic_Dec_Holder"

    class UpdateServiceConsoleVirtualNicResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateServiceConsoleVirtualNicResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateServiceConsoleVirtualNicResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateServiceConsoleVirtualNicResponse")
            kw["aname"] = "_UpdateServiceConsoleVirtualNicResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateServiceConsoleVirtualNicResponse_Holder"
            self.pyclass = Holder

    class RestartServiceConsoleVirtualNic_Dec(ElementDeclaration):
        literal = "RestartServiceConsoleVirtualNic"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RestartServiceConsoleVirtualNic")
            kw["aname"] = "_RestartServiceConsoleVirtualNic"
            if ns0.RestartServiceConsoleVirtualNicRequestType_Def not in ns0.RestartServiceConsoleVirtualNic_Dec.__bases__:
                bases = list(ns0.RestartServiceConsoleVirtualNic_Dec.__bases__)
                bases.insert(0, ns0.RestartServiceConsoleVirtualNicRequestType_Def)
                ns0.RestartServiceConsoleVirtualNic_Dec.__bases__ = tuple(bases)

            ns0.RestartServiceConsoleVirtualNicRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RestartServiceConsoleVirtualNic_Dec_Holder"

    class RestartServiceConsoleVirtualNicResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RestartServiceConsoleVirtualNicResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RestartServiceConsoleVirtualNicResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RestartServiceConsoleVirtualNicResponse")
            kw["aname"] = "_RestartServiceConsoleVirtualNicResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RestartServiceConsoleVirtualNicResponse_Holder"
            self.pyclass = Holder

    class RefreshNetworkSystem_Dec(ElementDeclaration):
        literal = "RefreshNetworkSystem"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshNetworkSystem")
            kw["aname"] = "_RefreshNetworkSystem"
            if ns0.RefreshNetworkSystemRequestType_Def not in ns0.RefreshNetworkSystem_Dec.__bases__:
                bases = list(ns0.RefreshNetworkSystem_Dec.__bases__)
                bases.insert(0, ns0.RefreshNetworkSystemRequestType_Def)
                ns0.RefreshNetworkSystem_Dec.__bases__ = tuple(bases)

            ns0.RefreshNetworkSystemRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshNetworkSystem_Dec_Holder"

    class RefreshNetworkSystemResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshNetworkSystemResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshNetworkSystemResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshNetworkSystemResponse")
            kw["aname"] = "_RefreshNetworkSystemResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshNetworkSystemResponse_Holder"
            self.pyclass = Holder

    class CreateNvdimmNamespace_Task_Dec(ElementDeclaration):
        literal = "CreateNvdimmNamespace_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateNvdimmNamespace_Task")
            kw["aname"] = "_CreateNvdimmNamespace_Task"
            if ns0.CreateNvdimmNamespaceRequestType_Def not in ns0.CreateNvdimmNamespace_Task_Dec.__bases__:
                bases = list(ns0.CreateNvdimmNamespace_Task_Dec.__bases__)
                bases.insert(0, ns0.CreateNvdimmNamespaceRequestType_Def)
                ns0.CreateNvdimmNamespace_Task_Dec.__bases__ = tuple(bases)

            ns0.CreateNvdimmNamespaceRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateNvdimmNamespace_Task_Dec_Holder"

    class CreateNvdimmNamespace_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateNvdimmNamespace_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateNvdimmNamespace_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateNvdimmNamespace_TaskResponse")
            kw["aname"] = "_CreateNvdimmNamespace_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateNvdimmNamespace_TaskResponse_Holder"
            self.pyclass = Holder

    class DeleteNvdimmNamespace_Task_Dec(ElementDeclaration):
        literal = "DeleteNvdimmNamespace_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteNvdimmNamespace_Task")
            kw["aname"] = "_DeleteNvdimmNamespace_Task"
            if ns0.DeleteNvdimmNamespaceRequestType_Def not in ns0.DeleteNvdimmNamespace_Task_Dec.__bases__:
                bases = list(ns0.DeleteNvdimmNamespace_Task_Dec.__bases__)
                bases.insert(0, ns0.DeleteNvdimmNamespaceRequestType_Def)
                ns0.DeleteNvdimmNamespace_Task_Dec.__bases__ = tuple(bases)

            ns0.DeleteNvdimmNamespaceRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteNvdimmNamespace_Task_Dec_Holder"

    class DeleteNvdimmNamespace_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteNvdimmNamespace_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteNvdimmNamespace_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DeleteNvdimmNamespace_TaskResponse")
            kw["aname"] = "_DeleteNvdimmNamespace_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DeleteNvdimmNamespace_TaskResponse_Holder"
            self.pyclass = Holder

    class DeleteNvdimmBlockNamespaces_Task_Dec(ElementDeclaration):
        literal = "DeleteNvdimmBlockNamespaces_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteNvdimmBlockNamespaces_Task")
            kw["aname"] = "_DeleteNvdimmBlockNamespaces_Task"
            if ns0.DeleteNvdimmBlockNamespacesRequestType_Def not in ns0.DeleteNvdimmBlockNamespaces_Task_Dec.__bases__:
                bases = list(ns0.DeleteNvdimmBlockNamespaces_Task_Dec.__bases__)
                bases.insert(0, ns0.DeleteNvdimmBlockNamespacesRequestType_Def)
                ns0.DeleteNvdimmBlockNamespaces_Task_Dec.__bases__ = tuple(bases)

            ns0.DeleteNvdimmBlockNamespacesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteNvdimmBlockNamespaces_Task_Dec_Holder"

    class DeleteNvdimmBlockNamespaces_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteNvdimmBlockNamespaces_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteNvdimmBlockNamespaces_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DeleteNvdimmBlockNamespaces_TaskResponse")
            kw["aname"] = "_DeleteNvdimmBlockNamespaces_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DeleteNvdimmBlockNamespaces_TaskResponse_Holder"
            self.pyclass = Holder

    class CheckHostPatch_Task_Dec(ElementDeclaration):
        literal = "CheckHostPatch_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckHostPatch_Task")
            kw["aname"] = "_CheckHostPatch_Task"
            if ns0.CheckHostPatchRequestType_Def not in ns0.CheckHostPatch_Task_Dec.__bases__:
                bases = list(ns0.CheckHostPatch_Task_Dec.__bases__)
                bases.insert(0, ns0.CheckHostPatchRequestType_Def)
                ns0.CheckHostPatch_Task_Dec.__bases__ = tuple(bases)

            ns0.CheckHostPatchRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckHostPatch_Task_Dec_Holder"

    class CheckHostPatch_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckHostPatch_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckHostPatch_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckHostPatch_TaskResponse")
            kw["aname"] = "_CheckHostPatch_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckHostPatch_TaskResponse_Holder"
            self.pyclass = Holder

    class ScanHostPatch_Task_Dec(ElementDeclaration):
        literal = "ScanHostPatch_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ScanHostPatch_Task")
            kw["aname"] = "_ScanHostPatch_Task"
            if ns0.ScanHostPatchRequestType_Def not in ns0.ScanHostPatch_Task_Dec.__bases__:
                bases = list(ns0.ScanHostPatch_Task_Dec.__bases__)
                bases.insert(0, ns0.ScanHostPatchRequestType_Def)
                ns0.ScanHostPatch_Task_Dec.__bases__ = tuple(bases)

            ns0.ScanHostPatchRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ScanHostPatch_Task_Dec_Holder"

    class ScanHostPatch_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ScanHostPatch_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ScanHostPatch_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ScanHostPatch_TaskResponse")
            kw["aname"] = "_ScanHostPatch_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ScanHostPatch_TaskResponse_Holder"
            self.pyclass = Holder

    class ScanHostPatchV2_Task_Dec(ElementDeclaration):
        literal = "ScanHostPatchV2_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ScanHostPatchV2_Task")
            kw["aname"] = "_ScanHostPatchV2_Task"
            if ns0.ScanHostPatchV2RequestType_Def not in ns0.ScanHostPatchV2_Task_Dec.__bases__:
                bases = list(ns0.ScanHostPatchV2_Task_Dec.__bases__)
                bases.insert(0, ns0.ScanHostPatchV2RequestType_Def)
                ns0.ScanHostPatchV2_Task_Dec.__bases__ = tuple(bases)

            ns0.ScanHostPatchV2RequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ScanHostPatchV2_Task_Dec_Holder"

    class ScanHostPatchV2_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ScanHostPatchV2_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ScanHostPatchV2_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ScanHostPatchV2_TaskResponse")
            kw["aname"] = "_ScanHostPatchV2_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ScanHostPatchV2_TaskResponse_Holder"
            self.pyclass = Holder

    class StageHostPatch_Task_Dec(ElementDeclaration):
        literal = "StageHostPatch_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StageHostPatch_Task")
            kw["aname"] = "_StageHostPatch_Task"
            if ns0.StageHostPatchRequestType_Def not in ns0.StageHostPatch_Task_Dec.__bases__:
                bases = list(ns0.StageHostPatch_Task_Dec.__bases__)
                bases.insert(0, ns0.StageHostPatchRequestType_Def)
                ns0.StageHostPatch_Task_Dec.__bases__ = tuple(bases)

            ns0.StageHostPatchRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StageHostPatch_Task_Dec_Holder"

    class StageHostPatch_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "StageHostPatch_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.StageHostPatch_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","StageHostPatch_TaskResponse")
            kw["aname"] = "_StageHostPatch_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "StageHostPatch_TaskResponse_Holder"
            self.pyclass = Holder

    class InstallHostPatch_Task_Dec(ElementDeclaration):
        literal = "InstallHostPatch_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InstallHostPatch_Task")
            kw["aname"] = "_InstallHostPatch_Task"
            if ns0.InstallHostPatchRequestType_Def not in ns0.InstallHostPatch_Task_Dec.__bases__:
                bases = list(ns0.InstallHostPatch_Task_Dec.__bases__)
                bases.insert(0, ns0.InstallHostPatchRequestType_Def)
                ns0.InstallHostPatch_Task_Dec.__bases__ = tuple(bases)

            ns0.InstallHostPatchRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InstallHostPatch_Task_Dec_Holder"

    class InstallHostPatch_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "InstallHostPatch_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.InstallHostPatch_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","InstallHostPatch_TaskResponse")
            kw["aname"] = "_InstallHostPatch_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "InstallHostPatch_TaskResponse_Holder"
            self.pyclass = Holder

    class InstallHostPatchV2_Task_Dec(ElementDeclaration):
        literal = "InstallHostPatchV2_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InstallHostPatchV2_Task")
            kw["aname"] = "_InstallHostPatchV2_Task"
            if ns0.InstallHostPatchV2RequestType_Def not in ns0.InstallHostPatchV2_Task_Dec.__bases__:
                bases = list(ns0.InstallHostPatchV2_Task_Dec.__bases__)
                bases.insert(0, ns0.InstallHostPatchV2RequestType_Def)
                ns0.InstallHostPatchV2_Task_Dec.__bases__ = tuple(bases)

            ns0.InstallHostPatchV2RequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InstallHostPatchV2_Task_Dec_Holder"

    class InstallHostPatchV2_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "InstallHostPatchV2_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.InstallHostPatchV2_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","InstallHostPatchV2_TaskResponse")
            kw["aname"] = "_InstallHostPatchV2_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "InstallHostPatchV2_TaskResponse_Holder"
            self.pyclass = Holder

    class UninstallHostPatch_Task_Dec(ElementDeclaration):
        literal = "UninstallHostPatch_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UninstallHostPatch_Task")
            kw["aname"] = "_UninstallHostPatch_Task"
            if ns0.UninstallHostPatchRequestType_Def not in ns0.UninstallHostPatch_Task_Dec.__bases__:
                bases = list(ns0.UninstallHostPatch_Task_Dec.__bases__)
                bases.insert(0, ns0.UninstallHostPatchRequestType_Def)
                ns0.UninstallHostPatch_Task_Dec.__bases__ = tuple(bases)

            ns0.UninstallHostPatchRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UninstallHostPatch_Task_Dec_Holder"

    class UninstallHostPatch_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UninstallHostPatch_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UninstallHostPatch_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UninstallHostPatch_TaskResponse")
            kw["aname"] = "_UninstallHostPatch_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UninstallHostPatch_TaskResponse_Holder"
            self.pyclass = Holder

    class QueryHostPatch_Task_Dec(ElementDeclaration):
        literal = "QueryHostPatch_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryHostPatch_Task")
            kw["aname"] = "_QueryHostPatch_Task"
            if ns0.QueryHostPatchRequestType_Def not in ns0.QueryHostPatch_Task_Dec.__bases__:
                bases = list(ns0.QueryHostPatch_Task_Dec.__bases__)
                bases.insert(0, ns0.QueryHostPatchRequestType_Def)
                ns0.QueryHostPatch_Task_Dec.__bases__ = tuple(bases)

            ns0.QueryHostPatchRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryHostPatch_Task_Dec_Holder"

    class QueryHostPatch_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryHostPatch_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryHostPatch_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryHostPatch_TaskResponse")
            kw["aname"] = "_QueryHostPatch_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryHostPatch_TaskResponse_Holder"
            self.pyclass = Holder

    class Refresh_Dec(ElementDeclaration):
        literal = "Refresh"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","Refresh")
            kw["aname"] = "_Refresh"
            if ns0.RefreshRequestType_Def not in ns0.Refresh_Dec.__bases__:
                bases = list(ns0.Refresh_Dec.__bases__)
                bases.insert(0, ns0.RefreshRequestType_Def)
                ns0.Refresh_Dec.__bases__ = tuple(bases)

            ns0.RefreshRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "Refresh_Dec_Holder"

    class RefreshResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshResponse")
            kw["aname"] = "_RefreshResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshResponse_Holder"
            self.pyclass = Holder

    class UpdatePassthruConfig_Dec(ElementDeclaration):
        literal = "UpdatePassthruConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdatePassthruConfig")
            kw["aname"] = "_UpdatePassthruConfig"
            if ns0.UpdatePassthruConfigRequestType_Def not in ns0.UpdatePassthruConfig_Dec.__bases__:
                bases = list(ns0.UpdatePassthruConfig_Dec.__bases__)
                bases.insert(0, ns0.UpdatePassthruConfigRequestType_Def)
                ns0.UpdatePassthruConfig_Dec.__bases__ = tuple(bases)

            ns0.UpdatePassthruConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdatePassthruConfig_Dec_Holder"

    class UpdatePassthruConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdatePassthruConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdatePassthruConfigResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdatePassthruConfigResponse")
            kw["aname"] = "_UpdatePassthruConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdatePassthruConfigResponse_Holder"
            self.pyclass = Holder

    class ConfigurePowerPolicy_Dec(ElementDeclaration):
        literal = "ConfigurePowerPolicy"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConfigurePowerPolicy")
            kw["aname"] = "_ConfigurePowerPolicy"
            if ns0.ConfigurePowerPolicyRequestType_Def not in ns0.ConfigurePowerPolicy_Dec.__bases__:
                bases = list(ns0.ConfigurePowerPolicy_Dec.__bases__)
                bases.insert(0, ns0.ConfigurePowerPolicyRequestType_Def)
                ns0.ConfigurePowerPolicy_Dec.__bases__ = tuple(bases)

            ns0.ConfigurePowerPolicyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConfigurePowerPolicy_Dec_Holder"

    class ConfigurePowerPolicyResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ConfigurePowerPolicyResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ConfigurePowerPolicyResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ConfigurePowerPolicyResponse")
            kw["aname"] = "_ConfigurePowerPolicyResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ConfigurePowerPolicyResponse_Holder"
            self.pyclass = Holder

    class UpdateServicePolicy_Dec(ElementDeclaration):
        literal = "UpdateServicePolicy"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateServicePolicy")
            kw["aname"] = "_UpdateServicePolicy"
            if ns0.UpdateServicePolicyRequestType_Def not in ns0.UpdateServicePolicy_Dec.__bases__:
                bases = list(ns0.UpdateServicePolicy_Dec.__bases__)
                bases.insert(0, ns0.UpdateServicePolicyRequestType_Def)
                ns0.UpdateServicePolicy_Dec.__bases__ = tuple(bases)

            ns0.UpdateServicePolicyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateServicePolicy_Dec_Holder"

    class UpdateServicePolicyResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateServicePolicyResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateServicePolicyResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateServicePolicyResponse")
            kw["aname"] = "_UpdateServicePolicyResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateServicePolicyResponse_Holder"
            self.pyclass = Holder

    class StartService_Dec(ElementDeclaration):
        literal = "StartService"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StartService")
            kw["aname"] = "_StartService"
            if ns0.StartServiceRequestType_Def not in ns0.StartService_Dec.__bases__:
                bases = list(ns0.StartService_Dec.__bases__)
                bases.insert(0, ns0.StartServiceRequestType_Def)
                ns0.StartService_Dec.__bases__ = tuple(bases)

            ns0.StartServiceRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StartService_Dec_Holder"

    class StartServiceResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "StartServiceResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.StartServiceResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","StartServiceResponse")
            kw["aname"] = "_StartServiceResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "StartServiceResponse_Holder"
            self.pyclass = Holder

    class StopService_Dec(ElementDeclaration):
        literal = "StopService"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StopService")
            kw["aname"] = "_StopService"
            if ns0.StopServiceRequestType_Def not in ns0.StopService_Dec.__bases__:
                bases = list(ns0.StopService_Dec.__bases__)
                bases.insert(0, ns0.StopServiceRequestType_Def)
                ns0.StopService_Dec.__bases__ = tuple(bases)

            ns0.StopServiceRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StopService_Dec_Holder"

    class StopServiceResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "StopServiceResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.StopServiceResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","StopServiceResponse")
            kw["aname"] = "_StopServiceResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "StopServiceResponse_Holder"
            self.pyclass = Holder

    class RestartService_Dec(ElementDeclaration):
        literal = "RestartService"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RestartService")
            kw["aname"] = "_RestartService"
            if ns0.RestartServiceRequestType_Def not in ns0.RestartService_Dec.__bases__:
                bases = list(ns0.RestartService_Dec.__bases__)
                bases.insert(0, ns0.RestartServiceRequestType_Def)
                ns0.RestartService_Dec.__bases__ = tuple(bases)

            ns0.RestartServiceRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RestartService_Dec_Holder"

    class RestartServiceResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RestartServiceResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RestartServiceResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RestartServiceResponse")
            kw["aname"] = "_RestartServiceResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RestartServiceResponse_Holder"
            self.pyclass = Holder

    class UninstallService_Dec(ElementDeclaration):
        literal = "UninstallService"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UninstallService")
            kw["aname"] = "_UninstallService"
            if ns0.UninstallServiceRequestType_Def not in ns0.UninstallService_Dec.__bases__:
                bases = list(ns0.UninstallService_Dec.__bases__)
                bases.insert(0, ns0.UninstallServiceRequestType_Def)
                ns0.UninstallService_Dec.__bases__ = tuple(bases)

            ns0.UninstallServiceRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UninstallService_Dec_Holder"

    class UninstallServiceResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UninstallServiceResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UninstallServiceResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UninstallServiceResponse")
            kw["aname"] = "_UninstallServiceResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UninstallServiceResponse_Holder"
            self.pyclass = Holder

    class RefreshServices_Dec(ElementDeclaration):
        literal = "RefreshServices"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshServices")
            kw["aname"] = "_RefreshServices"
            if ns0.RefreshServicesRequestType_Def not in ns0.RefreshServices_Dec.__bases__:
                bases = list(ns0.RefreshServices_Dec.__bases__)
                bases.insert(0, ns0.RefreshServicesRequestType_Def)
                ns0.RefreshServices_Dec.__bases__ = tuple(bases)

            ns0.RefreshServicesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshServices_Dec_Holder"

    class RefreshServicesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshServicesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshServicesResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshServicesResponse")
            kw["aname"] = "_RefreshServicesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshServicesResponse_Holder"
            self.pyclass = Holder

    class ReconfigureSnmpAgent_Dec(ElementDeclaration):
        literal = "ReconfigureSnmpAgent"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigureSnmpAgent")
            kw["aname"] = "_ReconfigureSnmpAgent"
            if ns0.ReconfigureSnmpAgentRequestType_Def not in ns0.ReconfigureSnmpAgent_Dec.__bases__:
                bases = list(ns0.ReconfigureSnmpAgent_Dec.__bases__)
                bases.insert(0, ns0.ReconfigureSnmpAgentRequestType_Def)
                ns0.ReconfigureSnmpAgent_Dec.__bases__ = tuple(bases)

            ns0.ReconfigureSnmpAgentRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigureSnmpAgent_Dec_Holder"

    class ReconfigureSnmpAgentResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigureSnmpAgentResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigureSnmpAgentResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ReconfigureSnmpAgentResponse")
            kw["aname"] = "_ReconfigureSnmpAgentResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ReconfigureSnmpAgentResponse_Holder"
            self.pyclass = Holder

    class SendTestNotification_Dec(ElementDeclaration):
        literal = "SendTestNotification"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SendTestNotification")
            kw["aname"] = "_SendTestNotification"
            if ns0.SendTestNotificationRequestType_Def not in ns0.SendTestNotification_Dec.__bases__:
                bases = list(ns0.SendTestNotification_Dec.__bases__)
                bases.insert(0, ns0.SendTestNotificationRequestType_Def)
                ns0.SendTestNotification_Dec.__bases__ = tuple(bases)

            ns0.SendTestNotificationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SendTestNotification_Dec_Holder"

    class SendTestNotificationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SendTestNotificationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SendTestNotificationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SendTestNotificationResponse")
            kw["aname"] = "_SendTestNotificationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SendTestNotificationResponse_Holder"
            self.pyclass = Holder

    class RetrieveDiskPartitionInfo_Dec(ElementDeclaration):
        literal = "RetrieveDiskPartitionInfo"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveDiskPartitionInfo")
            kw["aname"] = "_RetrieveDiskPartitionInfo"
            if ns0.RetrieveDiskPartitionInfoRequestType_Def not in ns0.RetrieveDiskPartitionInfo_Dec.__bases__:
                bases = list(ns0.RetrieveDiskPartitionInfo_Dec.__bases__)
                bases.insert(0, ns0.RetrieveDiskPartitionInfoRequestType_Def)
                ns0.RetrieveDiskPartitionInfo_Dec.__bases__ = tuple(bases)

            ns0.RetrieveDiskPartitionInfoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveDiskPartitionInfo_Dec_Holder"

    class RetrieveDiskPartitionInfoResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveDiskPartitionInfoResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveDiskPartitionInfoResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostDiskPartitionInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveDiskPartitionInfoResponse")
            kw["aname"] = "_RetrieveDiskPartitionInfoResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrieveDiskPartitionInfoResponse_Holder"
            self.pyclass = Holder

    class ComputeDiskPartitionInfo_Dec(ElementDeclaration):
        literal = "ComputeDiskPartitionInfo"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ComputeDiskPartitionInfo")
            kw["aname"] = "_ComputeDiskPartitionInfo"
            if ns0.ComputeDiskPartitionInfoRequestType_Def not in ns0.ComputeDiskPartitionInfo_Dec.__bases__:
                bases = list(ns0.ComputeDiskPartitionInfo_Dec.__bases__)
                bases.insert(0, ns0.ComputeDiskPartitionInfoRequestType_Def)
                ns0.ComputeDiskPartitionInfo_Dec.__bases__ = tuple(bases)

            ns0.ComputeDiskPartitionInfoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ComputeDiskPartitionInfo_Dec_Holder"

    class ComputeDiskPartitionInfoResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ComputeDiskPartitionInfoResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ComputeDiskPartitionInfoResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostDiskPartitionInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ComputeDiskPartitionInfoResponse")
            kw["aname"] = "_ComputeDiskPartitionInfoResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ComputeDiskPartitionInfoResponse_Holder"
            self.pyclass = Holder

    class ComputeDiskPartitionInfoForResize_Dec(ElementDeclaration):
        literal = "ComputeDiskPartitionInfoForResize"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ComputeDiskPartitionInfoForResize")
            kw["aname"] = "_ComputeDiskPartitionInfoForResize"
            if ns0.ComputeDiskPartitionInfoForResizeRequestType_Def not in ns0.ComputeDiskPartitionInfoForResize_Dec.__bases__:
                bases = list(ns0.ComputeDiskPartitionInfoForResize_Dec.__bases__)
                bases.insert(0, ns0.ComputeDiskPartitionInfoForResizeRequestType_Def)
                ns0.ComputeDiskPartitionInfoForResize_Dec.__bases__ = tuple(bases)

            ns0.ComputeDiskPartitionInfoForResizeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ComputeDiskPartitionInfoForResize_Dec_Holder"

    class ComputeDiskPartitionInfoForResizeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ComputeDiskPartitionInfoForResizeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ComputeDiskPartitionInfoForResizeResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostDiskPartitionInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ComputeDiskPartitionInfoForResizeResponse")
            kw["aname"] = "_ComputeDiskPartitionInfoForResizeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ComputeDiskPartitionInfoForResizeResponse_Holder"
            self.pyclass = Holder

    class UpdateDiskPartitions_Dec(ElementDeclaration):
        literal = "UpdateDiskPartitions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateDiskPartitions")
            kw["aname"] = "_UpdateDiskPartitions"
            if ns0.UpdateDiskPartitionsRequestType_Def not in ns0.UpdateDiskPartitions_Dec.__bases__:
                bases = list(ns0.UpdateDiskPartitions_Dec.__bases__)
                bases.insert(0, ns0.UpdateDiskPartitionsRequestType_Def)
                ns0.UpdateDiskPartitions_Dec.__bases__ = tuple(bases)

            ns0.UpdateDiskPartitionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateDiskPartitions_Dec_Holder"

    class UpdateDiskPartitionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateDiskPartitionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateDiskPartitionsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateDiskPartitionsResponse")
            kw["aname"] = "_UpdateDiskPartitionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateDiskPartitionsResponse_Holder"
            self.pyclass = Holder

    class FormatVmfs_Dec(ElementDeclaration):
        literal = "FormatVmfs"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FormatVmfs")
            kw["aname"] = "_FormatVmfs"
            if ns0.FormatVmfsRequestType_Def not in ns0.FormatVmfs_Dec.__bases__:
                bases = list(ns0.FormatVmfs_Dec.__bases__)
                bases.insert(0, ns0.FormatVmfsRequestType_Def)
                ns0.FormatVmfs_Dec.__bases__ = tuple(bases)

            ns0.FormatVmfsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FormatVmfs_Dec_Holder"

    class FormatVmfsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FormatVmfsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FormatVmfsResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostVmfsVolume",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FormatVmfsResponse")
            kw["aname"] = "_FormatVmfsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "FormatVmfsResponse_Holder"
            self.pyclass = Holder

    class MountVmfsVolume_Dec(ElementDeclaration):
        literal = "MountVmfsVolume"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MountVmfsVolume")
            kw["aname"] = "_MountVmfsVolume"
            if ns0.MountVmfsVolumeRequestType_Def not in ns0.MountVmfsVolume_Dec.__bases__:
                bases = list(ns0.MountVmfsVolume_Dec.__bases__)
                bases.insert(0, ns0.MountVmfsVolumeRequestType_Def)
                ns0.MountVmfsVolume_Dec.__bases__ = tuple(bases)

            ns0.MountVmfsVolumeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MountVmfsVolume_Dec_Holder"

    class MountVmfsVolumeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MountVmfsVolumeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MountVmfsVolumeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","MountVmfsVolumeResponse")
            kw["aname"] = "_MountVmfsVolumeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "MountVmfsVolumeResponse_Holder"
            self.pyclass = Holder

    class UnmountVmfsVolume_Dec(ElementDeclaration):
        literal = "UnmountVmfsVolume"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnmountVmfsVolume")
            kw["aname"] = "_UnmountVmfsVolume"
            if ns0.UnmountVmfsVolumeRequestType_Def not in ns0.UnmountVmfsVolume_Dec.__bases__:
                bases = list(ns0.UnmountVmfsVolume_Dec.__bases__)
                bases.insert(0, ns0.UnmountVmfsVolumeRequestType_Def)
                ns0.UnmountVmfsVolume_Dec.__bases__ = tuple(bases)

            ns0.UnmountVmfsVolumeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnmountVmfsVolume_Dec_Holder"

    class UnmountVmfsVolumeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UnmountVmfsVolumeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UnmountVmfsVolumeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UnmountVmfsVolumeResponse")
            kw["aname"] = "_UnmountVmfsVolumeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UnmountVmfsVolumeResponse_Holder"
            self.pyclass = Holder

    class UnmountVmfsVolumeEx_Task_Dec(ElementDeclaration):
        literal = "UnmountVmfsVolumeEx_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnmountVmfsVolumeEx_Task")
            kw["aname"] = "_UnmountVmfsVolumeEx_Task"
            if ns0.UnmountVmfsVolumeExRequestType_Def not in ns0.UnmountVmfsVolumeEx_Task_Dec.__bases__:
                bases = list(ns0.UnmountVmfsVolumeEx_Task_Dec.__bases__)
                bases.insert(0, ns0.UnmountVmfsVolumeExRequestType_Def)
                ns0.UnmountVmfsVolumeEx_Task_Dec.__bases__ = tuple(bases)

            ns0.UnmountVmfsVolumeExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnmountVmfsVolumeEx_Task_Dec_Holder"

    class UnmountVmfsVolumeEx_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UnmountVmfsVolumeEx_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UnmountVmfsVolumeEx_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UnmountVmfsVolumeEx_TaskResponse")
            kw["aname"] = "_UnmountVmfsVolumeEx_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UnmountVmfsVolumeEx_TaskResponse_Holder"
            self.pyclass = Holder

    class MountVmfsVolumeEx_Task_Dec(ElementDeclaration):
        literal = "MountVmfsVolumeEx_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MountVmfsVolumeEx_Task")
            kw["aname"] = "_MountVmfsVolumeEx_Task"
            if ns0.MountVmfsVolumeExRequestType_Def not in ns0.MountVmfsVolumeEx_Task_Dec.__bases__:
                bases = list(ns0.MountVmfsVolumeEx_Task_Dec.__bases__)
                bases.insert(0, ns0.MountVmfsVolumeExRequestType_Def)
                ns0.MountVmfsVolumeEx_Task_Dec.__bases__ = tuple(bases)

            ns0.MountVmfsVolumeExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MountVmfsVolumeEx_Task_Dec_Holder"

    class MountVmfsVolumeEx_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MountVmfsVolumeEx_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MountVmfsVolumeEx_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","MountVmfsVolumeEx_TaskResponse")
            kw["aname"] = "_MountVmfsVolumeEx_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "MountVmfsVolumeEx_TaskResponse_Holder"
            self.pyclass = Holder

    class UnmapVmfsVolumeEx_Task_Dec(ElementDeclaration):
        literal = "UnmapVmfsVolumeEx_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnmapVmfsVolumeEx_Task")
            kw["aname"] = "_UnmapVmfsVolumeEx_Task"
            if ns0.UnmapVmfsVolumeExRequestType_Def not in ns0.UnmapVmfsVolumeEx_Task_Dec.__bases__:
                bases = list(ns0.UnmapVmfsVolumeEx_Task_Dec.__bases__)
                bases.insert(0, ns0.UnmapVmfsVolumeExRequestType_Def)
                ns0.UnmapVmfsVolumeEx_Task_Dec.__bases__ = tuple(bases)

            ns0.UnmapVmfsVolumeExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnmapVmfsVolumeEx_Task_Dec_Holder"

    class UnmapVmfsVolumeEx_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UnmapVmfsVolumeEx_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UnmapVmfsVolumeEx_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UnmapVmfsVolumeEx_TaskResponse")
            kw["aname"] = "_UnmapVmfsVolumeEx_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UnmapVmfsVolumeEx_TaskResponse_Holder"
            self.pyclass = Holder

    class DeleteVmfsVolumeState_Dec(ElementDeclaration):
        literal = "DeleteVmfsVolumeState"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteVmfsVolumeState")
            kw["aname"] = "_DeleteVmfsVolumeState"
            if ns0.DeleteVmfsVolumeStateRequestType_Def not in ns0.DeleteVmfsVolumeState_Dec.__bases__:
                bases = list(ns0.DeleteVmfsVolumeState_Dec.__bases__)
                bases.insert(0, ns0.DeleteVmfsVolumeStateRequestType_Def)
                ns0.DeleteVmfsVolumeState_Dec.__bases__ = tuple(bases)

            ns0.DeleteVmfsVolumeStateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteVmfsVolumeState_Dec_Holder"

    class DeleteVmfsVolumeStateResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteVmfsVolumeStateResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteVmfsVolumeStateResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DeleteVmfsVolumeStateResponse")
            kw["aname"] = "_DeleteVmfsVolumeStateResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DeleteVmfsVolumeStateResponse_Holder"
            self.pyclass = Holder

    class RescanVmfs_Dec(ElementDeclaration):
        literal = "RescanVmfs"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RescanVmfs")
            kw["aname"] = "_RescanVmfs"
            if ns0.RescanVmfsRequestType_Def not in ns0.RescanVmfs_Dec.__bases__:
                bases = list(ns0.RescanVmfs_Dec.__bases__)
                bases.insert(0, ns0.RescanVmfsRequestType_Def)
                ns0.RescanVmfs_Dec.__bases__ = tuple(bases)

            ns0.RescanVmfsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RescanVmfs_Dec_Holder"

    class RescanVmfsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RescanVmfsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RescanVmfsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RescanVmfsResponse")
            kw["aname"] = "_RescanVmfsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RescanVmfsResponse_Holder"
            self.pyclass = Holder

    class AttachVmfsExtent_Dec(ElementDeclaration):
        literal = "AttachVmfsExtent"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AttachVmfsExtent")
            kw["aname"] = "_AttachVmfsExtent"
            if ns0.AttachVmfsExtentRequestType_Def not in ns0.AttachVmfsExtent_Dec.__bases__:
                bases = list(ns0.AttachVmfsExtent_Dec.__bases__)
                bases.insert(0, ns0.AttachVmfsExtentRequestType_Def)
                ns0.AttachVmfsExtent_Dec.__bases__ = tuple(bases)

            ns0.AttachVmfsExtentRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AttachVmfsExtent_Dec_Holder"

    class AttachVmfsExtentResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AttachVmfsExtentResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AttachVmfsExtentResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AttachVmfsExtentResponse")
            kw["aname"] = "_AttachVmfsExtentResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AttachVmfsExtentResponse_Holder"
            self.pyclass = Holder

    class ExpandVmfsExtent_Dec(ElementDeclaration):
        literal = "ExpandVmfsExtent"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExpandVmfsExtent")
            kw["aname"] = "_ExpandVmfsExtent"
            if ns0.ExpandVmfsExtentRequestType_Def not in ns0.ExpandVmfsExtent_Dec.__bases__:
                bases = list(ns0.ExpandVmfsExtent_Dec.__bases__)
                bases.insert(0, ns0.ExpandVmfsExtentRequestType_Def)
                ns0.ExpandVmfsExtent_Dec.__bases__ = tuple(bases)

            ns0.ExpandVmfsExtentRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExpandVmfsExtent_Dec_Holder"

    class ExpandVmfsExtentResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExpandVmfsExtentResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExpandVmfsExtentResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ExpandVmfsExtentResponse")
            kw["aname"] = "_ExpandVmfsExtentResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ExpandVmfsExtentResponse_Holder"
            self.pyclass = Holder

    class UpgradeVmfs_Dec(ElementDeclaration):
        literal = "UpgradeVmfs"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpgradeVmfs")
            kw["aname"] = "_UpgradeVmfs"
            if ns0.UpgradeVmfsRequestType_Def not in ns0.UpgradeVmfs_Dec.__bases__:
                bases = list(ns0.UpgradeVmfs_Dec.__bases__)
                bases.insert(0, ns0.UpgradeVmfsRequestType_Def)
                ns0.UpgradeVmfs_Dec.__bases__ = tuple(bases)

            ns0.UpgradeVmfsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpgradeVmfs_Dec_Holder"

    class UpgradeVmfsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpgradeVmfsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpgradeVmfsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpgradeVmfsResponse")
            kw["aname"] = "_UpgradeVmfsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpgradeVmfsResponse_Holder"
            self.pyclass = Holder

    class UpgradeVmLayout_Dec(ElementDeclaration):
        literal = "UpgradeVmLayout"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpgradeVmLayout")
            kw["aname"] = "_UpgradeVmLayout"
            if ns0.UpgradeVmLayoutRequestType_Def not in ns0.UpgradeVmLayout_Dec.__bases__:
                bases = list(ns0.UpgradeVmLayout_Dec.__bases__)
                bases.insert(0, ns0.UpgradeVmLayoutRequestType_Def)
                ns0.UpgradeVmLayout_Dec.__bases__ = tuple(bases)

            ns0.UpgradeVmLayoutRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpgradeVmLayout_Dec_Holder"

    class UpgradeVmLayoutResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpgradeVmLayoutResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpgradeVmLayoutResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpgradeVmLayoutResponse")
            kw["aname"] = "_UpgradeVmLayoutResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpgradeVmLayoutResponse_Holder"
            self.pyclass = Holder

    class QueryUnresolvedVmfsVolume_Dec(ElementDeclaration):
        literal = "QueryUnresolvedVmfsVolume"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryUnresolvedVmfsVolume")
            kw["aname"] = "_QueryUnresolvedVmfsVolume"
            if ns0.QueryUnresolvedVmfsVolumeRequestType_Def not in ns0.QueryUnresolvedVmfsVolume_Dec.__bases__:
                bases = list(ns0.QueryUnresolvedVmfsVolume_Dec.__bases__)
                bases.insert(0, ns0.QueryUnresolvedVmfsVolumeRequestType_Def)
                ns0.QueryUnresolvedVmfsVolume_Dec.__bases__ = tuple(bases)

            ns0.QueryUnresolvedVmfsVolumeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryUnresolvedVmfsVolume_Dec_Holder"

    class QueryUnresolvedVmfsVolumeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryUnresolvedVmfsVolumeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryUnresolvedVmfsVolumeResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostUnresolvedVmfsVolume",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryUnresolvedVmfsVolumeResponse")
            kw["aname"] = "_QueryUnresolvedVmfsVolumeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryUnresolvedVmfsVolumeResponse_Holder"
            self.pyclass = Holder

    class ResolveMultipleUnresolvedVmfsVolumes_Dec(ElementDeclaration):
        literal = "ResolveMultipleUnresolvedVmfsVolumes"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResolveMultipleUnresolvedVmfsVolumes")
            kw["aname"] = "_ResolveMultipleUnresolvedVmfsVolumes"
            if ns0.ResolveMultipleUnresolvedVmfsVolumesRequestType_Def not in ns0.ResolveMultipleUnresolvedVmfsVolumes_Dec.__bases__:
                bases = list(ns0.ResolveMultipleUnresolvedVmfsVolumes_Dec.__bases__)
                bases.insert(0, ns0.ResolveMultipleUnresolvedVmfsVolumesRequestType_Def)
                ns0.ResolveMultipleUnresolvedVmfsVolumes_Dec.__bases__ = tuple(bases)

            ns0.ResolveMultipleUnresolvedVmfsVolumesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResolveMultipleUnresolvedVmfsVolumes_Dec_Holder"

    class ResolveMultipleUnresolvedVmfsVolumesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ResolveMultipleUnresolvedVmfsVolumesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ResolveMultipleUnresolvedVmfsVolumesResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostUnresolvedVmfsResolutionResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ResolveMultipleUnresolvedVmfsVolumesResponse")
            kw["aname"] = "_ResolveMultipleUnresolvedVmfsVolumesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ResolveMultipleUnresolvedVmfsVolumesResponse_Holder"
            self.pyclass = Holder

    class ResolveMultipleUnresolvedVmfsVolumesEx_Task_Dec(ElementDeclaration):
        literal = "ResolveMultipleUnresolvedVmfsVolumesEx_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResolveMultipleUnresolvedVmfsVolumesEx_Task")
            kw["aname"] = "_ResolveMultipleUnresolvedVmfsVolumesEx_Task"
            if ns0.ResolveMultipleUnresolvedVmfsVolumesExRequestType_Def not in ns0.ResolveMultipleUnresolvedVmfsVolumesEx_Task_Dec.__bases__:
                bases = list(ns0.ResolveMultipleUnresolvedVmfsVolumesEx_Task_Dec.__bases__)
                bases.insert(0, ns0.ResolveMultipleUnresolvedVmfsVolumesExRequestType_Def)
                ns0.ResolveMultipleUnresolvedVmfsVolumesEx_Task_Dec.__bases__ = tuple(bases)

            ns0.ResolveMultipleUnresolvedVmfsVolumesExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResolveMultipleUnresolvedVmfsVolumesEx_Task_Dec_Holder"

    class ResolveMultipleUnresolvedVmfsVolumesEx_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ResolveMultipleUnresolvedVmfsVolumesEx_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ResolveMultipleUnresolvedVmfsVolumesEx_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ResolveMultipleUnresolvedVmfsVolumesEx_TaskResponse")
            kw["aname"] = "_ResolveMultipleUnresolvedVmfsVolumesEx_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ResolveMultipleUnresolvedVmfsVolumesEx_TaskResponse_Holder"
            self.pyclass = Holder

    class UnmountForceMountedVmfsVolume_Dec(ElementDeclaration):
        literal = "UnmountForceMountedVmfsVolume"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnmountForceMountedVmfsVolume")
            kw["aname"] = "_UnmountForceMountedVmfsVolume"
            if ns0.UnmountForceMountedVmfsVolumeRequestType_Def not in ns0.UnmountForceMountedVmfsVolume_Dec.__bases__:
                bases = list(ns0.UnmountForceMountedVmfsVolume_Dec.__bases__)
                bases.insert(0, ns0.UnmountForceMountedVmfsVolumeRequestType_Def)
                ns0.UnmountForceMountedVmfsVolume_Dec.__bases__ = tuple(bases)

            ns0.UnmountForceMountedVmfsVolumeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnmountForceMountedVmfsVolume_Dec_Holder"

    class UnmountForceMountedVmfsVolumeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UnmountForceMountedVmfsVolumeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UnmountForceMountedVmfsVolumeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UnmountForceMountedVmfsVolumeResponse")
            kw["aname"] = "_UnmountForceMountedVmfsVolumeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UnmountForceMountedVmfsVolumeResponse_Holder"
            self.pyclass = Holder

    class RescanHba_Dec(ElementDeclaration):
        literal = "RescanHba"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RescanHba")
            kw["aname"] = "_RescanHba"
            if ns0.RescanHbaRequestType_Def not in ns0.RescanHba_Dec.__bases__:
                bases = list(ns0.RescanHba_Dec.__bases__)
                bases.insert(0, ns0.RescanHbaRequestType_Def)
                ns0.RescanHba_Dec.__bases__ = tuple(bases)

            ns0.RescanHbaRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RescanHba_Dec_Holder"

    class RescanHbaResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RescanHbaResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RescanHbaResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RescanHbaResponse")
            kw["aname"] = "_RescanHbaResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RescanHbaResponse_Holder"
            self.pyclass = Holder

    class RescanAllHba_Dec(ElementDeclaration):
        literal = "RescanAllHba"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RescanAllHba")
            kw["aname"] = "_RescanAllHba"
            if ns0.RescanAllHbaRequestType_Def not in ns0.RescanAllHba_Dec.__bases__:
                bases = list(ns0.RescanAllHba_Dec.__bases__)
                bases.insert(0, ns0.RescanAllHbaRequestType_Def)
                ns0.RescanAllHba_Dec.__bases__ = tuple(bases)

            ns0.RescanAllHbaRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RescanAllHba_Dec_Holder"

    class RescanAllHbaResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RescanAllHbaResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RescanAllHbaResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RescanAllHbaResponse")
            kw["aname"] = "_RescanAllHbaResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RescanAllHbaResponse_Holder"
            self.pyclass = Holder

    class UpdateSoftwareInternetScsiEnabled_Dec(ElementDeclaration):
        literal = "UpdateSoftwareInternetScsiEnabled"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateSoftwareInternetScsiEnabled")
            kw["aname"] = "_UpdateSoftwareInternetScsiEnabled"
            if ns0.UpdateSoftwareInternetScsiEnabledRequestType_Def not in ns0.UpdateSoftwareInternetScsiEnabled_Dec.__bases__:
                bases = list(ns0.UpdateSoftwareInternetScsiEnabled_Dec.__bases__)
                bases.insert(0, ns0.UpdateSoftwareInternetScsiEnabledRequestType_Def)
                ns0.UpdateSoftwareInternetScsiEnabled_Dec.__bases__ = tuple(bases)

            ns0.UpdateSoftwareInternetScsiEnabledRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateSoftwareInternetScsiEnabled_Dec_Holder"

    class UpdateSoftwareInternetScsiEnabledResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateSoftwareInternetScsiEnabledResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateSoftwareInternetScsiEnabledResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateSoftwareInternetScsiEnabledResponse")
            kw["aname"] = "_UpdateSoftwareInternetScsiEnabledResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateSoftwareInternetScsiEnabledResponse_Holder"
            self.pyclass = Holder

    class UpdateInternetScsiDiscoveryProperties_Dec(ElementDeclaration):
        literal = "UpdateInternetScsiDiscoveryProperties"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateInternetScsiDiscoveryProperties")
            kw["aname"] = "_UpdateInternetScsiDiscoveryProperties"
            if ns0.UpdateInternetScsiDiscoveryPropertiesRequestType_Def not in ns0.UpdateInternetScsiDiscoveryProperties_Dec.__bases__:
                bases = list(ns0.UpdateInternetScsiDiscoveryProperties_Dec.__bases__)
                bases.insert(0, ns0.UpdateInternetScsiDiscoveryPropertiesRequestType_Def)
                ns0.UpdateInternetScsiDiscoveryProperties_Dec.__bases__ = tuple(bases)

            ns0.UpdateInternetScsiDiscoveryPropertiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateInternetScsiDiscoveryProperties_Dec_Holder"

    class UpdateInternetScsiDiscoveryPropertiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateInternetScsiDiscoveryPropertiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateInternetScsiDiscoveryPropertiesResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateInternetScsiDiscoveryPropertiesResponse")
            kw["aname"] = "_UpdateInternetScsiDiscoveryPropertiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateInternetScsiDiscoveryPropertiesResponse_Holder"
            self.pyclass = Holder

    class UpdateInternetScsiAuthenticationProperties_Dec(ElementDeclaration):
        literal = "UpdateInternetScsiAuthenticationProperties"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateInternetScsiAuthenticationProperties")
            kw["aname"] = "_UpdateInternetScsiAuthenticationProperties"
            if ns0.UpdateInternetScsiAuthenticationPropertiesRequestType_Def not in ns0.UpdateInternetScsiAuthenticationProperties_Dec.__bases__:
                bases = list(ns0.UpdateInternetScsiAuthenticationProperties_Dec.__bases__)
                bases.insert(0, ns0.UpdateInternetScsiAuthenticationPropertiesRequestType_Def)
                ns0.UpdateInternetScsiAuthenticationProperties_Dec.__bases__ = tuple(bases)

            ns0.UpdateInternetScsiAuthenticationPropertiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateInternetScsiAuthenticationProperties_Dec_Holder"

    class UpdateInternetScsiAuthenticationPropertiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateInternetScsiAuthenticationPropertiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateInternetScsiAuthenticationPropertiesResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateInternetScsiAuthenticationPropertiesResponse")
            kw["aname"] = "_UpdateInternetScsiAuthenticationPropertiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateInternetScsiAuthenticationPropertiesResponse_Holder"
            self.pyclass = Holder

    class UpdateInternetScsiDigestProperties_Dec(ElementDeclaration):
        literal = "UpdateInternetScsiDigestProperties"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateInternetScsiDigestProperties")
            kw["aname"] = "_UpdateInternetScsiDigestProperties"
            if ns0.UpdateInternetScsiDigestPropertiesRequestType_Def not in ns0.UpdateInternetScsiDigestProperties_Dec.__bases__:
                bases = list(ns0.UpdateInternetScsiDigestProperties_Dec.__bases__)
                bases.insert(0, ns0.UpdateInternetScsiDigestPropertiesRequestType_Def)
                ns0.UpdateInternetScsiDigestProperties_Dec.__bases__ = tuple(bases)

            ns0.UpdateInternetScsiDigestPropertiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateInternetScsiDigestProperties_Dec_Holder"

    class UpdateInternetScsiDigestPropertiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateInternetScsiDigestPropertiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateInternetScsiDigestPropertiesResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateInternetScsiDigestPropertiesResponse")
            kw["aname"] = "_UpdateInternetScsiDigestPropertiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateInternetScsiDigestPropertiesResponse_Holder"
            self.pyclass = Holder

    class UpdateInternetScsiAdvancedOptions_Dec(ElementDeclaration):
        literal = "UpdateInternetScsiAdvancedOptions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateInternetScsiAdvancedOptions")
            kw["aname"] = "_UpdateInternetScsiAdvancedOptions"
            if ns0.UpdateInternetScsiAdvancedOptionsRequestType_Def not in ns0.UpdateInternetScsiAdvancedOptions_Dec.__bases__:
                bases = list(ns0.UpdateInternetScsiAdvancedOptions_Dec.__bases__)
                bases.insert(0, ns0.UpdateInternetScsiAdvancedOptionsRequestType_Def)
                ns0.UpdateInternetScsiAdvancedOptions_Dec.__bases__ = tuple(bases)

            ns0.UpdateInternetScsiAdvancedOptionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateInternetScsiAdvancedOptions_Dec_Holder"

    class UpdateInternetScsiAdvancedOptionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateInternetScsiAdvancedOptionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateInternetScsiAdvancedOptionsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateInternetScsiAdvancedOptionsResponse")
            kw["aname"] = "_UpdateInternetScsiAdvancedOptionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateInternetScsiAdvancedOptionsResponse_Holder"
            self.pyclass = Holder

    class UpdateInternetScsiIPProperties_Dec(ElementDeclaration):
        literal = "UpdateInternetScsiIPProperties"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateInternetScsiIPProperties")
            kw["aname"] = "_UpdateInternetScsiIPProperties"
            if ns0.UpdateInternetScsiIPPropertiesRequestType_Def not in ns0.UpdateInternetScsiIPProperties_Dec.__bases__:
                bases = list(ns0.UpdateInternetScsiIPProperties_Dec.__bases__)
                bases.insert(0, ns0.UpdateInternetScsiIPPropertiesRequestType_Def)
                ns0.UpdateInternetScsiIPProperties_Dec.__bases__ = tuple(bases)

            ns0.UpdateInternetScsiIPPropertiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateInternetScsiIPProperties_Dec_Holder"

    class UpdateInternetScsiIPPropertiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateInternetScsiIPPropertiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateInternetScsiIPPropertiesResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateInternetScsiIPPropertiesResponse")
            kw["aname"] = "_UpdateInternetScsiIPPropertiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateInternetScsiIPPropertiesResponse_Holder"
            self.pyclass = Holder

    class UpdateInternetScsiName_Dec(ElementDeclaration):
        literal = "UpdateInternetScsiName"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateInternetScsiName")
            kw["aname"] = "_UpdateInternetScsiName"
            if ns0.UpdateInternetScsiNameRequestType_Def not in ns0.UpdateInternetScsiName_Dec.__bases__:
                bases = list(ns0.UpdateInternetScsiName_Dec.__bases__)
                bases.insert(0, ns0.UpdateInternetScsiNameRequestType_Def)
                ns0.UpdateInternetScsiName_Dec.__bases__ = tuple(bases)

            ns0.UpdateInternetScsiNameRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateInternetScsiName_Dec_Holder"

    class UpdateInternetScsiNameResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateInternetScsiNameResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateInternetScsiNameResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateInternetScsiNameResponse")
            kw["aname"] = "_UpdateInternetScsiNameResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateInternetScsiNameResponse_Holder"
            self.pyclass = Holder

    class UpdateInternetScsiAlias_Dec(ElementDeclaration):
        literal = "UpdateInternetScsiAlias"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateInternetScsiAlias")
            kw["aname"] = "_UpdateInternetScsiAlias"
            if ns0.UpdateInternetScsiAliasRequestType_Def not in ns0.UpdateInternetScsiAlias_Dec.__bases__:
                bases = list(ns0.UpdateInternetScsiAlias_Dec.__bases__)
                bases.insert(0, ns0.UpdateInternetScsiAliasRequestType_Def)
                ns0.UpdateInternetScsiAlias_Dec.__bases__ = tuple(bases)

            ns0.UpdateInternetScsiAliasRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateInternetScsiAlias_Dec_Holder"

    class UpdateInternetScsiAliasResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateInternetScsiAliasResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateInternetScsiAliasResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateInternetScsiAliasResponse")
            kw["aname"] = "_UpdateInternetScsiAliasResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateInternetScsiAliasResponse_Holder"
            self.pyclass = Holder

    class AddInternetScsiSendTargets_Dec(ElementDeclaration):
        literal = "AddInternetScsiSendTargets"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddInternetScsiSendTargets")
            kw["aname"] = "_AddInternetScsiSendTargets"
            if ns0.AddInternetScsiSendTargetsRequestType_Def not in ns0.AddInternetScsiSendTargets_Dec.__bases__:
                bases = list(ns0.AddInternetScsiSendTargets_Dec.__bases__)
                bases.insert(0, ns0.AddInternetScsiSendTargetsRequestType_Def)
                ns0.AddInternetScsiSendTargets_Dec.__bases__ = tuple(bases)

            ns0.AddInternetScsiSendTargetsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddInternetScsiSendTargets_Dec_Holder"

    class AddInternetScsiSendTargetsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddInternetScsiSendTargetsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddInternetScsiSendTargetsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AddInternetScsiSendTargetsResponse")
            kw["aname"] = "_AddInternetScsiSendTargetsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AddInternetScsiSendTargetsResponse_Holder"
            self.pyclass = Holder

    class RemoveInternetScsiSendTargets_Dec(ElementDeclaration):
        literal = "RemoveInternetScsiSendTargets"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveInternetScsiSendTargets")
            kw["aname"] = "_RemoveInternetScsiSendTargets"
            if ns0.RemoveInternetScsiSendTargetsRequestType_Def not in ns0.RemoveInternetScsiSendTargets_Dec.__bases__:
                bases = list(ns0.RemoveInternetScsiSendTargets_Dec.__bases__)
                bases.insert(0, ns0.RemoveInternetScsiSendTargetsRequestType_Def)
                ns0.RemoveInternetScsiSendTargets_Dec.__bases__ = tuple(bases)

            ns0.RemoveInternetScsiSendTargetsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveInternetScsiSendTargets_Dec_Holder"

    class RemoveInternetScsiSendTargetsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveInternetScsiSendTargetsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveInternetScsiSendTargetsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveInternetScsiSendTargetsResponse")
            kw["aname"] = "_RemoveInternetScsiSendTargetsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveInternetScsiSendTargetsResponse_Holder"
            self.pyclass = Holder

    class AddInternetScsiStaticTargets_Dec(ElementDeclaration):
        literal = "AddInternetScsiStaticTargets"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddInternetScsiStaticTargets")
            kw["aname"] = "_AddInternetScsiStaticTargets"
            if ns0.AddInternetScsiStaticTargetsRequestType_Def not in ns0.AddInternetScsiStaticTargets_Dec.__bases__:
                bases = list(ns0.AddInternetScsiStaticTargets_Dec.__bases__)
                bases.insert(0, ns0.AddInternetScsiStaticTargetsRequestType_Def)
                ns0.AddInternetScsiStaticTargets_Dec.__bases__ = tuple(bases)

            ns0.AddInternetScsiStaticTargetsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddInternetScsiStaticTargets_Dec_Holder"

    class AddInternetScsiStaticTargetsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddInternetScsiStaticTargetsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddInternetScsiStaticTargetsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AddInternetScsiStaticTargetsResponse")
            kw["aname"] = "_AddInternetScsiStaticTargetsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AddInternetScsiStaticTargetsResponse_Holder"
            self.pyclass = Holder

    class RemoveInternetScsiStaticTargets_Dec(ElementDeclaration):
        literal = "RemoveInternetScsiStaticTargets"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveInternetScsiStaticTargets")
            kw["aname"] = "_RemoveInternetScsiStaticTargets"
            if ns0.RemoveInternetScsiStaticTargetsRequestType_Def not in ns0.RemoveInternetScsiStaticTargets_Dec.__bases__:
                bases = list(ns0.RemoveInternetScsiStaticTargets_Dec.__bases__)
                bases.insert(0, ns0.RemoveInternetScsiStaticTargetsRequestType_Def)
                ns0.RemoveInternetScsiStaticTargets_Dec.__bases__ = tuple(bases)

            ns0.RemoveInternetScsiStaticTargetsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveInternetScsiStaticTargets_Dec_Holder"

    class RemoveInternetScsiStaticTargetsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveInternetScsiStaticTargetsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveInternetScsiStaticTargetsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveInternetScsiStaticTargetsResponse")
            kw["aname"] = "_RemoveInternetScsiStaticTargetsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveInternetScsiStaticTargetsResponse_Holder"
            self.pyclass = Holder

    class EnableMultipathPath_Dec(ElementDeclaration):
        literal = "EnableMultipathPath"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EnableMultipathPath")
            kw["aname"] = "_EnableMultipathPath"
            if ns0.EnableMultipathPathRequestType_Def not in ns0.EnableMultipathPath_Dec.__bases__:
                bases = list(ns0.EnableMultipathPath_Dec.__bases__)
                bases.insert(0, ns0.EnableMultipathPathRequestType_Def)
                ns0.EnableMultipathPath_Dec.__bases__ = tuple(bases)

            ns0.EnableMultipathPathRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EnableMultipathPath_Dec_Holder"

    class EnableMultipathPathResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EnableMultipathPathResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EnableMultipathPathResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","EnableMultipathPathResponse")
            kw["aname"] = "_EnableMultipathPathResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "EnableMultipathPathResponse_Holder"
            self.pyclass = Holder

    class DisableMultipathPath_Dec(ElementDeclaration):
        literal = "DisableMultipathPath"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DisableMultipathPath")
            kw["aname"] = "_DisableMultipathPath"
            if ns0.DisableMultipathPathRequestType_Def not in ns0.DisableMultipathPath_Dec.__bases__:
                bases = list(ns0.DisableMultipathPath_Dec.__bases__)
                bases.insert(0, ns0.DisableMultipathPathRequestType_Def)
                ns0.DisableMultipathPath_Dec.__bases__ = tuple(bases)

            ns0.DisableMultipathPathRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DisableMultipathPath_Dec_Holder"

    class DisableMultipathPathResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DisableMultipathPathResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DisableMultipathPathResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DisableMultipathPathResponse")
            kw["aname"] = "_DisableMultipathPathResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DisableMultipathPathResponse_Holder"
            self.pyclass = Holder

    class SetMultipathLunPolicy_Dec(ElementDeclaration):
        literal = "SetMultipathLunPolicy"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetMultipathLunPolicy")
            kw["aname"] = "_SetMultipathLunPolicy"
            if ns0.SetMultipathLunPolicyRequestType_Def not in ns0.SetMultipathLunPolicy_Dec.__bases__:
                bases = list(ns0.SetMultipathLunPolicy_Dec.__bases__)
                bases.insert(0, ns0.SetMultipathLunPolicyRequestType_Def)
                ns0.SetMultipathLunPolicy_Dec.__bases__ = tuple(bases)

            ns0.SetMultipathLunPolicyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetMultipathLunPolicy_Dec_Holder"

    class SetMultipathLunPolicyResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetMultipathLunPolicyResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetMultipathLunPolicyResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetMultipathLunPolicyResponse")
            kw["aname"] = "_SetMultipathLunPolicyResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetMultipathLunPolicyResponse_Holder"
            self.pyclass = Holder

    class QueryPathSelectionPolicyOptions_Dec(ElementDeclaration):
        literal = "QueryPathSelectionPolicyOptions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryPathSelectionPolicyOptions")
            kw["aname"] = "_QueryPathSelectionPolicyOptions"
            if ns0.QueryPathSelectionPolicyOptionsRequestType_Def not in ns0.QueryPathSelectionPolicyOptions_Dec.__bases__:
                bases = list(ns0.QueryPathSelectionPolicyOptions_Dec.__bases__)
                bases.insert(0, ns0.QueryPathSelectionPolicyOptionsRequestType_Def)
                ns0.QueryPathSelectionPolicyOptions_Dec.__bases__ = tuple(bases)

            ns0.QueryPathSelectionPolicyOptionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryPathSelectionPolicyOptions_Dec_Holder"

    class QueryPathSelectionPolicyOptionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryPathSelectionPolicyOptionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryPathSelectionPolicyOptionsResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostPathSelectionPolicyOption",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryPathSelectionPolicyOptionsResponse")
            kw["aname"] = "_QueryPathSelectionPolicyOptionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryPathSelectionPolicyOptionsResponse_Holder"
            self.pyclass = Holder

    class QueryStorageArrayTypePolicyOptions_Dec(ElementDeclaration):
        literal = "QueryStorageArrayTypePolicyOptions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryStorageArrayTypePolicyOptions")
            kw["aname"] = "_QueryStorageArrayTypePolicyOptions"
            if ns0.QueryStorageArrayTypePolicyOptionsRequestType_Def not in ns0.QueryStorageArrayTypePolicyOptions_Dec.__bases__:
                bases = list(ns0.QueryStorageArrayTypePolicyOptions_Dec.__bases__)
                bases.insert(0, ns0.QueryStorageArrayTypePolicyOptionsRequestType_Def)
                ns0.QueryStorageArrayTypePolicyOptions_Dec.__bases__ = tuple(bases)

            ns0.QueryStorageArrayTypePolicyOptionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryStorageArrayTypePolicyOptions_Dec_Holder"

    class QueryStorageArrayTypePolicyOptionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryStorageArrayTypePolicyOptionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryStorageArrayTypePolicyOptionsResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostStorageArrayTypePolicyOption",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryStorageArrayTypePolicyOptionsResponse")
            kw["aname"] = "_QueryStorageArrayTypePolicyOptionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryStorageArrayTypePolicyOptionsResponse_Holder"
            self.pyclass = Holder

    class UpdateScsiLunDisplayName_Dec(ElementDeclaration):
        literal = "UpdateScsiLunDisplayName"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateScsiLunDisplayName")
            kw["aname"] = "_UpdateScsiLunDisplayName"
            if ns0.UpdateScsiLunDisplayNameRequestType_Def not in ns0.UpdateScsiLunDisplayName_Dec.__bases__:
                bases = list(ns0.UpdateScsiLunDisplayName_Dec.__bases__)
                bases.insert(0, ns0.UpdateScsiLunDisplayNameRequestType_Def)
                ns0.UpdateScsiLunDisplayName_Dec.__bases__ = tuple(bases)

            ns0.UpdateScsiLunDisplayNameRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateScsiLunDisplayName_Dec_Holder"

    class UpdateScsiLunDisplayNameResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateScsiLunDisplayNameResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateScsiLunDisplayNameResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateScsiLunDisplayNameResponse")
            kw["aname"] = "_UpdateScsiLunDisplayNameResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateScsiLunDisplayNameResponse_Holder"
            self.pyclass = Holder

    class DetachScsiLun_Dec(ElementDeclaration):
        literal = "DetachScsiLun"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DetachScsiLun")
            kw["aname"] = "_DetachScsiLun"
            if ns0.DetachScsiLunRequestType_Def not in ns0.DetachScsiLun_Dec.__bases__:
                bases = list(ns0.DetachScsiLun_Dec.__bases__)
                bases.insert(0, ns0.DetachScsiLunRequestType_Def)
                ns0.DetachScsiLun_Dec.__bases__ = tuple(bases)

            ns0.DetachScsiLunRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DetachScsiLun_Dec_Holder"

    class DetachScsiLunResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DetachScsiLunResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DetachScsiLunResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DetachScsiLunResponse")
            kw["aname"] = "_DetachScsiLunResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DetachScsiLunResponse_Holder"
            self.pyclass = Holder

    class DetachScsiLunEx_Task_Dec(ElementDeclaration):
        literal = "DetachScsiLunEx_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DetachScsiLunEx_Task")
            kw["aname"] = "_DetachScsiLunEx_Task"
            if ns0.DetachScsiLunExRequestType_Def not in ns0.DetachScsiLunEx_Task_Dec.__bases__:
                bases = list(ns0.DetachScsiLunEx_Task_Dec.__bases__)
                bases.insert(0, ns0.DetachScsiLunExRequestType_Def)
                ns0.DetachScsiLunEx_Task_Dec.__bases__ = tuple(bases)

            ns0.DetachScsiLunExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DetachScsiLunEx_Task_Dec_Holder"

    class DetachScsiLunEx_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DetachScsiLunEx_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DetachScsiLunEx_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DetachScsiLunEx_TaskResponse")
            kw["aname"] = "_DetachScsiLunEx_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DetachScsiLunEx_TaskResponse_Holder"
            self.pyclass = Holder

    class DeleteScsiLunState_Dec(ElementDeclaration):
        literal = "DeleteScsiLunState"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteScsiLunState")
            kw["aname"] = "_DeleteScsiLunState"
            if ns0.DeleteScsiLunStateRequestType_Def not in ns0.DeleteScsiLunState_Dec.__bases__:
                bases = list(ns0.DeleteScsiLunState_Dec.__bases__)
                bases.insert(0, ns0.DeleteScsiLunStateRequestType_Def)
                ns0.DeleteScsiLunState_Dec.__bases__ = tuple(bases)

            ns0.DeleteScsiLunStateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteScsiLunState_Dec_Holder"

    class DeleteScsiLunStateResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteScsiLunStateResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteScsiLunStateResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DeleteScsiLunStateResponse")
            kw["aname"] = "_DeleteScsiLunStateResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DeleteScsiLunStateResponse_Holder"
            self.pyclass = Holder

    class AttachScsiLun_Dec(ElementDeclaration):
        literal = "AttachScsiLun"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AttachScsiLun")
            kw["aname"] = "_AttachScsiLun"
            if ns0.AttachScsiLunRequestType_Def not in ns0.AttachScsiLun_Dec.__bases__:
                bases = list(ns0.AttachScsiLun_Dec.__bases__)
                bases.insert(0, ns0.AttachScsiLunRequestType_Def)
                ns0.AttachScsiLun_Dec.__bases__ = tuple(bases)

            ns0.AttachScsiLunRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AttachScsiLun_Dec_Holder"

    class AttachScsiLunResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AttachScsiLunResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AttachScsiLunResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AttachScsiLunResponse")
            kw["aname"] = "_AttachScsiLunResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AttachScsiLunResponse_Holder"
            self.pyclass = Holder

    class AttachScsiLunEx_Task_Dec(ElementDeclaration):
        literal = "AttachScsiLunEx_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AttachScsiLunEx_Task")
            kw["aname"] = "_AttachScsiLunEx_Task"
            if ns0.AttachScsiLunExRequestType_Def not in ns0.AttachScsiLunEx_Task_Dec.__bases__:
                bases = list(ns0.AttachScsiLunEx_Task_Dec.__bases__)
                bases.insert(0, ns0.AttachScsiLunExRequestType_Def)
                ns0.AttachScsiLunEx_Task_Dec.__bases__ = tuple(bases)

            ns0.AttachScsiLunExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AttachScsiLunEx_Task_Dec_Holder"

    class AttachScsiLunEx_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AttachScsiLunEx_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AttachScsiLunEx_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AttachScsiLunEx_TaskResponse")
            kw["aname"] = "_AttachScsiLunEx_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AttachScsiLunEx_TaskResponse_Holder"
            self.pyclass = Holder

    class RefreshStorageSystem_Dec(ElementDeclaration):
        literal = "RefreshStorageSystem"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RefreshStorageSystem")
            kw["aname"] = "_RefreshStorageSystem"
            if ns0.RefreshStorageSystemRequestType_Def not in ns0.RefreshStorageSystem_Dec.__bases__:
                bases = list(ns0.RefreshStorageSystem_Dec.__bases__)
                bases.insert(0, ns0.RefreshStorageSystemRequestType_Def)
                ns0.RefreshStorageSystem_Dec.__bases__ = tuple(bases)

            ns0.RefreshStorageSystemRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RefreshStorageSystem_Dec_Holder"

    class RefreshStorageSystemResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RefreshStorageSystemResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RefreshStorageSystemResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RefreshStorageSystemResponse")
            kw["aname"] = "_RefreshStorageSystemResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RefreshStorageSystemResponse_Holder"
            self.pyclass = Holder

    class DiscoverFcoeHbas_Dec(ElementDeclaration):
        literal = "DiscoverFcoeHbas"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DiscoverFcoeHbas")
            kw["aname"] = "_DiscoverFcoeHbas"
            if ns0.DiscoverFcoeHbasRequestType_Def not in ns0.DiscoverFcoeHbas_Dec.__bases__:
                bases = list(ns0.DiscoverFcoeHbas_Dec.__bases__)
                bases.insert(0, ns0.DiscoverFcoeHbasRequestType_Def)
                ns0.DiscoverFcoeHbas_Dec.__bases__ = tuple(bases)

            ns0.DiscoverFcoeHbasRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DiscoverFcoeHbas_Dec_Holder"

    class DiscoverFcoeHbasResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DiscoverFcoeHbasResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DiscoverFcoeHbasResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DiscoverFcoeHbasResponse")
            kw["aname"] = "_DiscoverFcoeHbasResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DiscoverFcoeHbasResponse_Holder"
            self.pyclass = Holder

    class MarkForRemoval_Dec(ElementDeclaration):
        literal = "MarkForRemoval"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MarkForRemoval")
            kw["aname"] = "_MarkForRemoval"
            if ns0.MarkForRemovalRequestType_Def not in ns0.MarkForRemoval_Dec.__bases__:
                bases = list(ns0.MarkForRemoval_Dec.__bases__)
                bases.insert(0, ns0.MarkForRemovalRequestType_Def)
                ns0.MarkForRemoval_Dec.__bases__ = tuple(bases)

            ns0.MarkForRemovalRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MarkForRemoval_Dec_Holder"

    class MarkForRemovalResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MarkForRemovalResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MarkForRemovalResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","MarkForRemovalResponse")
            kw["aname"] = "_MarkForRemovalResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "MarkForRemovalResponse_Holder"
            self.pyclass = Holder

    class FormatVffs_Dec(ElementDeclaration):
        literal = "FormatVffs"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FormatVffs")
            kw["aname"] = "_FormatVffs"
            if ns0.FormatVffsRequestType_Def not in ns0.FormatVffs_Dec.__bases__:
                bases = list(ns0.FormatVffs_Dec.__bases__)
                bases.insert(0, ns0.FormatVffsRequestType_Def)
                ns0.FormatVffs_Dec.__bases__ = tuple(bases)

            ns0.FormatVffsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FormatVffs_Dec_Holder"

    class FormatVffsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FormatVffsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FormatVffsResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostVffsVolume",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FormatVffsResponse")
            kw["aname"] = "_FormatVffsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "FormatVffsResponse_Holder"
            self.pyclass = Holder

    class ExtendVffs_Dec(ElementDeclaration):
        literal = "ExtendVffs"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExtendVffs")
            kw["aname"] = "_ExtendVffs"
            if ns0.ExtendVffsRequestType_Def not in ns0.ExtendVffs_Dec.__bases__:
                bases = list(ns0.ExtendVffs_Dec.__bases__)
                bases.insert(0, ns0.ExtendVffsRequestType_Def)
                ns0.ExtendVffs_Dec.__bases__ = tuple(bases)

            ns0.ExtendVffsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExtendVffs_Dec_Holder"

    class ExtendVffsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExtendVffsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExtendVffsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ExtendVffsResponse")
            kw["aname"] = "_ExtendVffsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ExtendVffsResponse_Holder"
            self.pyclass = Holder

    class DestroyVffs_Dec(ElementDeclaration):
        literal = "DestroyVffs"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DestroyVffs")
            kw["aname"] = "_DestroyVffs"
            if ns0.DestroyVffsRequestType_Def not in ns0.DestroyVffs_Dec.__bases__:
                bases = list(ns0.DestroyVffs_Dec.__bases__)
                bases.insert(0, ns0.DestroyVffsRequestType_Def)
                ns0.DestroyVffs_Dec.__bases__ = tuple(bases)

            ns0.DestroyVffsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DestroyVffs_Dec_Holder"

    class DestroyVffsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DestroyVffsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DestroyVffsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DestroyVffsResponse")
            kw["aname"] = "_DestroyVffsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DestroyVffsResponse_Holder"
            self.pyclass = Holder

    class MountVffsVolume_Dec(ElementDeclaration):
        literal = "MountVffsVolume"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MountVffsVolume")
            kw["aname"] = "_MountVffsVolume"
            if ns0.MountVffsVolumeRequestType_Def not in ns0.MountVffsVolume_Dec.__bases__:
                bases = list(ns0.MountVffsVolume_Dec.__bases__)
                bases.insert(0, ns0.MountVffsVolumeRequestType_Def)
                ns0.MountVffsVolume_Dec.__bases__ = tuple(bases)

            ns0.MountVffsVolumeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MountVffsVolume_Dec_Holder"

    class MountVffsVolumeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MountVffsVolumeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MountVffsVolumeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","MountVffsVolumeResponse")
            kw["aname"] = "_MountVffsVolumeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "MountVffsVolumeResponse_Holder"
            self.pyclass = Holder

    class UnmountVffsVolume_Dec(ElementDeclaration):
        literal = "UnmountVffsVolume"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnmountVffsVolume")
            kw["aname"] = "_UnmountVffsVolume"
            if ns0.UnmountVffsVolumeRequestType_Def not in ns0.UnmountVffsVolume_Dec.__bases__:
                bases = list(ns0.UnmountVffsVolume_Dec.__bases__)
                bases.insert(0, ns0.UnmountVffsVolumeRequestType_Def)
                ns0.UnmountVffsVolume_Dec.__bases__ = tuple(bases)

            ns0.UnmountVffsVolumeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnmountVffsVolume_Dec_Holder"

    class UnmountVffsVolumeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UnmountVffsVolumeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UnmountVffsVolumeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UnmountVffsVolumeResponse")
            kw["aname"] = "_UnmountVffsVolumeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UnmountVffsVolumeResponse_Holder"
            self.pyclass = Holder

    class DeleteVffsVolumeState_Dec(ElementDeclaration):
        literal = "DeleteVffsVolumeState"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteVffsVolumeState")
            kw["aname"] = "_DeleteVffsVolumeState"
            if ns0.DeleteVffsVolumeStateRequestType_Def not in ns0.DeleteVffsVolumeState_Dec.__bases__:
                bases = list(ns0.DeleteVffsVolumeState_Dec.__bases__)
                bases.insert(0, ns0.DeleteVffsVolumeStateRequestType_Def)
                ns0.DeleteVffsVolumeState_Dec.__bases__ = tuple(bases)

            ns0.DeleteVffsVolumeStateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteVffsVolumeState_Dec_Holder"

    class DeleteVffsVolumeStateResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteVffsVolumeStateResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteVffsVolumeStateResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DeleteVffsVolumeStateResponse")
            kw["aname"] = "_DeleteVffsVolumeStateResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DeleteVffsVolumeStateResponse_Holder"
            self.pyclass = Holder

    class RescanVffs_Dec(ElementDeclaration):
        literal = "RescanVffs"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RescanVffs")
            kw["aname"] = "_RescanVffs"
            if ns0.RescanVffsRequestType_Def not in ns0.RescanVffs_Dec.__bases__:
                bases = list(ns0.RescanVffs_Dec.__bases__)
                bases.insert(0, ns0.RescanVffsRequestType_Def)
                ns0.RescanVffs_Dec.__bases__ = tuple(bases)

            ns0.RescanVffsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RescanVffs_Dec_Holder"

    class RescanVffsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RescanVffsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RescanVffsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RescanVffsResponse")
            kw["aname"] = "_RescanVffsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RescanVffsResponse_Holder"
            self.pyclass = Holder

    class QueryAvailableSsds_Dec(ElementDeclaration):
        literal = "QueryAvailableSsds"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryAvailableSsds")
            kw["aname"] = "_QueryAvailableSsds"
            if ns0.QueryAvailableSsdsRequestType_Def not in ns0.QueryAvailableSsds_Dec.__bases__:
                bases = list(ns0.QueryAvailableSsds_Dec.__bases__)
                bases.insert(0, ns0.QueryAvailableSsdsRequestType_Def)
                ns0.QueryAvailableSsds_Dec.__bases__ = tuple(bases)

            ns0.QueryAvailableSsdsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryAvailableSsds_Dec_Holder"

    class QueryAvailableSsdsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryAvailableSsdsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryAvailableSsdsResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostScsiDisk",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryAvailableSsdsResponse")
            kw["aname"] = "_QueryAvailableSsdsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryAvailableSsdsResponse_Holder"
            self.pyclass = Holder

    class SetNFSUser_Dec(ElementDeclaration):
        literal = "SetNFSUser"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetNFSUser")
            kw["aname"] = "_SetNFSUser"
            if ns0.SetNFSUserRequestType_Def not in ns0.SetNFSUser_Dec.__bases__:
                bases = list(ns0.SetNFSUser_Dec.__bases__)
                bases.insert(0, ns0.SetNFSUserRequestType_Def)
                ns0.SetNFSUser_Dec.__bases__ = tuple(bases)

            ns0.SetNFSUserRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetNFSUser_Dec_Holder"

    class SetNFSUserResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetNFSUserResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetNFSUserResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetNFSUserResponse")
            kw["aname"] = "_SetNFSUserResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetNFSUserResponse_Holder"
            self.pyclass = Holder

    class ChangeNFSUserPassword_Dec(ElementDeclaration):
        literal = "ChangeNFSUserPassword"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ChangeNFSUserPassword")
            kw["aname"] = "_ChangeNFSUserPassword"
            if ns0.ChangeNFSUserPasswordRequestType_Def not in ns0.ChangeNFSUserPassword_Dec.__bases__:
                bases = list(ns0.ChangeNFSUserPassword_Dec.__bases__)
                bases.insert(0, ns0.ChangeNFSUserPasswordRequestType_Def)
                ns0.ChangeNFSUserPassword_Dec.__bases__ = tuple(bases)

            ns0.ChangeNFSUserPasswordRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ChangeNFSUserPassword_Dec_Holder"

    class ChangeNFSUserPasswordResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ChangeNFSUserPasswordResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ChangeNFSUserPasswordResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ChangeNFSUserPasswordResponse")
            kw["aname"] = "_ChangeNFSUserPasswordResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ChangeNFSUserPasswordResponse_Holder"
            self.pyclass = Holder

    class QueryNFSUser_Dec(ElementDeclaration):
        literal = "QueryNFSUser"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryNFSUser")
            kw["aname"] = "_QueryNFSUser"
            if ns0.QueryNFSUserRequestType_Def not in ns0.QueryNFSUser_Dec.__bases__:
                bases = list(ns0.QueryNFSUser_Dec.__bases__)
                bases.insert(0, ns0.QueryNFSUserRequestType_Def)
                ns0.QueryNFSUser_Dec.__bases__ = tuple(bases)

            ns0.QueryNFSUserRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryNFSUser_Dec_Holder"

    class QueryNFSUserResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryNFSUserResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryNFSUserResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostNasVolumeUserInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryNFSUserResponse")
            kw["aname"] = "_QueryNFSUserResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryNFSUserResponse_Holder"
            self.pyclass = Holder

    class ClearNFSUser_Dec(ElementDeclaration):
        literal = "ClearNFSUser"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ClearNFSUser")
            kw["aname"] = "_ClearNFSUser"
            if ns0.ClearNFSUserRequestType_Def not in ns0.ClearNFSUser_Dec.__bases__:
                bases = list(ns0.ClearNFSUser_Dec.__bases__)
                bases.insert(0, ns0.ClearNFSUserRequestType_Def)
                ns0.ClearNFSUser_Dec.__bases__ = tuple(bases)

            ns0.ClearNFSUserRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ClearNFSUser_Dec_Holder"

    class ClearNFSUserResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ClearNFSUserResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ClearNFSUserResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ClearNFSUserResponse")
            kw["aname"] = "_ClearNFSUserResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ClearNFSUserResponse_Holder"
            self.pyclass = Holder

    class TurnDiskLocatorLedOn_Task_Dec(ElementDeclaration):
        literal = "TurnDiskLocatorLedOn_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TurnDiskLocatorLedOn_Task")
            kw["aname"] = "_TurnDiskLocatorLedOn_Task"
            if ns0.TurnDiskLocatorLedOnRequestType_Def not in ns0.TurnDiskLocatorLedOn_Task_Dec.__bases__:
                bases = list(ns0.TurnDiskLocatorLedOn_Task_Dec.__bases__)
                bases.insert(0, ns0.TurnDiskLocatorLedOnRequestType_Def)
                ns0.TurnDiskLocatorLedOn_Task_Dec.__bases__ = tuple(bases)

            ns0.TurnDiskLocatorLedOnRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TurnDiskLocatorLedOn_Task_Dec_Holder"

    class TurnDiskLocatorLedOn_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "TurnDiskLocatorLedOn_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.TurnDiskLocatorLedOn_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","TurnDiskLocatorLedOn_TaskResponse")
            kw["aname"] = "_TurnDiskLocatorLedOn_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "TurnDiskLocatorLedOn_TaskResponse_Holder"
            self.pyclass = Holder

    class TurnDiskLocatorLedOff_Task_Dec(ElementDeclaration):
        literal = "TurnDiskLocatorLedOff_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TurnDiskLocatorLedOff_Task")
            kw["aname"] = "_TurnDiskLocatorLedOff_Task"
            if ns0.TurnDiskLocatorLedOffRequestType_Def not in ns0.TurnDiskLocatorLedOff_Task_Dec.__bases__:
                bases = list(ns0.TurnDiskLocatorLedOff_Task_Dec.__bases__)
                bases.insert(0, ns0.TurnDiskLocatorLedOffRequestType_Def)
                ns0.TurnDiskLocatorLedOff_Task_Dec.__bases__ = tuple(bases)

            ns0.TurnDiskLocatorLedOffRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TurnDiskLocatorLedOff_Task_Dec_Holder"

    class TurnDiskLocatorLedOff_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "TurnDiskLocatorLedOff_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.TurnDiskLocatorLedOff_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","TurnDiskLocatorLedOff_TaskResponse")
            kw["aname"] = "_TurnDiskLocatorLedOff_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "TurnDiskLocatorLedOff_TaskResponse_Holder"
            self.pyclass = Holder

    class MarkAsSsd_Task_Dec(ElementDeclaration):
        literal = "MarkAsSsd_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MarkAsSsd_Task")
            kw["aname"] = "_MarkAsSsd_Task"
            if ns0.MarkAsSsdRequestType_Def not in ns0.MarkAsSsd_Task_Dec.__bases__:
                bases = list(ns0.MarkAsSsd_Task_Dec.__bases__)
                bases.insert(0, ns0.MarkAsSsdRequestType_Def)
                ns0.MarkAsSsd_Task_Dec.__bases__ = tuple(bases)

            ns0.MarkAsSsdRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MarkAsSsd_Task_Dec_Holder"

    class MarkAsSsd_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MarkAsSsd_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MarkAsSsd_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","MarkAsSsd_TaskResponse")
            kw["aname"] = "_MarkAsSsd_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "MarkAsSsd_TaskResponse_Holder"
            self.pyclass = Holder

    class MarkAsNonSsd_Task_Dec(ElementDeclaration):
        literal = "MarkAsNonSsd_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MarkAsNonSsd_Task")
            kw["aname"] = "_MarkAsNonSsd_Task"
            if ns0.MarkAsNonSsdRequestType_Def not in ns0.MarkAsNonSsd_Task_Dec.__bases__:
                bases = list(ns0.MarkAsNonSsd_Task_Dec.__bases__)
                bases.insert(0, ns0.MarkAsNonSsdRequestType_Def)
                ns0.MarkAsNonSsd_Task_Dec.__bases__ = tuple(bases)

            ns0.MarkAsNonSsdRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MarkAsNonSsd_Task_Dec_Holder"

    class MarkAsNonSsd_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MarkAsNonSsd_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MarkAsNonSsd_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","MarkAsNonSsd_TaskResponse")
            kw["aname"] = "_MarkAsNonSsd_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "MarkAsNonSsd_TaskResponse_Holder"
            self.pyclass = Holder

    class MarkAsLocal_Task_Dec(ElementDeclaration):
        literal = "MarkAsLocal_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MarkAsLocal_Task")
            kw["aname"] = "_MarkAsLocal_Task"
            if ns0.MarkAsLocalRequestType_Def not in ns0.MarkAsLocal_Task_Dec.__bases__:
                bases = list(ns0.MarkAsLocal_Task_Dec.__bases__)
                bases.insert(0, ns0.MarkAsLocalRequestType_Def)
                ns0.MarkAsLocal_Task_Dec.__bases__ = tuple(bases)

            ns0.MarkAsLocalRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MarkAsLocal_Task_Dec_Holder"

    class MarkAsLocal_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MarkAsLocal_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MarkAsLocal_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","MarkAsLocal_TaskResponse")
            kw["aname"] = "_MarkAsLocal_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "MarkAsLocal_TaskResponse_Holder"
            self.pyclass = Holder

    class MarkAsNonLocal_Task_Dec(ElementDeclaration):
        literal = "MarkAsNonLocal_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MarkAsNonLocal_Task")
            kw["aname"] = "_MarkAsNonLocal_Task"
            if ns0.MarkAsNonLocalRequestType_Def not in ns0.MarkAsNonLocal_Task_Dec.__bases__:
                bases = list(ns0.MarkAsNonLocal_Task_Dec.__bases__)
                bases.insert(0, ns0.MarkAsNonLocalRequestType_Def)
                ns0.MarkAsNonLocal_Task_Dec.__bases__ = tuple(bases)

            ns0.MarkAsNonLocalRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MarkAsNonLocal_Task_Dec_Holder"

    class MarkAsNonLocal_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MarkAsNonLocal_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MarkAsNonLocal_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","MarkAsNonLocal_TaskResponse")
            kw["aname"] = "_MarkAsNonLocal_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "MarkAsNonLocal_TaskResponse_Holder"
            self.pyclass = Holder

    class UpdateVmfsUnmapPriority_Dec(ElementDeclaration):
        literal = "UpdateVmfsUnmapPriority"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateVmfsUnmapPriority")
            kw["aname"] = "_UpdateVmfsUnmapPriority"
            if ns0.UpdateVmfsUnmapPriorityRequestType_Def not in ns0.UpdateVmfsUnmapPriority_Dec.__bases__:
                bases = list(ns0.UpdateVmfsUnmapPriority_Dec.__bases__)
                bases.insert(0, ns0.UpdateVmfsUnmapPriorityRequestType_Def)
                ns0.UpdateVmfsUnmapPriority_Dec.__bases__ = tuple(bases)

            ns0.UpdateVmfsUnmapPriorityRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateVmfsUnmapPriority_Dec_Holder"

    class UpdateVmfsUnmapPriorityResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateVmfsUnmapPriorityResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateVmfsUnmapPriorityResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateVmfsUnmapPriorityResponse")
            kw["aname"] = "_UpdateVmfsUnmapPriorityResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateVmfsUnmapPriorityResponse_Holder"
            self.pyclass = Holder

    class UpdateVmfsUnmapBandwidth_Dec(ElementDeclaration):
        literal = "UpdateVmfsUnmapBandwidth"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateVmfsUnmapBandwidth")
            kw["aname"] = "_UpdateVmfsUnmapBandwidth"
            if ns0.UpdateVmfsUnmapBandwidthRequestType_Def not in ns0.UpdateVmfsUnmapBandwidth_Dec.__bases__:
                bases = list(ns0.UpdateVmfsUnmapBandwidth_Dec.__bases__)
                bases.insert(0, ns0.UpdateVmfsUnmapBandwidthRequestType_Def)
                ns0.UpdateVmfsUnmapBandwidth_Dec.__bases__ = tuple(bases)

            ns0.UpdateVmfsUnmapBandwidthRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateVmfsUnmapBandwidth_Dec_Holder"

    class UpdateVmfsUnmapBandwidthResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateVmfsUnmapBandwidthResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateVmfsUnmapBandwidthResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateVmfsUnmapBandwidthResponse")
            kw["aname"] = "_UpdateVmfsUnmapBandwidthResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateVmfsUnmapBandwidthResponse_Holder"
            self.pyclass = Holder

    class QueryVmfsConfigOption_Dec(ElementDeclaration):
        literal = "QueryVmfsConfigOption"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryVmfsConfigOption")
            kw["aname"] = "_QueryVmfsConfigOption"
            if ns0.QueryVmfsConfigOptionRequestType_Def not in ns0.QueryVmfsConfigOption_Dec.__bases__:
                bases = list(ns0.QueryVmfsConfigOption_Dec.__bases__)
                bases.insert(0, ns0.QueryVmfsConfigOptionRequestType_Def)
                ns0.QueryVmfsConfigOption_Dec.__bases__ = tuple(bases)

            ns0.QueryVmfsConfigOptionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryVmfsConfigOption_Dec_Holder"

    class QueryVmfsConfigOptionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryVmfsConfigOptionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryVmfsConfigOptionResponse_Dec.schema
            TClist = [GTD("urn:vim25","VmfsConfigOption",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryVmfsConfigOptionResponse")
            kw["aname"] = "_QueryVmfsConfigOptionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryVmfsConfigOptionResponse_Holder"
            self.pyclass = Holder

    class ConfigureVFlashResourceEx_Task_Dec(ElementDeclaration):
        literal = "ConfigureVFlashResourceEx_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ConfigureVFlashResourceEx_Task")
            kw["aname"] = "_ConfigureVFlashResourceEx_Task"
            if ns0.ConfigureVFlashResourceExRequestType_Def not in ns0.ConfigureVFlashResourceEx_Task_Dec.__bases__:
                bases = list(ns0.ConfigureVFlashResourceEx_Task_Dec.__bases__)
                bases.insert(0, ns0.ConfigureVFlashResourceExRequestType_Def)
                ns0.ConfigureVFlashResourceEx_Task_Dec.__bases__ = tuple(bases)

            ns0.ConfigureVFlashResourceExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ConfigureVFlashResourceEx_Task_Dec_Holder"

    class ConfigureVFlashResourceEx_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ConfigureVFlashResourceEx_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ConfigureVFlashResourceEx_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ConfigureVFlashResourceEx_TaskResponse")
            kw["aname"] = "_ConfigureVFlashResourceEx_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ConfigureVFlashResourceEx_TaskResponse_Holder"
            self.pyclass = Holder

    class HostConfigureVFlashResource_Dec(ElementDeclaration):
        literal = "HostConfigureVFlashResource"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostConfigureVFlashResource")
            kw["aname"] = "_HostConfigureVFlashResource"
            if ns0.HostConfigureVFlashResourceRequestType_Def not in ns0.HostConfigureVFlashResource_Dec.__bases__:
                bases = list(ns0.HostConfigureVFlashResource_Dec.__bases__)
                bases.insert(0, ns0.HostConfigureVFlashResourceRequestType_Def)
                ns0.HostConfigureVFlashResource_Dec.__bases__ = tuple(bases)

            ns0.HostConfigureVFlashResourceRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostConfigureVFlashResource_Dec_Holder"

    class HostConfigureVFlashResourceResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostConfigureVFlashResourceResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostConfigureVFlashResourceResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","HostConfigureVFlashResourceResponse")
            kw["aname"] = "_HostConfigureVFlashResourceResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "HostConfigureVFlashResourceResponse_Holder"
            self.pyclass = Holder

    class HostRemoveVFlashResource_Dec(ElementDeclaration):
        literal = "HostRemoveVFlashResource"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostRemoveVFlashResource")
            kw["aname"] = "_HostRemoveVFlashResource"
            if ns0.HostRemoveVFlashResourceRequestType_Def not in ns0.HostRemoveVFlashResource_Dec.__bases__:
                bases = list(ns0.HostRemoveVFlashResource_Dec.__bases__)
                bases.insert(0, ns0.HostRemoveVFlashResourceRequestType_Def)
                ns0.HostRemoveVFlashResource_Dec.__bases__ = tuple(bases)

            ns0.HostRemoveVFlashResourceRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostRemoveVFlashResource_Dec_Holder"

    class HostRemoveVFlashResourceResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostRemoveVFlashResourceResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostRemoveVFlashResourceResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","HostRemoveVFlashResourceResponse")
            kw["aname"] = "_HostRemoveVFlashResourceResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "HostRemoveVFlashResourceResponse_Holder"
            self.pyclass = Holder

    class HostConfigVFlashCache_Dec(ElementDeclaration):
        literal = "HostConfigVFlashCache"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostConfigVFlashCache")
            kw["aname"] = "_HostConfigVFlashCache"
            if ns0.HostConfigVFlashCacheRequestType_Def not in ns0.HostConfigVFlashCache_Dec.__bases__:
                bases = list(ns0.HostConfigVFlashCache_Dec.__bases__)
                bases.insert(0, ns0.HostConfigVFlashCacheRequestType_Def)
                ns0.HostConfigVFlashCache_Dec.__bases__ = tuple(bases)

            ns0.HostConfigVFlashCacheRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostConfigVFlashCache_Dec_Holder"

    class HostConfigVFlashCacheResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostConfigVFlashCacheResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostConfigVFlashCacheResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","HostConfigVFlashCacheResponse")
            kw["aname"] = "_HostConfigVFlashCacheResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "HostConfigVFlashCacheResponse_Holder"
            self.pyclass = Holder

    class HostGetVFlashModuleDefaultConfig_Dec(ElementDeclaration):
        literal = "HostGetVFlashModuleDefaultConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostGetVFlashModuleDefaultConfig")
            kw["aname"] = "_HostGetVFlashModuleDefaultConfig"
            if ns0.HostGetVFlashModuleDefaultConfigRequestType_Def not in ns0.HostGetVFlashModuleDefaultConfig_Dec.__bases__:
                bases = list(ns0.HostGetVFlashModuleDefaultConfig_Dec.__bases__)
                bases.insert(0, ns0.HostGetVFlashModuleDefaultConfigRequestType_Def)
                ns0.HostGetVFlashModuleDefaultConfig_Dec.__bases__ = tuple(bases)

            ns0.HostGetVFlashModuleDefaultConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostGetVFlashModuleDefaultConfig_Dec_Holder"

    class HostGetVFlashModuleDefaultConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostGetVFlashModuleDefaultConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostGetVFlashModuleDefaultConfigResponse_Dec.schema
            TClist = [GTD("urn:vim25","VirtualDiskVFlashCacheConfigInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostGetVFlashModuleDefaultConfigResponse")
            kw["aname"] = "_HostGetVFlashModuleDefaultConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostGetVFlashModuleDefaultConfigResponse_Holder"
            self.pyclass = Holder

    class UpdateIpConfig_Dec(ElementDeclaration):
        literal = "UpdateIpConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateIpConfig")
            kw["aname"] = "_UpdateIpConfig"
            if ns0.UpdateIpConfigRequestType_Def not in ns0.UpdateIpConfig_Dec.__bases__:
                bases = list(ns0.UpdateIpConfig_Dec.__bases__)
                bases.insert(0, ns0.UpdateIpConfigRequestType_Def)
                ns0.UpdateIpConfig_Dec.__bases__ = tuple(bases)

            ns0.UpdateIpConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateIpConfig_Dec_Holder"

    class UpdateIpConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateIpConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateIpConfigResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateIpConfigResponse")
            kw["aname"] = "_UpdateIpConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateIpConfigResponse_Holder"
            self.pyclass = Holder

    class SelectVnic_Dec(ElementDeclaration):
        literal = "SelectVnic"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SelectVnic")
            kw["aname"] = "_SelectVnic"
            if ns0.SelectVnicRequestType_Def not in ns0.SelectVnic_Dec.__bases__:
                bases = list(ns0.SelectVnic_Dec.__bases__)
                bases.insert(0, ns0.SelectVnicRequestType_Def)
                ns0.SelectVnic_Dec.__bases__ = tuple(bases)

            ns0.SelectVnicRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SelectVnic_Dec_Holder"

    class SelectVnicResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SelectVnicResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SelectVnicResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SelectVnicResponse")
            kw["aname"] = "_SelectVnicResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SelectVnicResponse_Holder"
            self.pyclass = Holder

    class DeselectVnic_Dec(ElementDeclaration):
        literal = "DeselectVnic"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeselectVnic")
            kw["aname"] = "_DeselectVnic"
            if ns0.DeselectVnicRequestType_Def not in ns0.DeselectVnic_Dec.__bases__:
                bases = list(ns0.DeselectVnic_Dec.__bases__)
                bases.insert(0, ns0.DeselectVnicRequestType_Def)
                ns0.DeselectVnic_Dec.__bases__ = tuple(bases)

            ns0.DeselectVnicRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeselectVnic_Dec_Holder"

    class DeselectVnicResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeselectVnicResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeselectVnicResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DeselectVnicResponse")
            kw["aname"] = "_DeselectVnicResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DeselectVnicResponse_Holder"
            self.pyclass = Holder

    class QueryNetConfig_Dec(ElementDeclaration):
        literal = "QueryNetConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryNetConfig")
            kw["aname"] = "_QueryNetConfig"
            if ns0.QueryNetConfigRequestType_Def not in ns0.QueryNetConfig_Dec.__bases__:
                bases = list(ns0.QueryNetConfig_Dec.__bases__)
                bases.insert(0, ns0.QueryNetConfigRequestType_Def)
                ns0.QueryNetConfig_Dec.__bases__ = tuple(bases)

            ns0.QueryNetConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryNetConfig_Dec_Holder"

    class QueryNetConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryNetConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryNetConfigResponse_Dec.schema
            TClist = [GTD("urn:vim25","VirtualNicManagerNetConfig",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryNetConfigResponse")
            kw["aname"] = "_QueryNetConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryNetConfigResponse_Holder"
            self.pyclass = Holder

    class SelectVnicForNicType_Dec(ElementDeclaration):
        literal = "SelectVnicForNicType"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SelectVnicForNicType")
            kw["aname"] = "_SelectVnicForNicType"
            if ns0.SelectVnicForNicTypeRequestType_Def not in ns0.SelectVnicForNicType_Dec.__bases__:
                bases = list(ns0.SelectVnicForNicType_Dec.__bases__)
                bases.insert(0, ns0.SelectVnicForNicTypeRequestType_Def)
                ns0.SelectVnicForNicType_Dec.__bases__ = tuple(bases)

            ns0.SelectVnicForNicTypeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SelectVnicForNicType_Dec_Holder"

    class SelectVnicForNicTypeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SelectVnicForNicTypeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SelectVnicForNicTypeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SelectVnicForNicTypeResponse")
            kw["aname"] = "_SelectVnicForNicTypeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SelectVnicForNicTypeResponse_Holder"
            self.pyclass = Holder

    class DeselectVnicForNicType_Dec(ElementDeclaration):
        literal = "DeselectVnicForNicType"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeselectVnicForNicType")
            kw["aname"] = "_DeselectVnicForNicType"
            if ns0.DeselectVnicForNicTypeRequestType_Def not in ns0.DeselectVnicForNicType_Dec.__bases__:
                bases = list(ns0.DeselectVnicForNicType_Dec.__bases__)
                bases.insert(0, ns0.DeselectVnicForNicTypeRequestType_Def)
                ns0.DeselectVnicForNicType_Dec.__bases__ = tuple(bases)

            ns0.DeselectVnicForNicTypeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeselectVnicForNicType_Dec_Holder"

    class DeselectVnicForNicTypeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeselectVnicForNicTypeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeselectVnicForNicTypeResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DeselectVnicForNicTypeResponse")
            kw["aname"] = "_DeselectVnicForNicTypeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DeselectVnicForNicTypeResponse_Holder"
            self.pyclass = Holder

    class QueryCmmds_Dec(ElementDeclaration):
        literal = "QueryCmmds"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryCmmds")
            kw["aname"] = "_QueryCmmds"
            if ns0.QueryCmmdsRequestType_Def not in ns0.QueryCmmds_Dec.__bases__:
                bases = list(ns0.QueryCmmds_Dec.__bases__)
                bases.insert(0, ns0.QueryCmmdsRequestType_Def)
                ns0.QueryCmmds_Dec.__bases__ = tuple(bases)

            ns0.QueryCmmdsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryCmmds_Dec_Holder"

    class QueryCmmdsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryCmmdsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryCmmdsResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryCmmdsResponse")
            kw["aname"] = "_QueryCmmdsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryCmmdsResponse_Holder"
            self.pyclass = Holder

    class QueryPhysicalVsanDisks_Dec(ElementDeclaration):
        literal = "QueryPhysicalVsanDisks"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryPhysicalVsanDisks")
            kw["aname"] = "_QueryPhysicalVsanDisks"
            if ns0.QueryPhysicalVsanDisksRequestType_Def not in ns0.QueryPhysicalVsanDisks_Dec.__bases__:
                bases = list(ns0.QueryPhysicalVsanDisks_Dec.__bases__)
                bases.insert(0, ns0.QueryPhysicalVsanDisksRequestType_Def)
                ns0.QueryPhysicalVsanDisks_Dec.__bases__ = tuple(bases)

            ns0.QueryPhysicalVsanDisksRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryPhysicalVsanDisks_Dec_Holder"

    class QueryPhysicalVsanDisksResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryPhysicalVsanDisksResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryPhysicalVsanDisksResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryPhysicalVsanDisksResponse")
            kw["aname"] = "_QueryPhysicalVsanDisksResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryPhysicalVsanDisksResponse_Holder"
            self.pyclass = Holder

    class QueryVsanObjects_Dec(ElementDeclaration):
        literal = "QueryVsanObjects"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryVsanObjects")
            kw["aname"] = "_QueryVsanObjects"
            if ns0.QueryVsanObjectsRequestType_Def not in ns0.QueryVsanObjects_Dec.__bases__:
                bases = list(ns0.QueryVsanObjects_Dec.__bases__)
                bases.insert(0, ns0.QueryVsanObjectsRequestType_Def)
                ns0.QueryVsanObjects_Dec.__bases__ = tuple(bases)

            ns0.QueryVsanObjectsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryVsanObjects_Dec_Holder"

    class QueryVsanObjectsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryVsanObjectsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryVsanObjectsResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryVsanObjectsResponse")
            kw["aname"] = "_QueryVsanObjectsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryVsanObjectsResponse_Holder"
            self.pyclass = Holder

    class QueryObjectsOnPhysicalVsanDisk_Dec(ElementDeclaration):
        literal = "QueryObjectsOnPhysicalVsanDisk"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryObjectsOnPhysicalVsanDisk")
            kw["aname"] = "_QueryObjectsOnPhysicalVsanDisk"
            if ns0.QueryObjectsOnPhysicalVsanDiskRequestType_Def not in ns0.QueryObjectsOnPhysicalVsanDisk_Dec.__bases__:
                bases = list(ns0.QueryObjectsOnPhysicalVsanDisk_Dec.__bases__)
                bases.insert(0, ns0.QueryObjectsOnPhysicalVsanDiskRequestType_Def)
                ns0.QueryObjectsOnPhysicalVsanDisk_Dec.__bases__ = tuple(bases)

            ns0.QueryObjectsOnPhysicalVsanDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryObjectsOnPhysicalVsanDisk_Dec_Holder"

    class QueryObjectsOnPhysicalVsanDiskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryObjectsOnPhysicalVsanDiskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryObjectsOnPhysicalVsanDiskResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryObjectsOnPhysicalVsanDiskResponse")
            kw["aname"] = "_QueryObjectsOnPhysicalVsanDiskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryObjectsOnPhysicalVsanDiskResponse_Holder"
            self.pyclass = Holder

    class AbdicateDomOwnership_Dec(ElementDeclaration):
        literal = "AbdicateDomOwnership"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AbdicateDomOwnership")
            kw["aname"] = "_AbdicateDomOwnership"
            if ns0.AbdicateDomOwnershipRequestType_Def not in ns0.AbdicateDomOwnership_Dec.__bases__:
                bases = list(ns0.AbdicateDomOwnership_Dec.__bases__)
                bases.insert(0, ns0.AbdicateDomOwnershipRequestType_Def)
                ns0.AbdicateDomOwnership_Dec.__bases__ = tuple(bases)

            ns0.AbdicateDomOwnershipRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AbdicateDomOwnership_Dec_Holder"

    class AbdicateDomOwnershipResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AbdicateDomOwnershipResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AbdicateDomOwnershipResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AbdicateDomOwnershipResponse")
            kw["aname"] = "_AbdicateDomOwnershipResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "AbdicateDomOwnershipResponse_Holder"
            self.pyclass = Holder

    class QueryVsanStatistics_Dec(ElementDeclaration):
        literal = "QueryVsanStatistics"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryVsanStatistics")
            kw["aname"] = "_QueryVsanStatistics"
            if ns0.QueryVsanStatisticsRequestType_Def not in ns0.QueryVsanStatistics_Dec.__bases__:
                bases = list(ns0.QueryVsanStatistics_Dec.__bases__)
                bases.insert(0, ns0.QueryVsanStatisticsRequestType_Def)
                ns0.QueryVsanStatistics_Dec.__bases__ = tuple(bases)

            ns0.QueryVsanStatisticsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryVsanStatistics_Dec_Holder"

    class QueryVsanStatisticsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryVsanStatisticsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryVsanStatisticsResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryVsanStatisticsResponse")
            kw["aname"] = "_QueryVsanStatisticsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryVsanStatisticsResponse_Holder"
            self.pyclass = Holder

    class ReconfigureDomObject_Dec(ElementDeclaration):
        literal = "ReconfigureDomObject"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigureDomObject")
            kw["aname"] = "_ReconfigureDomObject"
            if ns0.ReconfigureDomObjectRequestType_Def not in ns0.ReconfigureDomObject_Dec.__bases__:
                bases = list(ns0.ReconfigureDomObject_Dec.__bases__)
                bases.insert(0, ns0.ReconfigureDomObjectRequestType_Def)
                ns0.ReconfigureDomObject_Dec.__bases__ = tuple(bases)

            ns0.ReconfigureDomObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigureDomObject_Dec_Holder"

    class ReconfigureDomObjectResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigureDomObjectResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigureDomObjectResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ReconfigureDomObjectResponse")
            kw["aname"] = "_ReconfigureDomObjectResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ReconfigureDomObjectResponse_Holder"
            self.pyclass = Holder

    class QuerySyncingVsanObjects_Dec(ElementDeclaration):
        literal = "QuerySyncingVsanObjects"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QuerySyncingVsanObjects")
            kw["aname"] = "_QuerySyncingVsanObjects"
            if ns0.QuerySyncingVsanObjectsRequestType_Def not in ns0.QuerySyncingVsanObjects_Dec.__bases__:
                bases = list(ns0.QuerySyncingVsanObjects_Dec.__bases__)
                bases.insert(0, ns0.QuerySyncingVsanObjectsRequestType_Def)
                ns0.QuerySyncingVsanObjects_Dec.__bases__ = tuple(bases)

            ns0.QuerySyncingVsanObjectsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QuerySyncingVsanObjects_Dec_Holder"

    class QuerySyncingVsanObjectsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QuerySyncingVsanObjectsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QuerySyncingVsanObjectsResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QuerySyncingVsanObjectsResponse")
            kw["aname"] = "_QuerySyncingVsanObjectsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QuerySyncingVsanObjectsResponse_Holder"
            self.pyclass = Holder

    class RunVsanPhysicalDiskDiagnostics_Dec(ElementDeclaration):
        literal = "RunVsanPhysicalDiskDiagnostics"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RunVsanPhysicalDiskDiagnostics")
            kw["aname"] = "_RunVsanPhysicalDiskDiagnostics"
            if ns0.RunVsanPhysicalDiskDiagnosticsRequestType_Def not in ns0.RunVsanPhysicalDiskDiagnostics_Dec.__bases__:
                bases = list(ns0.RunVsanPhysicalDiskDiagnostics_Dec.__bases__)
                bases.insert(0, ns0.RunVsanPhysicalDiskDiagnosticsRequestType_Def)
                ns0.RunVsanPhysicalDiskDiagnostics_Dec.__bases__ = tuple(bases)

            ns0.RunVsanPhysicalDiskDiagnosticsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RunVsanPhysicalDiskDiagnostics_Dec_Holder"

    class RunVsanPhysicalDiskDiagnosticsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RunVsanPhysicalDiskDiagnosticsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RunVsanPhysicalDiskDiagnosticsResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RunVsanPhysicalDiskDiagnosticsResponse")
            kw["aname"] = "_RunVsanPhysicalDiskDiagnosticsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RunVsanPhysicalDiskDiagnosticsResponse_Holder"
            self.pyclass = Holder

    class GetVsanObjExtAttrs_Dec(ElementDeclaration):
        literal = "GetVsanObjExtAttrs"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GetVsanObjExtAttrs")
            kw["aname"] = "_GetVsanObjExtAttrs"
            if ns0.GetVsanObjExtAttrsRequestType_Def not in ns0.GetVsanObjExtAttrs_Dec.__bases__:
                bases = list(ns0.GetVsanObjExtAttrs_Dec.__bases__)
                bases.insert(0, ns0.GetVsanObjExtAttrsRequestType_Def)
                ns0.GetVsanObjExtAttrs_Dec.__bases__ = tuple(bases)

            ns0.GetVsanObjExtAttrsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GetVsanObjExtAttrs_Dec_Holder"

    class GetVsanObjExtAttrsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GetVsanObjExtAttrsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GetVsanObjExtAttrsResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GetVsanObjExtAttrsResponse")
            kw["aname"] = "_GetVsanObjExtAttrsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "GetVsanObjExtAttrsResponse_Holder"
            self.pyclass = Holder

    class ReconfigurationSatisfiable_Dec(ElementDeclaration):
        literal = "ReconfigurationSatisfiable"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigurationSatisfiable")
            kw["aname"] = "_ReconfigurationSatisfiable"
            if ns0.ReconfigurationSatisfiableRequestType_Def not in ns0.ReconfigurationSatisfiable_Dec.__bases__:
                bases = list(ns0.ReconfigurationSatisfiable_Dec.__bases__)
                bases.insert(0, ns0.ReconfigurationSatisfiableRequestType_Def)
                ns0.ReconfigurationSatisfiable_Dec.__bases__ = tuple(bases)

            ns0.ReconfigurationSatisfiableRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigurationSatisfiable_Dec_Holder"

    class ReconfigurationSatisfiableResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigurationSatisfiableResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigurationSatisfiableResponse_Dec.schema
            TClist = [GTD("urn:vim25","VsanPolicySatisfiability",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReconfigurationSatisfiableResponse")
            kw["aname"] = "_ReconfigurationSatisfiableResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ReconfigurationSatisfiableResponse_Holder"
            self.pyclass = Holder

    class CanProvisionObjects_Dec(ElementDeclaration):
        literal = "CanProvisionObjects"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CanProvisionObjects")
            kw["aname"] = "_CanProvisionObjects"
            if ns0.CanProvisionObjectsRequestType_Def not in ns0.CanProvisionObjects_Dec.__bases__:
                bases = list(ns0.CanProvisionObjects_Dec.__bases__)
                bases.insert(0, ns0.CanProvisionObjectsRequestType_Def)
                ns0.CanProvisionObjects_Dec.__bases__ = tuple(bases)

            ns0.CanProvisionObjectsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CanProvisionObjects_Dec_Holder"

    class CanProvisionObjectsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CanProvisionObjectsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CanProvisionObjectsResponse_Dec.schema
            TClist = [GTD("urn:vim25","VsanPolicySatisfiability",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CanProvisionObjectsResponse")
            kw["aname"] = "_CanProvisionObjectsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "CanProvisionObjectsResponse_Holder"
            self.pyclass = Holder

    class DeleteVsanObjects_Dec(ElementDeclaration):
        literal = "DeleteVsanObjects"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteVsanObjects")
            kw["aname"] = "_DeleteVsanObjects"
            if ns0.DeleteVsanObjectsRequestType_Def not in ns0.DeleteVsanObjects_Dec.__bases__:
                bases = list(ns0.DeleteVsanObjects_Dec.__bases__)
                bases.insert(0, ns0.DeleteVsanObjectsRequestType_Def)
                ns0.DeleteVsanObjects_Dec.__bases__ = tuple(bases)

            ns0.DeleteVsanObjectsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteVsanObjects_Dec_Holder"

    class DeleteVsanObjectsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteVsanObjectsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteVsanObjectsResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostVsanInternalSystemDeleteVsanObjectsResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DeleteVsanObjectsResponse")
            kw["aname"] = "_DeleteVsanObjectsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "DeleteVsanObjectsResponse_Holder"
            self.pyclass = Holder

    class UpgradeVsanObjects_Dec(ElementDeclaration):
        literal = "UpgradeVsanObjects"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpgradeVsanObjects")
            kw["aname"] = "_UpgradeVsanObjects"
            if ns0.UpgradeVsanObjectsRequestType_Def not in ns0.UpgradeVsanObjects_Dec.__bases__:
                bases = list(ns0.UpgradeVsanObjects_Dec.__bases__)
                bases.insert(0, ns0.UpgradeVsanObjectsRequestType_Def)
                ns0.UpgradeVsanObjects_Dec.__bases__ = tuple(bases)

            ns0.UpgradeVsanObjectsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpgradeVsanObjects_Dec_Holder"

    class UpgradeVsanObjectsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpgradeVsanObjectsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpgradeVsanObjectsResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostVsanInternalSystemVsanObjectOperationResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpgradeVsanObjectsResponse")
            kw["aname"] = "_UpgradeVsanObjectsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "UpgradeVsanObjectsResponse_Holder"
            self.pyclass = Holder

    class QueryVsanObjectUuidsByFilter_Dec(ElementDeclaration):
        literal = "QueryVsanObjectUuidsByFilter"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryVsanObjectUuidsByFilter")
            kw["aname"] = "_QueryVsanObjectUuidsByFilter"
            if ns0.QueryVsanObjectUuidsByFilterRequestType_Def not in ns0.QueryVsanObjectUuidsByFilter_Dec.__bases__:
                bases = list(ns0.QueryVsanObjectUuidsByFilter_Dec.__bases__)
                bases.insert(0, ns0.QueryVsanObjectUuidsByFilterRequestType_Def)
                ns0.QueryVsanObjectUuidsByFilter_Dec.__bases__ = tuple(bases)

            ns0.QueryVsanObjectUuidsByFilterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryVsanObjectUuidsByFilter_Dec_Holder"

    class QueryVsanObjectUuidsByFilterResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryVsanObjectUuidsByFilterResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryVsanObjectUuidsByFilterResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryVsanObjectUuidsByFilterResponse")
            kw["aname"] = "_QueryVsanObjectUuidsByFilterResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryVsanObjectUuidsByFilterResponse_Holder"
            self.pyclass = Holder

    class QueryDisksForVsan_Dec(ElementDeclaration):
        literal = "QueryDisksForVsan"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryDisksForVsan")
            kw["aname"] = "_QueryDisksForVsan"
            if ns0.QueryDisksForVsanRequestType_Def not in ns0.QueryDisksForVsan_Dec.__bases__:
                bases = list(ns0.QueryDisksForVsan_Dec.__bases__)
                bases.insert(0, ns0.QueryDisksForVsanRequestType_Def)
                ns0.QueryDisksForVsan_Dec.__bases__ = tuple(bases)

            ns0.QueryDisksForVsanRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryDisksForVsan_Dec_Holder"

    class QueryDisksForVsanResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryDisksForVsanResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryDisksForVsanResponse_Dec.schema
            TClist = [GTD("urn:vim25","VsanHostDiskResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryDisksForVsanResponse")
            kw["aname"] = "_QueryDisksForVsanResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryDisksForVsanResponse_Holder"
            self.pyclass = Holder

    class AddDisks_Task_Dec(ElementDeclaration):
        literal = "AddDisks_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddDisks_Task")
            kw["aname"] = "_AddDisks_Task"
            if ns0.AddDisksRequestType_Def not in ns0.AddDisks_Task_Dec.__bases__:
                bases = list(ns0.AddDisks_Task_Dec.__bases__)
                bases.insert(0, ns0.AddDisksRequestType_Def)
                ns0.AddDisks_Task_Dec.__bases__ = tuple(bases)

            ns0.AddDisksRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddDisks_Task_Dec_Holder"

    class AddDisks_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddDisks_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddDisks_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AddDisks_TaskResponse")
            kw["aname"] = "_AddDisks_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AddDisks_TaskResponse_Holder"
            self.pyclass = Holder

    class InitializeDisks_Task_Dec(ElementDeclaration):
        literal = "InitializeDisks_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InitializeDisks_Task")
            kw["aname"] = "_InitializeDisks_Task"
            if ns0.InitializeDisksRequestType_Def not in ns0.InitializeDisks_Task_Dec.__bases__:
                bases = list(ns0.InitializeDisks_Task_Dec.__bases__)
                bases.insert(0, ns0.InitializeDisksRequestType_Def)
                ns0.InitializeDisks_Task_Dec.__bases__ = tuple(bases)

            ns0.InitializeDisksRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InitializeDisks_Task_Dec_Holder"

    class InitializeDisks_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "InitializeDisks_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.InitializeDisks_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","InitializeDisks_TaskResponse")
            kw["aname"] = "_InitializeDisks_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "InitializeDisks_TaskResponse_Holder"
            self.pyclass = Holder

    class RemoveDisk_Task_Dec(ElementDeclaration):
        literal = "RemoveDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveDisk_Task")
            kw["aname"] = "_RemoveDisk_Task"
            if ns0.RemoveDiskRequestType_Def not in ns0.RemoveDisk_Task_Dec.__bases__:
                bases = list(ns0.RemoveDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.RemoveDiskRequestType_Def)
                ns0.RemoveDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.RemoveDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveDisk_Task_Dec_Holder"

    class RemoveDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RemoveDisk_TaskResponse")
            kw["aname"] = "_RemoveDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RemoveDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class RemoveDiskMapping_Task_Dec(ElementDeclaration):
        literal = "RemoveDiskMapping_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveDiskMapping_Task")
            kw["aname"] = "_RemoveDiskMapping_Task"
            if ns0.RemoveDiskMappingRequestType_Def not in ns0.RemoveDiskMapping_Task_Dec.__bases__:
                bases = list(ns0.RemoveDiskMapping_Task_Dec.__bases__)
                bases.insert(0, ns0.RemoveDiskMappingRequestType_Def)
                ns0.RemoveDiskMapping_Task_Dec.__bases__ = tuple(bases)

            ns0.RemoveDiskMappingRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveDiskMapping_Task_Dec_Holder"

    class RemoveDiskMapping_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveDiskMapping_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveDiskMapping_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RemoveDiskMapping_TaskResponse")
            kw["aname"] = "_RemoveDiskMapping_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RemoveDiskMapping_TaskResponse_Holder"
            self.pyclass = Holder

    class UnmountDiskMapping_Task_Dec(ElementDeclaration):
        literal = "UnmountDiskMapping_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnmountDiskMapping_Task")
            kw["aname"] = "_UnmountDiskMapping_Task"
            if ns0.UnmountDiskMappingRequestType_Def not in ns0.UnmountDiskMapping_Task_Dec.__bases__:
                bases = list(ns0.UnmountDiskMapping_Task_Dec.__bases__)
                bases.insert(0, ns0.UnmountDiskMappingRequestType_Def)
                ns0.UnmountDiskMapping_Task_Dec.__bases__ = tuple(bases)

            ns0.UnmountDiskMappingRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnmountDiskMapping_Task_Dec_Holder"

    class UnmountDiskMapping_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UnmountDiskMapping_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UnmountDiskMapping_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UnmountDiskMapping_TaskResponse")
            kw["aname"] = "_UnmountDiskMapping_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UnmountDiskMapping_TaskResponse_Holder"
            self.pyclass = Holder

    class UpdateVsan_Task_Dec(ElementDeclaration):
        literal = "UpdateVsan_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateVsan_Task")
            kw["aname"] = "_UpdateVsan_Task"
            if ns0.UpdateVsanRequestType_Def not in ns0.UpdateVsan_Task_Dec.__bases__:
                bases = list(ns0.UpdateVsan_Task_Dec.__bases__)
                bases.insert(0, ns0.UpdateVsanRequestType_Def)
                ns0.UpdateVsan_Task_Dec.__bases__ = tuple(bases)

            ns0.UpdateVsanRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateVsan_Task_Dec_Holder"

    class UpdateVsan_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateVsan_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateVsan_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpdateVsan_TaskResponse")
            kw["aname"] = "_UpdateVsan_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpdateVsan_TaskResponse_Holder"
            self.pyclass = Holder

    class QueryHostStatus_Dec(ElementDeclaration):
        literal = "QueryHostStatus"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryHostStatus")
            kw["aname"] = "_QueryHostStatus"
            if ns0.QueryHostStatusRequestType_Def not in ns0.QueryHostStatus_Dec.__bases__:
                bases = list(ns0.QueryHostStatus_Dec.__bases__)
                bases.insert(0, ns0.QueryHostStatusRequestType_Def)
                ns0.QueryHostStatus_Dec.__bases__ = tuple(bases)

            ns0.QueryHostStatusRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryHostStatus_Dec_Holder"

    class QueryHostStatusResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryHostStatusResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryHostStatusResponse_Dec.schema
            TClist = [GTD("urn:vim25","VsanHostClusterStatus",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryHostStatusResponse")
            kw["aname"] = "_QueryHostStatusResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryHostStatusResponse_Holder"
            self.pyclass = Holder

    class EvacuateVsanNode_Task_Dec(ElementDeclaration):
        literal = "EvacuateVsanNode_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","EvacuateVsanNode_Task")
            kw["aname"] = "_EvacuateVsanNode_Task"
            if ns0.EvacuateVsanNodeRequestType_Def not in ns0.EvacuateVsanNode_Task_Dec.__bases__:
                bases = list(ns0.EvacuateVsanNode_Task_Dec.__bases__)
                bases.insert(0, ns0.EvacuateVsanNodeRequestType_Def)
                ns0.EvacuateVsanNode_Task_Dec.__bases__ = tuple(bases)

            ns0.EvacuateVsanNodeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "EvacuateVsanNode_Task_Dec_Holder"

    class EvacuateVsanNode_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "EvacuateVsanNode_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.EvacuateVsanNode_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","EvacuateVsanNode_TaskResponse")
            kw["aname"] = "_EvacuateVsanNode_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "EvacuateVsanNode_TaskResponse_Holder"
            self.pyclass = Holder

    class RecommissionVsanNode_Task_Dec(ElementDeclaration):
        literal = "RecommissionVsanNode_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RecommissionVsanNode_Task")
            kw["aname"] = "_RecommissionVsanNode_Task"
            if ns0.RecommissionVsanNodeRequestType_Def not in ns0.RecommissionVsanNode_Task_Dec.__bases__:
                bases = list(ns0.RecommissionVsanNode_Task_Dec.__bases__)
                bases.insert(0, ns0.RecommissionVsanNodeRequestType_Def)
                ns0.RecommissionVsanNode_Task_Dec.__bases__ = tuple(bases)

            ns0.RecommissionVsanNodeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RecommissionVsanNode_Task_Dec_Holder"

    class RecommissionVsanNode_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RecommissionVsanNode_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RecommissionVsanNode_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RecommissionVsanNode_TaskResponse")
            kw["aname"] = "_RecommissionVsanNode_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RecommissionVsanNode_TaskResponse_Holder"
            self.pyclass = Holder

    class QueryOptions_Dec(ElementDeclaration):
        literal = "QueryOptions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryOptions")
            kw["aname"] = "_QueryOptions"
            if ns0.QueryOptionsRequestType_Def not in ns0.QueryOptions_Dec.__bases__:
                bases = list(ns0.QueryOptions_Dec.__bases__)
                bases.insert(0, ns0.QueryOptionsRequestType_Def)
                ns0.QueryOptions_Dec.__bases__ = tuple(bases)

            ns0.QueryOptionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryOptions_Dec_Holder"

    class QueryOptionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryOptionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryOptionsResponse_Dec.schema
            TClist = [GTD("urn:vim25","OptionValue",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryOptionsResponse")
            kw["aname"] = "_QueryOptionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryOptionsResponse_Holder"
            self.pyclass = Holder

    class UpdateOptions_Dec(ElementDeclaration):
        literal = "UpdateOptions"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateOptions")
            kw["aname"] = "_UpdateOptions"
            if ns0.UpdateOptionsRequestType_Def not in ns0.UpdateOptions_Dec.__bases__:
                bases = list(ns0.UpdateOptions_Dec.__bases__)
                bases.insert(0, ns0.UpdateOptionsRequestType_Def)
                ns0.UpdateOptions_Dec.__bases__ = tuple(bases)

            ns0.UpdateOptionsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateOptions_Dec_Holder"

    class UpdateOptionsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateOptionsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateOptionsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateOptionsResponse")
            kw["aname"] = "_UpdateOptionsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateOptionsResponse_Holder"
            self.pyclass = Holder

    class CheckCompliance_Task_Dec(ElementDeclaration):
        literal = "CheckCompliance_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckCompliance_Task")
            kw["aname"] = "_CheckCompliance_Task"
            if ns0.CheckComplianceRequestType_Def not in ns0.CheckCompliance_Task_Dec.__bases__:
                bases = list(ns0.CheckCompliance_Task_Dec.__bases__)
                bases.insert(0, ns0.CheckComplianceRequestType_Def)
                ns0.CheckCompliance_Task_Dec.__bases__ = tuple(bases)

            ns0.CheckComplianceRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckCompliance_Task_Dec_Holder"

    class CheckCompliance_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckCompliance_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckCompliance_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckCompliance_TaskResponse")
            kw["aname"] = "_CheckCompliance_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckCompliance_TaskResponse_Holder"
            self.pyclass = Holder

    class QueryComplianceStatus_Dec(ElementDeclaration):
        literal = "QueryComplianceStatus"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryComplianceStatus")
            kw["aname"] = "_QueryComplianceStatus"
            if ns0.QueryComplianceStatusRequestType_Def not in ns0.QueryComplianceStatus_Dec.__bases__:
                bases = list(ns0.QueryComplianceStatus_Dec.__bases__)
                bases.insert(0, ns0.QueryComplianceStatusRequestType_Def)
                ns0.QueryComplianceStatus_Dec.__bases__ = tuple(bases)

            ns0.QueryComplianceStatusRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryComplianceStatus_Dec_Holder"

    class QueryComplianceStatusResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryComplianceStatusResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryComplianceStatusResponse_Dec.schema
            TClist = [GTD("urn:vim25","ComplianceResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryComplianceStatusResponse")
            kw["aname"] = "_QueryComplianceStatusResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryComplianceStatusResponse_Holder"
            self.pyclass = Holder

    class ClearComplianceStatus_Dec(ElementDeclaration):
        literal = "ClearComplianceStatus"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ClearComplianceStatus")
            kw["aname"] = "_ClearComplianceStatus"
            if ns0.ClearComplianceStatusRequestType_Def not in ns0.ClearComplianceStatus_Dec.__bases__:
                bases = list(ns0.ClearComplianceStatus_Dec.__bases__)
                bases.insert(0, ns0.ClearComplianceStatusRequestType_Def)
                ns0.ClearComplianceStatus_Dec.__bases__ = tuple(bases)

            ns0.ClearComplianceStatusRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ClearComplianceStatus_Dec_Holder"

    class ClearComplianceStatusResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ClearComplianceStatusResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ClearComplianceStatusResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ClearComplianceStatusResponse")
            kw["aname"] = "_ClearComplianceStatusResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ClearComplianceStatusResponse_Holder"
            self.pyclass = Holder

    class QueryExpressionMetadata_Dec(ElementDeclaration):
        literal = "QueryExpressionMetadata"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryExpressionMetadata")
            kw["aname"] = "_QueryExpressionMetadata"
            if ns0.QueryExpressionMetadataRequestType_Def not in ns0.QueryExpressionMetadata_Dec.__bases__:
                bases = list(ns0.QueryExpressionMetadata_Dec.__bases__)
                bases.insert(0, ns0.QueryExpressionMetadataRequestType_Def)
                ns0.QueryExpressionMetadata_Dec.__bases__ = tuple(bases)

            ns0.QueryExpressionMetadataRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryExpressionMetadata_Dec_Holder"

    class QueryExpressionMetadataResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryExpressionMetadataResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryExpressionMetadataResponse_Dec.schema
            TClist = [GTD("urn:vim25","ProfileExpressionMetadata",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryExpressionMetadataResponse")
            kw["aname"] = "_QueryExpressionMetadataResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryExpressionMetadataResponse_Holder"
            self.pyclass = Holder

    class RetrieveDescription_Dec(ElementDeclaration):
        literal = "RetrieveDescription"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveDescription")
            kw["aname"] = "_RetrieveDescription"
            if ns0.RetrieveDescriptionRequestType_Def not in ns0.RetrieveDescription_Dec.__bases__:
                bases = list(ns0.RetrieveDescription_Dec.__bases__)
                bases.insert(0, ns0.RetrieveDescriptionRequestType_Def)
                ns0.RetrieveDescription_Dec.__bases__ = tuple(bases)

            ns0.RetrieveDescriptionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveDescription_Dec_Holder"

    class RetrieveDescriptionResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveDescriptionResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveDescriptionResponse_Dec.schema
            TClist = [GTD("urn:vim25","ProfileDescription",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveDescriptionResponse")
            kw["aname"] = "_RetrieveDescriptionResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveDescriptionResponse_Holder"
            self.pyclass = Holder

    class DestroyProfile_Dec(ElementDeclaration):
        literal = "DestroyProfile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DestroyProfile")
            kw["aname"] = "_DestroyProfile"
            if ns0.DestroyProfileRequestType_Def not in ns0.DestroyProfile_Dec.__bases__:
                bases = list(ns0.DestroyProfile_Dec.__bases__)
                bases.insert(0, ns0.DestroyProfileRequestType_Def)
                ns0.DestroyProfile_Dec.__bases__ = tuple(bases)

            ns0.DestroyProfileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DestroyProfile_Dec_Holder"

    class DestroyProfileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DestroyProfileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DestroyProfileResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DestroyProfileResponse")
            kw["aname"] = "_DestroyProfileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DestroyProfileResponse_Holder"
            self.pyclass = Holder

    class AssociateProfile_Dec(ElementDeclaration):
        literal = "AssociateProfile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AssociateProfile")
            kw["aname"] = "_AssociateProfile"
            if ns0.AssociateProfileRequestType_Def not in ns0.AssociateProfile_Dec.__bases__:
                bases = list(ns0.AssociateProfile_Dec.__bases__)
                bases.insert(0, ns0.AssociateProfileRequestType_Def)
                ns0.AssociateProfile_Dec.__bases__ = tuple(bases)

            ns0.AssociateProfileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AssociateProfile_Dec_Holder"

    class AssociateProfileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AssociateProfileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AssociateProfileResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AssociateProfileResponse")
            kw["aname"] = "_AssociateProfileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AssociateProfileResponse_Holder"
            self.pyclass = Holder

    class DissociateProfile_Dec(ElementDeclaration):
        literal = "DissociateProfile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DissociateProfile")
            kw["aname"] = "_DissociateProfile"
            if ns0.DissociateProfileRequestType_Def not in ns0.DissociateProfile_Dec.__bases__:
                bases = list(ns0.DissociateProfile_Dec.__bases__)
                bases.insert(0, ns0.DissociateProfileRequestType_Def)
                ns0.DissociateProfile_Dec.__bases__ = tuple(bases)

            ns0.DissociateProfileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DissociateProfile_Dec_Holder"

    class DissociateProfileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DissociateProfileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DissociateProfileResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DissociateProfileResponse")
            kw["aname"] = "_DissociateProfileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DissociateProfileResponse_Holder"
            self.pyclass = Holder

    class CheckProfileCompliance_Task_Dec(ElementDeclaration):
        literal = "CheckProfileCompliance_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckProfileCompliance_Task")
            kw["aname"] = "_CheckProfileCompliance_Task"
            if ns0.CheckProfileComplianceRequestType_Def not in ns0.CheckProfileCompliance_Task_Dec.__bases__:
                bases = list(ns0.CheckProfileCompliance_Task_Dec.__bases__)
                bases.insert(0, ns0.CheckProfileComplianceRequestType_Def)
                ns0.CheckProfileCompliance_Task_Dec.__bases__ = tuple(bases)

            ns0.CheckProfileComplianceRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckProfileCompliance_Task_Dec_Holder"

    class CheckProfileCompliance_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckProfileCompliance_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckProfileCompliance_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckProfileCompliance_TaskResponse")
            kw["aname"] = "_CheckProfileCompliance_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckProfileCompliance_TaskResponse_Holder"
            self.pyclass = Holder

    class ExportProfile_Dec(ElementDeclaration):
        literal = "ExportProfile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExportProfile")
            kw["aname"] = "_ExportProfile"
            if ns0.ExportProfileRequestType_Def not in ns0.ExportProfile_Dec.__bases__:
                bases = list(ns0.ExportProfile_Dec.__bases__)
                bases.insert(0, ns0.ExportProfileRequestType_Def)
                ns0.ExportProfile_Dec.__bases__ = tuple(bases)

            ns0.ExportProfileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExportProfile_Dec_Holder"

    class ExportProfileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExportProfileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExportProfileResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ExportProfileResponse")
            kw["aname"] = "_ExportProfileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ExportProfileResponse_Holder"
            self.pyclass = Holder

    class CreateProfile_Dec(ElementDeclaration):
        literal = "CreateProfile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateProfile")
            kw["aname"] = "_CreateProfile"
            if ns0.CreateProfileRequestType_Def not in ns0.CreateProfile_Dec.__bases__:
                bases = list(ns0.CreateProfile_Dec.__bases__)
                bases.insert(0, ns0.CreateProfileRequestType_Def)
                ns0.CreateProfile_Dec.__bases__ = tuple(bases)

            ns0.CreateProfileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateProfile_Dec_Holder"

    class CreateProfileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateProfileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateProfileResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateProfileResponse")
            kw["aname"] = "_CreateProfileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateProfileResponse_Holder"
            self.pyclass = Holder

    class QueryPolicyMetadata_Dec(ElementDeclaration):
        literal = "QueryPolicyMetadata"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryPolicyMetadata")
            kw["aname"] = "_QueryPolicyMetadata"
            if ns0.QueryPolicyMetadataRequestType_Def not in ns0.QueryPolicyMetadata_Dec.__bases__:
                bases = list(ns0.QueryPolicyMetadata_Dec.__bases__)
                bases.insert(0, ns0.QueryPolicyMetadataRequestType_Def)
                ns0.QueryPolicyMetadata_Dec.__bases__ = tuple(bases)

            ns0.QueryPolicyMetadataRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryPolicyMetadata_Dec_Holder"

    class QueryPolicyMetadataResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryPolicyMetadataResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryPolicyMetadataResponse_Dec.schema
            TClist = [GTD("urn:vim25","ProfilePolicyMetadata",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryPolicyMetadataResponse")
            kw["aname"] = "_QueryPolicyMetadataResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryPolicyMetadataResponse_Holder"
            self.pyclass = Holder

    class FindAssociatedProfile_Dec(ElementDeclaration):
        literal = "FindAssociatedProfile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","FindAssociatedProfile")
            kw["aname"] = "_FindAssociatedProfile"
            if ns0.FindAssociatedProfileRequestType_Def not in ns0.FindAssociatedProfile_Dec.__bases__:
                bases = list(ns0.FindAssociatedProfile_Dec.__bases__)
                bases.insert(0, ns0.FindAssociatedProfileRequestType_Def)
                ns0.FindAssociatedProfile_Dec.__bases__ = tuple(bases)

            ns0.FindAssociatedProfileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "FindAssociatedProfile_Dec_Holder"

    class FindAssociatedProfileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "FindAssociatedProfileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.FindAssociatedProfileResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","FindAssociatedProfileResponse")
            kw["aname"] = "_FindAssociatedProfileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "FindAssociatedProfileResponse_Holder"
            self.pyclass = Holder

    class UpdateClusterProfile_Dec(ElementDeclaration):
        literal = "UpdateClusterProfile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateClusterProfile")
            kw["aname"] = "_UpdateClusterProfile"
            if ns0.UpdateClusterProfileRequestType_Def not in ns0.UpdateClusterProfile_Dec.__bases__:
                bases = list(ns0.UpdateClusterProfile_Dec.__bases__)
                bases.insert(0, ns0.UpdateClusterProfileRequestType_Def)
                ns0.UpdateClusterProfile_Dec.__bases__ = tuple(bases)

            ns0.UpdateClusterProfileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateClusterProfile_Dec_Holder"

    class UpdateClusterProfileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateClusterProfileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateClusterProfileResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateClusterProfileResponse")
            kw["aname"] = "_UpdateClusterProfileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateClusterProfileResponse_Holder"
            self.pyclass = Holder

    class HostProfileResetValidationState_Dec(ElementDeclaration):
        literal = "HostProfileResetValidationState"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostProfileResetValidationState")
            kw["aname"] = "_HostProfileResetValidationState"
            if ns0.HostProfileResetValidationStateRequestType_Def not in ns0.HostProfileResetValidationState_Dec.__bases__:
                bases = list(ns0.HostProfileResetValidationState_Dec.__bases__)
                bases.insert(0, ns0.HostProfileResetValidationStateRequestType_Def)
                ns0.HostProfileResetValidationState_Dec.__bases__ = tuple(bases)

            ns0.HostProfileResetValidationStateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostProfileResetValidationState_Dec_Holder"

    class HostProfileResetValidationStateResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostProfileResetValidationStateResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostProfileResetValidationStateResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","HostProfileResetValidationStateResponse")
            kw["aname"] = "_HostProfileResetValidationStateResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "HostProfileResetValidationStateResponse_Holder"
            self.pyclass = Holder

    class UpdateReferenceHost_Dec(ElementDeclaration):
        literal = "UpdateReferenceHost"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateReferenceHost")
            kw["aname"] = "_UpdateReferenceHost"
            if ns0.UpdateReferenceHostRequestType_Def not in ns0.UpdateReferenceHost_Dec.__bases__:
                bases = list(ns0.UpdateReferenceHost_Dec.__bases__)
                bases.insert(0, ns0.UpdateReferenceHostRequestType_Def)
                ns0.UpdateReferenceHost_Dec.__bases__ = tuple(bases)

            ns0.UpdateReferenceHostRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateReferenceHost_Dec_Holder"

    class UpdateReferenceHostResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateReferenceHostResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateReferenceHostResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateReferenceHostResponse")
            kw["aname"] = "_UpdateReferenceHostResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateReferenceHostResponse_Holder"
            self.pyclass = Holder

    class UpdateHostProfile_Dec(ElementDeclaration):
        literal = "UpdateHostProfile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateHostProfile")
            kw["aname"] = "_UpdateHostProfile"
            if ns0.UpdateHostProfileRequestType_Def not in ns0.UpdateHostProfile_Dec.__bases__:
                bases = list(ns0.UpdateHostProfile_Dec.__bases__)
                bases.insert(0, ns0.UpdateHostProfileRequestType_Def)
                ns0.UpdateHostProfile_Dec.__bases__ = tuple(bases)

            ns0.UpdateHostProfileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateHostProfile_Dec_Holder"

    class UpdateHostProfileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateHostProfileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateHostProfileResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateHostProfileResponse")
            kw["aname"] = "_UpdateHostProfileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateHostProfileResponse_Holder"
            self.pyclass = Holder

    class ExecuteHostProfile_Dec(ElementDeclaration):
        literal = "ExecuteHostProfile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExecuteHostProfile")
            kw["aname"] = "_ExecuteHostProfile"
            if ns0.ExecuteHostProfileRequestType_Def not in ns0.ExecuteHostProfile_Dec.__bases__:
                bases = list(ns0.ExecuteHostProfile_Dec.__bases__)
                bases.insert(0, ns0.ExecuteHostProfileRequestType_Def)
                ns0.ExecuteHostProfile_Dec.__bases__ = tuple(bases)

            ns0.ExecuteHostProfileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExecuteHostProfile_Dec_Holder"

    class ExecuteHostProfileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExecuteHostProfileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExecuteHostProfileResponse_Dec.schema
            TClist = [GTD("urn:vim25","ProfileExecuteResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ExecuteHostProfileResponse")
            kw["aname"] = "_ExecuteHostProfileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ExecuteHostProfileResponse_Holder"
            self.pyclass = Holder

    class UpdateHostSpecification_Dec(ElementDeclaration):
        literal = "UpdateHostSpecification"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateHostSpecification")
            kw["aname"] = "_UpdateHostSpecification"
            if ns0.UpdateHostSpecificationRequestType_Def not in ns0.UpdateHostSpecification_Dec.__bases__:
                bases = list(ns0.UpdateHostSpecification_Dec.__bases__)
                bases.insert(0, ns0.UpdateHostSpecificationRequestType_Def)
                ns0.UpdateHostSpecification_Dec.__bases__ = tuple(bases)

            ns0.UpdateHostSpecificationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateHostSpecification_Dec_Holder"

    class UpdateHostSpecificationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateHostSpecificationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateHostSpecificationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateHostSpecificationResponse")
            kw["aname"] = "_UpdateHostSpecificationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateHostSpecificationResponse_Holder"
            self.pyclass = Holder

    class UpdateHostSubSpecification_Dec(ElementDeclaration):
        literal = "UpdateHostSubSpecification"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateHostSubSpecification")
            kw["aname"] = "_UpdateHostSubSpecification"
            if ns0.UpdateHostSubSpecificationRequestType_Def not in ns0.UpdateHostSubSpecification_Dec.__bases__:
                bases = list(ns0.UpdateHostSubSpecification_Dec.__bases__)
                bases.insert(0, ns0.UpdateHostSubSpecificationRequestType_Def)
                ns0.UpdateHostSubSpecification_Dec.__bases__ = tuple(bases)

            ns0.UpdateHostSubSpecificationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateHostSubSpecification_Dec_Holder"

    class UpdateHostSubSpecificationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateHostSubSpecificationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateHostSubSpecificationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","UpdateHostSubSpecificationResponse")
            kw["aname"] = "_UpdateHostSubSpecificationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "UpdateHostSubSpecificationResponse_Holder"
            self.pyclass = Holder

    class RetrieveHostSpecification_Dec(ElementDeclaration):
        literal = "RetrieveHostSpecification"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveHostSpecification")
            kw["aname"] = "_RetrieveHostSpecification"
            if ns0.RetrieveHostSpecificationRequestType_Def not in ns0.RetrieveHostSpecification_Dec.__bases__:
                bases = list(ns0.RetrieveHostSpecification_Dec.__bases__)
                bases.insert(0, ns0.RetrieveHostSpecificationRequestType_Def)
                ns0.RetrieveHostSpecification_Dec.__bases__ = tuple(bases)

            ns0.RetrieveHostSpecificationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveHostSpecification_Dec_Holder"

    class RetrieveHostSpecificationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveHostSpecificationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveHostSpecificationResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostSpecification",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveHostSpecificationResponse")
            kw["aname"] = "_RetrieveHostSpecificationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveHostSpecificationResponse_Holder"
            self.pyclass = Holder

    class DeleteHostSubSpecification_Dec(ElementDeclaration):
        literal = "DeleteHostSubSpecification"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteHostSubSpecification")
            kw["aname"] = "_DeleteHostSubSpecification"
            if ns0.DeleteHostSubSpecificationRequestType_Def not in ns0.DeleteHostSubSpecification_Dec.__bases__:
                bases = list(ns0.DeleteHostSubSpecification_Dec.__bases__)
                bases.insert(0, ns0.DeleteHostSubSpecificationRequestType_Def)
                ns0.DeleteHostSubSpecification_Dec.__bases__ = tuple(bases)

            ns0.DeleteHostSubSpecificationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteHostSubSpecification_Dec_Holder"

    class DeleteHostSubSpecificationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteHostSubSpecificationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteHostSubSpecificationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DeleteHostSubSpecificationResponse")
            kw["aname"] = "_DeleteHostSubSpecificationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DeleteHostSubSpecificationResponse_Holder"
            self.pyclass = Holder

    class DeleteHostSpecification_Dec(ElementDeclaration):
        literal = "DeleteHostSpecification"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteHostSpecification")
            kw["aname"] = "_DeleteHostSpecification"
            if ns0.DeleteHostSpecificationRequestType_Def not in ns0.DeleteHostSpecification_Dec.__bases__:
                bases = list(ns0.DeleteHostSpecification_Dec.__bases__)
                bases.insert(0, ns0.DeleteHostSpecificationRequestType_Def)
                ns0.DeleteHostSpecification_Dec.__bases__ = tuple(bases)

            ns0.DeleteHostSpecificationRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteHostSpecification_Dec_Holder"

    class DeleteHostSpecificationResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteHostSpecificationResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteHostSpecificationResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DeleteHostSpecificationResponse")
            kw["aname"] = "_DeleteHostSpecificationResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DeleteHostSpecificationResponse_Holder"
            self.pyclass = Holder

    class HostSpecGetUpdatedHosts_Dec(ElementDeclaration):
        literal = "HostSpecGetUpdatedHosts"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostSpecGetUpdatedHosts")
            kw["aname"] = "_HostSpecGetUpdatedHosts"
            if ns0.HostSpecGetUpdatedHostsRequestType_Def not in ns0.HostSpecGetUpdatedHosts_Dec.__bases__:
                bases = list(ns0.HostSpecGetUpdatedHosts_Dec.__bases__)
                bases.insert(0, ns0.HostSpecGetUpdatedHostsRequestType_Def)
                ns0.HostSpecGetUpdatedHosts_Dec.__bases__ = tuple(bases)

            ns0.HostSpecGetUpdatedHostsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostSpecGetUpdatedHosts_Dec_Holder"

    class HostSpecGetUpdatedHostsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostSpecGetUpdatedHostsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostSpecGetUpdatedHostsResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostSpecGetUpdatedHostsResponse")
            kw["aname"] = "_HostSpecGetUpdatedHostsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "HostSpecGetUpdatedHostsResponse_Holder"
            self.pyclass = Holder

    class ApplyHostConfig_Task_Dec(ElementDeclaration):
        literal = "ApplyHostConfig_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ApplyHostConfig_Task")
            kw["aname"] = "_ApplyHostConfig_Task"
            if ns0.ApplyHostConfigRequestType_Def not in ns0.ApplyHostConfig_Task_Dec.__bases__:
                bases = list(ns0.ApplyHostConfig_Task_Dec.__bases__)
                bases.insert(0, ns0.ApplyHostConfigRequestType_Def)
                ns0.ApplyHostConfig_Task_Dec.__bases__ = tuple(bases)

            ns0.ApplyHostConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ApplyHostConfig_Task_Dec_Holder"

    class ApplyHostConfig_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ApplyHostConfig_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ApplyHostConfig_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ApplyHostConfig_TaskResponse")
            kw["aname"] = "_ApplyHostConfig_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ApplyHostConfig_TaskResponse_Holder"
            self.pyclass = Holder

    class GenerateConfigTaskList_Dec(ElementDeclaration):
        literal = "GenerateConfigTaskList"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GenerateConfigTaskList")
            kw["aname"] = "_GenerateConfigTaskList"
            if ns0.GenerateConfigTaskListRequestType_Def not in ns0.GenerateConfigTaskList_Dec.__bases__:
                bases = list(ns0.GenerateConfigTaskList_Dec.__bases__)
                bases.insert(0, ns0.GenerateConfigTaskListRequestType_Def)
                ns0.GenerateConfigTaskList_Dec.__bases__ = tuple(bases)

            ns0.GenerateConfigTaskListRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GenerateConfigTaskList_Dec_Holder"

    class GenerateConfigTaskListResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GenerateConfigTaskListResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GenerateConfigTaskListResponse_Dec.schema
            TClist = [GTD("urn:vim25","HostProfileManagerConfigTaskList",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GenerateConfigTaskListResponse")
            kw["aname"] = "_GenerateConfigTaskListResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "GenerateConfigTaskListResponse_Holder"
            self.pyclass = Holder

    class GenerateHostProfileTaskList_Task_Dec(ElementDeclaration):
        literal = "GenerateHostProfileTaskList_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GenerateHostProfileTaskList_Task")
            kw["aname"] = "_GenerateHostProfileTaskList_Task"
            if ns0.GenerateHostProfileTaskListRequestType_Def not in ns0.GenerateHostProfileTaskList_Task_Dec.__bases__:
                bases = list(ns0.GenerateHostProfileTaskList_Task_Dec.__bases__)
                bases.insert(0, ns0.GenerateHostProfileTaskListRequestType_Def)
                ns0.GenerateHostProfileTaskList_Task_Dec.__bases__ = tuple(bases)

            ns0.GenerateHostProfileTaskListRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GenerateHostProfileTaskList_Task_Dec_Holder"

    class GenerateHostProfileTaskList_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GenerateHostProfileTaskList_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GenerateHostProfileTaskList_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GenerateHostProfileTaskList_TaskResponse")
            kw["aname"] = "_GenerateHostProfileTaskList_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "GenerateHostProfileTaskList_TaskResponse_Holder"
            self.pyclass = Holder

    class QueryHostProfileMetadata_Dec(ElementDeclaration):
        literal = "QueryHostProfileMetadata"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryHostProfileMetadata")
            kw["aname"] = "_QueryHostProfileMetadata"
            if ns0.QueryHostProfileMetadataRequestType_Def not in ns0.QueryHostProfileMetadata_Dec.__bases__:
                bases = list(ns0.QueryHostProfileMetadata_Dec.__bases__)
                bases.insert(0, ns0.QueryHostProfileMetadataRequestType_Def)
                ns0.QueryHostProfileMetadata_Dec.__bases__ = tuple(bases)

            ns0.QueryHostProfileMetadataRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryHostProfileMetadata_Dec_Holder"

    class QueryHostProfileMetadataResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryHostProfileMetadataResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryHostProfileMetadataResponse_Dec.schema
            TClist = [GTD("urn:vim25","ProfileMetadata",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryHostProfileMetadataResponse")
            kw["aname"] = "_QueryHostProfileMetadataResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryHostProfileMetadataResponse_Holder"
            self.pyclass = Holder

    class QueryProfileStructure_Dec(ElementDeclaration):
        literal = "QueryProfileStructure"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryProfileStructure")
            kw["aname"] = "_QueryProfileStructure"
            if ns0.QueryProfileStructureRequestType_Def not in ns0.QueryProfileStructure_Dec.__bases__:
                bases = list(ns0.QueryProfileStructure_Dec.__bases__)
                bases.insert(0, ns0.QueryProfileStructureRequestType_Def)
                ns0.QueryProfileStructure_Dec.__bases__ = tuple(bases)

            ns0.QueryProfileStructureRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryProfileStructure_Dec_Holder"

    class QueryProfileStructureResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryProfileStructureResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryProfileStructureResponse_Dec.schema
            TClist = [GTD("urn:vim25","ProfileProfileStructure",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryProfileStructureResponse")
            kw["aname"] = "_QueryProfileStructureResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryProfileStructureResponse_Holder"
            self.pyclass = Holder

    class CreateDefaultProfile_Dec(ElementDeclaration):
        literal = "CreateDefaultProfile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateDefaultProfile")
            kw["aname"] = "_CreateDefaultProfile"
            if ns0.CreateDefaultProfileRequestType_Def not in ns0.CreateDefaultProfile_Dec.__bases__:
                bases = list(ns0.CreateDefaultProfile_Dec.__bases__)
                bases.insert(0, ns0.CreateDefaultProfileRequestType_Def)
                ns0.CreateDefaultProfile_Dec.__bases__ = tuple(bases)

            ns0.CreateDefaultProfileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateDefaultProfile_Dec_Holder"

    class CreateDefaultProfileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateDefaultProfileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateDefaultProfileResponse_Dec.schema
            TClist = [GTD("urn:vim25","ApplyProfile",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateDefaultProfileResponse")
            kw["aname"] = "_CreateDefaultProfileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateDefaultProfileResponse_Holder"
            self.pyclass = Holder

    class UpdateAnswerFile_Task_Dec(ElementDeclaration):
        literal = "UpdateAnswerFile_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateAnswerFile_Task")
            kw["aname"] = "_UpdateAnswerFile_Task"
            if ns0.UpdateAnswerFileRequestType_Def not in ns0.UpdateAnswerFile_Task_Dec.__bases__:
                bases = list(ns0.UpdateAnswerFile_Task_Dec.__bases__)
                bases.insert(0, ns0.UpdateAnswerFileRequestType_Def)
                ns0.UpdateAnswerFile_Task_Dec.__bases__ = tuple(bases)

            ns0.UpdateAnswerFileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateAnswerFile_Task_Dec_Holder"

    class UpdateAnswerFile_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateAnswerFile_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateAnswerFile_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpdateAnswerFile_TaskResponse")
            kw["aname"] = "_UpdateAnswerFile_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpdateAnswerFile_TaskResponse_Holder"
            self.pyclass = Holder

    class RetrieveAnswerFile_Dec(ElementDeclaration):
        literal = "RetrieveAnswerFile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveAnswerFile")
            kw["aname"] = "_RetrieveAnswerFile"
            if ns0.RetrieveAnswerFileRequestType_Def not in ns0.RetrieveAnswerFile_Dec.__bases__:
                bases = list(ns0.RetrieveAnswerFile_Dec.__bases__)
                bases.insert(0, ns0.RetrieveAnswerFileRequestType_Def)
                ns0.RetrieveAnswerFile_Dec.__bases__ = tuple(bases)

            ns0.RetrieveAnswerFileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveAnswerFile_Dec_Holder"

    class RetrieveAnswerFileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveAnswerFileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveAnswerFileResponse_Dec.schema
            TClist = [GTD("urn:vim25","AnswerFile",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveAnswerFileResponse")
            kw["aname"] = "_RetrieveAnswerFileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveAnswerFileResponse_Holder"
            self.pyclass = Holder

    class RetrieveAnswerFileForProfile_Dec(ElementDeclaration):
        literal = "RetrieveAnswerFileForProfile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveAnswerFileForProfile")
            kw["aname"] = "_RetrieveAnswerFileForProfile"
            if ns0.RetrieveAnswerFileForProfileRequestType_Def not in ns0.RetrieveAnswerFileForProfile_Dec.__bases__:
                bases = list(ns0.RetrieveAnswerFileForProfile_Dec.__bases__)
                bases.insert(0, ns0.RetrieveAnswerFileForProfileRequestType_Def)
                ns0.RetrieveAnswerFileForProfile_Dec.__bases__ = tuple(bases)

            ns0.RetrieveAnswerFileForProfileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveAnswerFileForProfile_Dec_Holder"

    class RetrieveAnswerFileForProfileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveAnswerFileForProfileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveAnswerFileForProfileResponse_Dec.schema
            TClist = [GTD("urn:vim25","AnswerFile",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveAnswerFileForProfileResponse")
            kw["aname"] = "_RetrieveAnswerFileForProfileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveAnswerFileForProfileResponse_Holder"
            self.pyclass = Holder

    class ExportAnswerFile_Task_Dec(ElementDeclaration):
        literal = "ExportAnswerFile_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExportAnswerFile_Task")
            kw["aname"] = "_ExportAnswerFile_Task"
            if ns0.ExportAnswerFileRequestType_Def not in ns0.ExportAnswerFile_Task_Dec.__bases__:
                bases = list(ns0.ExportAnswerFile_Task_Dec.__bases__)
                bases.insert(0, ns0.ExportAnswerFileRequestType_Def)
                ns0.ExportAnswerFile_Task_Dec.__bases__ = tuple(bases)

            ns0.ExportAnswerFileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExportAnswerFile_Task_Dec_Holder"

    class ExportAnswerFile_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExportAnswerFile_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExportAnswerFile_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ExportAnswerFile_TaskResponse")
            kw["aname"] = "_ExportAnswerFile_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ExportAnswerFile_TaskResponse_Holder"
            self.pyclass = Holder

    class CheckAnswerFileStatus_Task_Dec(ElementDeclaration):
        literal = "CheckAnswerFileStatus_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckAnswerFileStatus_Task")
            kw["aname"] = "_CheckAnswerFileStatus_Task"
            if ns0.CheckAnswerFileStatusRequestType_Def not in ns0.CheckAnswerFileStatus_Task_Dec.__bases__:
                bases = list(ns0.CheckAnswerFileStatus_Task_Dec.__bases__)
                bases.insert(0, ns0.CheckAnswerFileStatusRequestType_Def)
                ns0.CheckAnswerFileStatus_Task_Dec.__bases__ = tuple(bases)

            ns0.CheckAnswerFileStatusRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckAnswerFileStatus_Task_Dec_Holder"

    class CheckAnswerFileStatus_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckAnswerFileStatus_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckAnswerFileStatus_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckAnswerFileStatus_TaskResponse")
            kw["aname"] = "_CheckAnswerFileStatus_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckAnswerFileStatus_TaskResponse_Holder"
            self.pyclass = Holder

    class QueryAnswerFileStatus_Dec(ElementDeclaration):
        literal = "QueryAnswerFileStatus"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryAnswerFileStatus")
            kw["aname"] = "_QueryAnswerFileStatus"
            if ns0.QueryAnswerFileStatusRequestType_Def not in ns0.QueryAnswerFileStatus_Dec.__bases__:
                bases = list(ns0.QueryAnswerFileStatus_Dec.__bases__)
                bases.insert(0, ns0.QueryAnswerFileStatusRequestType_Def)
                ns0.QueryAnswerFileStatus_Dec.__bases__ = tuple(bases)

            ns0.QueryAnswerFileStatusRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryAnswerFileStatus_Dec_Holder"

    class QueryAnswerFileStatusResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryAnswerFileStatusResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryAnswerFileStatusResponse_Dec.schema
            TClist = [GTD("urn:vim25","AnswerFileStatusResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryAnswerFileStatusResponse")
            kw["aname"] = "_QueryAnswerFileStatusResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "QueryAnswerFileStatusResponse_Holder"
            self.pyclass = Holder

    class UpdateHostCustomizations_Task_Dec(ElementDeclaration):
        literal = "UpdateHostCustomizations_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateHostCustomizations_Task")
            kw["aname"] = "_UpdateHostCustomizations_Task"
            if ns0.UpdateHostCustomizationsRequestType_Def not in ns0.UpdateHostCustomizations_Task_Dec.__bases__:
                bases = list(ns0.UpdateHostCustomizations_Task_Dec.__bases__)
                bases.insert(0, ns0.UpdateHostCustomizationsRequestType_Def)
                ns0.UpdateHostCustomizations_Task_Dec.__bases__ = tuple(bases)

            ns0.UpdateHostCustomizationsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateHostCustomizations_Task_Dec_Holder"

    class UpdateHostCustomizations_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateHostCustomizations_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateHostCustomizations_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpdateHostCustomizations_TaskResponse")
            kw["aname"] = "_UpdateHostCustomizations_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpdateHostCustomizations_TaskResponse_Holder"
            self.pyclass = Holder

    class RetrieveHostCustomizations_Dec(ElementDeclaration):
        literal = "RetrieveHostCustomizations"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveHostCustomizations")
            kw["aname"] = "_RetrieveHostCustomizations"
            if ns0.RetrieveHostCustomizationsRequestType_Def not in ns0.RetrieveHostCustomizations_Dec.__bases__:
                bases = list(ns0.RetrieveHostCustomizations_Dec.__bases__)
                bases.insert(0, ns0.RetrieveHostCustomizationsRequestType_Def)
                ns0.RetrieveHostCustomizations_Dec.__bases__ = tuple(bases)

            ns0.RetrieveHostCustomizationsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveHostCustomizations_Dec_Holder"

    class RetrieveHostCustomizationsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveHostCustomizationsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveHostCustomizationsResponse_Dec.schema
            TClist = [GTD("urn:vim25","StructuredCustomizations",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveHostCustomizationsResponse")
            kw["aname"] = "_RetrieveHostCustomizationsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrieveHostCustomizationsResponse_Holder"
            self.pyclass = Holder

    class RetrieveHostCustomizationsForProfile_Dec(ElementDeclaration):
        literal = "RetrieveHostCustomizationsForProfile"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveHostCustomizationsForProfile")
            kw["aname"] = "_RetrieveHostCustomizationsForProfile"
            if ns0.RetrieveHostCustomizationsForProfileRequestType_Def not in ns0.RetrieveHostCustomizationsForProfile_Dec.__bases__:
                bases = list(ns0.RetrieveHostCustomizationsForProfile_Dec.__bases__)
                bases.insert(0, ns0.RetrieveHostCustomizationsForProfileRequestType_Def)
                ns0.RetrieveHostCustomizationsForProfile_Dec.__bases__ = tuple(bases)

            ns0.RetrieveHostCustomizationsForProfileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveHostCustomizationsForProfile_Dec_Holder"

    class RetrieveHostCustomizationsForProfileResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveHostCustomizationsForProfileResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveHostCustomizationsForProfileResponse_Dec.schema
            TClist = [GTD("urn:vim25","StructuredCustomizations",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveHostCustomizationsForProfileResponse")
            kw["aname"] = "_RetrieveHostCustomizationsForProfileResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrieveHostCustomizationsForProfileResponse_Holder"
            self.pyclass = Holder

    class GenerateHostConfigTaskSpec_Task_Dec(ElementDeclaration):
        literal = "GenerateHostConfigTaskSpec_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GenerateHostConfigTaskSpec_Task")
            kw["aname"] = "_GenerateHostConfigTaskSpec_Task"
            if ns0.GenerateHostConfigTaskSpecRequestType_Def not in ns0.GenerateHostConfigTaskSpec_Task_Dec.__bases__:
                bases = list(ns0.GenerateHostConfigTaskSpec_Task_Dec.__bases__)
                bases.insert(0, ns0.GenerateHostConfigTaskSpecRequestType_Def)
                ns0.GenerateHostConfigTaskSpec_Task_Dec.__bases__ = tuple(bases)

            ns0.GenerateHostConfigTaskSpecRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GenerateHostConfigTaskSpec_Task_Dec_Holder"

    class GenerateHostConfigTaskSpec_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GenerateHostConfigTaskSpec_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GenerateHostConfigTaskSpec_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GenerateHostConfigTaskSpec_TaskResponse")
            kw["aname"] = "_GenerateHostConfigTaskSpec_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "GenerateHostConfigTaskSpec_TaskResponse_Holder"
            self.pyclass = Holder

    class ApplyEntitiesConfig_Task_Dec(ElementDeclaration):
        literal = "ApplyEntitiesConfig_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ApplyEntitiesConfig_Task")
            kw["aname"] = "_ApplyEntitiesConfig_Task"
            if ns0.ApplyEntitiesConfigRequestType_Def not in ns0.ApplyEntitiesConfig_Task_Dec.__bases__:
                bases = list(ns0.ApplyEntitiesConfig_Task_Dec.__bases__)
                bases.insert(0, ns0.ApplyEntitiesConfigRequestType_Def)
                ns0.ApplyEntitiesConfig_Task_Dec.__bases__ = tuple(bases)

            ns0.ApplyEntitiesConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ApplyEntitiesConfig_Task_Dec_Holder"

    class ApplyEntitiesConfig_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ApplyEntitiesConfig_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ApplyEntitiesConfig_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ApplyEntitiesConfig_TaskResponse")
            kw["aname"] = "_ApplyEntitiesConfig_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ApplyEntitiesConfig_TaskResponse_Holder"
            self.pyclass = Holder

    class ValidateHostProfileComposition_Task_Dec(ElementDeclaration):
        literal = "ValidateHostProfileComposition_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ValidateHostProfileComposition_Task")
            kw["aname"] = "_ValidateHostProfileComposition_Task"
            if ns0.ValidateHostProfileCompositionRequestType_Def not in ns0.ValidateHostProfileComposition_Task_Dec.__bases__:
                bases = list(ns0.ValidateHostProfileComposition_Task_Dec.__bases__)
                bases.insert(0, ns0.ValidateHostProfileCompositionRequestType_Def)
                ns0.ValidateHostProfileComposition_Task_Dec.__bases__ = tuple(bases)

            ns0.ValidateHostProfileCompositionRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ValidateHostProfileComposition_Task_Dec_Holder"

    class ValidateHostProfileComposition_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ValidateHostProfileComposition_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ValidateHostProfileComposition_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ValidateHostProfileComposition_TaskResponse")
            kw["aname"] = "_ValidateHostProfileComposition_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ValidateHostProfileComposition_TaskResponse_Holder"
            self.pyclass = Holder

    class CompositeHostProfile_Task_Dec(ElementDeclaration):
        literal = "CompositeHostProfile_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CompositeHostProfile_Task")
            kw["aname"] = "_CompositeHostProfile_Task"
            if ns0.CompositeHostProfileRequestType_Def not in ns0.CompositeHostProfile_Task_Dec.__bases__:
                bases = list(ns0.CompositeHostProfile_Task_Dec.__bases__)
                bases.insert(0, ns0.CompositeHostProfileRequestType_Def)
                ns0.CompositeHostProfile_Task_Dec.__bases__ = tuple(bases)

            ns0.CompositeHostProfileRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CompositeHostProfile_Task_Dec_Holder"

    class CompositeHostProfile_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CompositeHostProfile_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CompositeHostProfile_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CompositeHostProfile_TaskResponse")
            kw["aname"] = "_CompositeHostProfile_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CompositeHostProfile_TaskResponse_Holder"
            self.pyclass = Holder

    class RemoveScheduledTask_Dec(ElementDeclaration):
        literal = "RemoveScheduledTask"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveScheduledTask")
            kw["aname"] = "_RemoveScheduledTask"
            if ns0.RemoveScheduledTaskRequestType_Def not in ns0.RemoveScheduledTask_Dec.__bases__:
                bases = list(ns0.RemoveScheduledTask_Dec.__bases__)
                bases.insert(0, ns0.RemoveScheduledTaskRequestType_Def)
                ns0.RemoveScheduledTask_Dec.__bases__ = tuple(bases)

            ns0.RemoveScheduledTaskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveScheduledTask_Dec_Holder"

    class RemoveScheduledTaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveScheduledTaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveScheduledTaskResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveScheduledTaskResponse")
            kw["aname"] = "_RemoveScheduledTaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveScheduledTaskResponse_Holder"
            self.pyclass = Holder

    class ReconfigureScheduledTask_Dec(ElementDeclaration):
        literal = "ReconfigureScheduledTask"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconfigureScheduledTask")
            kw["aname"] = "_ReconfigureScheduledTask"
            if ns0.ReconfigureScheduledTaskRequestType_Def not in ns0.ReconfigureScheduledTask_Dec.__bases__:
                bases = list(ns0.ReconfigureScheduledTask_Dec.__bases__)
                bases.insert(0, ns0.ReconfigureScheduledTaskRequestType_Def)
                ns0.ReconfigureScheduledTask_Dec.__bases__ = tuple(bases)

            ns0.ReconfigureScheduledTaskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconfigureScheduledTask_Dec_Holder"

    class ReconfigureScheduledTaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconfigureScheduledTaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconfigureScheduledTaskResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ReconfigureScheduledTaskResponse")
            kw["aname"] = "_ReconfigureScheduledTaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ReconfigureScheduledTaskResponse_Holder"
            self.pyclass = Holder

    class RunScheduledTask_Dec(ElementDeclaration):
        literal = "RunScheduledTask"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RunScheduledTask")
            kw["aname"] = "_RunScheduledTask"
            if ns0.RunScheduledTaskRequestType_Def not in ns0.RunScheduledTask_Dec.__bases__:
                bases = list(ns0.RunScheduledTask_Dec.__bases__)
                bases.insert(0, ns0.RunScheduledTaskRequestType_Def)
                ns0.RunScheduledTask_Dec.__bases__ = tuple(bases)

            ns0.RunScheduledTaskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RunScheduledTask_Dec_Holder"

    class RunScheduledTaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RunScheduledTaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RunScheduledTaskResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RunScheduledTaskResponse")
            kw["aname"] = "_RunScheduledTaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RunScheduledTaskResponse_Holder"
            self.pyclass = Holder

    class CreateScheduledTask_Dec(ElementDeclaration):
        literal = "CreateScheduledTask"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateScheduledTask")
            kw["aname"] = "_CreateScheduledTask"
            if ns0.CreateScheduledTaskRequestType_Def not in ns0.CreateScheduledTask_Dec.__bases__:
                bases = list(ns0.CreateScheduledTask_Dec.__bases__)
                bases.insert(0, ns0.CreateScheduledTaskRequestType_Def)
                ns0.CreateScheduledTask_Dec.__bases__ = tuple(bases)

            ns0.CreateScheduledTaskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateScheduledTask_Dec_Holder"

    class CreateScheduledTaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateScheduledTaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateScheduledTaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateScheduledTaskResponse")
            kw["aname"] = "_CreateScheduledTaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateScheduledTaskResponse_Holder"
            self.pyclass = Holder

    class RetrieveEntityScheduledTask_Dec(ElementDeclaration):
        literal = "RetrieveEntityScheduledTask"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveEntityScheduledTask")
            kw["aname"] = "_RetrieveEntityScheduledTask"
            if ns0.RetrieveEntityScheduledTaskRequestType_Def not in ns0.RetrieveEntityScheduledTask_Dec.__bases__:
                bases = list(ns0.RetrieveEntityScheduledTask_Dec.__bases__)
                bases.insert(0, ns0.RetrieveEntityScheduledTaskRequestType_Def)
                ns0.RetrieveEntityScheduledTask_Dec.__bases__ = tuple(bases)

            ns0.RetrieveEntityScheduledTaskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveEntityScheduledTask_Dec_Holder"

    class RetrieveEntityScheduledTaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveEntityScheduledTaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveEntityScheduledTaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveEntityScheduledTaskResponse")
            kw["aname"] = "_RetrieveEntityScheduledTaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrieveEntityScheduledTaskResponse_Holder"
            self.pyclass = Holder

    class CreateObjectScheduledTask_Dec(ElementDeclaration):
        literal = "CreateObjectScheduledTask"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateObjectScheduledTask")
            kw["aname"] = "_CreateObjectScheduledTask"
            if ns0.CreateObjectScheduledTaskRequestType_Def not in ns0.CreateObjectScheduledTask_Dec.__bases__:
                bases = list(ns0.CreateObjectScheduledTask_Dec.__bases__)
                bases.insert(0, ns0.CreateObjectScheduledTaskRequestType_Def)
                ns0.CreateObjectScheduledTask_Dec.__bases__ = tuple(bases)

            ns0.CreateObjectScheduledTaskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateObjectScheduledTask_Dec_Holder"

    class CreateObjectScheduledTaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateObjectScheduledTaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateObjectScheduledTaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateObjectScheduledTaskResponse")
            kw["aname"] = "_CreateObjectScheduledTaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateObjectScheduledTaskResponse_Holder"
            self.pyclass = Holder

    class RetrieveObjectScheduledTask_Dec(ElementDeclaration):
        literal = "RetrieveObjectScheduledTask"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveObjectScheduledTask")
            kw["aname"] = "_RetrieveObjectScheduledTask"
            if ns0.RetrieveObjectScheduledTaskRequestType_Def not in ns0.RetrieveObjectScheduledTask_Dec.__bases__:
                bases = list(ns0.RetrieveObjectScheduledTask_Dec.__bases__)
                bases.insert(0, ns0.RetrieveObjectScheduledTaskRequestType_Def)
                ns0.RetrieveObjectScheduledTask_Dec.__bases__ = tuple(bases)

            ns0.RetrieveObjectScheduledTaskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveObjectScheduledTask_Dec_Holder"

    class RetrieveObjectScheduledTaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveObjectScheduledTaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveObjectScheduledTaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveObjectScheduledTaskResponse")
            kw["aname"] = "_RetrieveObjectScheduledTaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrieveObjectScheduledTaskResponse_Holder"
            self.pyclass = Holder

    class prepareVcha_Task_Dec(ElementDeclaration):
        literal = "prepareVcha_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","prepareVcha_Task")
            kw["aname"] = "_prepareVcha_Task"
            if ns0.prepareVchaRequestType_Def not in ns0.prepareVcha_Task_Dec.__bases__:
                bases = list(ns0.prepareVcha_Task_Dec.__bases__)
                bases.insert(0, ns0.prepareVchaRequestType_Def)
                ns0.prepareVcha_Task_Dec.__bases__ = tuple(bases)

            ns0.prepareVchaRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "prepareVcha_Task_Dec_Holder"

    class prepareVcha_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "prepareVcha_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.prepareVcha_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","prepareVcha_TaskResponse")
            kw["aname"] = "_prepareVcha_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "prepareVcha_TaskResponse_Holder"
            self.pyclass = Holder

    class deployVcha_Task_Dec(ElementDeclaration):
        literal = "deployVcha_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","deployVcha_Task")
            kw["aname"] = "_deployVcha_Task"
            if ns0.deployVchaRequestType_Def not in ns0.deployVcha_Task_Dec.__bases__:
                bases = list(ns0.deployVcha_Task_Dec.__bases__)
                bases.insert(0, ns0.deployVchaRequestType_Def)
                ns0.deployVcha_Task_Dec.__bases__ = tuple(bases)

            ns0.deployVchaRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "deployVcha_Task_Dec_Holder"

    class deployVcha_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "deployVcha_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.deployVcha_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","deployVcha_TaskResponse")
            kw["aname"] = "_deployVcha_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "deployVcha_TaskResponse_Holder"
            self.pyclass = Holder

    class configureVcha_Task_Dec(ElementDeclaration):
        literal = "configureVcha_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","configureVcha_Task")
            kw["aname"] = "_configureVcha_Task"
            if ns0.configureVchaRequestType_Def not in ns0.configureVcha_Task_Dec.__bases__:
                bases = list(ns0.configureVcha_Task_Dec.__bases__)
                bases.insert(0, ns0.configureVchaRequestType_Def)
                ns0.configureVcha_Task_Dec.__bases__ = tuple(bases)

            ns0.configureVchaRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "configureVcha_Task_Dec_Holder"

    class configureVcha_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "configureVcha_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.configureVcha_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","configureVcha_TaskResponse")
            kw["aname"] = "_configureVcha_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "configureVcha_TaskResponse_Holder"
            self.pyclass = Holder

    class createPassiveNode_Task_Dec(ElementDeclaration):
        literal = "createPassiveNode_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","createPassiveNode_Task")
            kw["aname"] = "_createPassiveNode_Task"
            if ns0.createPassiveNodeRequestType_Def not in ns0.createPassiveNode_Task_Dec.__bases__:
                bases = list(ns0.createPassiveNode_Task_Dec.__bases__)
                bases.insert(0, ns0.createPassiveNodeRequestType_Def)
                ns0.createPassiveNode_Task_Dec.__bases__ = tuple(bases)

            ns0.createPassiveNodeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "createPassiveNode_Task_Dec_Holder"

    class createPassiveNode_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "createPassiveNode_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.createPassiveNode_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","createPassiveNode_TaskResponse")
            kw["aname"] = "_createPassiveNode_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "createPassiveNode_TaskResponse_Holder"
            self.pyclass = Holder

    class createWitnessNode_Task_Dec(ElementDeclaration):
        literal = "createWitnessNode_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","createWitnessNode_Task")
            kw["aname"] = "_createWitnessNode_Task"
            if ns0.createWitnessNodeRequestType_Def not in ns0.createWitnessNode_Task_Dec.__bases__:
                bases = list(ns0.createWitnessNode_Task_Dec.__bases__)
                bases.insert(0, ns0.createWitnessNodeRequestType_Def)
                ns0.createWitnessNode_Task_Dec.__bases__ = tuple(bases)

            ns0.createWitnessNodeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "createWitnessNode_Task_Dec_Holder"

    class createWitnessNode_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "createWitnessNode_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.createWitnessNode_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","createWitnessNode_TaskResponse")
            kw["aname"] = "_createWitnessNode_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "createWitnessNode_TaskResponse_Holder"
            self.pyclass = Holder

    class getVchaConfig_Dec(ElementDeclaration):
        literal = "getVchaConfig"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","getVchaConfig")
            kw["aname"] = "_getVchaConfig"
            if ns0.getVchaConfigRequestType_Def not in ns0.getVchaConfig_Dec.__bases__:
                bases = list(ns0.getVchaConfig_Dec.__bases__)
                bases.insert(0, ns0.getVchaConfigRequestType_Def)
                ns0.getVchaConfig_Dec.__bases__ = tuple(bases)

            ns0.getVchaConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "getVchaConfig_Dec_Holder"

    class getVchaConfigResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "getVchaConfigResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.getVchaConfigResponse_Dec.schema
            TClist = [GTD("urn:vim25","VchaClusterConfigInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","getVchaConfigResponse")
            kw["aname"] = "_getVchaConfigResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "getVchaConfigResponse_Holder"
            self.pyclass = Holder

    class destroyVcha_Task_Dec(ElementDeclaration):
        literal = "destroyVcha_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","destroyVcha_Task")
            kw["aname"] = "_destroyVcha_Task"
            if ns0.destroyVchaRequestType_Def not in ns0.destroyVcha_Task_Dec.__bases__:
                bases = list(ns0.destroyVcha_Task_Dec.__bases__)
                bases.insert(0, ns0.destroyVchaRequestType_Def)
                ns0.destroyVcha_Task_Dec.__bases__ = tuple(bases)

            ns0.destroyVchaRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "destroyVcha_Task_Dec_Holder"

    class destroyVcha_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "destroyVcha_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.destroyVcha_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","destroyVcha_TaskResponse")
            kw["aname"] = "_destroyVcha_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "destroyVcha_TaskResponse_Holder"
            self.pyclass = Holder

    class setClusterMode_Task_Dec(ElementDeclaration):
        literal = "setClusterMode_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","setClusterMode_Task")
            kw["aname"] = "_setClusterMode_Task"
            if ns0.setClusterModeRequestType_Def not in ns0.setClusterMode_Task_Dec.__bases__:
                bases = list(ns0.setClusterMode_Task_Dec.__bases__)
                bases.insert(0, ns0.setClusterModeRequestType_Def)
                ns0.setClusterMode_Task_Dec.__bases__ = tuple(bases)

            ns0.setClusterModeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "setClusterMode_Task_Dec_Holder"

    class setClusterMode_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "setClusterMode_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.setClusterMode_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","setClusterMode_TaskResponse")
            kw["aname"] = "_setClusterMode_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "setClusterMode_TaskResponse_Holder"
            self.pyclass = Holder

    class getClusterMode_Dec(ElementDeclaration):
        literal = "getClusterMode"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","getClusterMode")
            kw["aname"] = "_getClusterMode"
            if ns0.getClusterModeRequestType_Def not in ns0.getClusterMode_Dec.__bases__:
                bases = list(ns0.getClusterMode_Dec.__bases__)
                bases.insert(0, ns0.getClusterModeRequestType_Def)
                ns0.getClusterMode_Dec.__bases__ = tuple(bases)

            ns0.getClusterModeRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "getClusterMode_Dec_Holder"

    class getClusterModeResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "getClusterModeResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.getClusterModeResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","getClusterModeResponse")
            kw["aname"] = "_getClusterModeResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "getClusterModeResponse_Holder"
            self.pyclass = Holder

    class GetVchaClusterHealth_Dec(ElementDeclaration):
        literal = "GetVchaClusterHealth"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","GetVchaClusterHealth")
            kw["aname"] = "_GetVchaClusterHealth"
            if ns0.GetVchaClusterHealthRequestType_Def not in ns0.GetVchaClusterHealth_Dec.__bases__:
                bases = list(ns0.GetVchaClusterHealth_Dec.__bases__)
                bases.insert(0, ns0.GetVchaClusterHealthRequestType_Def)
                ns0.GetVchaClusterHealth_Dec.__bases__ = tuple(bases)

            ns0.GetVchaClusterHealthRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "GetVchaClusterHealth_Dec_Holder"

    class GetVchaClusterHealthResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "GetVchaClusterHealthResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.GetVchaClusterHealthResponse_Dec.schema
            TClist = [GTD("urn:vim25","VchaClusterHealth",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","GetVchaClusterHealthResponse")
            kw["aname"] = "_GetVchaClusterHealthResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "GetVchaClusterHealthResponse_Holder"
            self.pyclass = Holder

    class initiateFailover_Task_Dec(ElementDeclaration):
        literal = "initiateFailover_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","initiateFailover_Task")
            kw["aname"] = "_initiateFailover_Task"
            if ns0.initiateFailoverRequestType_Def not in ns0.initiateFailover_Task_Dec.__bases__:
                bases = list(ns0.initiateFailover_Task_Dec.__bases__)
                bases.insert(0, ns0.initiateFailoverRequestType_Def)
                ns0.initiateFailover_Task_Dec.__bases__ = tuple(bases)

            ns0.initiateFailoverRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "initiateFailover_Task_Dec_Holder"

    class initiateFailover_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "initiateFailover_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.initiateFailover_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","initiateFailover_TaskResponse")
            kw["aname"] = "_initiateFailover_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "initiateFailover_TaskResponse_Holder"
            self.pyclass = Holder

    class OpenInventoryViewFolder_Dec(ElementDeclaration):
        literal = "OpenInventoryViewFolder"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","OpenInventoryViewFolder")
            kw["aname"] = "_OpenInventoryViewFolder"
            if ns0.OpenInventoryViewFolderRequestType_Def not in ns0.OpenInventoryViewFolder_Dec.__bases__:
                bases = list(ns0.OpenInventoryViewFolder_Dec.__bases__)
                bases.insert(0, ns0.OpenInventoryViewFolderRequestType_Def)
                ns0.OpenInventoryViewFolder_Dec.__bases__ = tuple(bases)

            ns0.OpenInventoryViewFolderRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "OpenInventoryViewFolder_Dec_Holder"

    class OpenInventoryViewFolderResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "OpenInventoryViewFolderResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.OpenInventoryViewFolderResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","OpenInventoryViewFolderResponse")
            kw["aname"] = "_OpenInventoryViewFolderResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "OpenInventoryViewFolderResponse_Holder"
            self.pyclass = Holder

    class CloseInventoryViewFolder_Dec(ElementDeclaration):
        literal = "CloseInventoryViewFolder"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CloseInventoryViewFolder")
            kw["aname"] = "_CloseInventoryViewFolder"
            if ns0.CloseInventoryViewFolderRequestType_Def not in ns0.CloseInventoryViewFolder_Dec.__bases__:
                bases = list(ns0.CloseInventoryViewFolder_Dec.__bases__)
                bases.insert(0, ns0.CloseInventoryViewFolderRequestType_Def)
                ns0.CloseInventoryViewFolder_Dec.__bases__ = tuple(bases)

            ns0.CloseInventoryViewFolderRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CloseInventoryViewFolder_Dec_Holder"

    class CloseInventoryViewFolderResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CloseInventoryViewFolderResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CloseInventoryViewFolderResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CloseInventoryViewFolderResponse")
            kw["aname"] = "_CloseInventoryViewFolderResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "CloseInventoryViewFolderResponse_Holder"
            self.pyclass = Holder

    class ModifyListView_Dec(ElementDeclaration):
        literal = "ModifyListView"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ModifyListView")
            kw["aname"] = "_ModifyListView"
            if ns0.ModifyListViewRequestType_Def not in ns0.ModifyListView_Dec.__bases__:
                bases = list(ns0.ModifyListView_Dec.__bases__)
                bases.insert(0, ns0.ModifyListViewRequestType_Def)
                ns0.ModifyListView_Dec.__bases__ = tuple(bases)

            ns0.ModifyListViewRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ModifyListView_Dec_Holder"

    class ModifyListViewResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ModifyListViewResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ModifyListViewResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ModifyListViewResponse")
            kw["aname"] = "_ModifyListViewResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ModifyListViewResponse_Holder"
            self.pyclass = Holder

    class ResetListView_Dec(ElementDeclaration):
        literal = "ResetListView"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResetListView")
            kw["aname"] = "_ResetListView"
            if ns0.ResetListViewRequestType_Def not in ns0.ResetListView_Dec.__bases__:
                bases = list(ns0.ResetListView_Dec.__bases__)
                bases.insert(0, ns0.ResetListViewRequestType_Def)
                ns0.ResetListView_Dec.__bases__ = tuple(bases)

            ns0.ResetListViewRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResetListView_Dec_Holder"

    class ResetListViewResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ResetListViewResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ResetListViewResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ResetListViewResponse")
            kw["aname"] = "_ResetListViewResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ResetListViewResponse_Holder"
            self.pyclass = Holder

    class ResetListViewFromView_Dec(ElementDeclaration):
        literal = "ResetListViewFromView"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ResetListViewFromView")
            kw["aname"] = "_ResetListViewFromView"
            if ns0.ResetListViewFromViewRequestType_Def not in ns0.ResetListViewFromView_Dec.__bases__:
                bases = list(ns0.ResetListViewFromView_Dec.__bases__)
                bases.insert(0, ns0.ResetListViewFromViewRequestType_Def)
                ns0.ResetListViewFromView_Dec.__bases__ = tuple(bases)

            ns0.ResetListViewFromViewRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ResetListViewFromView_Dec_Holder"

    class ResetListViewFromViewResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ResetListViewFromViewResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ResetListViewFromViewResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ResetListViewFromViewResponse")
            kw["aname"] = "_ResetListViewFromViewResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ResetListViewFromViewResponse_Holder"
            self.pyclass = Holder

    class DestroyView_Dec(ElementDeclaration):
        literal = "DestroyView"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DestroyView")
            kw["aname"] = "_DestroyView"
            if ns0.DestroyViewRequestType_Def not in ns0.DestroyView_Dec.__bases__:
                bases = list(ns0.DestroyView_Dec.__bases__)
                bases.insert(0, ns0.DestroyViewRequestType_Def)
                ns0.DestroyView_Dec.__bases__ = tuple(bases)

            ns0.DestroyViewRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DestroyView_Dec_Holder"

    class DestroyViewResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DestroyViewResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DestroyViewResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DestroyViewResponse")
            kw["aname"] = "_DestroyViewResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DestroyViewResponse_Holder"
            self.pyclass = Holder

    class CreateInventoryView_Dec(ElementDeclaration):
        literal = "CreateInventoryView"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateInventoryView")
            kw["aname"] = "_CreateInventoryView"
            if ns0.CreateInventoryViewRequestType_Def not in ns0.CreateInventoryView_Dec.__bases__:
                bases = list(ns0.CreateInventoryView_Dec.__bases__)
                bases.insert(0, ns0.CreateInventoryViewRequestType_Def)
                ns0.CreateInventoryView_Dec.__bases__ = tuple(bases)

            ns0.CreateInventoryViewRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateInventoryView_Dec_Holder"

    class CreateInventoryViewResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateInventoryViewResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateInventoryViewResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateInventoryViewResponse")
            kw["aname"] = "_CreateInventoryViewResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateInventoryViewResponse_Holder"
            self.pyclass = Holder

    class CreateContainerView_Dec(ElementDeclaration):
        literal = "CreateContainerView"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateContainerView")
            kw["aname"] = "_CreateContainerView"
            if ns0.CreateContainerViewRequestType_Def not in ns0.CreateContainerView_Dec.__bases__:
                bases = list(ns0.CreateContainerView_Dec.__bases__)
                bases.insert(0, ns0.CreateContainerViewRequestType_Def)
                ns0.CreateContainerView_Dec.__bases__ = tuple(bases)

            ns0.CreateContainerViewRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateContainerView_Dec_Holder"

    class CreateContainerViewResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateContainerViewResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateContainerViewResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateContainerViewResponse")
            kw["aname"] = "_CreateContainerViewResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateContainerViewResponse_Holder"
            self.pyclass = Holder

    class CreateListView_Dec(ElementDeclaration):
        literal = "CreateListView"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateListView")
            kw["aname"] = "_CreateListView"
            if ns0.CreateListViewRequestType_Def not in ns0.CreateListView_Dec.__bases__:
                bases = list(ns0.CreateListView_Dec.__bases__)
                bases.insert(0, ns0.CreateListViewRequestType_Def)
                ns0.CreateListView_Dec.__bases__ = tuple(bases)

            ns0.CreateListViewRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateListView_Dec_Holder"

    class CreateListViewResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateListViewResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateListViewResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateListViewResponse")
            kw["aname"] = "_CreateListViewResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateListViewResponse_Holder"
            self.pyclass = Holder

    class CreateListViewFromView_Dec(ElementDeclaration):
        literal = "CreateListViewFromView"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateListViewFromView")
            kw["aname"] = "_CreateListViewFromView"
            if ns0.CreateListViewFromViewRequestType_Def not in ns0.CreateListViewFromView_Dec.__bases__:
                bases = list(ns0.CreateListViewFromView_Dec.__bases__)
                bases.insert(0, ns0.CreateListViewFromViewRequestType_Def)
                ns0.CreateListViewFromView_Dec.__bases__ = tuple(bases)

            ns0.CreateListViewFromViewRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateListViewFromView_Dec_Holder"

    class CreateListViewFromViewResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateListViewFromViewResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateListViewFromViewResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateListViewFromViewResponse")
            kw["aname"] = "_CreateListViewFromViewResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateListViewFromViewResponse_Holder"
            self.pyclass = Holder

    class RevertToSnapshot_Task_Dec(ElementDeclaration):
        literal = "RevertToSnapshot_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RevertToSnapshot_Task")
            kw["aname"] = "_RevertToSnapshot_Task"
            if ns0.RevertToSnapshotRequestType_Def not in ns0.RevertToSnapshot_Task_Dec.__bases__:
                bases = list(ns0.RevertToSnapshot_Task_Dec.__bases__)
                bases.insert(0, ns0.RevertToSnapshotRequestType_Def)
                ns0.RevertToSnapshot_Task_Dec.__bases__ = tuple(bases)

            ns0.RevertToSnapshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RevertToSnapshot_Task_Dec_Holder"

    class RevertToSnapshot_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RevertToSnapshot_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RevertToSnapshot_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RevertToSnapshot_TaskResponse")
            kw["aname"] = "_RevertToSnapshot_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RevertToSnapshot_TaskResponse_Holder"
            self.pyclass = Holder

    class RemoveSnapshot_Task_Dec(ElementDeclaration):
        literal = "RemoveSnapshot_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveSnapshot_Task")
            kw["aname"] = "_RemoveSnapshot_Task"
            if ns0.RemoveSnapshotRequestType_Def not in ns0.RemoveSnapshot_Task_Dec.__bases__:
                bases = list(ns0.RemoveSnapshot_Task_Dec.__bases__)
                bases.insert(0, ns0.RemoveSnapshotRequestType_Def)
                ns0.RemoveSnapshot_Task_Dec.__bases__ = tuple(bases)

            ns0.RemoveSnapshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveSnapshot_Task_Dec_Holder"

    class RemoveSnapshot_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveSnapshot_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveSnapshot_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RemoveSnapshot_TaskResponse")
            kw["aname"] = "_RemoveSnapshot_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RemoveSnapshot_TaskResponse_Holder"
            self.pyclass = Holder

    class RenameSnapshot_Dec(ElementDeclaration):
        literal = "RenameSnapshot"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RenameSnapshot")
            kw["aname"] = "_RenameSnapshot"
            if ns0.RenameSnapshotRequestType_Def not in ns0.RenameSnapshot_Dec.__bases__:
                bases = list(ns0.RenameSnapshot_Dec.__bases__)
                bases.insert(0, ns0.RenameSnapshotRequestType_Def)
                ns0.RenameSnapshot_Dec.__bases__ = tuple(bases)

            ns0.RenameSnapshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RenameSnapshot_Dec_Holder"

    class RenameSnapshotResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RenameSnapshotResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RenameSnapshotResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RenameSnapshotResponse")
            kw["aname"] = "_RenameSnapshotResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RenameSnapshotResponse_Holder"
            self.pyclass = Holder

    class ExportSnapshot_Dec(ElementDeclaration):
        literal = "ExportSnapshot"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExportSnapshot")
            kw["aname"] = "_ExportSnapshot"
            if ns0.ExportSnapshotRequestType_Def not in ns0.ExportSnapshot_Dec.__bases__:
                bases = list(ns0.ExportSnapshot_Dec.__bases__)
                bases.insert(0, ns0.ExportSnapshotRequestType_Def)
                ns0.ExportSnapshot_Dec.__bases__ = tuple(bases)

            ns0.ExportSnapshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExportSnapshot_Dec_Holder"

    class ExportSnapshotResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExportSnapshotResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExportSnapshotResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ExportSnapshotResponse")
            kw["aname"] = "_ExportSnapshotResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ExportSnapshotResponse_Holder"
            self.pyclass = Holder

    class CheckCompatibility_Task_Dec(ElementDeclaration):
        literal = "CheckCompatibility_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckCompatibility_Task")
            kw["aname"] = "_CheckCompatibility_Task"
            if ns0.CheckCompatibilityRequestType_Def not in ns0.CheckCompatibility_Task_Dec.__bases__:
                bases = list(ns0.CheckCompatibility_Task_Dec.__bases__)
                bases.insert(0, ns0.CheckCompatibilityRequestType_Def)
                ns0.CheckCompatibility_Task_Dec.__bases__ = tuple(bases)

            ns0.CheckCompatibilityRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckCompatibility_Task_Dec_Holder"

    class CheckCompatibility_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckCompatibility_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckCompatibility_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckCompatibility_TaskResponse")
            kw["aname"] = "_CheckCompatibility_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckCompatibility_TaskResponse_Holder"
            self.pyclass = Holder

    class CheckVmConfig_Task_Dec(ElementDeclaration):
        literal = "CheckVmConfig_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckVmConfig_Task")
            kw["aname"] = "_CheckVmConfig_Task"
            if ns0.CheckVmConfigRequestType_Def not in ns0.CheckVmConfig_Task_Dec.__bases__:
                bases = list(ns0.CheckVmConfig_Task_Dec.__bases__)
                bases.insert(0, ns0.CheckVmConfigRequestType_Def)
                ns0.CheckVmConfig_Task_Dec.__bases__ = tuple(bases)

            ns0.CheckVmConfigRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckVmConfig_Task_Dec_Holder"

    class CheckVmConfig_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckVmConfig_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckVmConfig_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckVmConfig_TaskResponse")
            kw["aname"] = "_CheckVmConfig_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckVmConfig_TaskResponse_Holder"
            self.pyclass = Holder

    class CheckPowerOn_Task_Dec(ElementDeclaration):
        literal = "CheckPowerOn_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckPowerOn_Task")
            kw["aname"] = "_CheckPowerOn_Task"
            if ns0.CheckPowerOnRequestType_Def not in ns0.CheckPowerOn_Task_Dec.__bases__:
                bases = list(ns0.CheckPowerOn_Task_Dec.__bases__)
                bases.insert(0, ns0.CheckPowerOnRequestType_Def)
                ns0.CheckPowerOn_Task_Dec.__bases__ = tuple(bases)

            ns0.CheckPowerOnRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckPowerOn_Task_Dec_Holder"

    class CheckPowerOn_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckPowerOn_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckPowerOn_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckPowerOn_TaskResponse")
            kw["aname"] = "_CheckPowerOn_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckPowerOn_TaskResponse_Holder"
            self.pyclass = Holder

    class QueryVMotionCompatibilityEx_Task_Dec(ElementDeclaration):
        literal = "QueryVMotionCompatibilityEx_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","QueryVMotionCompatibilityEx_Task")
            kw["aname"] = "_QueryVMotionCompatibilityEx_Task"
            if ns0.QueryVMotionCompatibilityExRequestType_Def not in ns0.QueryVMotionCompatibilityEx_Task_Dec.__bases__:
                bases = list(ns0.QueryVMotionCompatibilityEx_Task_Dec.__bases__)
                bases.insert(0, ns0.QueryVMotionCompatibilityExRequestType_Def)
                ns0.QueryVMotionCompatibilityEx_Task_Dec.__bases__ = tuple(bases)

            ns0.QueryVMotionCompatibilityExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "QueryVMotionCompatibilityEx_Task_Dec_Holder"

    class QueryVMotionCompatibilityEx_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "QueryVMotionCompatibilityEx_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.QueryVMotionCompatibilityEx_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","QueryVMotionCompatibilityEx_TaskResponse")
            kw["aname"] = "_QueryVMotionCompatibilityEx_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "QueryVMotionCompatibilityEx_TaskResponse_Holder"
            self.pyclass = Holder

    class CheckMigrate_Task_Dec(ElementDeclaration):
        literal = "CheckMigrate_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckMigrate_Task")
            kw["aname"] = "_CheckMigrate_Task"
            if ns0.CheckMigrateRequestType_Def not in ns0.CheckMigrate_Task_Dec.__bases__:
                bases = list(ns0.CheckMigrate_Task_Dec.__bases__)
                bases.insert(0, ns0.CheckMigrateRequestType_Def)
                ns0.CheckMigrate_Task_Dec.__bases__ = tuple(bases)

            ns0.CheckMigrateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckMigrate_Task_Dec_Holder"

    class CheckMigrate_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckMigrate_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckMigrate_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckMigrate_TaskResponse")
            kw["aname"] = "_CheckMigrate_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckMigrate_TaskResponse_Holder"
            self.pyclass = Holder

    class CheckRelocate_Task_Dec(ElementDeclaration):
        literal = "CheckRelocate_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckRelocate_Task")
            kw["aname"] = "_CheckRelocate_Task"
            if ns0.CheckRelocateRequestType_Def not in ns0.CheckRelocate_Task_Dec.__bases__:
                bases = list(ns0.CheckRelocate_Task_Dec.__bases__)
                bases.insert(0, ns0.CheckRelocateRequestType_Def)
                ns0.CheckRelocate_Task_Dec.__bases__ = tuple(bases)

            ns0.CheckRelocateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckRelocate_Task_Dec_Holder"

    class CheckRelocate_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckRelocate_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckRelocate_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckRelocate_TaskResponse")
            kw["aname"] = "_CheckRelocate_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckRelocate_TaskResponse_Holder"
            self.pyclass = Holder

    class CheckClone_Task_Dec(ElementDeclaration):
        literal = "CheckClone_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckClone_Task")
            kw["aname"] = "_CheckClone_Task"
            if ns0.CheckCloneRequestType_Def not in ns0.CheckClone_Task_Dec.__bases__:
                bases = list(ns0.CheckClone_Task_Dec.__bases__)
                bases.insert(0, ns0.CheckCloneRequestType_Def)
                ns0.CheckClone_Task_Dec.__bases__ = tuple(bases)

            ns0.CheckCloneRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckClone_Task_Dec_Holder"

    class CheckClone_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckClone_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckClone_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckClone_TaskResponse")
            kw["aname"] = "_CheckClone_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckClone_TaskResponse_Holder"
            self.pyclass = Holder

    class CheckInstantClone_Task_Dec(ElementDeclaration):
        literal = "CheckInstantClone_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckInstantClone_Task")
            kw["aname"] = "_CheckInstantClone_Task"
            if ns0.CheckInstantCloneRequestType_Def not in ns0.CheckInstantClone_Task_Dec.__bases__:
                bases = list(ns0.CheckInstantClone_Task_Dec.__bases__)
                bases.insert(0, ns0.CheckInstantCloneRequestType_Def)
                ns0.CheckInstantClone_Task_Dec.__bases__ = tuple(bases)

            ns0.CheckInstantCloneRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckInstantClone_Task_Dec_Holder"

    class CheckInstantClone_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckInstantClone_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckInstantClone_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckInstantClone_TaskResponse")
            kw["aname"] = "_CheckInstantClone_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckInstantClone_TaskResponse_Holder"
            self.pyclass = Holder

    class AddGuestAlias_Dec(ElementDeclaration):
        literal = "AddGuestAlias"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AddGuestAlias")
            kw["aname"] = "_AddGuestAlias"
            if ns0.AddGuestAliasRequestType_Def not in ns0.AddGuestAlias_Dec.__bases__:
                bases = list(ns0.AddGuestAlias_Dec.__bases__)
                bases.insert(0, ns0.AddGuestAliasRequestType_Def)
                ns0.AddGuestAlias_Dec.__bases__ = tuple(bases)

            ns0.AddGuestAliasRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AddGuestAlias_Dec_Holder"

    class AddGuestAliasResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AddGuestAliasResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AddGuestAliasResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AddGuestAliasResponse")
            kw["aname"] = "_AddGuestAliasResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AddGuestAliasResponse_Holder"
            self.pyclass = Holder

    class RemoveGuestAlias_Dec(ElementDeclaration):
        literal = "RemoveGuestAlias"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveGuestAlias")
            kw["aname"] = "_RemoveGuestAlias"
            if ns0.RemoveGuestAliasRequestType_Def not in ns0.RemoveGuestAlias_Dec.__bases__:
                bases = list(ns0.RemoveGuestAlias_Dec.__bases__)
                bases.insert(0, ns0.RemoveGuestAliasRequestType_Def)
                ns0.RemoveGuestAlias_Dec.__bases__ = tuple(bases)

            ns0.RemoveGuestAliasRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveGuestAlias_Dec_Holder"

    class RemoveGuestAliasResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveGuestAliasResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveGuestAliasResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveGuestAliasResponse")
            kw["aname"] = "_RemoveGuestAliasResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveGuestAliasResponse_Holder"
            self.pyclass = Holder

    class RemoveGuestAliasByCert_Dec(ElementDeclaration):
        literal = "RemoveGuestAliasByCert"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RemoveGuestAliasByCert")
            kw["aname"] = "_RemoveGuestAliasByCert"
            if ns0.RemoveGuestAliasByCertRequestType_Def not in ns0.RemoveGuestAliasByCert_Dec.__bases__:
                bases = list(ns0.RemoveGuestAliasByCert_Dec.__bases__)
                bases.insert(0, ns0.RemoveGuestAliasByCertRequestType_Def)
                ns0.RemoveGuestAliasByCert_Dec.__bases__ = tuple(bases)

            ns0.RemoveGuestAliasByCertRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RemoveGuestAliasByCert_Dec_Holder"

    class RemoveGuestAliasByCertResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RemoveGuestAliasByCertResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RemoveGuestAliasByCertResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RemoveGuestAliasByCertResponse")
            kw["aname"] = "_RemoveGuestAliasByCertResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RemoveGuestAliasByCertResponse_Holder"
            self.pyclass = Holder

    class ListGuestAliases_Dec(ElementDeclaration):
        literal = "ListGuestAliases"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ListGuestAliases")
            kw["aname"] = "_ListGuestAliases"
            if ns0.ListGuestAliasesRequestType_Def not in ns0.ListGuestAliases_Dec.__bases__:
                bases = list(ns0.ListGuestAliases_Dec.__bases__)
                bases.insert(0, ns0.ListGuestAliasesRequestType_Def)
                ns0.ListGuestAliases_Dec.__bases__ = tuple(bases)

            ns0.ListGuestAliasesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ListGuestAliases_Dec_Holder"

    class ListGuestAliasesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ListGuestAliasesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ListGuestAliasesResponse_Dec.schema
            TClist = [GTD("urn:vim25","GuestAliases",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ListGuestAliasesResponse")
            kw["aname"] = "_ListGuestAliasesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ListGuestAliasesResponse_Holder"
            self.pyclass = Holder

    class ListGuestMappedAliases_Dec(ElementDeclaration):
        literal = "ListGuestMappedAliases"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ListGuestMappedAliases")
            kw["aname"] = "_ListGuestMappedAliases"
            if ns0.ListGuestMappedAliasesRequestType_Def not in ns0.ListGuestMappedAliases_Dec.__bases__:
                bases = list(ns0.ListGuestMappedAliases_Dec.__bases__)
                bases.insert(0, ns0.ListGuestMappedAliasesRequestType_Def)
                ns0.ListGuestMappedAliases_Dec.__bases__ = tuple(bases)

            ns0.ListGuestMappedAliasesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ListGuestMappedAliases_Dec_Holder"

    class ListGuestMappedAliasesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ListGuestMappedAliasesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ListGuestMappedAliasesResponse_Dec.schema
            TClist = [GTD("urn:vim25","GuestMappedAliases",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ListGuestMappedAliasesResponse")
            kw["aname"] = "_ListGuestMappedAliasesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ListGuestMappedAliasesResponse_Holder"
            self.pyclass = Holder

    class ValidateCredentialsInGuest_Dec(ElementDeclaration):
        literal = "ValidateCredentialsInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ValidateCredentialsInGuest")
            kw["aname"] = "_ValidateCredentialsInGuest"
            if ns0.ValidateCredentialsInGuestRequestType_Def not in ns0.ValidateCredentialsInGuest_Dec.__bases__:
                bases = list(ns0.ValidateCredentialsInGuest_Dec.__bases__)
                bases.insert(0, ns0.ValidateCredentialsInGuestRequestType_Def)
                ns0.ValidateCredentialsInGuest_Dec.__bases__ = tuple(bases)

            ns0.ValidateCredentialsInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ValidateCredentialsInGuest_Dec_Holder"

    class ValidateCredentialsInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ValidateCredentialsInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ValidateCredentialsInGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ValidateCredentialsInGuestResponse")
            kw["aname"] = "_ValidateCredentialsInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ValidateCredentialsInGuestResponse_Holder"
            self.pyclass = Holder

    class AcquireCredentialsInGuest_Dec(ElementDeclaration):
        literal = "AcquireCredentialsInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AcquireCredentialsInGuest")
            kw["aname"] = "_AcquireCredentialsInGuest"
            if ns0.AcquireCredentialsInGuestRequestType_Def not in ns0.AcquireCredentialsInGuest_Dec.__bases__:
                bases = list(ns0.AcquireCredentialsInGuest_Dec.__bases__)
                bases.insert(0, ns0.AcquireCredentialsInGuestRequestType_Def)
                ns0.AcquireCredentialsInGuest_Dec.__bases__ = tuple(bases)

            ns0.AcquireCredentialsInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AcquireCredentialsInGuest_Dec_Holder"

    class AcquireCredentialsInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AcquireCredentialsInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AcquireCredentialsInGuestResponse_Dec.schema
            TClist = [GTD("urn:vim25","GuestAuthentication",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","AcquireCredentialsInGuestResponse")
            kw["aname"] = "_AcquireCredentialsInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "AcquireCredentialsInGuestResponse_Holder"
            self.pyclass = Holder

    class ReleaseCredentialsInGuest_Dec(ElementDeclaration):
        literal = "ReleaseCredentialsInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReleaseCredentialsInGuest")
            kw["aname"] = "_ReleaseCredentialsInGuest"
            if ns0.ReleaseCredentialsInGuestRequestType_Def not in ns0.ReleaseCredentialsInGuest_Dec.__bases__:
                bases = list(ns0.ReleaseCredentialsInGuest_Dec.__bases__)
                bases.insert(0, ns0.ReleaseCredentialsInGuestRequestType_Def)
                ns0.ReleaseCredentialsInGuest_Dec.__bases__ = tuple(bases)

            ns0.ReleaseCredentialsInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReleaseCredentialsInGuest_Dec_Holder"

    class ReleaseCredentialsInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReleaseCredentialsInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReleaseCredentialsInGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ReleaseCredentialsInGuestResponse")
            kw["aname"] = "_ReleaseCredentialsInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ReleaseCredentialsInGuestResponse_Holder"
            self.pyclass = Holder

    class MakeDirectoryInGuest_Dec(ElementDeclaration):
        literal = "MakeDirectoryInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MakeDirectoryInGuest")
            kw["aname"] = "_MakeDirectoryInGuest"
            if ns0.MakeDirectoryInGuestRequestType_Def not in ns0.MakeDirectoryInGuest_Dec.__bases__:
                bases = list(ns0.MakeDirectoryInGuest_Dec.__bases__)
                bases.insert(0, ns0.MakeDirectoryInGuestRequestType_Def)
                ns0.MakeDirectoryInGuest_Dec.__bases__ = tuple(bases)

            ns0.MakeDirectoryInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MakeDirectoryInGuest_Dec_Holder"

    class MakeDirectoryInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MakeDirectoryInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MakeDirectoryInGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","MakeDirectoryInGuestResponse")
            kw["aname"] = "_MakeDirectoryInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "MakeDirectoryInGuestResponse_Holder"
            self.pyclass = Holder

    class DeleteFileInGuest_Dec(ElementDeclaration):
        literal = "DeleteFileInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteFileInGuest")
            kw["aname"] = "_DeleteFileInGuest"
            if ns0.DeleteFileInGuestRequestType_Def not in ns0.DeleteFileInGuest_Dec.__bases__:
                bases = list(ns0.DeleteFileInGuest_Dec.__bases__)
                bases.insert(0, ns0.DeleteFileInGuestRequestType_Def)
                ns0.DeleteFileInGuest_Dec.__bases__ = tuple(bases)

            ns0.DeleteFileInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteFileInGuest_Dec_Holder"

    class DeleteFileInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteFileInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteFileInGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DeleteFileInGuestResponse")
            kw["aname"] = "_DeleteFileInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DeleteFileInGuestResponse_Holder"
            self.pyclass = Holder

    class DeleteDirectoryInGuest_Dec(ElementDeclaration):
        literal = "DeleteDirectoryInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteDirectoryInGuest")
            kw["aname"] = "_DeleteDirectoryInGuest"
            if ns0.DeleteDirectoryInGuestRequestType_Def not in ns0.DeleteDirectoryInGuest_Dec.__bases__:
                bases = list(ns0.DeleteDirectoryInGuest_Dec.__bases__)
                bases.insert(0, ns0.DeleteDirectoryInGuestRequestType_Def)
                ns0.DeleteDirectoryInGuest_Dec.__bases__ = tuple(bases)

            ns0.DeleteDirectoryInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteDirectoryInGuest_Dec_Holder"

    class DeleteDirectoryInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteDirectoryInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteDirectoryInGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DeleteDirectoryInGuestResponse")
            kw["aname"] = "_DeleteDirectoryInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DeleteDirectoryInGuestResponse_Holder"
            self.pyclass = Holder

    class MoveDirectoryInGuest_Dec(ElementDeclaration):
        literal = "MoveDirectoryInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MoveDirectoryInGuest")
            kw["aname"] = "_MoveDirectoryInGuest"
            if ns0.MoveDirectoryInGuestRequestType_Def not in ns0.MoveDirectoryInGuest_Dec.__bases__:
                bases = list(ns0.MoveDirectoryInGuest_Dec.__bases__)
                bases.insert(0, ns0.MoveDirectoryInGuestRequestType_Def)
                ns0.MoveDirectoryInGuest_Dec.__bases__ = tuple(bases)

            ns0.MoveDirectoryInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MoveDirectoryInGuest_Dec_Holder"

    class MoveDirectoryInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MoveDirectoryInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MoveDirectoryInGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","MoveDirectoryInGuestResponse")
            kw["aname"] = "_MoveDirectoryInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "MoveDirectoryInGuestResponse_Holder"
            self.pyclass = Holder

    class MoveFileInGuest_Dec(ElementDeclaration):
        literal = "MoveFileInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MoveFileInGuest")
            kw["aname"] = "_MoveFileInGuest"
            if ns0.MoveFileInGuestRequestType_Def not in ns0.MoveFileInGuest_Dec.__bases__:
                bases = list(ns0.MoveFileInGuest_Dec.__bases__)
                bases.insert(0, ns0.MoveFileInGuestRequestType_Def)
                ns0.MoveFileInGuest_Dec.__bases__ = tuple(bases)

            ns0.MoveFileInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MoveFileInGuest_Dec_Holder"

    class MoveFileInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "MoveFileInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.MoveFileInGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","MoveFileInGuestResponse")
            kw["aname"] = "_MoveFileInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "MoveFileInGuestResponse_Holder"
            self.pyclass = Holder

    class CreateTemporaryFileInGuest_Dec(ElementDeclaration):
        literal = "CreateTemporaryFileInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateTemporaryFileInGuest")
            kw["aname"] = "_CreateTemporaryFileInGuest"
            if ns0.CreateTemporaryFileInGuestRequestType_Def not in ns0.CreateTemporaryFileInGuest_Dec.__bases__:
                bases = list(ns0.CreateTemporaryFileInGuest_Dec.__bases__)
                bases.insert(0, ns0.CreateTemporaryFileInGuestRequestType_Def)
                ns0.CreateTemporaryFileInGuest_Dec.__bases__ = tuple(bases)

            ns0.CreateTemporaryFileInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateTemporaryFileInGuest_Dec_Holder"

    class CreateTemporaryFileInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateTemporaryFileInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateTemporaryFileInGuestResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateTemporaryFileInGuestResponse")
            kw["aname"] = "_CreateTemporaryFileInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateTemporaryFileInGuestResponse_Holder"
            self.pyclass = Holder

    class CreateTemporaryDirectoryInGuest_Dec(ElementDeclaration):
        literal = "CreateTemporaryDirectoryInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateTemporaryDirectoryInGuest")
            kw["aname"] = "_CreateTemporaryDirectoryInGuest"
            if ns0.CreateTemporaryDirectoryInGuestRequestType_Def not in ns0.CreateTemporaryDirectoryInGuest_Dec.__bases__:
                bases = list(ns0.CreateTemporaryDirectoryInGuest_Dec.__bases__)
                bases.insert(0, ns0.CreateTemporaryDirectoryInGuestRequestType_Def)
                ns0.CreateTemporaryDirectoryInGuest_Dec.__bases__ = tuple(bases)

            ns0.CreateTemporaryDirectoryInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateTemporaryDirectoryInGuest_Dec_Holder"

    class CreateTemporaryDirectoryInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateTemporaryDirectoryInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateTemporaryDirectoryInGuestResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateTemporaryDirectoryInGuestResponse")
            kw["aname"] = "_CreateTemporaryDirectoryInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateTemporaryDirectoryInGuestResponse_Holder"
            self.pyclass = Holder

    class ListFilesInGuest_Dec(ElementDeclaration):
        literal = "ListFilesInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ListFilesInGuest")
            kw["aname"] = "_ListFilesInGuest"
            if ns0.ListFilesInGuestRequestType_Def not in ns0.ListFilesInGuest_Dec.__bases__:
                bases = list(ns0.ListFilesInGuest_Dec.__bases__)
                bases.insert(0, ns0.ListFilesInGuestRequestType_Def)
                ns0.ListFilesInGuest_Dec.__bases__ = tuple(bases)

            ns0.ListFilesInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ListFilesInGuest_Dec_Holder"

    class ListFilesInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ListFilesInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ListFilesInGuestResponse_Dec.schema
            TClist = [GTD("urn:vim25","GuestListFileInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ListFilesInGuestResponse")
            kw["aname"] = "_ListFilesInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ListFilesInGuestResponse_Holder"
            self.pyclass = Holder

    class ChangeFileAttributesInGuest_Dec(ElementDeclaration):
        literal = "ChangeFileAttributesInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ChangeFileAttributesInGuest")
            kw["aname"] = "_ChangeFileAttributesInGuest"
            if ns0.ChangeFileAttributesInGuestRequestType_Def not in ns0.ChangeFileAttributesInGuest_Dec.__bases__:
                bases = list(ns0.ChangeFileAttributesInGuest_Dec.__bases__)
                bases.insert(0, ns0.ChangeFileAttributesInGuestRequestType_Def)
                ns0.ChangeFileAttributesInGuest_Dec.__bases__ = tuple(bases)

            ns0.ChangeFileAttributesInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ChangeFileAttributesInGuest_Dec_Holder"

    class ChangeFileAttributesInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ChangeFileAttributesInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ChangeFileAttributesInGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ChangeFileAttributesInGuestResponse")
            kw["aname"] = "_ChangeFileAttributesInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ChangeFileAttributesInGuestResponse_Holder"
            self.pyclass = Holder

    class InitiateFileTransferFromGuest_Dec(ElementDeclaration):
        literal = "InitiateFileTransferFromGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InitiateFileTransferFromGuest")
            kw["aname"] = "_InitiateFileTransferFromGuest"
            if ns0.InitiateFileTransferFromGuestRequestType_Def not in ns0.InitiateFileTransferFromGuest_Dec.__bases__:
                bases = list(ns0.InitiateFileTransferFromGuest_Dec.__bases__)
                bases.insert(0, ns0.InitiateFileTransferFromGuestRequestType_Def)
                ns0.InitiateFileTransferFromGuest_Dec.__bases__ = tuple(bases)

            ns0.InitiateFileTransferFromGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InitiateFileTransferFromGuest_Dec_Holder"

    class InitiateFileTransferFromGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "InitiateFileTransferFromGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.InitiateFileTransferFromGuestResponse_Dec.schema
            TClist = [GTD("urn:vim25","FileTransferInformation",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","InitiateFileTransferFromGuestResponse")
            kw["aname"] = "_InitiateFileTransferFromGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "InitiateFileTransferFromGuestResponse_Holder"
            self.pyclass = Holder

    class InitiateFileTransferToGuest_Dec(ElementDeclaration):
        literal = "InitiateFileTransferToGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InitiateFileTransferToGuest")
            kw["aname"] = "_InitiateFileTransferToGuest"
            if ns0.InitiateFileTransferToGuestRequestType_Def not in ns0.InitiateFileTransferToGuest_Dec.__bases__:
                bases = list(ns0.InitiateFileTransferToGuest_Dec.__bases__)
                bases.insert(0, ns0.InitiateFileTransferToGuestRequestType_Def)
                ns0.InitiateFileTransferToGuest_Dec.__bases__ = tuple(bases)

            ns0.InitiateFileTransferToGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InitiateFileTransferToGuest_Dec_Holder"

    class InitiateFileTransferToGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "InitiateFileTransferToGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.InitiateFileTransferToGuestResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","InitiateFileTransferToGuestResponse")
            kw["aname"] = "_InitiateFileTransferToGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "InitiateFileTransferToGuestResponse_Holder"
            self.pyclass = Holder

    class StartProgramInGuest_Dec(ElementDeclaration):
        literal = "StartProgramInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","StartProgramInGuest")
            kw["aname"] = "_StartProgramInGuest"
            if ns0.StartProgramInGuestRequestType_Def not in ns0.StartProgramInGuest_Dec.__bases__:
                bases = list(ns0.StartProgramInGuest_Dec.__bases__)
                bases.insert(0, ns0.StartProgramInGuestRequestType_Def)
                ns0.StartProgramInGuest_Dec.__bases__ = tuple(bases)

            ns0.StartProgramInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "StartProgramInGuest_Dec_Holder"

    class StartProgramInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "StartProgramInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.StartProgramInGuestResponse_Dec.schema
            TClist = [pysphere.ZSI.TCnumbers.Ilong(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","StartProgramInGuestResponse")
            kw["aname"] = "_StartProgramInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "StartProgramInGuestResponse_Holder"
            self.pyclass = Holder

    class ListProcessesInGuest_Dec(ElementDeclaration):
        literal = "ListProcessesInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ListProcessesInGuest")
            kw["aname"] = "_ListProcessesInGuest"
            if ns0.ListProcessesInGuestRequestType_Def not in ns0.ListProcessesInGuest_Dec.__bases__:
                bases = list(ns0.ListProcessesInGuest_Dec.__bases__)
                bases.insert(0, ns0.ListProcessesInGuestRequestType_Def)
                ns0.ListProcessesInGuest_Dec.__bases__ = tuple(bases)

            ns0.ListProcessesInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ListProcessesInGuest_Dec_Holder"

    class ListProcessesInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ListProcessesInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ListProcessesInGuestResponse_Dec.schema
            TClist = [GTD("urn:vim25","GuestProcessInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ListProcessesInGuestResponse")
            kw["aname"] = "_ListProcessesInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ListProcessesInGuestResponse_Holder"
            self.pyclass = Holder

    class TerminateProcessInGuest_Dec(ElementDeclaration):
        literal = "TerminateProcessInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","TerminateProcessInGuest")
            kw["aname"] = "_TerminateProcessInGuest"
            if ns0.TerminateProcessInGuestRequestType_Def not in ns0.TerminateProcessInGuest_Dec.__bases__:
                bases = list(ns0.TerminateProcessInGuest_Dec.__bases__)
                bases.insert(0, ns0.TerminateProcessInGuestRequestType_Def)
                ns0.TerminateProcessInGuest_Dec.__bases__ = tuple(bases)

            ns0.TerminateProcessInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "TerminateProcessInGuest_Dec_Holder"

    class TerminateProcessInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "TerminateProcessInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.TerminateProcessInGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","TerminateProcessInGuestResponse")
            kw["aname"] = "_TerminateProcessInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "TerminateProcessInGuestResponse_Holder"
            self.pyclass = Holder

    class ReadEnvironmentVariableInGuest_Dec(ElementDeclaration):
        literal = "ReadEnvironmentVariableInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReadEnvironmentVariableInGuest")
            kw["aname"] = "_ReadEnvironmentVariableInGuest"
            if ns0.ReadEnvironmentVariableInGuestRequestType_Def not in ns0.ReadEnvironmentVariableInGuest_Dec.__bases__:
                bases = list(ns0.ReadEnvironmentVariableInGuest_Dec.__bases__)
                bases.insert(0, ns0.ReadEnvironmentVariableInGuestRequestType_Def)
                ns0.ReadEnvironmentVariableInGuest_Dec.__bases__ = tuple(bases)

            ns0.ReadEnvironmentVariableInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReadEnvironmentVariableInGuest_Dec_Holder"

    class ReadEnvironmentVariableInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReadEnvironmentVariableInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReadEnvironmentVariableInGuestResponse_Dec.schema
            TClist = [pysphere.ZSI.TC.String(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReadEnvironmentVariableInGuestResponse")
            kw["aname"] = "_ReadEnvironmentVariableInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ReadEnvironmentVariableInGuestResponse_Holder"
            self.pyclass = Holder

    class CreateRegistryKeyInGuest_Dec(ElementDeclaration):
        literal = "CreateRegistryKeyInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateRegistryKeyInGuest")
            kw["aname"] = "_CreateRegistryKeyInGuest"
            if ns0.CreateRegistryKeyInGuestRequestType_Def not in ns0.CreateRegistryKeyInGuest_Dec.__bases__:
                bases = list(ns0.CreateRegistryKeyInGuest_Dec.__bases__)
                bases.insert(0, ns0.CreateRegistryKeyInGuestRequestType_Def)
                ns0.CreateRegistryKeyInGuest_Dec.__bases__ = tuple(bases)

            ns0.CreateRegistryKeyInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateRegistryKeyInGuest_Dec_Holder"

    class CreateRegistryKeyInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateRegistryKeyInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateRegistryKeyInGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CreateRegistryKeyInGuestResponse")
            kw["aname"] = "_CreateRegistryKeyInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CreateRegistryKeyInGuestResponse_Holder"
            self.pyclass = Holder

    class ListRegistryKeysInGuest_Dec(ElementDeclaration):
        literal = "ListRegistryKeysInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ListRegistryKeysInGuest")
            kw["aname"] = "_ListRegistryKeysInGuest"
            if ns0.ListRegistryKeysInGuestRequestType_Def not in ns0.ListRegistryKeysInGuest_Dec.__bases__:
                bases = list(ns0.ListRegistryKeysInGuest_Dec.__bases__)
                bases.insert(0, ns0.ListRegistryKeysInGuestRequestType_Def)
                ns0.ListRegistryKeysInGuest_Dec.__bases__ = tuple(bases)

            ns0.ListRegistryKeysInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ListRegistryKeysInGuest_Dec_Holder"

    class ListRegistryKeysInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ListRegistryKeysInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ListRegistryKeysInGuestResponse_Dec.schema
            TClist = [GTD("urn:vim25","GuestRegKeyRecordSpec",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ListRegistryKeysInGuestResponse")
            kw["aname"] = "_ListRegistryKeysInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ListRegistryKeysInGuestResponse_Holder"
            self.pyclass = Holder

    class DeleteRegistryKeyInGuest_Dec(ElementDeclaration):
        literal = "DeleteRegistryKeyInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteRegistryKeyInGuest")
            kw["aname"] = "_DeleteRegistryKeyInGuest"
            if ns0.DeleteRegistryKeyInGuestRequestType_Def not in ns0.DeleteRegistryKeyInGuest_Dec.__bases__:
                bases = list(ns0.DeleteRegistryKeyInGuest_Dec.__bases__)
                bases.insert(0, ns0.DeleteRegistryKeyInGuestRequestType_Def)
                ns0.DeleteRegistryKeyInGuest_Dec.__bases__ = tuple(bases)

            ns0.DeleteRegistryKeyInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteRegistryKeyInGuest_Dec_Holder"

    class DeleteRegistryKeyInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteRegistryKeyInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteRegistryKeyInGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DeleteRegistryKeyInGuestResponse")
            kw["aname"] = "_DeleteRegistryKeyInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DeleteRegistryKeyInGuestResponse_Holder"
            self.pyclass = Holder

    class SetRegistryValueInGuest_Dec(ElementDeclaration):
        literal = "SetRegistryValueInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetRegistryValueInGuest")
            kw["aname"] = "_SetRegistryValueInGuest"
            if ns0.SetRegistryValueInGuestRequestType_Def not in ns0.SetRegistryValueInGuest_Dec.__bases__:
                bases = list(ns0.SetRegistryValueInGuest_Dec.__bases__)
                bases.insert(0, ns0.SetRegistryValueInGuestRequestType_Def)
                ns0.SetRegistryValueInGuest_Dec.__bases__ = tuple(bases)

            ns0.SetRegistryValueInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetRegistryValueInGuest_Dec_Holder"

    class SetRegistryValueInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetRegistryValueInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetRegistryValueInGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetRegistryValueInGuestResponse")
            kw["aname"] = "_SetRegistryValueInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetRegistryValueInGuestResponse_Holder"
            self.pyclass = Holder

    class ListRegistryValuesInGuest_Dec(ElementDeclaration):
        literal = "ListRegistryValuesInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ListRegistryValuesInGuest")
            kw["aname"] = "_ListRegistryValuesInGuest"
            if ns0.ListRegistryValuesInGuestRequestType_Def not in ns0.ListRegistryValuesInGuest_Dec.__bases__:
                bases = list(ns0.ListRegistryValuesInGuest_Dec.__bases__)
                bases.insert(0, ns0.ListRegistryValuesInGuestRequestType_Def)
                ns0.ListRegistryValuesInGuest_Dec.__bases__ = tuple(bases)

            ns0.ListRegistryValuesInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ListRegistryValuesInGuest_Dec_Holder"

    class ListRegistryValuesInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ListRegistryValuesInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ListRegistryValuesInGuestResponse_Dec.schema
            TClist = [GTD("urn:vim25","GuestRegValueSpec",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ListRegistryValuesInGuestResponse")
            kw["aname"] = "_ListRegistryValuesInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ListRegistryValuesInGuestResponse_Holder"
            self.pyclass = Holder

    class DeleteRegistryValueInGuest_Dec(ElementDeclaration):
        literal = "DeleteRegistryValueInGuest"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteRegistryValueInGuest")
            kw["aname"] = "_DeleteRegistryValueInGuest"
            if ns0.DeleteRegistryValueInGuestRequestType_Def not in ns0.DeleteRegistryValueInGuest_Dec.__bases__:
                bases = list(ns0.DeleteRegistryValueInGuest_Dec.__bases__)
                bases.insert(0, ns0.DeleteRegistryValueInGuestRequestType_Def)
                ns0.DeleteRegistryValueInGuest_Dec.__bases__ = tuple(bases)

            ns0.DeleteRegistryValueInGuestRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteRegistryValueInGuest_Dec_Holder"

    class DeleteRegistryValueInGuestResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteRegistryValueInGuestResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteRegistryValueInGuestResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DeleteRegistryValueInGuestResponse")
            kw["aname"] = "_DeleteRegistryValueInGuestResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DeleteRegistryValueInGuestResponse_Holder"
            self.pyclass = Holder

    class HostCreateDisk_Task_Dec(ElementDeclaration):
        literal = "HostCreateDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostCreateDisk_Task")
            kw["aname"] = "_HostCreateDisk_Task"
            if ns0.HostCreateDiskRequestType_Def not in ns0.HostCreateDisk_Task_Dec.__bases__:
                bases = list(ns0.HostCreateDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.HostCreateDiskRequestType_Def)
                ns0.HostCreateDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.HostCreateDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostCreateDisk_Task_Dec_Holder"

    class HostCreateDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostCreateDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostCreateDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostCreateDisk_TaskResponse")
            kw["aname"] = "_HostCreateDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostCreateDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class HostRegisterDisk_Dec(ElementDeclaration):
        literal = "HostRegisterDisk"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostRegisterDisk")
            kw["aname"] = "_HostRegisterDisk"
            if ns0.HostRegisterDiskRequestType_Def not in ns0.HostRegisterDisk_Dec.__bases__:
                bases = list(ns0.HostRegisterDisk_Dec.__bases__)
                bases.insert(0, ns0.HostRegisterDiskRequestType_Def)
                ns0.HostRegisterDisk_Dec.__bases__ = tuple(bases)

            ns0.HostRegisterDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostRegisterDisk_Dec_Holder"

    class HostRegisterDiskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostRegisterDiskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostRegisterDiskResponse_Dec.schema
            TClist = [GTD("urn:vim25","VStorageObject",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostRegisterDiskResponse")
            kw["aname"] = "_HostRegisterDiskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostRegisterDiskResponse_Holder"
            self.pyclass = Holder

    class HostExtendDisk_Task_Dec(ElementDeclaration):
        literal = "HostExtendDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostExtendDisk_Task")
            kw["aname"] = "_HostExtendDisk_Task"
            if ns0.HostExtendDiskRequestType_Def not in ns0.HostExtendDisk_Task_Dec.__bases__:
                bases = list(ns0.HostExtendDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.HostExtendDiskRequestType_Def)
                ns0.HostExtendDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.HostExtendDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostExtendDisk_Task_Dec_Holder"

    class HostExtendDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostExtendDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostExtendDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostExtendDisk_TaskResponse")
            kw["aname"] = "_HostExtendDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostExtendDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class HostInflateDisk_Task_Dec(ElementDeclaration):
        literal = "HostInflateDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostInflateDisk_Task")
            kw["aname"] = "_HostInflateDisk_Task"
            if ns0.HostInflateDiskRequestType_Def not in ns0.HostInflateDisk_Task_Dec.__bases__:
                bases = list(ns0.HostInflateDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.HostInflateDiskRequestType_Def)
                ns0.HostInflateDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.HostInflateDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostInflateDisk_Task_Dec_Holder"

    class HostInflateDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostInflateDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostInflateDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostInflateDisk_TaskResponse")
            kw["aname"] = "_HostInflateDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostInflateDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class HostRenameVStorageObject_Dec(ElementDeclaration):
        literal = "HostRenameVStorageObject"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostRenameVStorageObject")
            kw["aname"] = "_HostRenameVStorageObject"
            if ns0.HostRenameVStorageObjectRequestType_Def not in ns0.HostRenameVStorageObject_Dec.__bases__:
                bases = list(ns0.HostRenameVStorageObject_Dec.__bases__)
                bases.insert(0, ns0.HostRenameVStorageObjectRequestType_Def)
                ns0.HostRenameVStorageObject_Dec.__bases__ = tuple(bases)

            ns0.HostRenameVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostRenameVStorageObject_Dec_Holder"

    class HostRenameVStorageObjectResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostRenameVStorageObjectResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostRenameVStorageObjectResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","HostRenameVStorageObjectResponse")
            kw["aname"] = "_HostRenameVStorageObjectResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "HostRenameVStorageObjectResponse_Holder"
            self.pyclass = Holder

    class HostRetrieveVStorageInfrastructureObjectPolicy_Dec(ElementDeclaration):
        literal = "HostRetrieveVStorageInfrastructureObjectPolicy"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostRetrieveVStorageInfrastructureObjectPolicy")
            kw["aname"] = "_HostRetrieveVStorageInfrastructureObjectPolicy"
            if ns0.HostRetrieveVStorageInfrastructureObjectPolicyRequestType_Def not in ns0.HostRetrieveVStorageInfrastructureObjectPolicy_Dec.__bases__:
                bases = list(ns0.HostRetrieveVStorageInfrastructureObjectPolicy_Dec.__bases__)
                bases.insert(0, ns0.HostRetrieveVStorageInfrastructureObjectPolicyRequestType_Def)
                ns0.HostRetrieveVStorageInfrastructureObjectPolicy_Dec.__bases__ = tuple(bases)

            ns0.HostRetrieveVStorageInfrastructureObjectPolicyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostRetrieveVStorageInfrastructureObjectPolicy_Dec_Holder"

    class HostRetrieveVStorageInfrastructureObjectPolicyResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostRetrieveVStorageInfrastructureObjectPolicyResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostRetrieveVStorageInfrastructureObjectPolicyResponse_Dec.schema
            TClist = [GTD("urn:vim25","vslmInfrastructureObjectPolicy",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostRetrieveVStorageInfrastructureObjectPolicyResponse")
            kw["aname"] = "_HostRetrieveVStorageInfrastructureObjectPolicyResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "HostRetrieveVStorageInfrastructureObjectPolicyResponse_Holder"
            self.pyclass = Holder

    class HostDeleteVStorageObject_Task_Dec(ElementDeclaration):
        literal = "HostDeleteVStorageObject_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostDeleteVStorageObject_Task")
            kw["aname"] = "_HostDeleteVStorageObject_Task"
            if ns0.HostDeleteVStorageObjectRequestType_Def not in ns0.HostDeleteVStorageObject_Task_Dec.__bases__:
                bases = list(ns0.HostDeleteVStorageObject_Task_Dec.__bases__)
                bases.insert(0, ns0.HostDeleteVStorageObjectRequestType_Def)
                ns0.HostDeleteVStorageObject_Task_Dec.__bases__ = tuple(bases)

            ns0.HostDeleteVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostDeleteVStorageObject_Task_Dec_Holder"

    class HostDeleteVStorageObject_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostDeleteVStorageObject_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostDeleteVStorageObject_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostDeleteVStorageObject_TaskResponse")
            kw["aname"] = "_HostDeleteVStorageObject_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostDeleteVStorageObject_TaskResponse_Holder"
            self.pyclass = Holder

    class HostRetrieveVStorageObject_Dec(ElementDeclaration):
        literal = "HostRetrieveVStorageObject"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostRetrieveVStorageObject")
            kw["aname"] = "_HostRetrieveVStorageObject"
            if ns0.HostRetrieveVStorageObjectRequestType_Def not in ns0.HostRetrieveVStorageObject_Dec.__bases__:
                bases = list(ns0.HostRetrieveVStorageObject_Dec.__bases__)
                bases.insert(0, ns0.HostRetrieveVStorageObjectRequestType_Def)
                ns0.HostRetrieveVStorageObject_Dec.__bases__ = tuple(bases)

            ns0.HostRetrieveVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostRetrieveVStorageObject_Dec_Holder"

    class HostRetrieveVStorageObjectResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostRetrieveVStorageObjectResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostRetrieveVStorageObjectResponse_Dec.schema
            TClist = [GTD("urn:vim25","VStorageObject",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostRetrieveVStorageObjectResponse")
            kw["aname"] = "_HostRetrieveVStorageObjectResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostRetrieveVStorageObjectResponse_Holder"
            self.pyclass = Holder

    class HostRetrieveVStorageObjectState_Dec(ElementDeclaration):
        literal = "HostRetrieveVStorageObjectState"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostRetrieveVStorageObjectState")
            kw["aname"] = "_HostRetrieveVStorageObjectState"
            if ns0.HostRetrieveVStorageObjectStateRequestType_Def not in ns0.HostRetrieveVStorageObjectState_Dec.__bases__:
                bases = list(ns0.HostRetrieveVStorageObjectState_Dec.__bases__)
                bases.insert(0, ns0.HostRetrieveVStorageObjectStateRequestType_Def)
                ns0.HostRetrieveVStorageObjectState_Dec.__bases__ = tuple(bases)

            ns0.HostRetrieveVStorageObjectStateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostRetrieveVStorageObjectState_Dec_Holder"

    class HostRetrieveVStorageObjectStateResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostRetrieveVStorageObjectStateResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostRetrieveVStorageObjectStateResponse_Dec.schema
            TClist = [GTD("urn:vim25","VStorageObjectStateInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostRetrieveVStorageObjectStateResponse")
            kw["aname"] = "_HostRetrieveVStorageObjectStateResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostRetrieveVStorageObjectStateResponse_Holder"
            self.pyclass = Holder

    class HostListVStorageObject_Dec(ElementDeclaration):
        literal = "HostListVStorageObject"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostListVStorageObject")
            kw["aname"] = "_HostListVStorageObject"
            if ns0.HostListVStorageObjectRequestType_Def not in ns0.HostListVStorageObject_Dec.__bases__:
                bases = list(ns0.HostListVStorageObject_Dec.__bases__)
                bases.insert(0, ns0.HostListVStorageObjectRequestType_Def)
                ns0.HostListVStorageObject_Dec.__bases__ = tuple(bases)

            ns0.HostListVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostListVStorageObject_Dec_Holder"

    class HostListVStorageObjectResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostListVStorageObjectResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostListVStorageObjectResponse_Dec.schema
            TClist = [GTD("urn:vim25","ID",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostListVStorageObjectResponse")
            kw["aname"] = "_HostListVStorageObjectResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "HostListVStorageObjectResponse_Holder"
            self.pyclass = Holder

    class HostCloneVStorageObject_Task_Dec(ElementDeclaration):
        literal = "HostCloneVStorageObject_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostCloneVStorageObject_Task")
            kw["aname"] = "_HostCloneVStorageObject_Task"
            if ns0.HostCloneVStorageObjectRequestType_Def not in ns0.HostCloneVStorageObject_Task_Dec.__bases__:
                bases = list(ns0.HostCloneVStorageObject_Task_Dec.__bases__)
                bases.insert(0, ns0.HostCloneVStorageObjectRequestType_Def)
                ns0.HostCloneVStorageObject_Task_Dec.__bases__ = tuple(bases)

            ns0.HostCloneVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostCloneVStorageObject_Task_Dec_Holder"

    class HostCloneVStorageObject_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostCloneVStorageObject_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostCloneVStorageObject_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostCloneVStorageObject_TaskResponse")
            kw["aname"] = "_HostCloneVStorageObject_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostCloneVStorageObject_TaskResponse_Holder"
            self.pyclass = Holder

    class HostRelocateVStorageObject_Task_Dec(ElementDeclaration):
        literal = "HostRelocateVStorageObject_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostRelocateVStorageObject_Task")
            kw["aname"] = "_HostRelocateVStorageObject_Task"
            if ns0.HostRelocateVStorageObjectRequestType_Def not in ns0.HostRelocateVStorageObject_Task_Dec.__bases__:
                bases = list(ns0.HostRelocateVStorageObject_Task_Dec.__bases__)
                bases.insert(0, ns0.HostRelocateVStorageObjectRequestType_Def)
                ns0.HostRelocateVStorageObject_Task_Dec.__bases__ = tuple(bases)

            ns0.HostRelocateVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostRelocateVStorageObject_Task_Dec_Holder"

    class HostRelocateVStorageObject_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostRelocateVStorageObject_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostRelocateVStorageObject_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostRelocateVStorageObject_TaskResponse")
            kw["aname"] = "_HostRelocateVStorageObject_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostRelocateVStorageObject_TaskResponse_Holder"
            self.pyclass = Holder

    class HostSetVStorageObjectControlFlags_Dec(ElementDeclaration):
        literal = "HostSetVStorageObjectControlFlags"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostSetVStorageObjectControlFlags")
            kw["aname"] = "_HostSetVStorageObjectControlFlags"
            if ns0.HostSetVStorageObjectControlFlagsRequestType_Def not in ns0.HostSetVStorageObjectControlFlags_Dec.__bases__:
                bases = list(ns0.HostSetVStorageObjectControlFlags_Dec.__bases__)
                bases.insert(0, ns0.HostSetVStorageObjectControlFlagsRequestType_Def)
                ns0.HostSetVStorageObjectControlFlags_Dec.__bases__ = tuple(bases)

            ns0.HostSetVStorageObjectControlFlagsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostSetVStorageObjectControlFlags_Dec_Holder"

    class HostSetVStorageObjectControlFlagsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostSetVStorageObjectControlFlagsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostSetVStorageObjectControlFlagsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","HostSetVStorageObjectControlFlagsResponse")
            kw["aname"] = "_HostSetVStorageObjectControlFlagsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "HostSetVStorageObjectControlFlagsResponse_Holder"
            self.pyclass = Holder

    class HostClearVStorageObjectControlFlags_Dec(ElementDeclaration):
        literal = "HostClearVStorageObjectControlFlags"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostClearVStorageObjectControlFlags")
            kw["aname"] = "_HostClearVStorageObjectControlFlags"
            if ns0.HostClearVStorageObjectControlFlagsRequestType_Def not in ns0.HostClearVStorageObjectControlFlags_Dec.__bases__:
                bases = list(ns0.HostClearVStorageObjectControlFlags_Dec.__bases__)
                bases.insert(0, ns0.HostClearVStorageObjectControlFlagsRequestType_Def)
                ns0.HostClearVStorageObjectControlFlags_Dec.__bases__ = tuple(bases)

            ns0.HostClearVStorageObjectControlFlagsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostClearVStorageObjectControlFlags_Dec_Holder"

    class HostClearVStorageObjectControlFlagsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostClearVStorageObjectControlFlagsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostClearVStorageObjectControlFlagsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","HostClearVStorageObjectControlFlagsResponse")
            kw["aname"] = "_HostClearVStorageObjectControlFlagsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "HostClearVStorageObjectControlFlagsResponse_Holder"
            self.pyclass = Holder

    class HostReconcileDatastoreInventory_Task_Dec(ElementDeclaration):
        literal = "HostReconcileDatastoreInventory_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostReconcileDatastoreInventory_Task")
            kw["aname"] = "_HostReconcileDatastoreInventory_Task"
            if ns0.HostReconcileDatastoreInventoryRequestType_Def not in ns0.HostReconcileDatastoreInventory_Task_Dec.__bases__:
                bases = list(ns0.HostReconcileDatastoreInventory_Task_Dec.__bases__)
                bases.insert(0, ns0.HostReconcileDatastoreInventoryRequestType_Def)
                ns0.HostReconcileDatastoreInventory_Task_Dec.__bases__ = tuple(bases)

            ns0.HostReconcileDatastoreInventoryRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostReconcileDatastoreInventory_Task_Dec_Holder"

    class HostReconcileDatastoreInventory_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostReconcileDatastoreInventory_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostReconcileDatastoreInventory_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostReconcileDatastoreInventory_TaskResponse")
            kw["aname"] = "_HostReconcileDatastoreInventory_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostReconcileDatastoreInventory_TaskResponse_Holder"
            self.pyclass = Holder

    class HostScheduleReconcileDatastoreInventory_Dec(ElementDeclaration):
        literal = "HostScheduleReconcileDatastoreInventory"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostScheduleReconcileDatastoreInventory")
            kw["aname"] = "_HostScheduleReconcileDatastoreInventory"
            if ns0.HostScheduleReconcileDatastoreInventoryRequestType_Def not in ns0.HostScheduleReconcileDatastoreInventory_Dec.__bases__:
                bases = list(ns0.HostScheduleReconcileDatastoreInventory_Dec.__bases__)
                bases.insert(0, ns0.HostScheduleReconcileDatastoreInventoryRequestType_Def)
                ns0.HostScheduleReconcileDatastoreInventory_Dec.__bases__ = tuple(bases)

            ns0.HostScheduleReconcileDatastoreInventoryRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostScheduleReconcileDatastoreInventory_Dec_Holder"

    class HostScheduleReconcileDatastoreInventoryResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostScheduleReconcileDatastoreInventoryResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostScheduleReconcileDatastoreInventoryResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","HostScheduleReconcileDatastoreInventoryResponse")
            kw["aname"] = "_HostScheduleReconcileDatastoreInventoryResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "HostScheduleReconcileDatastoreInventoryResponse_Holder"
            self.pyclass = Holder

    class HostVStorageObjectCreateSnapshot_Task_Dec(ElementDeclaration):
        literal = "HostVStorageObjectCreateSnapshot_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostVStorageObjectCreateSnapshot_Task")
            kw["aname"] = "_HostVStorageObjectCreateSnapshot_Task"
            if ns0.HostVStorageObjectCreateSnapshotRequestType_Def not in ns0.HostVStorageObjectCreateSnapshot_Task_Dec.__bases__:
                bases = list(ns0.HostVStorageObjectCreateSnapshot_Task_Dec.__bases__)
                bases.insert(0, ns0.HostVStorageObjectCreateSnapshotRequestType_Def)
                ns0.HostVStorageObjectCreateSnapshot_Task_Dec.__bases__ = tuple(bases)

            ns0.HostVStorageObjectCreateSnapshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostVStorageObjectCreateSnapshot_Task_Dec_Holder"

    class HostVStorageObjectCreateSnapshot_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostVStorageObjectCreateSnapshot_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostVStorageObjectCreateSnapshot_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostVStorageObjectCreateSnapshot_TaskResponse")
            kw["aname"] = "_HostVStorageObjectCreateSnapshot_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostVStorageObjectCreateSnapshot_TaskResponse_Holder"
            self.pyclass = Holder

    class HostVStorageObjectDeleteSnapshot_Task_Dec(ElementDeclaration):
        literal = "HostVStorageObjectDeleteSnapshot_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostVStorageObjectDeleteSnapshot_Task")
            kw["aname"] = "_HostVStorageObjectDeleteSnapshot_Task"
            if ns0.HostVStorageObjectDeleteSnapshotRequestType_Def not in ns0.HostVStorageObjectDeleteSnapshot_Task_Dec.__bases__:
                bases = list(ns0.HostVStorageObjectDeleteSnapshot_Task_Dec.__bases__)
                bases.insert(0, ns0.HostVStorageObjectDeleteSnapshotRequestType_Def)
                ns0.HostVStorageObjectDeleteSnapshot_Task_Dec.__bases__ = tuple(bases)

            ns0.HostVStorageObjectDeleteSnapshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostVStorageObjectDeleteSnapshot_Task_Dec_Holder"

    class HostVStorageObjectDeleteSnapshot_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostVStorageObjectDeleteSnapshot_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostVStorageObjectDeleteSnapshot_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostVStorageObjectDeleteSnapshot_TaskResponse")
            kw["aname"] = "_HostVStorageObjectDeleteSnapshot_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostVStorageObjectDeleteSnapshot_TaskResponse_Holder"
            self.pyclass = Holder

    class HostVStorageObjectRetrieveSnapshotInfo_Dec(ElementDeclaration):
        literal = "HostVStorageObjectRetrieveSnapshotInfo"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostVStorageObjectRetrieveSnapshotInfo")
            kw["aname"] = "_HostVStorageObjectRetrieveSnapshotInfo"
            if ns0.HostVStorageObjectRetrieveSnapshotInfoRequestType_Def not in ns0.HostVStorageObjectRetrieveSnapshotInfo_Dec.__bases__:
                bases = list(ns0.HostVStorageObjectRetrieveSnapshotInfo_Dec.__bases__)
                bases.insert(0, ns0.HostVStorageObjectRetrieveSnapshotInfoRequestType_Def)
                ns0.HostVStorageObjectRetrieveSnapshotInfo_Dec.__bases__ = tuple(bases)

            ns0.HostVStorageObjectRetrieveSnapshotInfoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostVStorageObjectRetrieveSnapshotInfo_Dec_Holder"

    class HostVStorageObjectRetrieveSnapshotInfoResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostVStorageObjectRetrieveSnapshotInfoResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostVStorageObjectRetrieveSnapshotInfoResponse_Dec.schema
            TClist = [GTD("urn:vim25","VStorageObjectSnapshotInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostVStorageObjectRetrieveSnapshotInfoResponse")
            kw["aname"] = "_HostVStorageObjectRetrieveSnapshotInfoResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostVStorageObjectRetrieveSnapshotInfoResponse_Holder"
            self.pyclass = Holder

    class HostVStorageObjectCreateDiskFromSnapshot_Task_Dec(ElementDeclaration):
        literal = "HostVStorageObjectCreateDiskFromSnapshot_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostVStorageObjectCreateDiskFromSnapshot_Task")
            kw["aname"] = "_HostVStorageObjectCreateDiskFromSnapshot_Task"
            if ns0.HostVStorageObjectCreateDiskFromSnapshotRequestType_Def not in ns0.HostVStorageObjectCreateDiskFromSnapshot_Task_Dec.__bases__:
                bases = list(ns0.HostVStorageObjectCreateDiskFromSnapshot_Task_Dec.__bases__)
                bases.insert(0, ns0.HostVStorageObjectCreateDiskFromSnapshotRequestType_Def)
                ns0.HostVStorageObjectCreateDiskFromSnapshot_Task_Dec.__bases__ = tuple(bases)

            ns0.HostVStorageObjectCreateDiskFromSnapshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostVStorageObjectCreateDiskFromSnapshot_Task_Dec_Holder"

    class HostVStorageObjectCreateDiskFromSnapshot_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostVStorageObjectCreateDiskFromSnapshot_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostVStorageObjectCreateDiskFromSnapshot_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostVStorageObjectCreateDiskFromSnapshot_TaskResponse")
            kw["aname"] = "_HostVStorageObjectCreateDiskFromSnapshot_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostVStorageObjectCreateDiskFromSnapshot_TaskResponse_Holder"
            self.pyclass = Holder

    class HostVStorageObjectRevert_Task_Dec(ElementDeclaration):
        literal = "HostVStorageObjectRevert_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostVStorageObjectRevert_Task")
            kw["aname"] = "_HostVStorageObjectRevert_Task"
            if ns0.HostVStorageObjectRevertRequestType_Def not in ns0.HostVStorageObjectRevert_Task_Dec.__bases__:
                bases = list(ns0.HostVStorageObjectRevert_Task_Dec.__bases__)
                bases.insert(0, ns0.HostVStorageObjectRevertRequestType_Def)
                ns0.HostVStorageObjectRevert_Task_Dec.__bases__ = tuple(bases)

            ns0.HostVStorageObjectRevertRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostVStorageObjectRevert_Task_Dec_Holder"

    class HostVStorageObjectRevert_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "HostVStorageObjectRevert_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.HostVStorageObjectRevert_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","HostVStorageObjectRevert_TaskResponse")
            kw["aname"] = "_HostVStorageObjectRevert_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "HostVStorageObjectRevert_TaskResponse_Holder"
            self.pyclass = Holder

    class CreateDisk_Task_Dec(ElementDeclaration):
        literal = "CreateDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateDisk_Task")
            kw["aname"] = "_CreateDisk_Task"
            if ns0.CreateDiskRequestType_Def not in ns0.CreateDisk_Task_Dec.__bases__:
                bases = list(ns0.CreateDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.CreateDiskRequestType_Def)
                ns0.CreateDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.CreateDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateDisk_Task_Dec_Holder"

    class CreateDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateDisk_TaskResponse")
            kw["aname"] = "_CreateDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class RegisterDisk_Dec(ElementDeclaration):
        literal = "RegisterDisk"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RegisterDisk")
            kw["aname"] = "_RegisterDisk"
            if ns0.RegisterDiskRequestType_Def not in ns0.RegisterDisk_Dec.__bases__:
                bases = list(ns0.RegisterDisk_Dec.__bases__)
                bases.insert(0, ns0.RegisterDiskRequestType_Def)
                ns0.RegisterDisk_Dec.__bases__ = tuple(bases)

            ns0.RegisterDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RegisterDisk_Dec_Holder"

    class RegisterDiskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RegisterDiskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RegisterDiskResponse_Dec.schema
            TClist = [GTD("urn:vim25","VStorageObject",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RegisterDiskResponse")
            kw["aname"] = "_RegisterDiskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RegisterDiskResponse_Holder"
            self.pyclass = Holder

    class ExtendDisk_Task_Dec(ElementDeclaration):
        literal = "ExtendDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ExtendDisk_Task")
            kw["aname"] = "_ExtendDisk_Task"
            if ns0.ExtendDiskRequestType_Def not in ns0.ExtendDisk_Task_Dec.__bases__:
                bases = list(ns0.ExtendDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.ExtendDiskRequestType_Def)
                ns0.ExtendDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.ExtendDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ExtendDisk_Task_Dec_Holder"

    class ExtendDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ExtendDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ExtendDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ExtendDisk_TaskResponse")
            kw["aname"] = "_ExtendDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ExtendDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class InflateDisk_Task_Dec(ElementDeclaration):
        literal = "InflateDisk_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InflateDisk_Task")
            kw["aname"] = "_InflateDisk_Task"
            if ns0.InflateDiskRequestType_Def not in ns0.InflateDisk_Task_Dec.__bases__:
                bases = list(ns0.InflateDisk_Task_Dec.__bases__)
                bases.insert(0, ns0.InflateDiskRequestType_Def)
                ns0.InflateDisk_Task_Dec.__bases__ = tuple(bases)

            ns0.InflateDiskRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InflateDisk_Task_Dec_Holder"

    class InflateDisk_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "InflateDisk_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.InflateDisk_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","InflateDisk_TaskResponse")
            kw["aname"] = "_InflateDisk_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "InflateDisk_TaskResponse_Holder"
            self.pyclass = Holder

    class RenameVStorageObject_Dec(ElementDeclaration):
        literal = "RenameVStorageObject"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RenameVStorageObject")
            kw["aname"] = "_RenameVStorageObject"
            if ns0.RenameVStorageObjectRequestType_Def not in ns0.RenameVStorageObject_Dec.__bases__:
                bases = list(ns0.RenameVStorageObject_Dec.__bases__)
                bases.insert(0, ns0.RenameVStorageObjectRequestType_Def)
                ns0.RenameVStorageObject_Dec.__bases__ = tuple(bases)

            ns0.RenameVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RenameVStorageObject_Dec_Holder"

    class RenameVStorageObjectResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RenameVStorageObjectResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RenameVStorageObjectResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","RenameVStorageObjectResponse")
            kw["aname"] = "_RenameVStorageObjectResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "RenameVStorageObjectResponse_Holder"
            self.pyclass = Holder

    class UpdateVStorageObjectPolicy_Task_Dec(ElementDeclaration):
        literal = "UpdateVStorageObjectPolicy_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateVStorageObjectPolicy_Task")
            kw["aname"] = "_UpdateVStorageObjectPolicy_Task"
            if ns0.UpdateVStorageObjectPolicyRequestType_Def not in ns0.UpdateVStorageObjectPolicy_Task_Dec.__bases__:
                bases = list(ns0.UpdateVStorageObjectPolicy_Task_Dec.__bases__)
                bases.insert(0, ns0.UpdateVStorageObjectPolicyRequestType_Def)
                ns0.UpdateVStorageObjectPolicy_Task_Dec.__bases__ = tuple(bases)

            ns0.UpdateVStorageObjectPolicyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateVStorageObjectPolicy_Task_Dec_Holder"

    class UpdateVStorageObjectPolicy_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateVStorageObjectPolicy_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateVStorageObjectPolicy_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpdateVStorageObjectPolicy_TaskResponse")
            kw["aname"] = "_UpdateVStorageObjectPolicy_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpdateVStorageObjectPolicy_TaskResponse_Holder"
            self.pyclass = Holder

    class UpdateVStorageInfrastructureObjectPolicy_Task_Dec(ElementDeclaration):
        literal = "UpdateVStorageInfrastructureObjectPolicy_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UpdateVStorageInfrastructureObjectPolicy_Task")
            kw["aname"] = "_UpdateVStorageInfrastructureObjectPolicy_Task"
            if ns0.UpdateVStorageInfrastructureObjectPolicyRequestType_Def not in ns0.UpdateVStorageInfrastructureObjectPolicy_Task_Dec.__bases__:
                bases = list(ns0.UpdateVStorageInfrastructureObjectPolicy_Task_Dec.__bases__)
                bases.insert(0, ns0.UpdateVStorageInfrastructureObjectPolicyRequestType_Def)
                ns0.UpdateVStorageInfrastructureObjectPolicy_Task_Dec.__bases__ = tuple(bases)

            ns0.UpdateVStorageInfrastructureObjectPolicyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UpdateVStorageInfrastructureObjectPolicy_Task_Dec_Holder"

    class UpdateVStorageInfrastructureObjectPolicy_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "UpdateVStorageInfrastructureObjectPolicy_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.UpdateVStorageInfrastructureObjectPolicy_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","UpdateVStorageInfrastructureObjectPolicy_TaskResponse")
            kw["aname"] = "_UpdateVStorageInfrastructureObjectPolicy_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "UpdateVStorageInfrastructureObjectPolicy_TaskResponse_Holder"
            self.pyclass = Holder

    class RetrieveVStorageInfrastructureObjectPolicy_Dec(ElementDeclaration):
        literal = "RetrieveVStorageInfrastructureObjectPolicy"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveVStorageInfrastructureObjectPolicy")
            kw["aname"] = "_RetrieveVStorageInfrastructureObjectPolicy"
            if ns0.RetrieveVStorageInfrastructureObjectPolicyRequestType_Def not in ns0.RetrieveVStorageInfrastructureObjectPolicy_Dec.__bases__:
                bases = list(ns0.RetrieveVStorageInfrastructureObjectPolicy_Dec.__bases__)
                bases.insert(0, ns0.RetrieveVStorageInfrastructureObjectPolicyRequestType_Def)
                ns0.RetrieveVStorageInfrastructureObjectPolicy_Dec.__bases__ = tuple(bases)

            ns0.RetrieveVStorageInfrastructureObjectPolicyRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveVStorageInfrastructureObjectPolicy_Dec_Holder"

    class RetrieveVStorageInfrastructureObjectPolicyResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveVStorageInfrastructureObjectPolicyResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveVStorageInfrastructureObjectPolicyResponse_Dec.schema
            TClist = [GTD("urn:vim25","vslmInfrastructureObjectPolicy",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveVStorageInfrastructureObjectPolicyResponse")
            kw["aname"] = "_RetrieveVStorageInfrastructureObjectPolicyResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrieveVStorageInfrastructureObjectPolicyResponse_Holder"
            self.pyclass = Holder

    class DeleteVStorageObject_Task_Dec(ElementDeclaration):
        literal = "DeleteVStorageObject_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteVStorageObject_Task")
            kw["aname"] = "_DeleteVStorageObject_Task"
            if ns0.DeleteVStorageObjectRequestType_Def not in ns0.DeleteVStorageObject_Task_Dec.__bases__:
                bases = list(ns0.DeleteVStorageObject_Task_Dec.__bases__)
                bases.insert(0, ns0.DeleteVStorageObjectRequestType_Def)
                ns0.DeleteVStorageObject_Task_Dec.__bases__ = tuple(bases)

            ns0.DeleteVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteVStorageObject_Task_Dec_Holder"

    class DeleteVStorageObject_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteVStorageObject_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteVStorageObject_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DeleteVStorageObject_TaskResponse")
            kw["aname"] = "_DeleteVStorageObject_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DeleteVStorageObject_TaskResponse_Holder"
            self.pyclass = Holder

    class RetrieveVStorageObject_Dec(ElementDeclaration):
        literal = "RetrieveVStorageObject"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveVStorageObject")
            kw["aname"] = "_RetrieveVStorageObject"
            if ns0.RetrieveVStorageObjectRequestType_Def not in ns0.RetrieveVStorageObject_Dec.__bases__:
                bases = list(ns0.RetrieveVStorageObject_Dec.__bases__)
                bases.insert(0, ns0.RetrieveVStorageObjectRequestType_Def)
                ns0.RetrieveVStorageObject_Dec.__bases__ = tuple(bases)

            ns0.RetrieveVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveVStorageObject_Dec_Holder"

    class RetrieveVStorageObjectResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveVStorageObjectResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveVStorageObjectResponse_Dec.schema
            TClist = [GTD("urn:vim25","VStorageObject",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveVStorageObjectResponse")
            kw["aname"] = "_RetrieveVStorageObjectResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveVStorageObjectResponse_Holder"
            self.pyclass = Holder

    class RetrieveVStorageObjectState_Dec(ElementDeclaration):
        literal = "RetrieveVStorageObjectState"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveVStorageObjectState")
            kw["aname"] = "_RetrieveVStorageObjectState"
            if ns0.RetrieveVStorageObjectStateRequestType_Def not in ns0.RetrieveVStorageObjectState_Dec.__bases__:
                bases = list(ns0.RetrieveVStorageObjectState_Dec.__bases__)
                bases.insert(0, ns0.RetrieveVStorageObjectStateRequestType_Def)
                ns0.RetrieveVStorageObjectState_Dec.__bases__ = tuple(bases)

            ns0.RetrieveVStorageObjectStateRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveVStorageObjectState_Dec_Holder"

    class RetrieveVStorageObjectStateResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveVStorageObjectStateResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveVStorageObjectStateResponse_Dec.schema
            TClist = [GTD("urn:vim25","VStorageObjectStateInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveVStorageObjectStateResponse")
            kw["aname"] = "_RetrieveVStorageObjectStateResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveVStorageObjectStateResponse_Holder"
            self.pyclass = Holder

    class RetrieveVStorageObjectAssociations_Dec(ElementDeclaration):
        literal = "RetrieveVStorageObjectAssociations"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveVStorageObjectAssociations")
            kw["aname"] = "_RetrieveVStorageObjectAssociations"
            if ns0.RetrieveVStorageObjectAssociationsRequestType_Def not in ns0.RetrieveVStorageObjectAssociations_Dec.__bases__:
                bases = list(ns0.RetrieveVStorageObjectAssociations_Dec.__bases__)
                bases.insert(0, ns0.RetrieveVStorageObjectAssociationsRequestType_Def)
                ns0.RetrieveVStorageObjectAssociations_Dec.__bases__ = tuple(bases)

            ns0.RetrieveVStorageObjectAssociationsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveVStorageObjectAssociations_Dec_Holder"

    class RetrieveVStorageObjectAssociationsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveVStorageObjectAssociationsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveVStorageObjectAssociationsResponse_Dec.schema
            TClist = [GTD("urn:vim25","VStorageObjectAssociations",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveVStorageObjectAssociationsResponse")
            kw["aname"] = "_RetrieveVStorageObjectAssociationsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrieveVStorageObjectAssociationsResponse_Holder"
            self.pyclass = Holder

    class ListVStorageObject_Dec(ElementDeclaration):
        literal = "ListVStorageObject"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ListVStorageObject")
            kw["aname"] = "_ListVStorageObject"
            if ns0.ListVStorageObjectRequestType_Def not in ns0.ListVStorageObject_Dec.__bases__:
                bases = list(ns0.ListVStorageObject_Dec.__bases__)
                bases.insert(0, ns0.ListVStorageObjectRequestType_Def)
                ns0.ListVStorageObject_Dec.__bases__ = tuple(bases)

            ns0.ListVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ListVStorageObject_Dec_Holder"

    class ListVStorageObjectResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ListVStorageObjectResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ListVStorageObjectResponse_Dec.schema
            TClist = [GTD("urn:vim25","ID",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ListVStorageObjectResponse")
            kw["aname"] = "_ListVStorageObjectResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ListVStorageObjectResponse_Holder"
            self.pyclass = Holder

    class CloneVStorageObject_Task_Dec(ElementDeclaration):
        literal = "CloneVStorageObject_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CloneVStorageObject_Task")
            kw["aname"] = "_CloneVStorageObject_Task"
            if ns0.CloneVStorageObjectRequestType_Def not in ns0.CloneVStorageObject_Task_Dec.__bases__:
                bases = list(ns0.CloneVStorageObject_Task_Dec.__bases__)
                bases.insert(0, ns0.CloneVStorageObjectRequestType_Def)
                ns0.CloneVStorageObject_Task_Dec.__bases__ = tuple(bases)

            ns0.CloneVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CloneVStorageObject_Task_Dec_Holder"

    class CloneVStorageObject_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CloneVStorageObject_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CloneVStorageObject_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CloneVStorageObject_TaskResponse")
            kw["aname"] = "_CloneVStorageObject_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CloneVStorageObject_TaskResponse_Holder"
            self.pyclass = Holder

    class RelocateVStorageObject_Task_Dec(ElementDeclaration):
        literal = "RelocateVStorageObject_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RelocateVStorageObject_Task")
            kw["aname"] = "_RelocateVStorageObject_Task"
            if ns0.RelocateVStorageObjectRequestType_Def not in ns0.RelocateVStorageObject_Task_Dec.__bases__:
                bases = list(ns0.RelocateVStorageObject_Task_Dec.__bases__)
                bases.insert(0, ns0.RelocateVStorageObjectRequestType_Def)
                ns0.RelocateVStorageObject_Task_Dec.__bases__ = tuple(bases)

            ns0.RelocateVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RelocateVStorageObject_Task_Dec_Holder"

    class RelocateVStorageObject_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RelocateVStorageObject_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RelocateVStorageObject_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RelocateVStorageObject_TaskResponse")
            kw["aname"] = "_RelocateVStorageObject_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RelocateVStorageObject_TaskResponse_Holder"
            self.pyclass = Holder

    class SetVStorageObjectControlFlags_Dec(ElementDeclaration):
        literal = "SetVStorageObjectControlFlags"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SetVStorageObjectControlFlags")
            kw["aname"] = "_SetVStorageObjectControlFlags"
            if ns0.SetVStorageObjectControlFlagsRequestType_Def not in ns0.SetVStorageObjectControlFlags_Dec.__bases__:
                bases = list(ns0.SetVStorageObjectControlFlags_Dec.__bases__)
                bases.insert(0, ns0.SetVStorageObjectControlFlagsRequestType_Def)
                ns0.SetVStorageObjectControlFlags_Dec.__bases__ = tuple(bases)

            ns0.SetVStorageObjectControlFlagsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SetVStorageObjectControlFlags_Dec_Holder"

    class SetVStorageObjectControlFlagsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "SetVStorageObjectControlFlagsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.SetVStorageObjectControlFlagsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","SetVStorageObjectControlFlagsResponse")
            kw["aname"] = "_SetVStorageObjectControlFlagsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "SetVStorageObjectControlFlagsResponse_Holder"
            self.pyclass = Holder

    class ClearVStorageObjectControlFlags_Dec(ElementDeclaration):
        literal = "ClearVStorageObjectControlFlags"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ClearVStorageObjectControlFlags")
            kw["aname"] = "_ClearVStorageObjectControlFlags"
            if ns0.ClearVStorageObjectControlFlagsRequestType_Def not in ns0.ClearVStorageObjectControlFlags_Dec.__bases__:
                bases = list(ns0.ClearVStorageObjectControlFlags_Dec.__bases__)
                bases.insert(0, ns0.ClearVStorageObjectControlFlagsRequestType_Def)
                ns0.ClearVStorageObjectControlFlags_Dec.__bases__ = tuple(bases)

            ns0.ClearVStorageObjectControlFlagsRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ClearVStorageObjectControlFlags_Dec_Holder"

    class ClearVStorageObjectControlFlagsResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ClearVStorageObjectControlFlagsResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ClearVStorageObjectControlFlagsResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ClearVStorageObjectControlFlagsResponse")
            kw["aname"] = "_ClearVStorageObjectControlFlagsResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ClearVStorageObjectControlFlagsResponse_Holder"
            self.pyclass = Holder

    class AttachTagToVStorageObject_Dec(ElementDeclaration):
        literal = "AttachTagToVStorageObject"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","AttachTagToVStorageObject")
            kw["aname"] = "_AttachTagToVStorageObject"
            if ns0.AttachTagToVStorageObjectRequestType_Def not in ns0.AttachTagToVStorageObject_Dec.__bases__:
                bases = list(ns0.AttachTagToVStorageObject_Dec.__bases__)
                bases.insert(0, ns0.AttachTagToVStorageObjectRequestType_Def)
                ns0.AttachTagToVStorageObject_Dec.__bases__ = tuple(bases)

            ns0.AttachTagToVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "AttachTagToVStorageObject_Dec_Holder"

    class AttachTagToVStorageObjectResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "AttachTagToVStorageObjectResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.AttachTagToVStorageObjectResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","AttachTagToVStorageObjectResponse")
            kw["aname"] = "_AttachTagToVStorageObjectResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "AttachTagToVStorageObjectResponse_Holder"
            self.pyclass = Holder

    class DetachTagFromVStorageObject_Dec(ElementDeclaration):
        literal = "DetachTagFromVStorageObject"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DetachTagFromVStorageObject")
            kw["aname"] = "_DetachTagFromVStorageObject"
            if ns0.DetachTagFromVStorageObjectRequestType_Def not in ns0.DetachTagFromVStorageObject_Dec.__bases__:
                bases = list(ns0.DetachTagFromVStorageObject_Dec.__bases__)
                bases.insert(0, ns0.DetachTagFromVStorageObjectRequestType_Def)
                ns0.DetachTagFromVStorageObject_Dec.__bases__ = tuple(bases)

            ns0.DetachTagFromVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DetachTagFromVStorageObject_Dec_Holder"

    class DetachTagFromVStorageObjectResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DetachTagFromVStorageObjectResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DetachTagFromVStorageObjectResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DetachTagFromVStorageObjectResponse")
            kw["aname"] = "_DetachTagFromVStorageObjectResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DetachTagFromVStorageObjectResponse_Holder"
            self.pyclass = Holder

    class ListVStorageObjectsAttachedToTag_Dec(ElementDeclaration):
        literal = "ListVStorageObjectsAttachedToTag"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ListVStorageObjectsAttachedToTag")
            kw["aname"] = "_ListVStorageObjectsAttachedToTag"
            if ns0.ListVStorageObjectsAttachedToTagRequestType_Def not in ns0.ListVStorageObjectsAttachedToTag_Dec.__bases__:
                bases = list(ns0.ListVStorageObjectsAttachedToTag_Dec.__bases__)
                bases.insert(0, ns0.ListVStorageObjectsAttachedToTagRequestType_Def)
                ns0.ListVStorageObjectsAttachedToTag_Dec.__bases__ = tuple(bases)

            ns0.ListVStorageObjectsAttachedToTagRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ListVStorageObjectsAttachedToTag_Dec_Holder"

    class ListVStorageObjectsAttachedToTagResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ListVStorageObjectsAttachedToTagResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ListVStorageObjectsAttachedToTagResponse_Dec.schema
            TClist = [GTD("urn:vim25","ID",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ListVStorageObjectsAttachedToTagResponse")
            kw["aname"] = "_ListVStorageObjectsAttachedToTagResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ListVStorageObjectsAttachedToTagResponse_Holder"
            self.pyclass = Holder

    class ListTagsAttachedToVStorageObject_Dec(ElementDeclaration):
        literal = "ListTagsAttachedToVStorageObject"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ListTagsAttachedToVStorageObject")
            kw["aname"] = "_ListTagsAttachedToVStorageObject"
            if ns0.ListTagsAttachedToVStorageObjectRequestType_Def not in ns0.ListTagsAttachedToVStorageObject_Dec.__bases__:
                bases = list(ns0.ListTagsAttachedToVStorageObject_Dec.__bases__)
                bases.insert(0, ns0.ListTagsAttachedToVStorageObjectRequestType_Def)
                ns0.ListTagsAttachedToVStorageObject_Dec.__bases__ = tuple(bases)

            ns0.ListTagsAttachedToVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ListTagsAttachedToVStorageObject_Dec_Holder"

    class ListTagsAttachedToVStorageObjectResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ListTagsAttachedToVStorageObjectResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ListTagsAttachedToVStorageObjectResponse_Dec.schema
            TClist = [GTD("urn:vim25","VslmTagEntry",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ListTagsAttachedToVStorageObjectResponse")
            kw["aname"] = "_ListTagsAttachedToVStorageObjectResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "ListTagsAttachedToVStorageObjectResponse_Holder"
            self.pyclass = Holder

    class ReconcileDatastoreInventory_Task_Dec(ElementDeclaration):
        literal = "ReconcileDatastoreInventory_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ReconcileDatastoreInventory_Task")
            kw["aname"] = "_ReconcileDatastoreInventory_Task"
            if ns0.ReconcileDatastoreInventoryRequestType_Def not in ns0.ReconcileDatastoreInventory_Task_Dec.__bases__:
                bases = list(ns0.ReconcileDatastoreInventory_Task_Dec.__bases__)
                bases.insert(0, ns0.ReconcileDatastoreInventoryRequestType_Def)
                ns0.ReconcileDatastoreInventory_Task_Dec.__bases__ = tuple(bases)

            ns0.ReconcileDatastoreInventoryRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ReconcileDatastoreInventory_Task_Dec_Holder"

    class ReconcileDatastoreInventory_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ReconcileDatastoreInventory_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ReconcileDatastoreInventory_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ReconcileDatastoreInventory_TaskResponse")
            kw["aname"] = "_ReconcileDatastoreInventory_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ReconcileDatastoreInventory_TaskResponse_Holder"
            self.pyclass = Holder

    class ScheduleReconcileDatastoreInventory_Dec(ElementDeclaration):
        literal = "ScheduleReconcileDatastoreInventory"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ScheduleReconcileDatastoreInventory")
            kw["aname"] = "_ScheduleReconcileDatastoreInventory"
            if ns0.ScheduleReconcileDatastoreInventoryRequestType_Def not in ns0.ScheduleReconcileDatastoreInventory_Dec.__bases__:
                bases = list(ns0.ScheduleReconcileDatastoreInventory_Dec.__bases__)
                bases.insert(0, ns0.ScheduleReconcileDatastoreInventoryRequestType_Def)
                ns0.ScheduleReconcileDatastoreInventory_Dec.__bases__ = tuple(bases)

            ns0.ScheduleReconcileDatastoreInventoryRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ScheduleReconcileDatastoreInventory_Dec_Holder"

    class ScheduleReconcileDatastoreInventoryResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ScheduleReconcileDatastoreInventoryResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ScheduleReconcileDatastoreInventoryResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","ScheduleReconcileDatastoreInventoryResponse")
            kw["aname"] = "_ScheduleReconcileDatastoreInventoryResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "ScheduleReconcileDatastoreInventoryResponse_Holder"
            self.pyclass = Holder

    class VStorageObjectCreateSnapshot_Task_Dec(ElementDeclaration):
        literal = "VStorageObjectCreateSnapshot_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","VStorageObjectCreateSnapshot_Task")
            kw["aname"] = "_VStorageObjectCreateSnapshot_Task"
            if ns0.VStorageObjectCreateSnapshotRequestType_Def not in ns0.VStorageObjectCreateSnapshot_Task_Dec.__bases__:
                bases = list(ns0.VStorageObjectCreateSnapshot_Task_Dec.__bases__)
                bases.insert(0, ns0.VStorageObjectCreateSnapshotRequestType_Def)
                ns0.VStorageObjectCreateSnapshot_Task_Dec.__bases__ = tuple(bases)

            ns0.VStorageObjectCreateSnapshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "VStorageObjectCreateSnapshot_Task_Dec_Holder"

    class VStorageObjectCreateSnapshot_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "VStorageObjectCreateSnapshot_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.VStorageObjectCreateSnapshot_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","VStorageObjectCreateSnapshot_TaskResponse")
            kw["aname"] = "_VStorageObjectCreateSnapshot_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "VStorageObjectCreateSnapshot_TaskResponse_Holder"
            self.pyclass = Holder

    class DeleteSnapshot_Task_Dec(ElementDeclaration):
        literal = "DeleteSnapshot_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DeleteSnapshot_Task")
            kw["aname"] = "_DeleteSnapshot_Task"
            if ns0.DeleteSnapshotRequestType_Def not in ns0.DeleteSnapshot_Task_Dec.__bases__:
                bases = list(ns0.DeleteSnapshot_Task_Dec.__bases__)
                bases.insert(0, ns0.DeleteSnapshotRequestType_Def)
                ns0.DeleteSnapshot_Task_Dec.__bases__ = tuple(bases)

            ns0.DeleteSnapshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DeleteSnapshot_Task_Dec_Holder"

    class DeleteSnapshot_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DeleteSnapshot_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DeleteSnapshot_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","DeleteSnapshot_TaskResponse")
            kw["aname"] = "_DeleteSnapshot_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "DeleteSnapshot_TaskResponse_Holder"
            self.pyclass = Holder

    class RetrieveSnapshotInfo_Dec(ElementDeclaration):
        literal = "RetrieveSnapshotInfo"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveSnapshotInfo")
            kw["aname"] = "_RetrieveSnapshotInfo"
            if ns0.RetrieveSnapshotInfoRequestType_Def not in ns0.RetrieveSnapshotInfo_Dec.__bases__:
                bases = list(ns0.RetrieveSnapshotInfo_Dec.__bases__)
                bases.insert(0, ns0.RetrieveSnapshotInfoRequestType_Def)
                ns0.RetrieveSnapshotInfo_Dec.__bases__ = tuple(bases)

            ns0.RetrieveSnapshotInfoRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveSnapshotInfo_Dec_Holder"

    class RetrieveSnapshotInfoResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrieveSnapshotInfoResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrieveSnapshotInfoResponse_Dec.schema
            TClist = [GTD("urn:vim25","VStorageObjectSnapshotInfo",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrieveSnapshotInfoResponse")
            kw["aname"] = "_RetrieveSnapshotInfoResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrieveSnapshotInfoResponse_Holder"
            self.pyclass = Holder

    class CreateDiskFromSnapshot_Task_Dec(ElementDeclaration):
        literal = "CreateDiskFromSnapshot_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateDiskFromSnapshot_Task")
            kw["aname"] = "_CreateDiskFromSnapshot_Task"
            if ns0.CreateDiskFromSnapshotRequestType_Def not in ns0.CreateDiskFromSnapshot_Task_Dec.__bases__:
                bases = list(ns0.CreateDiskFromSnapshot_Task_Dec.__bases__)
                bases.insert(0, ns0.CreateDiskFromSnapshotRequestType_Def)
                ns0.CreateDiskFromSnapshot_Task_Dec.__bases__ = tuple(bases)

            ns0.CreateDiskFromSnapshotRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateDiskFromSnapshot_Task_Dec_Holder"

    class CreateDiskFromSnapshot_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateDiskFromSnapshot_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateDiskFromSnapshot_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateDiskFromSnapshot_TaskResponse")
            kw["aname"] = "_CreateDiskFromSnapshot_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateDiskFromSnapshot_TaskResponse_Holder"
            self.pyclass = Holder

    class RevertVStorageObject_Task_Dec(ElementDeclaration):
        literal = "RevertVStorageObject_Task"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RevertVStorageObject_Task")
            kw["aname"] = "_RevertVStorageObject_Task"
            if ns0.RevertVStorageObjectRequestType_Def not in ns0.RevertVStorageObject_Task_Dec.__bases__:
                bases = list(ns0.RevertVStorageObject_Task_Dec.__bases__)
                bases.insert(0, ns0.RevertVStorageObjectRequestType_Def)
                ns0.RevertVStorageObject_Task_Dec.__bases__ = tuple(bases)

            ns0.RevertVStorageObjectRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RevertVStorageObject_Task_Dec_Holder"

    class RevertVStorageObject_TaskResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RevertVStorageObject_TaskResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RevertVStorageObject_TaskResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RevertVStorageObject_TaskResponse")
            kw["aname"] = "_RevertVStorageObject_TaskResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RevertVStorageObject_TaskResponse_Holder"
            self.pyclass = Holder

    class InvalidCollectorVersionFault_Dec(ElementDeclaration):
        literal = "InvalidCollectorVersionFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidCollectorVersionFault")
            kw["aname"] = "_InvalidCollectorVersionFault"
            if ns0.InvalidCollectorVersion_Def not in ns0.InvalidCollectorVersionFault_Dec.__bases__:
                bases = list(ns0.InvalidCollectorVersionFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidCollectorVersion_Def)
                ns0.InvalidCollectorVersionFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidCollectorVersion_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidCollectorVersionFault_Dec_Holder"

    class InvalidPropertyFault_Dec(ElementDeclaration):
        literal = "InvalidPropertyFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidPropertyFault")
            kw["aname"] = "_InvalidPropertyFault"
            if ns0.InvalidProperty_Def not in ns0.InvalidPropertyFault_Dec.__bases__:
                bases = list(ns0.InvalidPropertyFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidProperty_Def)
                ns0.InvalidPropertyFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidProperty_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidPropertyFault_Dec_Holder"

    class DestroyPropertyFilter_Dec(ElementDeclaration):
        literal = "DestroyPropertyFilter"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DestroyPropertyFilter")
            kw["aname"] = "_DestroyPropertyFilter"
            if ns0.DestroyPropertyFilterRequestType_Def not in ns0.DestroyPropertyFilter_Dec.__bases__:
                bases = list(ns0.DestroyPropertyFilter_Dec.__bases__)
                bases.insert(0, ns0.DestroyPropertyFilterRequestType_Def)
                ns0.DestroyPropertyFilter_Dec.__bases__ = tuple(bases)

            ns0.DestroyPropertyFilterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DestroyPropertyFilter_Dec_Holder"

    class DestroyPropertyFilterResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DestroyPropertyFilterResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DestroyPropertyFilterResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DestroyPropertyFilterResponse")
            kw["aname"] = "_DestroyPropertyFilterResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DestroyPropertyFilterResponse_Holder"
            self.pyclass = Holder

    class CreateFilter_Dec(ElementDeclaration):
        literal = "CreateFilter"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreateFilter")
            kw["aname"] = "_CreateFilter"
            if ns0.CreateFilterRequestType_Def not in ns0.CreateFilter_Dec.__bases__:
                bases = list(ns0.CreateFilter_Dec.__bases__)
                bases.insert(0, ns0.CreateFilterRequestType_Def)
                ns0.CreateFilter_Dec.__bases__ = tuple(bases)

            ns0.CreateFilterRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreateFilter_Dec_Holder"

    class CreateFilterResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreateFilterResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreateFilterResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreateFilterResponse")
            kw["aname"] = "_CreateFilterResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreateFilterResponse_Holder"
            self.pyclass = Holder

    class RetrieveProperties_Dec(ElementDeclaration):
        literal = "RetrieveProperties"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrieveProperties")
            kw["aname"] = "_RetrieveProperties"
            if ns0.RetrievePropertiesRequestType_Def not in ns0.RetrieveProperties_Dec.__bases__:
                bases = list(ns0.RetrieveProperties_Dec.__bases__)
                bases.insert(0, ns0.RetrievePropertiesRequestType_Def)
                ns0.RetrieveProperties_Dec.__bases__ = tuple(bases)

            ns0.RetrievePropertiesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrieveProperties_Dec_Holder"

    class RetrievePropertiesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrievePropertiesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrievePropertiesResponse_Dec.schema
            TClist = [GTD("urn:vim25","ObjectContent",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrievePropertiesResponse")
            kw["aname"] = "_RetrievePropertiesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = []
                    return
            Holder.__name__ = "RetrievePropertiesResponse_Holder"
            self.pyclass = Holder

    class CheckForUpdates_Dec(ElementDeclaration):
        literal = "CheckForUpdates"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CheckForUpdates")
            kw["aname"] = "_CheckForUpdates"
            if ns0.CheckForUpdatesRequestType_Def not in ns0.CheckForUpdates_Dec.__bases__:
                bases = list(ns0.CheckForUpdates_Dec.__bases__)
                bases.insert(0, ns0.CheckForUpdatesRequestType_Def)
                ns0.CheckForUpdates_Dec.__bases__ = tuple(bases)

            ns0.CheckForUpdatesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CheckForUpdates_Dec_Holder"

    class CheckForUpdatesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CheckForUpdatesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CheckForUpdatesResponse_Dec.schema
            TClist = [GTD("urn:vim25","UpdateSet",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CheckForUpdatesResponse")
            kw["aname"] = "_CheckForUpdatesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CheckForUpdatesResponse_Holder"
            self.pyclass = Holder

    class WaitForUpdates_Dec(ElementDeclaration):
        literal = "WaitForUpdates"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","WaitForUpdates")
            kw["aname"] = "_WaitForUpdates"
            if ns0.WaitForUpdatesRequestType_Def not in ns0.WaitForUpdates_Dec.__bases__:
                bases = list(ns0.WaitForUpdates_Dec.__bases__)
                bases.insert(0, ns0.WaitForUpdatesRequestType_Def)
                ns0.WaitForUpdates_Dec.__bases__ = tuple(bases)

            ns0.WaitForUpdatesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "WaitForUpdates_Dec_Holder"

    class WaitForUpdatesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "WaitForUpdatesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.WaitForUpdatesResponse_Dec.schema
            TClist = [GTD("urn:vim25","UpdateSet",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","WaitForUpdatesResponse")
            kw["aname"] = "_WaitForUpdatesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "WaitForUpdatesResponse_Holder"
            self.pyclass = Holder

    class CancelWaitForUpdates_Dec(ElementDeclaration):
        literal = "CancelWaitForUpdates"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CancelWaitForUpdates")
            kw["aname"] = "_CancelWaitForUpdates"
            if ns0.CancelWaitForUpdatesRequestType_Def not in ns0.CancelWaitForUpdates_Dec.__bases__:
                bases = list(ns0.CancelWaitForUpdates_Dec.__bases__)
                bases.insert(0, ns0.CancelWaitForUpdatesRequestType_Def)
                ns0.CancelWaitForUpdates_Dec.__bases__ = tuple(bases)

            ns0.CancelWaitForUpdatesRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CancelWaitForUpdates_Dec_Holder"

    class CancelWaitForUpdatesResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CancelWaitForUpdatesResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CancelWaitForUpdatesResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CancelWaitForUpdatesResponse")
            kw["aname"] = "_CancelWaitForUpdatesResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CancelWaitForUpdatesResponse_Holder"
            self.pyclass = Holder

    class WaitForUpdatesEx_Dec(ElementDeclaration):
        literal = "WaitForUpdatesEx"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","WaitForUpdatesEx")
            kw["aname"] = "_WaitForUpdatesEx"
            if ns0.WaitForUpdatesExRequestType_Def not in ns0.WaitForUpdatesEx_Dec.__bases__:
                bases = list(ns0.WaitForUpdatesEx_Dec.__bases__)
                bases.insert(0, ns0.WaitForUpdatesExRequestType_Def)
                ns0.WaitForUpdatesEx_Dec.__bases__ = tuple(bases)

            ns0.WaitForUpdatesExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "WaitForUpdatesEx_Dec_Holder"

    class WaitForUpdatesExResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "WaitForUpdatesExResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.WaitForUpdatesExResponse_Dec.schema
            TClist = [GTD("urn:vim25","UpdateSet",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","WaitForUpdatesExResponse")
            kw["aname"] = "_WaitForUpdatesExResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "WaitForUpdatesExResponse_Holder"
            self.pyclass = Holder

    class RetrievePropertiesEx_Dec(ElementDeclaration):
        literal = "RetrievePropertiesEx"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RetrievePropertiesEx")
            kw["aname"] = "_RetrievePropertiesEx"
            if ns0.RetrievePropertiesExRequestType_Def not in ns0.RetrievePropertiesEx_Dec.__bases__:
                bases = list(ns0.RetrievePropertiesEx_Dec.__bases__)
                bases.insert(0, ns0.RetrievePropertiesExRequestType_Def)
                ns0.RetrievePropertiesEx_Dec.__bases__ = tuple(bases)

            ns0.RetrievePropertiesExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RetrievePropertiesEx_Dec_Holder"

    class RetrievePropertiesExResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "RetrievePropertiesExResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.RetrievePropertiesExResponse_Dec.schema
            TClist = [GTD("urn:vim25","RetrieveResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","RetrievePropertiesExResponse")
            kw["aname"] = "_RetrievePropertiesExResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "RetrievePropertiesExResponse_Holder"
            self.pyclass = Holder

    class ContinueRetrievePropertiesEx_Dec(ElementDeclaration):
        literal = "ContinueRetrievePropertiesEx"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ContinueRetrievePropertiesEx")
            kw["aname"] = "_ContinueRetrievePropertiesEx"
            if ns0.ContinueRetrievePropertiesExRequestType_Def not in ns0.ContinueRetrievePropertiesEx_Dec.__bases__:
                bases = list(ns0.ContinueRetrievePropertiesEx_Dec.__bases__)
                bases.insert(0, ns0.ContinueRetrievePropertiesExRequestType_Def)
                ns0.ContinueRetrievePropertiesEx_Dec.__bases__ = tuple(bases)

            ns0.ContinueRetrievePropertiesExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ContinueRetrievePropertiesEx_Dec_Holder"

    class ContinueRetrievePropertiesExResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "ContinueRetrievePropertiesExResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.ContinueRetrievePropertiesExResponse_Dec.schema
            TClist = [GTD("urn:vim25","RetrieveResult",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","ContinueRetrievePropertiesExResponse")
            kw["aname"] = "_ContinueRetrievePropertiesExResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "ContinueRetrievePropertiesExResponse_Holder"
            self.pyclass = Holder

    class CancelRetrievePropertiesEx_Dec(ElementDeclaration):
        literal = "CancelRetrievePropertiesEx"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CancelRetrievePropertiesEx")
            kw["aname"] = "_CancelRetrievePropertiesEx"
            if ns0.CancelRetrievePropertiesExRequestType_Def not in ns0.CancelRetrievePropertiesEx_Dec.__bases__:
                bases = list(ns0.CancelRetrievePropertiesEx_Dec.__bases__)
                bases.insert(0, ns0.CancelRetrievePropertiesExRequestType_Def)
                ns0.CancelRetrievePropertiesEx_Dec.__bases__ = tuple(bases)

            ns0.CancelRetrievePropertiesExRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CancelRetrievePropertiesEx_Dec_Holder"

    class CancelRetrievePropertiesExResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CancelRetrievePropertiesExResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CancelRetrievePropertiesExResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","CancelRetrievePropertiesExResponse")
            kw["aname"] = "_CancelRetrievePropertiesExResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "CancelRetrievePropertiesExResponse_Holder"
            self.pyclass = Holder

    class CreatePropertyCollector_Dec(ElementDeclaration):
        literal = "CreatePropertyCollector"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","CreatePropertyCollector")
            kw["aname"] = "_CreatePropertyCollector"
            if ns0.CreatePropertyCollectorRequestType_Def not in ns0.CreatePropertyCollector_Dec.__bases__:
                bases = list(ns0.CreatePropertyCollector_Dec.__bases__)
                bases.insert(0, ns0.CreatePropertyCollectorRequestType_Def)
                ns0.CreatePropertyCollector_Dec.__bases__ = tuple(bases)

            ns0.CreatePropertyCollectorRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "CreatePropertyCollector_Dec_Holder"

    class CreatePropertyCollectorResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "CreatePropertyCollectorResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.CreatePropertyCollectorResponse_Dec.schema
            TClist = [GTD("urn:vim25","ManagedObjectReference",lazy=True)(pname=(ns,"returnval"), aname="_returnval", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("urn:vim25","CreatePropertyCollectorResponse")
            kw["aname"] = "_CreatePropertyCollectorResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._returnval = None
                    return
            Holder.__name__ = "CreatePropertyCollectorResponse_Holder"
            self.pyclass = Holder

    class DestroyPropertyCollector_Dec(ElementDeclaration):
        literal = "DestroyPropertyCollector"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","DestroyPropertyCollector")
            kw["aname"] = "_DestroyPropertyCollector"
            if ns0.DestroyPropertyCollectorRequestType_Def not in ns0.DestroyPropertyCollector_Dec.__bases__:
                bases = list(ns0.DestroyPropertyCollector_Dec.__bases__)
                bases.insert(0, ns0.DestroyPropertyCollectorRequestType_Def)
                ns0.DestroyPropertyCollector_Dec.__bases__ = tuple(bases)

            ns0.DestroyPropertyCollectorRequestType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "DestroyPropertyCollector_Dec_Holder"

    class DestroyPropertyCollectorResponse_Dec(with_metaclass(MetaTypeCodeAndSchemaInstanceType, pysphere.ZSI.TCcompound.ComplexType, ElementDeclaration)):
        literal = "DestroyPropertyCollectorResponse"
        schema = "urn:vim25"
        def __init__(self, **kw):
            ns = ns0.DestroyPropertyCollectorResponse_Dec.schema
            TClist = []
            kw["pname"] = ("urn:vim25","DestroyPropertyCollectorResponse")
            kw["aname"] = "_DestroyPropertyCollectorResponse"
            self.attribute_typecode_dict = {}
            pysphere.ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            @add_metaclass(pyclass_type)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DestroyPropertyCollectorResponse_Holder"
            self.pyclass = Holder

    class MethodFaultFault_Dec(ElementDeclaration):
        literal = "MethodFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MethodFaultFault")
            kw["aname"] = "_MethodFaultFault"
            if ns0.MethodFault_Def not in ns0.MethodFaultFault_Dec.__bases__:
                bases = list(ns0.MethodFaultFault_Dec.__bases__)
                bases.insert(0, ns0.MethodFault_Def)
                ns0.MethodFaultFault_Dec.__bases__ = tuple(bases)

            ns0.MethodFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MethodFaultFault_Dec_Holder"

    class RuntimeFaultFault_Dec(ElementDeclaration):
        literal = "RuntimeFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RuntimeFaultFault")
            kw["aname"] = "_RuntimeFaultFault"
            if ns0.RuntimeFault_Def not in ns0.RuntimeFaultFault_Dec.__bases__:
                bases = list(ns0.RuntimeFaultFault_Dec.__bases__)
                bases.insert(0, ns0.RuntimeFault_Def)
                ns0.RuntimeFaultFault_Dec.__bases__ = tuple(bases)

            ns0.RuntimeFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RuntimeFaultFault_Dec_Holder"

    class HostCommunicationFault_Dec(ElementDeclaration):
        literal = "HostCommunicationFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostCommunicationFault")
            kw["aname"] = "_HostCommunicationFault"
            if ns0.HostCommunication_Def not in ns0.HostCommunicationFault_Dec.__bases__:
                bases = list(ns0.HostCommunicationFault_Dec.__bases__)
                bases.insert(0, ns0.HostCommunication_Def)
                ns0.HostCommunicationFault_Dec.__bases__ = tuple(bases)

            ns0.HostCommunication_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostCommunicationFault_Dec_Holder"

    class HostNotConnectedFault_Dec(ElementDeclaration):
        literal = "HostNotConnectedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostNotConnectedFault")
            kw["aname"] = "_HostNotConnectedFault"
            if ns0.HostNotConnected_Def not in ns0.HostNotConnectedFault_Dec.__bases__:
                bases = list(ns0.HostNotConnectedFault_Dec.__bases__)
                bases.insert(0, ns0.HostNotConnected_Def)
                ns0.HostNotConnectedFault_Dec.__bases__ = tuple(bases)

            ns0.HostNotConnected_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostNotConnectedFault_Dec_Holder"

    class HostNotReachableFault_Dec(ElementDeclaration):
        literal = "HostNotReachableFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","HostNotReachableFault")
            kw["aname"] = "_HostNotReachableFault"
            if ns0.HostNotReachable_Def not in ns0.HostNotReachableFault_Dec.__bases__:
                bases = list(ns0.HostNotReachableFault_Dec.__bases__)
                bases.insert(0, ns0.HostNotReachable_Def)
                ns0.HostNotReachableFault_Dec.__bases__ = tuple(bases)

            ns0.HostNotReachable_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "HostNotReachableFault_Dec_Holder"

    class InvalidArgumentFault_Dec(ElementDeclaration):
        literal = "InvalidArgumentFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidArgumentFault")
            kw["aname"] = "_InvalidArgumentFault"
            if ns0.InvalidArgument_Def not in ns0.InvalidArgumentFault_Dec.__bases__:
                bases = list(ns0.InvalidArgumentFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidArgument_Def)
                ns0.InvalidArgumentFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidArgument_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidArgumentFault_Dec_Holder"

    class InvalidRequestFault_Dec(ElementDeclaration):
        literal = "InvalidRequestFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidRequestFault")
            kw["aname"] = "_InvalidRequestFault"
            if ns0.InvalidRequest_Def not in ns0.InvalidRequestFault_Dec.__bases__:
                bases = list(ns0.InvalidRequestFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidRequest_Def)
                ns0.InvalidRequestFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidRequest_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidRequestFault_Dec_Holder"

    class InvalidTypeFault_Dec(ElementDeclaration):
        literal = "InvalidTypeFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","InvalidTypeFault")
            kw["aname"] = "_InvalidTypeFault"
            if ns0.InvalidType_Def not in ns0.InvalidTypeFault_Dec.__bases__:
                bases = list(ns0.InvalidTypeFault_Dec.__bases__)
                bases.insert(0, ns0.InvalidType_Def)
                ns0.InvalidTypeFault_Dec.__bases__ = tuple(bases)

            ns0.InvalidType_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "InvalidTypeFault_Dec_Holder"

    class ManagedObjectNotFoundFault_Dec(ElementDeclaration):
        literal = "ManagedObjectNotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","ManagedObjectNotFoundFault")
            kw["aname"] = "_ManagedObjectNotFoundFault"
            if ns0.ManagedObjectNotFound_Def not in ns0.ManagedObjectNotFoundFault_Dec.__bases__:
                bases = list(ns0.ManagedObjectNotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.ManagedObjectNotFound_Def)
                ns0.ManagedObjectNotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.ManagedObjectNotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "ManagedObjectNotFoundFault_Dec_Holder"

    class MethodNotFoundFault_Dec(ElementDeclaration):
        literal = "MethodNotFoundFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","MethodNotFoundFault")
            kw["aname"] = "_MethodNotFoundFault"
            if ns0.MethodNotFound_Def not in ns0.MethodNotFoundFault_Dec.__bases__:
                bases = list(ns0.MethodNotFoundFault_Dec.__bases__)
                bases.insert(0, ns0.MethodNotFound_Def)
                ns0.MethodNotFoundFault_Dec.__bases__ = tuple(bases)

            ns0.MethodNotFound_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "MethodNotFoundFault_Dec_Holder"

    class NotEnoughLicensesFault_Dec(ElementDeclaration):
        literal = "NotEnoughLicensesFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotEnoughLicensesFault")
            kw["aname"] = "_NotEnoughLicensesFault"
            if ns0.NotEnoughLicenses_Def not in ns0.NotEnoughLicensesFault_Dec.__bases__:
                bases = list(ns0.NotEnoughLicensesFault_Dec.__bases__)
                bases.insert(0, ns0.NotEnoughLicenses_Def)
                ns0.NotEnoughLicensesFault_Dec.__bases__ = tuple(bases)

            ns0.NotEnoughLicenses_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotEnoughLicensesFault_Dec_Holder"

    class NotImplementedFault_Dec(ElementDeclaration):
        literal = "NotImplementedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotImplementedFault")
            kw["aname"] = "_NotImplementedFault"
            if ns0.NotImplemented_Def not in ns0.NotImplementedFault_Dec.__bases__:
                bases = list(ns0.NotImplementedFault_Dec.__bases__)
                bases.insert(0, ns0.NotImplemented_Def)
                ns0.NotImplementedFault_Dec.__bases__ = tuple(bases)

            ns0.NotImplemented_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotImplementedFault_Dec_Holder"

    class NotSupportedFault_Dec(ElementDeclaration):
        literal = "NotSupportedFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","NotSupportedFault")
            kw["aname"] = "_NotSupportedFault"
            if ns0.NotSupported_Def not in ns0.NotSupportedFault_Dec.__bases__:
                bases = list(ns0.NotSupportedFault_Dec.__bases__)
                bases.insert(0, ns0.NotSupported_Def)
                ns0.NotSupportedFault_Dec.__bases__ = tuple(bases)

            ns0.NotSupported_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "NotSupportedFault_Dec_Holder"

    class RequestCanceledFault_Dec(ElementDeclaration):
        literal = "RequestCanceledFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","RequestCanceledFault")
            kw["aname"] = "_RequestCanceledFault"
            if ns0.RequestCanceled_Def not in ns0.RequestCanceledFault_Dec.__bases__:
                bases = list(ns0.RequestCanceledFault_Dec.__bases__)
                bases.insert(0, ns0.RequestCanceled_Def)
                ns0.RequestCanceledFault_Dec.__bases__ = tuple(bases)

            ns0.RequestCanceled_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "RequestCanceledFault_Dec_Holder"

    class SecurityErrorFault_Dec(ElementDeclaration):
        literal = "SecurityErrorFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SecurityErrorFault")
            kw["aname"] = "_SecurityErrorFault"
            if ns0.SecurityError_Def not in ns0.SecurityErrorFault_Dec.__bases__:
                bases = list(ns0.SecurityErrorFault_Dec.__bases__)
                bases.insert(0, ns0.SecurityError_Def)
                ns0.SecurityErrorFault_Dec.__bases__ = tuple(bases)

            ns0.SecurityError_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SecurityErrorFault_Dec_Holder"

    class SystemErrorFault_Dec(ElementDeclaration):
        literal = "SystemErrorFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","SystemErrorFault")
            kw["aname"] = "_SystemErrorFault"
            if ns0.SystemError_Def not in ns0.SystemErrorFault_Dec.__bases__:
                bases = list(ns0.SystemErrorFault_Dec.__bases__)
                bases.insert(0, ns0.SystemError_Def)
                ns0.SystemErrorFault_Dec.__bases__ = tuple(bases)

            ns0.SystemError_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "SystemErrorFault_Dec_Holder"

    class UnexpectedFaultFault_Dec(ElementDeclaration):
        literal = "UnexpectedFaultFault"
        schema = "urn:vim25"
        substitutionGroup = None
        def __init__(self, **kw):
            kw["pname"] = ("urn:vim25","UnexpectedFaultFault")
            kw["aname"] = "_UnexpectedFaultFault"
            if ns0.UnexpectedFault_Def not in ns0.UnexpectedFaultFault_Dec.__bases__:
                bases = list(ns0.UnexpectedFaultFault_Dec.__bases__)
                bases.insert(0, ns0.UnexpectedFault_Def)
                ns0.UnexpectedFaultFault_Dec.__bases__ = tuple(bases)

            ns0.UnexpectedFault_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "UnexpectedFaultFault_Dec_Holder"

# end class ns0 (tns: urn:vim25)

##############################
# targetNamespace
# urn:reflect
##############################

class ns1:
    targetNamespace = "urn:reflect"

# end class ns1 (tns: urn:reflect)
